/* ============================================================
   EVERHOUSE IMMOBILIEN — Design Tokens & Base
   ============================================================ */

/* Self-hosted Variable Fonts (DSGVO-konform, kein Google-CDN) */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/urbanist.woff2') format('woff2-variations'),
       url('assets/fonts/urbanist.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-italic.woff2') format('woff2-variations'),
       url('assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --navy-900: #0c1729;
  --navy-800: #142139;
  --navy-700: #1a2a48;       /* primary navy (logo) */
  --navy-600: #2a3a5c;
  --navy-500: #3d4e72;
  --navy-300: #8b97ae;
  --navy-200: #c3cad9;
  --navy-100: #e4e8f0;

  --gold-700: #a08148;
  --gold-600: #b89665;
  --gold-500: #c9a875;        /* primary gold (logo) */
  --gold-400: #d8bd92;
  --gold-300: #e8d5b0;
  --gold-200: #f0e3cb;
  --gold-100: #f7eedb;

  --cream-50:  #fdfaf3;
  --cream-100: #faf6ef;
  --cream-200: #f5efe5;
  --cream-300: #ede4d3;
  --cream-400: #ddd0b8;

  /* Sea — Ostsee palette */
  --sea-900:  #1f3640;
  --sea-800:  #2d4a56;
  --sea-700:  #3d6473;
  --sea-600:  #5a7e8d;
  --sea-500:  #87a3ad;
  --sea-400:  #aec3ca;
  --sea-300:  #cfdde2;
  --sea-200:  #e2ebef;
  --sea-100:  #eef4f6;

  /* Skandinavisches Holz */
  --wood-900: #6e5436;
  --wood-700: #957545;
  --wood-500: #c19a6b;
  --wood-400: #d4b687;
  --wood-300: #e2cda6;
  --wood-200: #ede0c4;
  --wood-100: #f4ebd6;

  --ink:        #0c1729;
  --ink-soft:   #3a4661;
  --ink-mute:   #6b7691;

  /* Glass */
  --glass:      rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --hairline:   rgba(26, 42, 72, 0.08);
  --hairline-2: rgba(26, 42, 72, 0.14);

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 30px 60px -20px rgba(26,42,72,0.18), 0 8px 20px -10px rgba(26,42,72,0.12);
  --shadow-soft: 0 20px 40px -24px rgba(26,42,72,0.22);
  --shadow-deep: 0 40px 80px -30px rgba(12,23,41,0.35), 0 12px 32px -16px rgba(12,23,41,0.2);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-pill: 999px;

  /* Type */
  --font: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --max:    1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Sprungziele nicht unter dem sticky Header verstecken */
section[id], [id="kontakt"], [id="bewertung"] { scroll-margin-top: 104px; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--cream-100);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Subtle warmth gradient on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(70vw 60vh at 90% -10%, rgba(193,154,107,0.16), transparent 60%),
    radial-gradient(60vw 50vh at -10% 30%, rgba(135,163,173,0.14), transparent 60%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }

::selection { background: var(--navy-700); color: var(--cream-100); }

.wrap {
  width: 85%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 { font-family: var(--font); color: var(--navy-800); letter-spacing: -0.02em; line-height: 1.04; font-weight: 400; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 2vw, 28px);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.display {
  font-size: clamp(48px, 7.4vw, 112px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-weight: 300;
}
.display em {
  font-style: italic;
  font-family: 'Cormorant Garamond', 'Urbanist', serif;
  font-weight: 400;
  color: var(--gold-600);
  letter-spacing: -0.01em;
}

.h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.028em;
  line-height: 1.12;
  font-weight: 300;
}
.h2 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--gold-600);
}

.h3 {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.018em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
  max-width: 56ch;
  text-wrap: pretty;
}

.tiny {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================
   Buttons & Pills
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.btn .arrow { width: 16px; height: 16px; flex-shrink: 0; }
.btn .btn-ico { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary {
  background: var(--navy-800);
  color: var(--cream-100);
  box-shadow: 0 10px 24px -10px rgba(12,23,41,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { background: var(--navy-900); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform .22s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* Kontakt-CTA — gold getönt, klar erkennbar neben dem navy Haupt-CTA */
.btn-contact {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 10px 24px -10px rgba(160,129,72,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-contact:hover {
  background: var(--gold-600);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(160,129,72,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border: 1px solid var(--hairline-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.6); }

.btn-glass {
  background: rgba(255,255,255,0.18);
  color: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 12px 30px -16px rgba(26,42,72,0.25);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
.btn-glass.on-dark {
  background: rgba(255,255,255,0.1);
  color: var(--cream-100);
  border-color: rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 30px -14px rgba(0,0,0,0.45);
}
.btn-glass.on-dark:hover { background: rgba(255,255,255,0.18); }

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
}
.btn-gold:hover { background: var(--gold-600); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-500);
}
.pill.dark { background: var(--navy-800); color: var(--cream-100); border-color: transparent; }
.pill.dark .dot { background: var(--gold-400); }

/* ============================================================
   Header
   ============================================================ */

.topstrip {
  background: var(--navy-900);
  color: var(--navy-200);
  font-size: 13px;
  font-weight: 400;
}
.topstrip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 24px;
}
.topstrip .ts-left { display: flex; gap: 22px; align-items: center; }
.topstrip a { color: var(--cream-200); transition: color .2s; }
.topstrip a:hover { color: var(--gold-400); }
.topstrip .ts-right { display: flex; gap: 22px; align-items: center; color: var(--navy-200); }
.topstrip .ts-right .trust { display: inline-flex; gap: 6px; align-items: center; }
.topstrip svg { width: 14px; height: 14px; stroke: currentColor; }

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--hairline);
  transition: background .25s;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 52px; width: auto; }
.brand .bn {
  display: flex; flex-direction: column; line-height: 1;
}
.brand .bn .name { font-weight: 500; font-size: 15px; letter-spacing: 0.32em; color: var(--navy-800); }
.brand .bn .sub { font-size: 10px; letter-spacing: 0.36em; color: var(--ink-mute); font-weight: 500; margin-top: 5px; }

nav.primary {
  display: flex;
  gap: 4px;
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 6px;
  box-shadow: var(--shadow-soft);
}
nav.primary a {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
nav.primary a:hover { color: var(--navy-900); background: var(--cream-200); }
nav.primary a.active { background: var(--navy-800); color: var(--cream-100); }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .phone { font-size: 14px; font-weight: 500; color: var(--navy-700); display: inline-flex; gap: 8px; align-items: center; margin-right: 18px; }
.nav-actions .phone svg { width: 16px; height: 16px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  align-items: center;
  justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }

/* Header: zwei gleichwertige CTAs (Kontakt + Bewertung) sollen nicht umbrechen */
.nav-actions { flex-wrap: nowrap; }
.nav-actions .btn { white-space: nowrap; }

/* Mitlaufender Telefon-Button (unten rechts) — nur Icon, dezent */
.fab-phone {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--cream-100);
  box-shadow: 0 14px 32px -12px rgba(12,23,41,0.5), inset 0 1px 0 rgba(255,255,255,0.14);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.fab-phone svg { width: 23px; height: 23px; flex-shrink: 0; }
.fab-phone:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(12,23,41,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
@media (max-width: 640px) {
  .fab-phone { right: 16px; bottom: 18px; width: 54px; height: 54px; }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream-100);
  z-index: 200;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav nav a { padding: 16px 8px; font-size: 22px; font-weight: 400; border-bottom: 1px solid var(--hairline); color: var(--navy-800); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-top: 24px; margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline-2);
}
.hero-meta .mi .v { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; letter-spacing: -0.02em; color: var(--navy-800); }
.hero-meta .mi .v em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--gold-600); }
.hero-meta .mi .k { font-size: 11.5px; letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase; margin-top: 6px; font-weight: 600; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: visible;
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-300);
  box-shadow: var(--shadow-deep);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(12,23,41,0.18) 100%);
  pointer-events: none;
}

/* particles.js-Overlay über dem Hero-Foto */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-particles canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Floating glass cards */
.gcard {
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
}
.fcard {
  position: absolute;
  z-index: 3;
}
a.fcard {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
/* Einzelne Info-Box (zwei Nutzenversprechen) — rechts im unteren Drittel */
.fcard.fc-info {
  bottom: 8%;
  right: -6%;
  width: 300px;
  max-width: 86%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.finfo {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.finfo + .finfo { border-top: 1px solid var(--hairline); padding-top: 16px; }
.finfo-ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-100), var(--cream-200));
  color: var(--gold-700);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.finfo-ico svg { width: 19px; height: 19px; }
.finfo-k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.finfo-t {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  line-height: 1.2;
}
.finfo-s { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }

/* ============================================================
   Sections
   ============================================================ */

section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 64px;
}
.section-head .sh-text { max-width: 720px; }
.section-head .sh-text .eyebrow { margin-bottom: 24px; }
.section-head .sh-text .h2 { margin-bottom: 18px; }
.section-head .sh-aside { color: var(--ink-soft); font-size: 15px; max-width: 320px; text-wrap: pretty; }

/* ============================================================
   Trust strip
   ============================================================ */

.trust-strip {
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--cream-200), var(--cream-100));
}
.trust-strip .wrap {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px;
}
.trust-strip .ti { display: flex; align-items: center; gap: 12px; color: var(--navy-700); font-size: 14px; font-weight: 500; }
.trust-strip .ti svg { width: 22px; height: 22px; stroke: var(--gold-600); }
.trust-strip .ti strong { color: var(--navy-800); }

/* ============================================================
   Regions
   ============================================================ */

.regions {
  background: var(--cream-50);
}
.region-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  min-height: 580px;
}
.region-source {
  margin-top: 28px;
  font-size: 13px;
  color: var(--sea-700);
  opacity: 0.85;
  letter-spacing: 0.01em;
}
.region-source a { color: inherit; text-decoration: underline; }
.region {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-700);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
  cursor: pointer;
  transition: transform .35s ease;
  min-height: 580px;
}
.region:hover { transform: translateY(-4px); }
.region .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s ease;
}
.region:hover .bg { transform: scale(1.04); }
.region::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,23,41,0.05) 0%, rgba(12,23,41,0.15) 40%, rgba(12,23,41,0.75) 100%);
}
.region .content { position: relative; z-index: 2; }
.region .num { font-size: 13px; letter-spacing: 0.18em; font-weight: 600; opacity: 0.7; }
.region h3 { color: #fff; font-size: clamp(28px, 3vw, 42px); margin-top: 8px; margin-bottom: 12px; font-weight: 400; letter-spacing: -0.02em; }
.region p { font-size: 14px; opacity: 0.86; max-width: 38ch; margin-bottom: 22px; }
.region .meta { display: flex; gap: 18px; font-size: 12px; opacity: 0.85; }
.region .meta span { display: inline-flex; gap: 6px; align-items: center; }
.region .meta svg { width: 14px; height: 14px; }
.region .gold-tag {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.region .arrow-go {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.region:hover .arrow-go { background: var(--gold-500); border-color: var(--gold-500); }
.region .arrow-go svg { width: 18px; height: 18px; stroke: #fff; }

/* ============================================================
   Services
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: var(--cream-50);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .25s, transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  box-shadow: 0 2px 6px -2px rgba(31,54,64,0.06);
}
.service:hover {
  background: #fff;
  border-color: var(--hairline-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(31,54,64,0.22);
}
.service .icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--sea-200) 0%, var(--wood-100) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 18px -10px rgba(61,100,115,0.25);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service .icon::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent 60%);
  pointer-events: none;
}
.service:hover .icon { transform: translateY(-3px) rotate(-3deg); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 16px 30px -14px rgba(61,100,115,0.4); }
.service .icon svg { width: 26px; height: 26px; stroke: var(--sea-800); position: relative; z-index: 1; }
.service .num { position: absolute; top: 24px; right: 28px; font-size: 12px; color: var(--ink-mute); letter-spacing: 0.18em; font-weight: 600; }
.service h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.018em; color: var(--navy-800); }
.service p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.service .link { font-size: 13px; font-weight: 600; color: var(--navy-700); display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; letter-spacing: 0.04em; }
.service .link svg { width: 14px; height: 14px; transition: transform .2s; }
.service:hover .link svg { transform: translateX(3px); }

/* ============================================================
   Off-market band
   ============================================================ */

.offmarket {
  position: relative;
  background:
    linear-gradient(165deg, rgba(45,74,86,0.82) 0%, rgba(31,54,64,0.92) 100%),
    url('assets/photos/off-market-immobilien-mecklenburg-vorpommern-villa.jpg') center / cover no-repeat;
  color: var(--cream-100);
  overflow: hidden;
}
.offmarket::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50vw 60vh at 85% 25%, rgba(193,154,107,0.22), transparent 60%),
    radial-gradient(40vw 50vh at 8% 95%, rgba(174,195,202,0.16), transparent 70%);
  pointer-events: none;
}
.offmarket::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='1' cy='1' r='0.7' fill='%23ffffff' opacity='0.08'/></svg>");
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}
.offmarket .wrap { position: relative; z-index: 2; }
.offmarket-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.offmarket .eyebrow { color: var(--wood-300); }
.offmarket .eyebrow::before { background: var(--wood-500); }
.offmarket h2 { color: var(--cream-100); }
.offmarket h2 em { color: var(--wood-400); }
.offmarket p.lead { color: rgba(255,255,255,0.78); margin-top: 24px; margin-bottom: 32px; }

.om-list { display: grid; gap: 14px; }
.om-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); backdrop-filter: blur(10px); transition: background .25s; }
.om-item:hover { background: rgba(255,255,255,0.11); }
.om-item .n { font-size: 12px; color: var(--wood-300); font-weight: 700; letter-spacing: 0.18em; padding-top: 2px; }
.om-item .b { display: flex; flex-direction: column; gap: 4px; }
.om-item .b strong { color: var(--cream-100); font-weight: 500; font-size: 16px; }
.om-item .b span { color: rgba(255,255,255,0.7); font-size: 13.5px; line-height: 1.5; }

/* ============================================================
   Properties
   ============================================================ */

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.property {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.property:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.property .ph {
  aspect-ratio: 4/3;
  background: var(--cream-300);
  position: relative;
  overflow: hidden;
}
.property .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.property:hover .ph img { transform: scale(1.04); }
.property .tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  color: var(--navy-800);
}
.property .tag.exc { background: var(--navy-900); color: var(--gold-400); }
.property .tag.new { background: var(--gold-500); color: var(--navy-900); }
.property .heart {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
}
.property .heart svg { width: 16px; height: 16px; stroke: var(--navy-700); fill: none; }
.property .pb { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.property .loc { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.property .loc svg { width: 12px; height: 12px; }
.property .pt { font-size: 22px; font-weight: 500; letter-spacing: -0.018em; color: var(--navy-800); line-height: 1.15; }
.property .specs {
  display: flex; gap: 18px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--ink-soft);
}
.property .specs span { display: inline-flex; gap: 6px; align-items: center; }
.property .specs svg { width: 14px; height: 14px; stroke: var(--ink-mute); }
.property .pr {
  display: flex; justify-content: space-between; align-items: center; margin-top: 16px;
}
.property .pr .price { font-size: 22px; font-weight: 500; color: var(--navy-800); letter-spacing: -0.02em; }
.property .pr .price em { font-style: normal; font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.property .pr .go { color: var(--gold-700); font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }

/* ============================================================
   Valuation tool
   ============================================================ */

.valuation {
  background: linear-gradient(180deg, var(--cream-100), var(--cream-200));
}
.val-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.val-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-soft);
}
.val-tabs { display: flex; gap: 6px; padding: 5px; background: var(--cream-200); border-radius: var(--r-pill); margin-bottom: 26px; width: fit-content; }
.val-tabs button {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: background .2s, color .2s;
}
.val-tabs button.on { background: var(--navy-800); color: var(--cream-100); }

.val-grid label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.val-row { margin-bottom: 18px; }
.val-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.val-input, .val-select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--cream-50);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  font: inherit; font-size: 15px; font-weight: 500;
  color: var(--navy-800);
  outline: none;
  transition: border-color .2s, background .2s;
}
.val-input:focus, .val-select:focus { border-color: var(--navy-700); background: #fff; }

.val-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.val-chip {
  padding: 9px 16px;
  background: var(--cream-50);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .2s;
}
.val-chip.on { background: var(--navy-800); color: var(--cream-100); border-color: var(--navy-800); }
.val-chip:hover:not(.on) { background: var(--cream-100); color: var(--navy-800); }

.val-result {
  margin-top: 24px;
  padding: 24px;
  background: var(--cream-100);
  border: 1px dashed var(--gold-400);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.val-result .vr-left .l { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.val-result .vr-left .v { font-size: 28px; font-weight: 400; color: var(--navy-800); letter-spacing: -0.02em; line-height: 1.1; margin-top: 4px; }
.val-result .vr-left .v em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--gold-600); }
.val-result .vr-left .s { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

/* ============================================================
   About / E-E-A-T
   ============================================================ */

#ueber-uns > .wrap { max-width: 1200px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.about-portraits {
  position: relative;
  aspect-ratio: 5/6;
}
.portrait {
  position: absolute;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-300);
  box-shadow: var(--shadow-deep);
  background-size: cover; background-position: center top;
}
.portrait.p1 { top: 0; left: 0; width: 60%; height: 75%; }
.portrait.p2 { bottom: 0; right: 0; width: 55%; height: 65%; }
.portrait.tag {
  position: absolute;
  bottom: 8%;
  left: 6%;
  width: 240px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  z-index: 3;
}
.portrait.tag .ttitle { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.portrait.tag .tname { font-size: 17px; font-weight: 500; color: var(--navy-800); margin-top: 4px; letter-spacing: -0.01em; }
.portrait.tag .trole { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.about-bullets { display: grid; gap: 14px; margin-top: 30px; }
.ab {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 0;
  border-top: 1px solid var(--hairline);
}
.ab .num { color: var(--gold-700); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; padding-top: 3px; min-width: 30px; white-space: nowrap; }
.ab .num.num-wide { min-width: 56px; letter-spacing: 0.12em; }

/* Bigger, prominent stat numbers in the About section (25+ J., 100%) */
#ueber-uns .ab { align-items: center; }
#ueber-uns .ab .num {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-top: 2px;
  min-width: 64px;
  white-space: nowrap;
  word-spacing: -0.05em;
}
#ueber-uns .ab .num.num-wide { min-width: 70px; letter-spacing: 0.01em; }
.ab .ct strong { display: block; color: var(--navy-800); font-weight: 500; font-size: 16px; margin-bottom: 3px; }
.ab .ct span { color: var(--ink-soft); font-size: 14px; }

.creds { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.cred {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-700);
}

/* ============================================================
   Market report
   ============================================================ */

.market { background: var(--cream-50); }
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.mk-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  transition: transform .25s;
}
.mk-card:hover { transform: translateY(-3px); }
.mk-card .h { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.mk-card .v { font-size: clamp(28px, 2.6vw, 36px); font-weight: 400; color: var(--navy-800); letter-spacing: -0.02em; margin: 10px 0 4px; }
.mk-card .v em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--gold-600); }
.mk-card .d { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.mk-card .d.up { color: #2f7d4a; }
.mk-card .d.down { color: #b25839; }
.mk-card .chart {
  height: 50px;
  margin-top: 16px;
}

.market-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px 22px;
  background: rgba(201,168,117,0.12);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--navy-700);
  border-left: 3px solid var(--gold-500);
}
.market-note svg { width: 18px; height: 18px; stroke: var(--gold-700); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   TRANSPARENZ & MARKT  (Villa-Hero mit Glass-Cards)
   ============================================================ */

.transparency {
  position: relative;
  padding: clamp(80px, 9vw, 120px) 0 clamp(24px, 2.5vw, 40px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--sea-200) 55%, var(--cream-50) 100%);
}
/* Full-bleed: section spans the entire viewport width */
.transparency > .wrap {
  width: 100%;
  max-width: none;
  padding: 0;
}
.transparency .villa-stage {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 920px;
  box-shadow: 0 50px 100px -40px rgba(31,54,64,0.4), 0 20px 40px -20px rgba(31,54,64,0.2);
  isolation: isolate;
  background: var(--sea-300);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 380px);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "head   right"
    "space  right"
    "bottom bottom";
  column-gap: 28px;
  row-gap: 22px;
  padding: clamp(48px, 5vw, 72px) clamp(28px, 4vw, 72px);
}
.transparency .villa-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.transparency .villa-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.02);
  transition: transform 1.8s ease-out;
}
.transparency:hover .villa-bg img { transform: scale(1.05); }
.transparency .villa-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,30,40,0.45) 0%, rgba(15,30,40,0.15) 35%, transparent 55%, rgba(15,30,40,0.4) 100%),
    linear-gradient(90deg, rgba(15,30,40,0.55) 0%, rgba(15,30,40,0.25) 35%, transparent 60%, rgba(15,30,40,0.2) 100%);
}

/* Heading floats top-left of villa */
.trans-head {
  position: relative;
  z-index: 3;
  grid-area: head;
  padding: 0;
  max-width: 620px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.trans-head .eyebrow { color: var(--wood-300); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.trans-head .eyebrow::before { background: var(--wood-400); }
.trans-head h2 { color: #fff; margin-top: 22px; margin-bottom: 14px; }
.trans-head h2 em { color: var(--wood-300); }
.trans-head .sub {
  color: rgba(255,255,255,0.95);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* House pin markers */
.house-pin {
  position: absolute;
  z-index: 4;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.house-pin::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: pulseRing 2.4s ease-out infinite;
}
.house-pin .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wood-500);
}
.house-pin:hover .tooltip { opacity: 1; transform: translate(-50%, -8px); pointer-events: auto; }
.house-pin .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 4px);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy-800);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.3);
}
.house-pin .tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255,255,255,0.95);
}
.house-pin .tooltip strong { color: var(--sea-800); font-weight: 600; display: block; }
.house-pin .tooltip span { font-size: 11px; color: var(--ink-mute); font-weight: 500; }

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Right rail: KPI stack + market card */
.trans-right {
  position: relative;
  grid-area: right;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}
.tkpi {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 18px 30px -16px rgba(31,54,64,0.3);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}
.tkpi .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; grid-column: 1 / -1; }
.tkpi .v { font-size: 30px; font-weight: 400; color: var(--sea-900); letter-spacing: -0.02em; line-height: 1; }
.tkpi .v em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--wood-700); font-size: 0.65em; margin-left: 4px; vertical-align: 0.18em; }
.tkpi .ic {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wood-100), var(--sea-100));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.tkpi .ic svg { width: 18px; height: 18px; stroke: var(--sea-800); }
.tkpi .desc { font-size: 12px; color: var(--ink-soft); grid-column: 1 / -1; line-height: 1.4; }

.tmarket {
  background: linear-gradient(160deg, var(--sea-800), var(--sea-900));
  color: #fff;
  border-radius: var(--r-md);
  padding: 20px 22px 22px;
  box-shadow: 0 22px 40px -18px rgba(31,54,64,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.tmarket::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(193,154,107,0.3), transparent 60%);
  pointer-events: none;
}
.tmarket .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--wood-300); text-transform: uppercase; }
.tmarket .v {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 6px;
  margin-bottom: 4px;
  line-height: 1;
}
.tmarket .v em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--wood-300); font-size: 0.55em; vertical-align: 0.2em; margin-left: 4px; }
.tmarket .badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(193,154,107,0.18);
  color: var(--wood-300);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(193,154,107,0.3);
  margin-top: 6px;
}
.tmarket .extra { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-top: 10px; }
.tmarket .msplit { font-size: 12.5px; color: rgba(255,255,255,0.78); margin: 4px 0 8px; letter-spacing: 0.02em; }
.tmarket .spark { margin-top: 10px; height: 56px; width: 100%; }

/* Process timeline + mini cards at bottom */
.trans-bottom {
  position: relative;
  grid-area: bottom;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
}
.process-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-lg);
  padding: 22px 26px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 24px 48px -20px rgba(31,54,64,0.4);
}
.process-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.process-head .l { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); }
.process-head h3 { font-size: 19px; font-weight: 500; color: var(--sea-900); margin-top: 4px; letter-spacing: -0.01em; }
.process-head .badge {
  font-size: 11px;
  padding: 6px 12px;
  background: var(--wood-100);
  color: var(--wood-900);
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--sea-400), var(--wood-500));
}
.tstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.tstep .node {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sea-700);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--sea-800);
}
.tstep:last-child .node { background: var(--wood-500); border-color: var(--wood-500); color: #fff; }
.tstep .ttitle { font-size: 12px; font-weight: 600; color: var(--sea-900); margin-top: 6px; letter-spacing: -0.005em; line-height: 1.2; }
.tstep .ttime { font-size: 10.5px; color: var(--ink-mute); font-weight: 600; letter-spacing: 0.06em; }

/* Mini cards (4-up) */
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mini {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-md);
  padding: 12px 14px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 14px 24px -14px rgba(31,54,64,0.3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mini .lbl { font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; }
.mini .v { font-size: 18px; font-weight: 500; color: var(--sea-900); letter-spacing: -0.01em; line-height: 1.1; margin-top: 3px; }
.mini .v em { font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--wood-700); }
.mini .desc { font-size: 11px; color: var(--ink-soft); margin-top: 4px; line-height: 1.35; }

.trans-footer {
  margin: 14px auto 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-mute);
  opacity: 0.7;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: var(--max);
  letter-spacing: 0.01em;
}

/* ============================================================
   About illustration  (replaces portraits)
   ============================================================ */

.about-illust {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sea-100) 0%, var(--wood-100) 100%);
  box-shadow: var(--shadow-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.about-illust .brand-logo {
  max-width: 62%;
  max-height: 55%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.about-illust .badge-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 18px 36px -16px rgba(31,54,64,0.3);
}
.about-illust .badge-card .ttitle { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.about-illust .badge-card .tname { font-size: 18px; font-weight: 500; color: var(--sea-900); margin-top: 4px; letter-spacing: -0.01em; }
.about-illust .badge-card .trole { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* ============================================================
   Hero photo: soften treatment for new image
   ============================================================ */

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials { background: var(--cream-50); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.test-stars { color: var(--gold-500); font-size: 14px; letter-spacing: 4px; }
.testimonial blockquote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy-800);
  font-weight: 400;
  text-wrap: pretty;
}
.testimonial blockquote::before { content: '“'; font-family: 'Cormorant Garamond', serif; color: var(--gold-500); font-size: 50px; line-height: 0; vertical-align: -20px; margin-right: 4px; }
.test-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); }
.test-foot .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-300);
  background-size: cover; background-position: center;
}
.test-foot .nm { font-weight: 600; color: var(--navy-800); font-size: 14px; }
.test-foot .lc { font-size: 12px; color: var(--ink-mute); }

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 0;
}
.faq-item:nth-last-child(-n+2) { border-bottom: 0; }
.faq-q {
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--navy-800);
  letter-spacing: -0.01em;
  transition: color .2s;
}
.faq-q:hover { color: var(--gold-700); }
.faq-q .ic {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .3s;
}
.faq-q .ic svg { width: 14px; height: 14px; stroke: var(--navy-700); transition: transform .3s; }
.faq-item.open .faq-q .ic { background: var(--navy-800); }
.faq-item.open .faq-q .ic svg { transform: rotate(45deg); stroke: var(--gold-400); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-right: 80px;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 26px; }

/* ============================================================
   Contact
   ============================================================ */

.contact {
  position: relative;
  background:
    linear-gradient(165deg, rgba(253,250,243,0.92) 0%, rgba(245,239,229,0.96) 100%),
    url('assets/photos/immobilienmakler-mecklenburg-vorpommern-ostseekueste.jpg') center / cover no-repeat;
  color: var(--ink);
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60vw 60vh at 110% 0%, rgba(193,154,107,0.16), transparent 55%),
    radial-gradient(50vw 50vh at -10% 100%, rgba(31,54,64,0.06), transparent 60%);
  pointer-events: none;
}
.contact .wrap { position: relative; z-index: 2; }
.contact .eyebrow { color: var(--wood-700); }
.contact .eyebrow::before { background: var(--wood-500); }
.contact h2 { color: var(--navy-900); }
.contact h2 em { color: var(--wood-700); }
.contact .lead { color: var(--ink-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.ci-block .l { font-size: 11.5px; letter-spacing: 0.18em; font-weight: 700; color: var(--wood-700); text-transform: uppercase; margin-bottom: 8px; }
.ci-block .v { font-size: 19px; font-weight: 500; color: var(--navy-900); letter-spacing: -0.01em; }
.ci-block .s { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.55; }

.contact-form {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 44px);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 30px 60px -20px rgba(31,54,64,0.25);
}
.cf-row { margin-bottom: 18px; }
.cf-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-row label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.cf-row input, .cf-row select, .cf-row textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(31,54,64,0.15);
  border-radius: var(--r-md);
  color: var(--ink);
  font: inherit; font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.cf-row textarea { padding-top: 14px; height: 120px; resize: vertical; }
.cf-row input:focus, .cf-row select:focus, .cf-row textarea:focus { border-color: var(--wood-500); background: #fff; }
.cf-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.cf-row input::placeholder, .cf-row textarea::placeholder { color: var(--ink-mute); }

.cf-checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 8px 0 20px;
  line-height: 1.5;
}
.cf-checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--wood-700); }
.cf-checkbox a { color: var(--wood-700); text-decoration: underline; }

.cf-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.cf-status[data-kind="ok"]    { background: #e8f3ec; color: #1f5132; border: 1px solid #b7d9c2; }
.cf-status[data-kind="error"] { background: #fbecec; color: #842029; border: 1px solid #efc4c4; }

/* ============================================================
   Rechtliche Hinweise — Impressum & Datenschutz
   ============================================================ */
main.legal {
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  background: var(--cream-50, #faf6f0);
}
main.legal .wrap { max-width: 880px; }
main.legal .legal-head { margin-bottom: 48px; }
main.legal .legal-head .h1 { margin: 12px 0 18px; }
main.legal .legal-head .lead { max-width: 720px; color: var(--ink-soft); }
main.legal .legal-head .legal-stand {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-800);
}

main.legal .legal-section {
  margin: 0 0 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
main.legal .legal-section:first-of-type { border-top: none; padding-top: 0; }
main.legal .legal-section h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-800, #1a2540);
  margin: 0 0 18px;
  scroll-margin-top: 120px;
}
main.legal .legal-section p,
main.legal .legal-section li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink, #2b2f36);
  max-width: 720px;
}
main.legal .legal-section p + p { margin-top: 14px; }
main.legal .legal-section strong { font-weight: 600; color: var(--navy-800, #1a2540); }
main.legal .legal-section a {
  color: var(--wood-700, #8a6a3a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
main.legal .legal-section a:hover { color: var(--navy-700, #243153); }

main.legal .legal-list { padding-left: 22px; margin: 14px 0 16px; text-align: left; list-style-position: outside; }
main.legal .legal-list li { margin-bottom: 6px; text-align: left; }

main.legal .legal-subh {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft, #5a5f68);
  margin: 26px 0 10px;
}

main.legal .legal-dl {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 14px 28px;
  margin: 18px 0;
  max-width: 720px;
}
main.legal .legal-dl dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft, #5a5f68);
  padding-top: 4px;
}
main.legal .legal-dl dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink, #2b2f36);
}

.placeholder {
  display: inline-block;
  background: #fff3cd;
  color: #6b4f00;
  border: 1px dashed #d4b04a;
  border-radius: 6px;
  padding: 2px 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13.5px;
  font-style: italic;
}

main.legal .legal-note {
  background: #f1eee7;
  border-left: 3px solid var(--wood-500, #b89a6a);
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14.5px;
  color: var(--ink-soft, #5a5f68);
  border-radius: 0 6px 6px 0;
}
main.legal .legal-note strong { color: var(--wood-700, #8a6a3a); }

main.legal .legal-toc {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 0 48px;
}
main.legal .legal-toc strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft, #5a5f68);
  margin-bottom: 12px;
}
main.legal .legal-toc ol {
  columns: 2;
  column-gap: 32px;
  padding-left: 22px;
  margin: 0;
}
main.legal .legal-toc li {
  break-inside: avoid;
  margin-bottom: 6px;
  font-size: 14.5px;
}
main.legal .legal-toc a {
  color: var(--navy-700, #243153);
  text-decoration: none;
}
main.legal .legal-toc a:hover { text-decoration: underline; }

main.legal .legal-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13.5px;
  color: var(--ink-soft, #5a5f68);
}

@media (max-width: 720px) {
  main.legal .legal-dl { grid-template-columns: 1fr; gap: 4px 0; }
  main.legal .legal-dl dt { margin-top: 14px; }
  main.legal .legal-toc ol { columns: 1; }
}

/* ============================================================
   Cookie-Consent-Banner
   ============================================================ */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: var(--cream-100, #f5ede0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--wood-500, #b89a6a);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(12, 23, 41, 0.22);
  padding: 22px 28px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.consent-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.consent-text h2 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--navy-800, #142139);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.consent-text p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-soft, #5a5f68);
  max-width: 760px;
}
.consent-text a {
  color: var(--wood-700, #8a6a3a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .consent-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px 20px; }
  .consent-inner { grid-template-columns: 1fr; gap: 16px; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Elfsight-Platzhalter (vor Einwilligung)
   ============================================================ */
.elfsight-placeholder-inner {
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  padding: 56px 32px;
  text-align: center;
  max-width: 720px;
  margin: 24px auto;
}
.elfsight-placeholder-inner h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--navy-800, #142139);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.elfsight-placeholder-inner p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft, #5a5f68);
  margin: 0 auto 22px;
  max-width: 540px;
}
.elfsight-placeholder-inner p.muted {
  font-size: 13.5px;
  margin-top: 22px;
  margin-bottom: 0;
}
.elfsight-placeholder-inner a {
  color: var(--wood-700, #8a6a3a);
  text-decoration: none;
  font-weight: 500;
}
.elfsight-placeholder-inner a:hover { text-decoration: underline; }

/* ============================================================
   Footer
   ============================================================ */

footer.site {
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
  color: var(--ink-soft);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(31,54,64,0.08);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-brand img { height: 56px; width: auto; margin-bottom: 20px; filter: none; }
.foot-brand p { font-size: 14px; color: var(--ink-soft); max-width: 36ch; }
.foot-col h4 { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--wood-700); margin-bottom: 18px; }
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--navy-800); transition: color .2s; }
.foot-col a:hover { color: var(--wood-700); }
.foot-col span.muted { font-size: 14px; color: var(--navy-800); opacity: 0.45; cursor: default; }

.foot-bot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(31,54,64,0.1);
  font-size: 12.5px;
  color: var(--ink-mute);
}
.foot-bot .links { display: flex; gap: 18px; }
.foot-bot .links a:hover { color: var(--navy-900); }

/* ============================================================
   Responsive
   ============================================================ */

/* Laptop-Breiten (z. B. 11"/13"): Navigation kompakter, damit Logo +
   sechs Links + beide CTAs in eine Zeile passen und nichts umspringt. */
@media (min-width: 1101px) and (max-width: 1480px) {
  .wrap { width: 92%; }
  nav.primary { gap: 2px; padding: 5px; }
  nav.primary a { padding: 8px 11px; font-size: 13px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 11px 15px; font-size: 13.5px; gap: 7px; }
  .nav-actions .btn .btn-ico { width: 15px; height: 15px; }

  /* Hero auf Laptop-Bildschirmen kompakter — komplett auf einen Blick erfassbar */
  .hero { padding: clamp(24px, 3vw, 44px) 0 clamp(40px, 5vw, 72px); }
  .hero .display { font-size: clamp(44px, 5vw, 66px); line-height: 1.02; }
  .hero h1 { margin-top: 16px; margin-bottom: 18px; }
  .hero .lead { font-size: 16px; line-height: 1.5; margin-bottom: 26px; max-width: 46ch; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero-cta { margin-bottom: 28px; }
  .hero-meta { padding-top: 22px; gap: 18px; }
  .hero-meta .mi .v { font-size: clamp(20px, 1.9vw, 24px); }
  .hero-meta .mi .k { font-size: 10.5px; margin-top: 4px; }
  /* Bild weniger hoch, damit Text + Bild gemeinsam in den Viewport passen */
  .hero-visual { aspect-ratio: 5 / 4; }

  /* Regionen auf Laptop-Bildschirmen kompakter — auf einen Blick erfassbar */
  .regions { padding-top: clamp(48px, 6vw, 80px); }
  .section-head { margin-bottom: 36px; }
  .region-grid { min-height: 0; gap: 16px; }
  .region { min-height: 420px; padding: 24px; }
  .region:first-child { min-height: 420px; }
  .region h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
  .region p { margin-bottom: 16px; }
}

/* Niedrige Laptop-Displays (z. B. 11" ≈ 768px): Hero zusätzlich verdichten */
@media (min-width: 1101px) and (max-height: 760px) {
  .hero { padding-top: 22px; padding-bottom: 36px; }
  .hero .display { font-size: clamp(40px, 4.4vw, 58px); line-height: 1.02; }
  .hero h1 { margin-top: 12px; margin-bottom: 14px; }
  .hero .lead { font-size: 15.5px; line-height: 1.48; margin-bottom: 20px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero-cta { margin-bottom: 22px; }
  .hero-meta { padding-top: 18px; }
  .hero-visual { aspect-ratio: 1 / 1; }

  /* Regionen auf flachen 11"-Displays zusätzlich verdichten */
  .regions { padding-top: 40px; }
  .section-head { margin-bottom: 28px; }
  .region, .region:first-child { min-height: 380px; }
}

@media (max-width: 1100px) {
  nav.primary { display: none; }
  .nav-actions .phone { display: none; }
  /* Kontakt-CTA mobil ausblenden — bleibt im Hamburger-Menü erreichbar */
  .nav-actions .nav-kontakt { display: none; }
  .menu-btn { display: inline-flex; }
  /* Allow grid/flex columns to shrink below their content's intrinsic size,
     so long words / wide form controls don't push the section past the viewport */
  .hero-grid > *,
  .val-grid > *,
  .about-grid > *,
  .contact-grid > *,
  .offmarket-grid > *,
  .market-grid > *,
  .ab > .ct { min-width: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .region:first-child { grid-column: 1 / -1; min-height: 380px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .property-grid { grid-template-columns: 1fr 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .about-grid, .val-grid, .contact-grid, .offmarket-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-list { grid-template-columns: 1fr; }
  .faq-item { border-bottom: 1px solid var(--hairline); }
  .faq-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .faq-item:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  /* Transparency reflow on tablet */
  .transparency .villa-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "head"
      "right"
      "bottom";
    padding: 28px;
    row-gap: 24px;
  }
  .trans-right {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .trans-right > * { flex: 1 1 220px; }
  .trans-bottom { grid-template-columns: 1fr; }
  .trans-head { max-width: none; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .timeline::before { display: none; }
  .house-pin { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: 88%; }
  /* Headings: prevent long German compound words from forcing overflow */
  h1, h2, h3, .h1, .h2, .display { hyphens: auto; overflow-wrap: anywhere; word-break: normal; }
  .display { font-size: clamp(38px, 11vw, 56px); }
  .h2 { font-size: clamp(28px, 8vw, 40px); }
  .topstrip .ts-left .item-hide { display: none; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-meta .mi:nth-child(3) { display: none; }
  .region-grid, .services-grid, .market-grid, .property-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .cf-row.two, .val-row.two { grid-template-columns: 1fr; }
  .val-result { flex-direction: column; align-items: flex-start; gap: 16px; }
  .val-result .btn { width: 100%; justify-content: center; }
  .val-result .vr-left .v { font-size: 22px; }

  /* Über uns: nur Logo zeigen, keine Box, kein Badge */
  .about-illust {
    aspect-ratio: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 8px;
    justify-content: flex-start;
  }
  .about-illust .badge-card { display: none; }
  .about-illust .brand-logo {
    max-width: 220px;
    max-height: none;
    margin: 0;
  }
  .brand .bn { display: none; }
  .topstrip { display: none; }
  .mini-grid { grid-template-columns: 1fr; }
  .trans-right { flex-direction: column; }

  /* Header: compact CTA so it fits with logo + menu button */
  header.site {
    background: rgba(250, 246, 239, 0.38);
    backdrop-filter: saturate(180%) blur(28px);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
    border-bottom: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 8px 32px -16px rgba(31,54,64,0.18);
  }
  header.site .wrap { height: 72px; gap: 8px; }
  .brand img { height: 40px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-primary {
    padding: 9px 14px;
    font-size: 12px;
    letter-spacing: 0.02em;
    height: auto;
    background: rgba(20, 33, 57, 0.78);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 8px 22px -10px rgba(12,23,41,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
  }
  .nav-actions .btn-primary .arrow { display: none; }
  .menu-btn {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 18px -10px rgba(31,54,64,0.25);
  }

  /* Mobile nav overlay: frosted glass instead of solid cream */
  .mobile-nav {
    background: rgba(250, 246, 239, 0.72);
    backdrop-filter: saturate(180%) blur(32px);
    -webkit-backdrop-filter: saturate(180%) blur(32px);
  }
  .mobile-nav nav a { border-bottom: 1px solid rgba(31,54,64,0.08); }

  .hero-grid { gap: 48px; }
  .hero-cta { margin-bottom: 32px; }

  /* Hero visual: stack photo + floating cards vertically so nothing overlaps */
  .hero-visual {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .hero-photo {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3;
    width: 100%;
  }
  .fcard {
    position: relative;
    width: 100%;
    top: auto; bottom: auto; left: auto; right: auto;
    animation: none;
  }
  .fcard.fc-info {
    width: 100%; max-width: none; top: auto; bottom: auto; left: auto; right: auto;
    transform: none;
  }
}

/* ============================================================
   Animations — reveal & micro
   ============================================================ */

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fcard.fc-info { animation: floatY 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .fcard.fc-info { animation: none; }
}

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes drawLine {
  from { stroke-dashoffset: 200; }
  to   { stroke-dashoffset: 0; }
}
.market .chart path,
.tmarket .spark path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 2.2s ease-out forwards;
}

/* Reveal helper used by JS */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Terminbuchung — Elfsight-Widget/iframe linksbündig
   ============================================================ */
#termin .elfsight-app-054a7787-4d4f-4b56-93b7-9695857a431b {
  width: 100%;
  display: block;
  text-align: left;
  margin: 0 !important;
  padding: 0 !important;
}
#termin .elfsight-app-054a7787-4d4f-4b56-93b7-9695857a431b > *,
#termin [class*="eapps-"],
#termin [class*="eapps-"] > div {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}
#termin iframe {
  display: block !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}
