/* ==========================================================================
   Sabrina Jüngling – Premium Immobilienmaklerin
   Design-System & Basis-Styles (Mobile-First)
   Inhalte/Texte stammen unverändert von der Originalseite.
   ========================================================================== */

:root {
  --color-primary: #2c5282;
  --color-primary-light: #3a6ea8;
  --color-primary-dark: #1a3a5c;
  --color-accent: #c9a962;
  --color-accent-soft: #f0e6cc;
  --color-accent-bg: #fdf8f0;
  --color-white: #ffffff;
  --color-bg: #f8fafc;
  --color-bg-alt: #eef2f7;
  --color-text: #2d3748;
  --color-text-muted: #718096;
  --color-border: #e2e8f0;
  --color-border-light: rgba(226, 232, 240, 0.6);
  --font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --container-max: 72rem;
  --header-height: 4.5rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(26, 47, 74, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 47, 74, 0.1);
  --shadow-lg: 0 20px 60px rgba(26, 47, 74, 0.12);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.875rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-base), color var(--transition-base),
    border-color var(--transition-base), box-shadow var(--transition-base);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  background-color: var(--color-bg-alt);
}

.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.header__logo {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-primary);
}

.header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-primary);
}

.header__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.header__nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: var(--space-lg);
  right: var(--space-lg);
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.header__nav.is-open {
  display: flex;
}

.header__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-lg);
}

.header__link:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-alt);
}

.header__cta {
  margin-top: var(--space-sm);
}

@media (min-width: 768px) {
  .header__toggle {
    display: none;
  }

  .header__nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }

  .header__link {
    padding: 0;
  }

  .header__link:hover {
    background: none;
  }

  .header__cta {
    margin-top: 0;
  }

  .header__logo {
    font-size: var(--font-size-base);
  }
}

/* Hero Topbar */
.hero__topbar {
  margin-top: var(--header-height);
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 0.6rem var(--space-lg);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  letter-spacing: 0.01em;
}

.hero {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  position: relative;
  background-color: var(--color-bg-alt);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-light) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,169,98,0.08) 0%, transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--color-white) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.hero__card {
  padding: var(--space-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero__eyebrow {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-accent);
}

.hero__title {
  margin-top: var(--space-lg);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--color-primary);
}

.hero__text {
  margin-top: var(--space-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  max-width: 36rem;
}

.hero__tagline {
  margin-top: var(--space-lg);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.hero__features {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero__feature {
  padding: var(--space-lg);
  background-color: var(--color-accent-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
}

.hero__feature-title {
  font-weight: 600;
  color: var(--color-primary);
}

.hero__feature-text {
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero__highlights {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.hero__highlight {
  padding: var(--space-2xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__highlight-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
}

.hero__highlight-text {
  margin-top: var(--space-md);
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-primary);
}

.hero__image-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
  max-height: 32rem;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .hero__features {
    grid-template-columns: 1fr 1fr;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero__highlights {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__card {
    padding: var(--space-2xl);
  }
}

.footer {
  background-color: #f8fafc;
  color: var(--color-text);
  padding-block: var(--space-3xl);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
}

.footer__brand-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
}

.footer__brand-text {
  margin-top: var(--space-md);
  max-width: 28rem;
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.footer__social a:hover {
  color: var(--color-primary);
}

.footer__heading {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
}

.footer__links {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.footer__links a:hover {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
  transition: opacity var(--transition-slow);
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
}

.cookie-banner__title {
  font-weight: 600;
  color: var(--color-primary);
}

.cookie-banner__text {
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.cookie-banner__text a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   Sektionen (Referenz: polite-heliotrope-d687d9.netlify.app)
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--space-3xl);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--accent {
  background-color: var(--color-accent-bg);
}

.section__eyebrow {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-accent);
}

.section__eyebrow--primary {
  color: var(--color-primary-light);
}

.section__title {
  margin-top: var(--space-md);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--color-primary);
}

.section__subtitle {
  margin-top: var(--space-lg);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  max-width: 42rem;
}

.section-header--center {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header--center .section__subtitle {
  margin-inline: auto;
}

.section-header--split {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .section-header--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .section__title {
    font-size: var(--font-size-4xl);
  }
}

.trust__grid {
  display: grid;
  gap: var(--space-2xl);
}

.trust__cards {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .trust__cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .trust__grid {
    grid-template-columns: 0.95fr 0.95fr;
    align-items: start;
  }
}

.trust-card {
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.trust-card__icon {
  font-size: var(--font-size-3xl);
}

.trust-card__title {
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--color-primary);
}

.trust-card__text {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
}

.services__grid {
  display: grid;
  gap: var(--space-2xl);
}

.services__list {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .services__intro {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
  }
}

.service-card {
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card__label {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-text-muted);
}

.service-card__title {
  margin-top: var(--space-md);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-primary);
}

.service-card__text {
  margin-top: var(--space-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.process__grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  text-align: center;
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.process-step__title {
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--color-primary);
}

.process-step__text {
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.property-swiper {
  padding-bottom: 3rem;
  overflow: hidden;
}

.property-swiper .swiper-button-prev,
.property-swiper .swiper-button-next {
  color: var(--color-primary);
}

.property-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

.property-swiper__error {
  padding: var(--space-xl);
  text-align: center;
  color: var(--color-text-muted);
}

.property-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.property-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.property-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.property-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-card__image {
  transform: scale(1.05);
}

.property-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
}

.property-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-lg);
}

.property-card__header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}

.property-card__location {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.property-card__title {
  margin-top: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-primary);
}

.property-card__price {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
}

.property-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-block: var(--space-md);
  border-block: 1px solid var(--color-border-light);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.property-card__cta {
  margin-top: auto;
  padding-top: var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary-light);
}

.references__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .references__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .references__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reference-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.reference-card__image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.reference-card__body {
  padding: var(--space-xl);
}

.reference-card__title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-primary);
}

.reference-card__text {
  margin-top: var(--space-md);
  color: var(--color-text-muted);
}

.testimonials__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.testimonial__stars {
  font-size: var(--font-size-3xl);
}

.testimonial__text {
  margin-top: var(--space-lg);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-primary);
}

.parallax {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax__bg {
  position: absolute;
  inset: -20% 0;
  background-image: url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1600&q=80");
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax__bg--2 {
  background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80");
}

.parallax__bg--top {
  background-image: url("https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1920&q=85");
  background-position: center 40%;
}

.parallax--top {
  min-height: 32rem;
  margin-top: var(--header-height);
}

.parallax__overlay--top {
  max-width: 52rem;
  background: rgba(15, 28, 46, 0.6);
  backdrop-filter: blur(2px);
}

.parallax__overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl);
  max-width: 40rem;
  background: rgba(15, 28, 46, 0.75);
  border-radius: var(--radius-xl);
  margin: var(--space-lg);
}

.parallax__eyebrow {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-accent);
}

.parallax__title {
  margin-top: var(--space-md);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--color-white);
}

.about__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.about__subtitle {
  margin-top: var(--space-md);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-accent);
}

.about__text {
  margin-top: var(--space-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.about__tagline {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  font-style: italic;
}

.about__image-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
}

.about__image {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.bewertung__preise {
  display: grid;
  gap: var(--space-lg);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 560px) {
  .bewertung__preise {
    grid-template-columns: 1fr 1fr;
  }
}

.bewertung__preis-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.bewertung__preis-card--gratis {
  border-color: var(--color-accent);
  background: var(--color-accent-bg);
}

.bewertung__preis-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
}

.bewertung__preis-value {
  margin-top: var(--space-sm);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.bewertung__preis-value span {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

.bewertung__preis-text {
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.bewertung__preis-badge {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 0.25rem 0.75rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.funnel {
  max-width: 36rem;
  margin-inline: auto;
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.funnel__honeypot {
  display: none;
}

.funnel__progress {
  height: 0.375rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.funnel__progress-bar {
  height: 100%;
  width: 25%;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.funnel__step-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.funnel__step {
  display: none;
}

.funnel__step--active {
  display: block;
}

.funnel__step-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.funnel__options {
  display: grid;
  gap: var(--space-sm);
}

.funnel__radio {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.funnel__radio:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-accent-bg);
}

.funnel__radio input {
  accent-color: var(--color-primary);
  width: 1.125rem;
  height: 1.125rem;
}

.funnel__fields {
  display: grid;
  gap: var(--space-lg);
}

.funnel__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.funnel__field span {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-primary);
}

.funnel__field input,
.funnel__field select {
  min-height: 3rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: var(--font-size-base);
  background: var(--color-white);
}

.funnel__field input:focus,
.funnel__field select:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.funnel__nav {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.funnel__nav .btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn--immoscout {
  background-color: #00a54f;
  color: var(--color-white);
  border: none;
}

.btn--immoscout:hover {
  background-color: #008a42;
  box-shadow: var(--shadow-md);
}

.btn--full {
  width: 100%;
}

.contact__grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact__box {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  display: grid;
  gap: var(--space-xl);
}

.contact__box-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-primary);
}

.contact__list {
  margin-top: var(--space-md);
  list-style: none;
  display: grid;
  gap: var(--space-sm);
  color: var(--color-text-muted);
}

.contact__detail {
  margin-top: var(--space-sm);
  color: var(--color-primary);
}

.contact__label {
  font-weight: 600;
}

.contact__detail a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.contact__cta-card {
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.contact__cta-text {
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.whatsapp-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
}

.whatsapp-btn:hover {
  transform: scale(1.08);
}

.whatsapp-btn svg {
  width: 1.75rem;
  height: 1.75rem;
}

@media (min-width: 768px) {
  .whatsapp-btn {
    bottom: 1.5rem;
  }
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  background: var(--color-bg-alt);
}

.error-page__inner {
  text-align: center;
  max-width: 28rem;
}

.error-page__code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.error-page__title {
  margin-top: var(--space-md);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.error-page__text {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   Rechtliche Seiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  background: var(--color-bg-alt);
}

.legal-card {
  max-width: 48rem;
  margin-inline: auto;
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .legal-card {
    padding: var(--space-2xl);
  }
}

.legal-card__intro {
  margin-bottom: var(--space-2xl);
}

.legal-card__eyebrow {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
}

.legal-card__title {
  margin-top: var(--space-md);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: var(--line-height-tight);
}

.legal-card__lead {
  margin-top: var(--space-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.legal-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-card__title {
    font-size: var(--font-size-4xl);
  }
}

.legal-block__label {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-text-muted);
}

.legal-block__value {
  margin-top: var(--space-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.legal-block__value--strong {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-primary);
}

.legal-block__value a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-block__value a:hover {
  color: var(--color-primary-light);
}

.legal-section__title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-primary);
}

.legal-section p {
  margin-top: var(--space-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.legal-list {
  margin-top: var(--space-md);
  padding-left: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.legal-list strong {
  color: var(--color-primary);
}

.legal-footer {
  padding-block: var(--space-xl);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.header__link--active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Detailseite */
.detail-page {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-3xl);
  background: var(--color-bg-alt);
}

.detail-page__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 640px) {
  .detail-page__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.detail-card {
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.detail-grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1.8fr 1fr;
  }
}

.detail-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: var(--color-bg-alt);
}

.detail-gallery {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.detail-gallery__thumb {
  flex-shrink: 0;
  width: 5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
}

.detail-gallery__thumb:hover,
.detail-gallery__thumb--active {
  opacity: 1;
  border-color: var(--color-accent);
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lb__img-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  cursor: zoom-in;
}

.lb__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb__close:hover { background: rgba(255,255,255,0.3); }

.lb__prev,
.lb__next {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb__prev { left: 1rem; }
.lb__next { right: 1rem; }
.lb__prev:hover, .lb__next:hover { background: rgba(255,255,255,0.3); }

.lb__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.detail-tag {
  margin-top: var(--space-lg);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-text-muted);
}

.detail-title {
  margin-top: var(--space-md);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
}

.detail-desc {
  margin-top: var(--space-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.detail-energy {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-accent-bg);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
}

.detail-energy ul {
  margin-top: var(--space-sm);
  list-style: none;
  display: grid;
  gap: 0.25rem;
  color: var(--color-text-muted);
}

.detail-sidebar {
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.detail-price-label {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-text-muted);
}

.detail-price {
  margin-top: var(--space-sm);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary-light);
}

.detail-facts {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}

.detail-facts div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.detail-facts dd {
  font-weight: 600;
  color: var(--color-primary);
  text-transform: none;
  letter-spacing: normal;
}

.detail-actions {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}

.detail-not-found {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--color-text-muted);
}

.detail-not-found p + p {
  margin-top: var(--space-md);
}
