/* ==========================================================================
   Growthrank – Stylesheet
   Aufbau: 1. Schriften  2. Farben & Maße  3. Grundlagen  4. Layout
           5. Kopfbereich  6. Buttons  7. Bereiche  8. Grafiken  9. Formular
           10. Fußbereich  11. Animationen
   ========================================================================== */

/* 1. Schriften – lokal gehostet (keine Verbindung zu Google, DSGVO-freundlich) */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* 2. Farben & Maße – hier zentral ändern */
:root {
  --navy-950: #071226;
  --navy-900: #0B1933;
  --navy-800: #12264A;
  --navy-700: #1B3462;
  --gold-400: #D4A84B;   /* Gold auf dunklem Grund / Buttons */
  --gold-300: #E3C27A;
  --gold-700: #8A6414;   /* Gold als Text auf hellem Grund (Kontrast ≥ 4.5:1) */
  --white: #FFFFFF;
  --bg-soft: #F4F6FA;
  --text: #0F172A;
  --text-muted: #475569;
  --text-on-dark: #FFFFFF;
  --muted-on-dark: #B9C5DA;
  --border: #E2E8F0;
  --border-dark: rgba(255, 255, 255, .12);
  --error: #B91C1C;
  --success: #15803D;

  /* Diagramm (auf dunklem Grund geprüft, auch bei Farbsehschwäche unterscheidbar) */
  --chart-with: #B5872E;
  --chart-without: #6A8CDB;

  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 25, 51, .06), 0 8px 24px rgba(11, 25, 51, .08);
  --container: 1160px;
  --gutter: 1.25rem;
  --section: clamp(4rem, 8vw, 6.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold-400); color: var(--navy-900); padding: .75rem 1rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon--sm { width: 1.1rem; height: 1.1rem; }

/* 4. Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: var(--text-on-dark); }
.section--dark p { color: var(--muted-on-dark); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-muted); }
.section--dark .lead, .hero .lead, .page-hero .lead { color: var(--muted-on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-400); }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: 3rem; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } .split--reverse > :first-child { order: 2; } }

/* 5. Kopfbereich & Navigation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 25, 51, .96);
  border-bottom: 1px solid var(--border-dark);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(11, 25, 51, .85); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; }
.logo:hover { color: var(--white); }
.logo svg { width: 2.1rem; height: 2.1rem; }
.logo__text span { color: var(--gold-400); }

.nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5rem 0; display: inline-block; position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 2px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--white); }
.site-nav .btn { padding: .65rem 1.1rem; font-size: .95rem; }
.site-nav .btn--gold, .site-nav .btn--gold:hover { color: var(--navy-900); }

/* Mobile Navigation (nur mit JavaScript eingeklappt, sonst immer sichtbar) */
@media (max-width: 1099px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
    background: transparent; color: var(--white); border: 1px solid var(--border-dark); cursor: pointer;
  }
  .js .nav-toggle .icon-close { display: none; }
  .js .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .js .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--border-dark);
    padding: .5rem var(--gutter) 1.5rem; display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--border-dark); }
  .js .site-nav a:not(.btn)::after { display: none; }
  .js .site-nav li:last-child { margin-top: 1rem; }
  .js .site-nav .btn { width: 100%; justify-content: center; }
  .header-inner { position: relative; flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: 1rem; }
}

/* 6. Buttons & Links */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 2.9rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.15rem; height: 1.15rem; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--gold { background: var(--gold-400); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(212, 168, 75, .3); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-family: var(--font-head); color: var(--navy-700); text-decoration: none; }
.text-link .icon { width: 1.05rem; height: 1.05rem; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* 7. Bereiche */

/* Hero (Startseite) */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 500px at 85% -10%, rgba(212, 168, 75, .16), transparent 60%),
              linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
}
.hero::after { /* dezentes Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { max-width: 38rem; margin-bottom: 2rem; }

.check-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.check-list li { display: flex; align-items: center; gap: .5rem; font-size: .98rem; }
.check-list .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-400); }

/* Unterseiten-Kopf */
.page-hero {
  background: radial-gradient(900px 400px at 90% -20%, rgba(212, 168, 75, .14), transparent 60%), var(--navy-900);
  color: var(--white); padding-block: 2.5rem clamp(3.5rem, 7vw, 5rem);
}
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 42rem; margin-bottom: 2rem; }
.page-hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .page-hero__grid { grid-template-columns: 1.2fr .8fr; } }

.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted-on-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: var(--muted-on-dark); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }

/* Karten */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(212, 168, 75, .6); }
.card p { color: var(--text-muted); }
.card .text-link { margin-top: auto; }
.card__icon {
  width: 3.25rem; height: 3.25rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-400); margin-bottom: 1.25rem;
}
.card__icon--sm { width: 2.75rem; height: 2.75rem; margin: 0; }
.card--plain:hover { transform: none; box-shadow: none; border-color: var(--border); }

.feature { display: flex; gap: 1rem; }
.feature .card__icon { flex-shrink: 0; margin-bottom: 0; width: 2.75rem; height: 2.75rem; }
.feature h3 { margin-bottom: .35rem; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--text-muted); }
.section--dark .feature .card__icon { background: rgba(212,168,75,.14); }
.section--dark .feature p { color: var(--muted-on-dark); }

.stack-spaced { margin-block: 2rem; }
.page-hero--tall { min-height: 60vh; }

.note { font-size: .95rem; color: var(--text-muted); }
.note--spaced { margin-top: 2rem; }
.note--center { text-align: center; }

/* Ablauf / Schritte (dunkler Bereich) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 1.75rem; border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--border-dark); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block;
  font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--gold-400); margin-bottom: 1rem;
}
.steps h3 { color: var(--white); }
.steps p { margin: 0; font-size: .98rem; }

/* Liste mit Häkchen */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.ticks--flush { margin-bottom: 0; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .icon { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--gold-700); }
.section--dark .ticks .icon, .highlight-box .ticks .icon { color: var(--gold-400); }

/* Preise */
.price-card { position: relative; }
.price-card--featured { border: 2px solid var(--gold-400); box-shadow: var(--shadow); }
.price-card__badge { position: absolute; top: -.85rem; left: 2rem; background: var(--gold-400); color: var(--navy-900); font-size: .8rem; font-weight: 600; padding: .25rem .75rem; border-radius: 999px; }
.price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--navy-900); line-height: 1.1; margin-bottom: .25rem; }
.price small { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-card .ticks { margin-top: 1rem; font-size: .98rem; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* Hervorgehobener Kasten (Gastronomie auf der Startseite) */
.highlight-box { background: var(--navy-900); color: var(--white); border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.highlight-box::before { content: ""; position: absolute; right: -6rem; top: -6rem; width: 18rem; height: 18rem; border-radius: 50%; background: radial-gradient(circle, rgba(212,168,75,.25), transparent 70%); }
.highlight-box > * { position: relative; }
.highlight-box p { color: var(--muted-on-dark); }

/* Foto */
.portrait-wrap { position: relative; z-index: 0; padding: 0 1.25rem 1.25rem 0; }
.portrait { position: relative; max-width: 24rem; margin-inline: auto; }
.portrait img { border-radius: calc(var(--radius) * 1.5); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: #C9CDD3; }
.portrait::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 2px solid var(--gold-400); border-radius: calc(var(--radius) * 1.5); z-index: -1; }

/* FAQ */
.faq { max-width: 52rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.5rem;
  border-right: 2px solid var(--gold-700); border-bottom: 2px solid var(--gold-700); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq details p { color: var(--text-muted); padding-right: 2.5rem; }

/* Abschluss-CTA */
.cta-band { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: var(--white); text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--muted-on-dark); max-width: 38rem; margin: 0 auto 2rem; }
.cta-band .btn-row { justify-content: center; }

/* Inhaltsseiten (Fließtext) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }

/* Gelb markierter Platzhalter (vor dem Livegang ersetzen) */
.placeholder { background: #FFF1CC; padding: 0 .3rem; border-radius: 4px; font-weight: 600; }

/* Ablaufkette („Nicht gefunden → … → Existenz in Gefahr“) */
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 720px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 2.25rem; } }
.flow li { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.flow h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.flow p { margin: 0; color: var(--text-muted); font-size: .98rem; }
.flow__icon { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400); margin-bottom: 1rem; }
.flow__icon--alert { background: #FEF2F2; color: var(--error); }
@media (min-width: 1000px) {
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -1.6rem; width: .9rem; height: .9rem;
    border-top: 2px solid var(--gold-700); border-right: 2px solid var(--gold-700); transform: translateY(-50%) rotate(45deg);
  }
}

/* Vergleich zweier Google-Profile */
.compare { display: grid; gap: 1.5rem; max-width: 56rem; margin-inline: auto; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.profile-card { border-radius: var(--radius); padding: 1.75rem; background: var(--white); border: 1px solid var(--border); }
.profile-card h3 { margin-bottom: 1rem; }
.profile-card .photo-tiles { margin-bottom: 1.25rem; }
.profile-card__label { display: inline-block; font-size: .8rem; font-weight: 600; padding: .25rem .75rem; border-radius: 999px; margin-bottom: .75rem; }
.profile-card--bad { background: #F8FAFC; border-style: dashed; border-color: #CBD5E1; }
.profile-card--bad .profile-card__label { background: #E2E8F0; color: var(--text-muted); }
.profile-card--good { border: 2px solid var(--gold-400); box-shadow: var(--shadow); }
.profile-card--good .profile-card__label { background: var(--gold-400); color: var(--navy-900); }
.profile-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.profile-list li { display: flex; gap: .6rem; align-items: flex-start; }
.profile-list .icon { width: 1.15rem; height: 1.15rem; margin-top: .2rem; }
.profile-card--bad .profile-list .icon { color: var(--error); }
.profile-card--good .profile-list .icon { color: var(--success); }

/* 8. Grafiken (rein dekorativ, ohne Bilddateien) */

/* Startseite: stilisierte lokale Suche */
.search-mock { position: relative; max-width: 26rem; margin-inline: auto; width: 100%; }
.search-mock__bar {
  display: flex; align-items: center; gap: .6rem; background: var(--white); color: var(--text-muted);
  border-radius: 999px; padding: .85rem 1.2rem; font-size: .95rem; box-shadow: var(--shadow);
}
.search-mock__bar .icon { width: 1.1rem; height: 1.1rem; color: var(--navy-700); }
.search-mock__card {
  margin-top: 1rem; background: var(--white); color: var(--text); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 2px solid var(--gold-400);
  animation: float 6s ease-in-out infinite;
}
.search-mock__tag { display: inline-block; font-size: .75rem; font-weight: 600; background: rgba(212,168,75,.18); color: var(--gold-700); padding: .2rem .6rem; border-radius: 999px; margin-bottom: .6rem; }
.search-mock__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: .25rem; }
.search-mock__stars { display: flex; gap: 2px; color: var(--gold-400); margin-bottom: .6rem; }
.search-mock__stars .icon { width: 1rem; height: 1rem; }
.search-mock__line { height: .55rem; border-radius: 4px; background: #E8ECF3; margin-bottom: .45rem; }
.search-mock__line--short { width: 60%; }
.search-mock__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.search-mock__actions span { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--navy-700); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .7rem; }
.search-mock__actions .icon { width: .9rem; height: .9rem; }
.search-mock__ghost { margin-top: .9rem; background: rgba(255,255,255,.07); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 1rem 1.25rem; }
.search-mock__ghost .search-mock__line { background: rgba(255,255,255,.12); }

/* Gastronomie: Smartphone mit Google-Maps-Suche */
.phone {
  width: 100%; max-width: 17rem; margin-inline: auto; padding: .6rem;
  background: #1F2B44; border-radius: 2.4rem; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08);
  animation: float 7s ease-in-out infinite;
}
.phone__screen { background: var(--white); color: var(--text); border-radius: 1.9rem; overflow: hidden; }
.phone__search { display: flex; align-items: center; gap: .5rem; margin: .9rem .9rem .6rem; padding: .55rem .8rem; border-radius: 999px; background: var(--bg-soft); font-size: .78rem; color: var(--text-muted); }
.phone__search .icon { width: .9rem; height: .9rem; color: var(--navy-700); }
.phone__map {
  position: relative; height: 8.5rem;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(0deg, transparent 58%, #fff 58%, #fff 63%, transparent 63%),
    linear-gradient(35deg, transparent 30%, #fff 30%, #fff 33%, transparent 33%),
    #E3EAF3;
}
.phone__pin { position: absolute; width: .7rem; height: .7rem; border-radius: 50%; background: #94A3B8; border: 2px solid #fff; transform: translate(-50%, -50%); }
.phone__pin--1 { left: 18%; top: 30%; }
.phone__pin--2 { left: 72%; top: 22%; }
.phone__pin--3 { left: 30%; top: 70%; }
.phone__pin--4 { left: 82%; top: 66%; }
.phone__pin--main {
  left: 52%; top: 46%; width: 2.2rem; height: 2.2rem; background: var(--gold-400); color: var(--navy-900);
  display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(11,25,51,.3);
  animation: pin-pulse 2.6s ease-in-out infinite;
}
.phone__pin--main .icon { width: 1rem; height: 1rem; }
.phone__sheet { padding: 1rem .95rem 1.1rem; border-top-left-radius: 1rem; border-top-right-radius: 1rem; margin-top: -1rem; position: relative; background: var(--white); }
.phone__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: .2rem; }
.phone__open { font-size: .78rem; font-weight: 600; color: var(--success); margin-bottom: .7rem; }
.phone .search-mock__stars { margin-bottom: .3rem; }
.phone .search-mock__stars .icon { width: .85rem; height: .85rem; }
.phone .search-mock__actions { margin-top: .8rem; }
.phone .search-mock__actions span { font-size: .72rem; }

/* Foto-Kacheln (Platzhalter-Grafik) */
.photo-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.photo-tile { aspect-ratio: 1; border-radius: .6rem; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.photo-tile .icon { width: 1.2rem; height: 1.2rem; }
.photo-tile--1 { background: linear-gradient(135deg, #E9B872, #B9652F); }
.photo-tile--2 { background: linear-gradient(135deg, #9DBB86, #4E7A4A); }
.photo-tile--3 { background: linear-gradient(135deg, #D98A6C, #8F3B2C); }
.photo-tile--empty { background: repeating-linear-gradient(45deg, #E2E8F0 0 6px, #EEF2F7 6px 12px); }

/* Warum SEO: schematisches Diagramm (Inline-SVG, ohne externe Bibliothek) */
.chart { margin: 0; background: var(--navy-800); border: 1px solid var(--border-dark); border-radius: calc(var(--radius) * 1.25); padding: clamp(1.25rem, 3vw, 2rem); }
.chart__legend { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: var(--white); }
.chart__legend li { display: inline-flex; align-items: center; gap: .55rem; }
.chart__swatch { width: 1.6rem; height: 0; border-top: 3px solid; display: inline-block; }
.chart__swatch--with { border-color: var(--chart-with); }
.chart__swatch--without { border-color: var(--chart-without); border-top-style: dashed; }
.chart__svg { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.chart__axis { stroke: rgba(255,255,255,.3); stroke-width: 1; }
.chart__axis-label { fill: var(--muted-on-dark); font: 500 13px var(--font-body); }
.chart__threshold { stroke: #F08A7E; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.chart__threshold-label { fill: #F5B5AC; font: 500 13px var(--font-body); }
.chart__line { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.chart__line--with { stroke: var(--chart-with); }
.chart__line--without { stroke: var(--chart-without); stroke-dasharray: 8 6; }
.chart__dot { stroke: var(--navy-800); stroke-width: 2; }
.chart__dot--with { fill: var(--chart-with); }
.chart__dot--without { fill: var(--chart-without); }
.chart__label { fill: var(--white); font: 600 14px var(--font-head); }
@media (max-width: 640px) { /* SVG schrumpft mit – Schrift im Diagramm ausgleichen */
  .chart__axis-label, .chart__threshold-label { font-size: 22px; }
  .chart__label { font-size: 24px; }
}
.chart figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted-on-dark); }

/* 9. Formular */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .98rem; }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1.5px solid #CBD5E1; border-radius: var(--radius-sm);
  padding: .8rem .9rem; min-height: 3rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(212, 168, 75, .45); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: .88rem; color: var(--text-muted); margin-top: .35rem; }
.field-error { font-size: .9rem; color: var(--error); margin-top: .35rem; font-weight: 500; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.radio-group label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; margin: 0; cursor: pointer; min-height: 2.75rem; }
.radio-group input { width: 1.2rem; height: 1.2rem; min-height: 0; accent-color: var(--navy-900); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 500; }
.form-status--error { background: #FEF2F2; color: var(--error); border: 1px solid #FECACA; }
.form-status[hidden] { display: none; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .7; cursor: progress; }

.contact-aside { display: grid; gap: 1.25rem; align-content: start; }
.contact-aside h2 { font-size: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item a { font-weight: 600; word-break: break-word; }

/* 10. Fußbereich */
.site-footer { background: var(--navy-950); color: var(--muted-on-dark); padding-block: 4rem 2rem; font-size: .97rem; }
.site-footer--compact { padding-block: 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: var(--white); letter-spacing: .04em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.site-footer .logo { margin-bottom: 1rem; }
.footer-contact { display: inline-flex; align-items: center; gap: .5rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.site-footer--compact .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* 11. Animationen – dezent und nur mit JavaScript (Inhalte bleiben ohne JS sichtbar) */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pin-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,75,.55), 0 6px 16px rgba(11,25,51,.3); } 50% { box-shadow: 0 0 0 10px rgba(212,168,75,0), 0 6px 16px rgba(11,25,51,.3); } }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

.js .chart.reveal .chart__line--with { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.js .chart.reveal.is-visible .chart__line--with { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .chart.reveal .chart__line--with { stroke-dasharray: none; stroke-dashoffset: 0; }
}
