/* ==========================================================================
   Schwede Immobilienmanagement – zentrales Stylesheet
   Alle Farben/Abstände nur über die Tokens in :root (siehe STYLEGUIDE.md).
   ========================================================================== */

:root {
  /* Marke (offiziell: Gold #C49D67 aus dem Logo, Grau #585758 laut Farben.txt) */
  --gold: #c49d67;
  --gold-hover: #d4b081;
  --gold-ink: #7a6343;      /* Gold für Text auf Hell (5,7:1 auf Weiß) */
  --grey: #585758;
  --ink: #262526;           /* dunkle Flächen, Überschriften */
  --ink-2: #312f31;
  --ink-3: #1c1b1c;         /* Footer */
  --text: #3f3e3f;
  --muted: #6a696a;
  --muted-light: #b3afaa;   /* Fließtext auf Dunkel */
  --line: #e8e2d9;
  --cream: #f8f3ec;
  --cream-2: #f2eadf;
  --white: #fff;
  --error: #b3261e;
  --ok: #1e7b4f;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;

  /* Schatten zurückgenommen (14.10.2026): ruhende Karten trennen sich über Fläche und Linie, nur Schwebendes bekommt etwas Tiefe */
  --shadow-sm: 0 0 0 rgb(38 37 38 / 0%);
  --shadow: 0 1px 3px rgb(38 37 38 / 6%);
  --shadow-lg: 0 10px 28px rgb(38 37 38 / 10%);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  interpolate-size: allow-keywords;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
/* Kein seitliches Verschieben am Handy: Überstände abschneiden. „clip“ statt „hidden“, damit position: sticky weiter funktioniert */
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 16px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold); }
.h2 { font-size: clamp(1.95rem, 1.3rem + 2.3vw, 3.1rem); }
.accent { color: var(--gold); }
.accent-ink { color: var(--gold-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.9em 1.5em;
  border: 1.5px solid transparent; border-radius: var(--pill);
  font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; background: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--sm { padding: 0.65em 1.15em; font-size: 0.9rem; }
.btn--lg { padding: 1.05em 1.75em; font-size: 1.02rem; }
.btn--gold { background: var(--gold); color: var(--ink); }
/* Hover: Button wird schwarz (Ebene über dem Verlauf, unter dem Text) */
.btn--gold { position: relative; isolation: isolate; }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #111; opacity: 0; transition: opacity 0.3s var(--ease); }
.btn--gold:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px rgb(0 0 0 / 22%); }
.btn--gold:hover::after { opacity: 1; }
.hero .btn--gold:hover, .section--dark .btn--gold:hover { box-shadow: 0 0 0 1.5px var(--gold), 0 10px 24px rgb(0 0 0 / 35%); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--outline { border-color: rgb(38 37 38 / 22%); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--ink); }
.btn--ghost-light { border-color: rgb(255 255 255 / 30%); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--text { padding-inline: 0.2em; color: var(--muted); }
.btn--text:hover { color: var(--ink); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #d6d2cc; font-size: 0.84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--gold); }
.topbar .icon { color: var(--gold); }
.topbar__notfall strong { color: var(--white); font-weight: 700; }
.topbar__right { display: none; align-items: center; gap: 22px; }
.topbar__social { display: inline-flex; gap: 14px; }
@media (min-width: 768px) { .topbar__right { display: flex; } }

/* ---------- Header & Navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, margin-bottom 0.35s var(--ease);
}
/* Weichzeichner auf eigener Ebene: backdrop-filter am Header selbst würde das fixierte Mobilmenü einsperren */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgb(38 37 38 / 6%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height 0.35s var(--ease); }
.header__logo img { width: auto; height: 46px; transition: height 0.35s var(--ease); }
@media (min-width: 768px) { :root { --header-h: 92px; } .header__logo img { height: 60px; } }
/* Mobil: großes Logo oben, beim Scrollen schrumpft der Header. Der Außenabstand gleicht die Höhe aus, damit der Inhalt nicht springt. */
@media (max-width: 767px) {
  :root { --header-h: 84px; --header-h-klein: 64px; }
  .header__logo img { height: min(60px, 16vw); }
  .header.is-scrolled { margin-bottom: calc(var(--header-h) - var(--header-h-klein)); }
  .header.is-scrolled .header__inner { height: var(--header-h-klein); }
  .header.is-scrolled .header__logo img { height: 42px; }
}

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link { text-decoration: none; font-weight: 600; color: var(--text); transition: color 0.2s; }
.nav__link:hover, .nav__link.is-active { color: var(--gold-ink); }

/* Burger: Striche absolut aus der Mitte positioniert – unabhängig davon, wie ein Browser Grid/Gap im <button> rechnet
   (iOS Safari zeigte mit inline-grid + gap einen „Stern“ statt eines X) */
.burger { position: relative; display: inline-block; width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.burger span { position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { transform: translateY(-7px); }
.burger span:nth-child(3) { transform: translateY(7px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* Mobilmenü: kompakte Karte, die unter dem Header aufklappt; Seite dahinter abgedunkelt */
@media (max-width: 1099px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    display: grid; gap: 16px;
    max-height: calc(100dvh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain;
    padding: 6px var(--gutter) 20px;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 26px 50px rgb(38 37 38 / 22%);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .header::after {
    content: ""; position: fixed; inset: 0; z-index: -2;
    background: rgb(38 37 38 / 48%);
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-open .header::after { opacity: 1; visibility: visible; }
  .nav-open .header::before { background: var(--white); }
  .nav__list { display: grid; }
  .nav__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; font-size: 0.98rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__link::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-top: 1.6px solid var(--gold-ink); border-right: 1.6px solid var(--gold-ink); transform: rotate(45deg); }
  .nav__link.is-active { color: var(--gold-ink); }
  .nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav__actions .btn { width: 100%; justify-content: center; padding: 0.8em 0.6em; font-size: 0.86rem; }
  .nav__mobile-contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
  .nav__mobile-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
  .nav__mobile-contact .icon { width: 16px; height: 16px; color: var(--gold-ink); }
}
@media (min-width: 1100px) {
  .burger, .nav__mobile-contact { display: none; }
  .nav { flex: 1; display: flex; align-items: center; gap: 36px; }
  .nav__list { display: flex; gap: 22px; margin-inline: auto; } /* mittig zwischen Logo und Buttons */
  .nav__link { font-size: 0.9rem; position: relative; padding: 6px 0; }
  .nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__actions { display: flex; gap: 10px; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--muted-light); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__intro { font-size: 1.12rem; color: var(--muted); margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgb(196 157 103 / 18%), transparent 60%), var(--ink);
  color: #d6d2cc;
  padding-block: clamp(48px, 7vw, 100px) clamp(140px, 15vw, 200px);
}
.hero::before {
  content: ""; position: absolute; left: -6%; bottom: -18%; width: min(620px, 70vw); aspect-ratio: 1;
  background: url(/assets/logo/schwede-icon-negativ.svg) no-repeat center / contain;
  opacity: 0.035; pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; } }
.hero__title { color: var(--white); font-size: clamp(1.95rem, 1rem + 2.6vw, 3.45rem); line-height: 1.06; margin-bottom: 26px; }
.hero__title .eyebrow { display: flex; letter-spacing: 0.14em; margin-bottom: 22px; line-height: 1.4; }
.hero__lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--white); font-weight: 600; max-width: 34em; }
.hero__sub { max-width: 36em; color: var(--muted-light); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__cta--center { justify-content: center; }
/* Vertrauenszeile: immer drei Spalten in einer Reihe, Text darf umbrechen */
.hero__trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; list-style: none; padding: 0; margin: 34px 0 0; font-size: 0.86rem; line-height: 1.35; color: var(--muted-light); }
.hero__trust li { display: flex; align-items: center; gap: 8px; padding-right: 16px; }
.hero__trust li + li { padding-left: 16px; border-left: 1px solid rgb(255 255 255 / 14%); }
.hero__trust li:last-child { padding-right: 0; }
.hero__trust .icon { flex: none; color: var(--gold); }
/* Handy: nur ein Punkt sichtbar, die drei wechseln sich weich ab (reines CSS) */
@media (max-width: 599px) {
  .hero__trust { grid-template-columns: auto; width: fit-content; padding: 10px 18px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 999px; background: rgb(255 255 255 / 5%); font-size: 0.9rem; }
  .hero__trust li, .hero__trust li + li { grid-area: 1 / 1; padding: 0; border: 0; opacity: 0; animation: trust-wechsel 9s var(--ease) infinite; }
  .hero__trust li:nth-child(2) { animation-delay: 3s; }
  .hero__trust li:nth-child(3) { animation-delay: 6s; }
}
@keyframes trust-wechsel {
  0% { opacity: 0; transform: translateY(8px); }
  5%, 30% { opacity: 1; transform: none; }
  35%, 100% { opacity: 0; transform: translateY(-8px); }
}
@media (max-width: 599px) and (prefers-reduced-motion: reduce) {
  .hero__trust { width: auto; padding: 0; border: 0; border-radius: 0; background: none; gap: 8px; }
  .hero__trust li, .hero__trust li + li { grid-area: auto; opacity: 1; animation: none; }
}

.hero__media { position: relative; }
.hero__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.hero__img picture, .hero__img img { width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 30% 50%; }
@media (min-width: 1024px) { .hero__img { aspect-ratio: 5 / 5.6; } }
.hero__card {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 12px; border-radius: var(--radius);
  background: var(--white); color: var(--text); box-shadow: var(--shadow-lg);
}
.hero__card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero__card p { margin: 0; line-height: 1.25; }
.hero__card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; color: var(--gold-ink); }
.hero__card-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.hero__card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.9rem; font-weight: 700; text-decoration: none; color: var(--text); }
.hero__card a:hover { color: var(--gold-ink); }
.hero__badge {
  position: absolute; right: 12px; top: 12px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius);
  background: rgb(38 37 38 / 94%);
  color: var(--white); font-weight: 700; font-size: 0.88rem; line-height: 1.25; text-decoration: none;
  border: 1px solid rgb(255 255 255 / 12%);
}
.hero__badge small { color: var(--muted-light); font-weight: 600; }
.hero__stars { display: flex; color: var(--gold); }
.hero__stars .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
@media (min-width: 1024px) {
  .hero__card { left: -36px; bottom: 40px; }
  .hero__badge { right: -24px; top: 36px; }
}

/* ---------- Vorteile (USP) ---------- */
.usp { position: relative; z-index: 2; margin-top: calc(clamp(140px, 15vw, 200px) * -1 + 40px); }
.usp__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .usp__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.usp__card { background: var(--white); border-radius: 22px; padding: 30px 30px 26px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.usp__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.usp__icon {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px;
  color: var(--ink); background: linear-gradient(135deg, #dcbd8f, var(--gold) 55%, #b48b55);
  box-shadow: 0 10px 24px rgb(196 157 103 / 35%);
  transition: transform 0.5s var(--ease);
}
.usp__icon .icon { position: relative; width: 30px; height: 30px; stroke-width: 1.6; }
.usp__icon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 50%) 50%, transparent 70%); transform: translateX(-130%); }
.is-visible .usp__icon::after { animation: shine 1.1s var(--ease) 1.4s; }
.usp__card:hover .usp__icon { transform: translateY(-3px) rotate(-6deg); }
.usp__card:hover .usp__icon::after { animation: shine 0.9s var(--ease); }
.js [data-reveal].is-visible .usp__icon .icon .ln { transition-duration: 1.8s; }
@keyframes shine { to { transform: translateX(130%); } }
.usp__title { font-size: 1.22rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.usp__card p:last-child { margin: 0; color: var(--muted); font-size: 0.98rem; }
/* Handy: kompakte Karten – Symbol klein links, Titel und Text daneben (Texte bleiben wortgetreu) */
@media (max-width: 639px) {
  .usp__grid { gap: 12px; }
  .usp__card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 18px 18px 16px; border-radius: 18px; }
  .usp__icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; border-radius: 13px; box-shadow: 0 6px 14px rgb(196 157 103 / 30%); }
  .usp__icon .icon { width: 22px; height: 22px; }
  .usp__title { font-size: 1.05rem; margin: 1px 0 4px; }
  .usp__card p:last-child { font-size: 0.9rem; line-height: 1.55; }
}

/* ---------- Sticky-Split (Leistungen, FAQ) ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(300px, 0.78fr) 1.22fr; gap: clamp(48px, 6vw, 100px); align-items: stretch; }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
}
.split__sticky > p:not(.eyebrow) { color: var(--muted); }

.service-index { display: none; list-style: none; margin: 30px 0 36px; padding: 0; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .service-index { display: block; } }
.service-index a {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-weight: 700; text-decoration: none;
  transition: color 0.3s var(--ease), padding 0.3s var(--ease);
}
.service-index a::after { content: ""; position: absolute; right: 0; top: 50%; width: 0; height: 2px; background: var(--gold); transition: width 0.4s var(--ease); }
.service-index a:hover, .service-index a.is-active { color: var(--ink); padding-left: 8px; }
.service-index a.is-active::after { width: 36px; }

.service {
  display: grid; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  margin-bottom: 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.service:last-child { margin-bottom: 0; }
/* „… und noch viel mehr“ – letzte Karte */
.service--mehr { align-content: center; background: var(--ink); border-color: var(--ink); color: var(--muted-light); }
.service--mehr .service__title { color: var(--white); }
.service--mehr .service__body p { color: var(--muted-light); margin-bottom: 22px; }
.service__mehr-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--gold); color: var(--ink); }
.service__mehr-icon .icon { width: 24px; height: 24px; }
.service__mehr-cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* Handy/Tablet: Leistungen als kompakte, aufklappbare Liste (Desktop unverändert: Überschrift links fest, Karten rechts).
   Zeile = kleines Bild, Name, Plus; ein Tipp öffnet den Text darunter (immer nur eine offen). */
.service__auf { display: none; }
@media (max-width: 1023px) {
  .leistungen .split__main { display: grid; gap: 10px; }
  .leistungen .service { position: relative; grid-template-columns: 64px minmax(0, 1fr) 32px; align-items: center; column-gap: 14px; margin: 0; padding: 12px 14px 12px 12px; border-radius: 18px; }
  .leistungen .service:hover { transform: none; }
  .leistungen .service__img { grid-row: 1; grid-column: 1; width: 64px; aspect-ratio: 1; border-radius: 12px; }
  .leistungen .service__body { display: contents; }
  .leistungen .service__title { grid-row: 1; grid-column: 2; margin: 0; font-size: 1.05rem; line-height: 1.3; }
  .leistungen .service__text { grid-row: 2; grid-column: 1 / -1; padding: 14px 4px 6px; }
  .leistungen .service__text p { margin: 0 0 14px; font-size: 0.95rem; }
  .leistungen .service__text p:last-child { margin-bottom: 0; }
  .js .leistungen .service:not(.is-offen) .service__text { display: none; }
  .leistungen .service.is-offen .service__text { animation: aufklappen 0.35s var(--ease); }
  .leistungen .service__auf { display: grid; place-items: center; grid-row: 1; grid-column: 3; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--gold-ink); cursor: pointer; }
  .leistungen .service__auf .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
  .leistungen .service.is-offen .service__auf .icon { transform: rotate(45deg); }
  /* ganze obere Zeile ist tippbar (nicht der aufgeklappte Text – dort sitzen Links) */
  .leistungen .service__auf::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 88px; }
  .no-js .leistungen .service__auf { display: none; }
  /* Abschluss-Karte bleibt offen und normal aufgebaut */
  .leistungen .service--mehr { display: block; padding: 22px 20px; }
  .leistungen .service--mehr .service__body { display: block; padding: 0; }
  .leistungen .service--mehr .service__mehr-icon { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 13px; }
}
@keyframes aufklappen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.service:hover { box-shadow: var(--shadow); }
.service__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.service__img picture, .service__img img { width: 100%; height: 100%; }
.service__img img { object-fit: cover; transition: transform 0.8s var(--ease); }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: clamp(24px, 3.5vw, 40px); }
.service__title { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.8rem); }
.service__body p { color: var(--muted); margin: 0; }
/* Desktop: Bilder der Leistungs-Karten als flacher Streifen statt 16:9 (wirkten zu mächtig, Daniel 14.10.2026) */
@media (min-width: 1024px) {
  .leistungen .service__img { aspect-ratio: 5 / 2; }
  .leistungen .service__img img { object-position: 50% 40%; }
}
.service--notfall .service__body p { margin-bottom: 24px; }

/* ---------- Pakete (Tabs) ---------- */
.ptabs { display: grid; gap: 18px; }
@media (min-width: 1024px) { .ptabs { grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; } }
.ptabs__list { display: grid; gap: 10px; }
@media (min-width: 640px) and (max-width: 1023px) { .ptabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ptab {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; text-align: left; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / 75%);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
/* Nur mit Maus: am Handy bleibt :hover nach dem Antippen hängen und der Versatz machte die Seite breiter */
@media (hover: hover) { .ptab:hover { border-color: var(--gold); background: var(--white); transform: translateX(3px); } }
.ptab.is-active { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow); transform: none; }
.ptab__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--cream); color: var(--gold-ink); flex: none; transition: background-color 0.3s, color 0.3s; }
.ptab__icon .icon { width: 22px; height: 22px; }
.ptab.is-active .ptab__icon { background: var(--gold); color: var(--ink); }
.ptab__text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.ptab__text strong { color: var(--ink); font-size: 1rem; }
.ptab__text small { color: var(--muted); font-size: 0.84rem; margin-top: 3px; }
.ptab.is-active .ptab__text strong { color: var(--white); }
.ptab.is-active .ptab__text small { color: var(--muted-light); }
.ptab__arrow { color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.ptab.is-active .ptab__arrow { opacity: 1; transform: none; }
@media (max-width: 1023px) {
  .ptab { padding: 12px; gap: 10px; }
  .ptab:hover { transform: none; }
  .ptab__icon { width: 38px; height: 38px; }
  .ptab__text strong { font-size: 0.88rem; }
  .ptab__text small, .ptab__arrow { display: none; }
}
.ppanel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow); }
.js .ppanel:not(.is-active) { display: none; }
.ppanel.is-active { animation: panel-in 0.5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.no-js .ppanel + .ppanel { margin-top: 20px; }
.ppanel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.ppanel__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 17px; color: var(--ink); background: linear-gradient(135deg, #dcbd8f, var(--gold) 55%, #b48b55); box-shadow: 0 10px 22px rgb(196 157 103 / 32%); flex: none; }
.ppanel__icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.ppanel__fuer { margin: 0 0 4px; color: var(--gold-ink); font-weight: 700; font-size: 0.92rem; }
.ppanel__title { margin: 0; font-size: clamp(1.45rem, 1.15rem + 1vw, 2.1rem); }
.ppanel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 36px; }
@media (min-width: 760px) { .ppanel__list { grid-template-columns: 1fr 1fr; } }
.ppanel__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; line-height: 1.5; }
.ppanel__list .icon { width: 24px; height: 24px; padding: 5px; margin-top: -1px; border-radius: 50%; background: rgb(196 157 103 / 18%); color: var(--gold-ink); stroke-width: 3; }
.ppanel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.ppanel__link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; text-decoration: none; transition: color 0.2s; }
.ppanel__link:hover { color: var(--ink); }
.ppanel__link .icon { color: var(--gold-ink); }

/* ---------- Konfigurator ---------- */
.konfi-section { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 30%, var(--cream) 100%); }
.konfi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.konfi__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.konfi__steps { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.konfi__steps li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 700; color: var(--muted); }
.konfi__steps li:not(:last-child)::after { content: ""; width: 14px; height: 1.5px; background: var(--line); margin-left: 2px; }
.konfi__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 0.8rem; transition: all 0.3s var(--ease); }
.konfi__label { display: none; }
.konfi__steps li.is-done .konfi__dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.konfi__steps li.is-current { color: var(--ink); }
.konfi__steps li.is-current .konfi__dot { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (min-width: 1100px) { .konfi__label { display: inline; } .konfi__steps li:not(:last-child)::after { width: 22px; } }
.konfi__ring { position: relative; width: 58px; height: 58px; flex: none; }
.konfi__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.konfi__ring circle { fill: none; stroke-width: 4; }
.konfi__ring-track { stroke: var(--line); }
.konfi__ring-bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.6s var(--ease); }
.konfi__ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; color: var(--ink); }

.konfi__body { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .konfi__body { grid-template-columns: minmax(0, 1fr) 310px; } }
@media (max-width: 639px) { .konfi__steps { display: none; } .konfi__head { justify-content: flex-end; padding-block: 12px; } .konfi__ring { width: 50px; height: 50px; } }
.konfi__stage { padding: clamp(18px, 4vw, 44px); min-height: 440px; min-width: 0; overflow-x: clip; } /* Schritt-Animation fährt von rechts herein */
.konfi__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .konfi__step:not(.is-active) { display: none; }
.konfi__step.is-active { animation: konfi-in 0.5s var(--ease); }
.konfi__step.is-back { animation-name: konfi-in-back; }
@keyframes konfi-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes konfi-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.no-js .konfi__step + .konfi__step { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.konfi__q { display: block; width: 100%; padding: 0; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
.konfi__qnum { display: block; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.konfi__hint { color: var(--muted); margin: 10px 0 0; }

.tiles { display: grid; gap: 10px; margin-top: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s;
}
.tile:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.tile:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.tile:has(input:checked) { border-color: var(--gold); background: #fdfaf5; box-shadow: 0 0 0 3px rgb(196 157 103 / 22%); }
.tile__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--cream); color: var(--gold-ink); margin-bottom: 6px; transition: background-color 0.25s, color 0.25s; }
.tile__icon .icon { width: 24px; height: 24px; }
.tile:has(input:checked) .tile__icon { background: var(--gold); color: var(--ink); }
.tile__title { font-weight: 800; color: var(--ink); line-height: 1.25; font-size: 0.98rem; hyphens: auto; }
@media (max-width: 639px) {
  .tiles, .tiles--4 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tile { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 12px 48px 12px 12px; }
  .tile:hover { transform: none; }
  .tile__icon { grid-row: 1 / span 2; width: 42px; height: 42px; margin: 0; }
  .tile:not(:has(.tile__info)) .tile__title { grid-row: 1 / span 2; }
  .tile__check { top: 50%; right: 14px; margin-top: -12px; }
}
.tile__info { font-size: 0.84rem; color: var(--muted); line-height: 1.4; }
.tile__check { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); transform: scale(0); transition: transform 0.3s var(--ease); }
.tile__check .icon { width: 14px; height: 14px; stroke-width: 3; }
.tile:has(input:checked) .tile__check { transform: scale(1); }
.konfi__zusatz { margin-top: 22px; max-width: 440px; }

.zahlen { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 640px) { .zahlen { grid-template-columns: 1fr 1fr; } }
.zahl { padding: 20px 22px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.zahl > label { display: block; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.zahl--gross { grid-column: 1 / -1; background: var(--cream); border-color: transparent; padding: 24px 26px; }
.zahl__wert { display: block; font-size: clamp(2.8rem, 2rem + 2.4vw, 3.8rem); font-weight: 800; color: var(--ink); line-height: 1; margin: 8px 0 18px; font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(to right, var(--gold) var(--p, 0%), #e3d9ca var(--p, 0%)); outline-offset: 6px; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); box-shadow: var(--shadow); cursor: grab; }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); box-shadow: var(--shadow); cursor: grab; }
.range__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.stepper { display: inline-flex; align-items: center; margin-top: 12px; border: 1.5px solid var(--line); border-radius: var(--pill); overflow: hidden; background: var(--white); }
.stepper__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; color: var(--ink); transition: background-color 0.2s; }
.stepper__btn:hover { background: var(--cream); }
.stepper input { width: 64px; border: 0; text-align: center; font-weight: 800; font-size: 1.15rem; color: var(--ink); background: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.chips-group { margin-top: 26px; border: 0; padding: 0; }
.chips-group__label { font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.chip span { display: inline-block; padding: 0.62em 1.15em; border: 1.5px solid var(--line); border-radius: var(--pill); font-weight: 600; font-size: 0.95rem; cursor: pointer; background: var(--white); transition: all 0.2s var(--ease); }
.chip:hover span { border-color: var(--gold); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }

.konfi__step .form-grid { margin-top: 26px; }
.konfi__testmode { font-size: 0.85rem; color: var(--muted); }
.konfi__error { color: var(--error); font-weight: 600; font-size: 0.92rem; min-height: 1.4em; margin: 16px 0 0; }

.konfi__summary { display: none; padding: 30px 28px; background: var(--cream); border-left: 1px solid var(--line); }
@media (min-width: 1024px) { .konfi__summary { display: flex; flex-direction: column; } }
.konfi__summary-title { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.konfi__summary-list { margin: 0; }
.konfi__summary-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #dccfbd; font-size: 0.9rem; animation: konfi-fade 0.4s var(--ease); }
.konfi__summary-list dt { color: var(--muted); }
.konfi__summary-list dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.konfi__summary-empty dd { color: var(--muted); font-weight: 500; text-align: left; }
@keyframes konfi-fade { from { opacity: 0; } to { opacity: 1; } }
.konfi__person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; font-size: 0.88rem; }
.konfi__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.konfi__person picture { flex: none; }
.konfi__person p { margin: 0 0 2px; line-height: 1.35; }
.konfi__person a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); font-weight: 700; text-decoration: none; }

.konfi__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(18px, 3vw, 32px); border-top: 1px solid var(--line); }
.konfi__nav [data-prev][disabled] { opacity: 0; pointer-events: none; }
.js .konfi__nav [data-submit] { display: none; }
.js .konfi.is-last .konfi__nav [data-submit] { display: inline-flex; }
.js .konfi.is-last .konfi__nav [data-next] { display: none; }
.no-js .konfi__nav [data-prev], .no-js .konfi__nav [data-next] { display: none; }
.konfi.is-done .konfi__nav, .konfi.is-done .konfi__head { display: none; }
.konfi__done { text-align: center; padding: 40px 12px; }
.konfi__done:focus { outline: none; }
.konfi__done-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--ink); margin-bottom: 22px; animation: pop 0.6s var(--ease); }
.konfi__done-icon .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.konfi__done h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.konfi__done p { color: var(--muted); }
.konfi__done a { color: var(--gold-ink); font-weight: 700; }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Formulare ---------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 0.85em 1em;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(196 157 103 / 20%); }

/* Freiwillige Objektangaben (Verkaufs-Konfigurator) */
.angaben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 22px; }
@media (min-width: 640px) { .angaben { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.angabe label { font-size: 0.86rem; }
.angabe__feld { position: relative; display: block; }
.angabe__feld input { padding-right: 2.6em; }
.angabe__einheit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; pointer-events: none; }
.chips-group--eingabe .angabe { max-width: 320px; }
.angaben .angabe--auswahl { grid-column: 1 / -1; margin: 0 0 4px; }
.chips-group__label small { font-weight: 500; color: var(--muted); }
.konfi [data-bedingung][hidden] { display: none !important; }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.check a { color: var(--gold-ink); font-weight: 700; }
.check.is-invalid span { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0; font-weight: 600; min-height: 1.4em; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }

/* ---------- Über uns ---------- */
.about__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(56px, 7vw, 110px); } }
.about__media { position: relative; max-width: 520px; }
.about__media::before { content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); border: 2px solid var(--gold); border-radius: var(--radius-lg); }
.about__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.about__img picture, .about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__tag { position: absolute; left: 20px; bottom: 20px; display: grid; padding: 14px 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); line-height: 1.3; }
.about__tag strong { color: var(--ink); font-size: 1.05rem; }
.about__tag span { color: var(--gold-ink); font-weight: 700; font-size: 0.85rem; }
.about__text p { color: var(--muted); }
/* Unterschrift unter dem Foto, ragt in den Goldrahmen (::before). Wird wie mit dem Stift geschrieben:
   Die Stiftwege (tools/unterschrift-pfade.mjs) werden Strich für Strich gezogen; sichtbar ist nur, was in der
   echten Unterschrift liegt (Maske = PNG). Reihenfolge: Björn – Punkte – Pause – Schwede – Unterstrich. */
.about__media { margin-bottom: 72px; }
.about__media .about__signatur {
  position: absolute; right: -4%; bottom: -92px; z-index: 2; display: block; width: min(62%, 300px); aspect-ratio: 1024 / 294;
  color: var(--ink); pointer-events: none;
  -webkit-mask: url(/assets/signatur/unterschrift-bjoern-schwede.png) center / 100% 100% no-repeat;
  mask: url(/assets/signatur/unterschrift-bjoern-schwede.png) center / 100% 100% no-repeat;
}
.about__signatur svg { display: block; width: 100%; height: 100%; }
/* Strich verborgen: Lücke vor dem Anfang (1 1.2 / 1.1), damit runde Enden keinen Punkt vorab zeigen */
.js .sig__strich { stroke-dasharray: 1 1.2; stroke-dashoffset: 1.1; }
.js .is-visible .sig__strich { animation: stift var(--dauer) linear calc(var(--start) + 0.6s) forwards; }
@keyframes stift { to { stroke-dashoffset: 0; } }

/* ---------- Kundenstimmen (Laufband) ---------- */
.reviews { background: var(--ink); color: var(--muted-light); overflow: clip; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.reviews__head h2 { color: var(--white); margin: 0; }
/* Eine Zeile: läuft automatisch, Pfeile/Ziehen/Wischen manuell (Logik in schwede.js) */
.reviews__viewport { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__viewport::-webkit-scrollbar { display: none; }
.reviews__slider.is-js .reviews__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; }
.reviews__slider.is-js .reviews__viewport.is-dragging { cursor: grabbing; }
.reviews__track { display: flex; align-items: stretch; gap: 20px; width: max-content; margin: 0; padding: 0 0 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); list-style: none; will-change: transform; user-select: none; }
.reviews__controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.reviews__slider:not(.is-js) .reviews__controls { display: none; }
.slider-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 20%); background: rgb(255 255 255 / 6%); color: var(--white); cursor: pointer; transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s; }
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.slider-btn .icon { width: 20px; height: 20px; }
@media (max-width: 767px) { .reviews__controls { justify-content: center; } }
.review { display: flex; flex-direction: column; gap: 16px; width: min(400px, 82vw); flex: none; padding: 28px; border-radius: 22px; background: var(--ink-2); border: 1px solid rgb(255 255 255 / 8%); }
.review__quote { width: 30px; height: 30px; color: var(--gold); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: #e9e5df; font-size: 1rem; line-height: 1.6; }
.review__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.9rem; flex: none; }
.review__foot strong { display: block; color: var(--white); line-height: 1.3; }
.review__foot small { color: var(--muted-light); font-size: 0.82rem; }

/* ---------- Partner ---------- */
.partner__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .partner__grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.partner__grid p { color: var(--muted); }
.partner__logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .partner__logos { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.partner__logos li { display: flex; align-items: center; justify-content: center; height: 120px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.3s, box-shadow 0.3s; }
.partner__logos li:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.partner__logos a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.partner__logos img { width: auto; max-width: 100%; max-height: 74px; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.4s, opacity 0.4s; }
.partner__logos li:hover img { filter: none; opacity: 1; }

/* ---------- Einsatzgebiet mit Hintergrundkarte ---------- */
.gebiet { overflow: hidden; }
.gebiet .container { position: relative; z-index: 1; }
.gebiet__content { max-width: 640px; }
.gebiet__content > p { color: var(--muted); }
.gebiet__orte { display: grid; gap: 12px; list-style: none; margin: 28px 0 32px; padding: 0; }
@media (min-width: 640px) { .gebiet__orte { grid-template-columns: 1fr 1fr; } }
.gebiet__orte li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.gebiet__orte .icon { width: 24px; height: 24px; color: var(--gold-ink); margin-top: 2px; }
.gebiet__orte strong { display: block; color: var(--ink); line-height: 1.3; }
.gebiet__orte span { font-size: 0.9rem; color: var(--muted); }

/* Karte liegt rechts im Hintergrund, auf kleinen Bildschirmen blass hinter dem Text */
.gebiet > .gebiet__map { position: absolute; z-index: 0; top: 50%; right: -4%; height: 112%; aspect-ratio: 608 / 857; transform: translateY(-50%); pointer-events: none; }
.gebiet__map-inner { width: 100%; height: 100%; }
@media (max-width: 1023px) {
  .gebiet > .gebiet__map { right: 50%; transform: translate(50%, -50%); height: 96%; opacity: 0.32; }
  .karte text { display: none; }
}
.karte { display: block; width: 100%; height: 100%; overflow: visible; opacity: 0.82; }
.karte__kreis { fill: transparent; stroke: rgb(88 87 88 / 18%); stroke-width: 1.1; stroke-linejoin: round; transition: fill 1.4s var(--ease); }
.karte__kreis--speck { stroke: rgb(196 157 103 / 70%); stroke-width: 1.3; }
.karte__kreis--kern { stroke: var(--gold-ink); stroke-width: 1.8; }
.js .karte .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-visible .karte .ln { animation: draw 2.6s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms); }
.is-visible .karte__kreis--speck, .no-js .karte__kreis--speck { fill: rgb(196 157 103 / 17%); transition-delay: 1.5s; }
.is-visible .karte__kreis--kern, .no-js .karte__kreis--kern { fill: rgb(196 157 103 / 45%); transition-delay: 1.9s; }
.js .karte__orte { opacity: 0; transition: opacity 0.9s var(--ease) 2.3s; }
.js .is-visible .karte__orte { opacity: 1; }
.karte text { font-family: var(--font); font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; fill: rgb(106 105 106 / 85%); paint-order: stroke; stroke: var(--cream); stroke-width: 3.5px; stroke-linejoin: round; }
.karte__punkt { fill: rgb(88 87 88 / 75%); }
.karte__punkt--buero { fill: var(--gold-ink); }
.karte__buero text { fill: var(--grey); font-weight: 600; }
.karte__puls { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: karte-puls 2.4s ease-out infinite; }
@keyframes karte-puls { 0% { transform: scale(0.5); opacity: 0.75; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- FAQ ---------- */
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.4; }
.acc__q::-webkit-details-marker { display: none; }
.acc__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.acc[open] .acc__icon { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.acc__q:hover .acc__icon { border-color: var(--gold); }
.acc-body { padding: 0 56px 24px 0; color: var(--muted); }
.acc-body p { margin: 0; }
.acc::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.acc[open]::details-content { block-size: auto; }

/* ---------- Kontakt ---------- */
.kontakt__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .kontakt__grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.kontakt__claim { margin: 24px 0; padding-left: 18px; border-left: 3px solid var(--gold); color: var(--white); font-weight: 700; font-size: 1.2rem; line-height: 1.45; }
.kontakt__card { display: flex; align-items: center; gap: 16px; margin: 32px 0 24px; }
.kontakt__card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.kontakt__card picture { flex: none; }
.kontakt__card p { margin: 0; line-height: 1.3; }
.kontakt__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--gold); }
.kontakt__name { color: var(--white); font-weight: 800; font-size: 1.3rem; }
.kontakt__list { display: grid; gap: 16px; list-style: none; margin: 0 0 28px; padding: 0; }
.kontakt__list li { display: flex; gap: 14px; align-items: center; }
.kontakt__list li > .icon { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: rgb(255 255 255 / 6%); color: var(--gold); }
.kontakt__list small { display: block; font-size: 0.8rem; color: var(--muted-light); }
.kontakt__list span { color: var(--white); line-height: 1.45; }
.kontakt__list a { color: var(--white); text-decoration: none; }
.kontakt__list a:hover { color: var(--gold); }
.kontakt__social { display: flex; flex-wrap: wrap; gap: 10px; }
.kontakt__social a { display: inline-flex; align-items: center; gap: 8px; padding: 0.55em 1.05em; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--pill); color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: all 0.25s; }
.kontakt__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.kontakt-form { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.kontakt-form h3 { color: var(--ink); font-size: 1.5rem; margin-bottom: 22px; }

/* ---------- Unterseiten ---------- */
.page-hero { background: radial-gradient(900px 400px at 90% -20%, rgb(196 157 103 / 16%), transparent 60%), var(--ink); color: var(--muted-light); padding-block: clamp(48px, 7vw, 88px); }
.page-hero--center { text-align: center; padding-block: clamp(72px, 10vw, 140px); }
.page-hero__title { color: var(--white); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); margin-bottom: 14px; }
.page-hero__lead { font-size: 1.15rem; max-width: 40em; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center a:not(.btn) { color: var(--gold); font-weight: 700; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 0.86rem; color: var(--muted-light); }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.konfi-section--page { background: var(--cream); padding-top: clamp(40px, 5vw, 64px); }
.prose { word-break: break-word; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.prose a { color: var(--gold-ink); }
.prose ul { padding-left: 1.2em; }
.placeholder { padding: 14px 18px; border: 1px dashed var(--gold); border-radius: var(--radius-sm); background: #fff6e2; color: #5a4520; font-weight: 600; font-size: 0.92rem; }

/* ---------- Seite „Immobilie verkaufen“ ---------- */
.usp__grid--4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .usp__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .usp__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.breadcrumb--hero { margin-bottom: 18px; }
.hero__badge-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); flex: none; }
.hero__badge-icon .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.ablauf li { position: relative; padding: 30px 28px 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .ablauf li:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -28px; width: 28px; border-top: 2px dashed var(--gold); } }
.ablauf__nr { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 800; font-size: 1.1rem; }
.ablauf h3 { font-size: 1.2rem; margin-bottom: 6px; }
.ablauf p { margin: 0; color: var(--muted); }

/* Verkaufsseite: Ablauf als Kartenstapel rechts neben der stehenden Überschrift (wie Leistungen) */
.ablauf--stapel { grid-template-columns: none !important; }
.ablauf--stapel li { --nr: 48px; --px: 28px; --pt: 30px; --mb: 20px; padding: var(--pt) var(--px) 28px; }
.ablauf--stapel li::after { display: none !important; }
.ablauf__kopf { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.ablauf__kopf h3 { margin: 0; }
.ablauf--stapel li > p { margin-left: calc(var(--nr) + 16px); }
.ablauf--stapel .ablauf__nr { flex: none; width: var(--nr); height: var(--nr); margin: 0; background: var(--gold); color: var(--white); box-shadow: 0 0 0 5px rgb(196 157 103 / 18%); }
/* Verbindungsstrich 1 → 2 → 3: unten aus dem Kreis bis zur nächsten Karte, oben von der Kartenkante zum Kreis */
.ablauf--stapel li:not(:last-child)::before { content: ""; position: absolute; left: calc(var(--px) + var(--nr) / 2 - 1px); top: calc(var(--pt) + var(--nr) + 5px); bottom: calc(-1 * var(--mb)); width: 2px; background: linear-gradient(var(--gold), rgb(196 157 103 / 45%)); }
.ablauf--stapel li:not(:first-child) .ablauf__kopf::before { content: ""; position: absolute; left: calc(var(--nr) / 2 - 1px); top: calc(-1 * var(--pt)); height: calc(var(--pt) - 5px); width: 2px; background: rgb(196 157 103 / 45%); }
.split__sticky .h2 + .btn { margin-top: 28px; }
@media (min-width: 1024px) {
  .ablauf--stapel { display: block; padding-bottom: 8px; }
  .ablauf--stapel li {
    position: sticky; top: calc(var(--header-h) + 48px + var(--i) * 78px);
    /* Abstand nach unten gestaffelt: Haltezeit + Versatz der folgenden Karten. So bleibt der Stapel am Ende geschlossen und scrollt als Ganzes weg. */
    --nr: 56px; --px: 36px; --pt: 22px; --mb: calc(14vh + (var(--n, 3) - 1 - var(--i)) * 78px);
    min-height: 300px; margin-bottom: var(--mb); padding: var(--pt) var(--px) 40px;
    box-shadow: 0 -14px 34px rgb(38 37 38 / 7%), var(--shadow-sm);
  }
  .ablauf--stapel .ablauf__kopf { min-height: 56px; margin-bottom: 26px; }
  .ablauf--stapel .ablauf__nr { font-size: 1.25rem; }
  .ablauf--stapel h3 { font-size: 1.4rem; }
  .ablauf--stapel p { font-size: 1.08rem; max-width: 34em; }
}
.tipp__inner { text-align: center; }
.tipp__inner .eyebrow { justify-content: center; }
.tipp__text { font-size: 1.12rem; color: var(--muted-light); max-width: 36em; margin: 0 auto 28px; }
.zahl__anzeige { display: flex; align-items: baseline; gap: 8px; }
.zahl__einheit { font-size: 1.3rem; font-weight: 700; color: var(--muted); }

/* Hinweis-Band auf der Startseite */
.verkauf-band-wrap { padding-block: clamp(40px, 6vw, 72px) 0; }
.verkauf-band {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px 22px;
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 40px); border-radius: var(--radius-lg);
  background: radial-gradient(600px 200px at 100% 0%, rgb(196 157 103 / 28%), transparent 70%), var(--ink);
  color: var(--muted-light); text-decoration: none; box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.verkauf-band:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .verkauf-band { grid-template-columns: auto minmax(0, 1fr) auto; } }
.verkauf-band__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 17px; background: linear-gradient(135deg, #dcbd8f, var(--gold) 55%, #b48b55); color: var(--ink); }
.verkauf-band__icon .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.verkauf-band__text { display: grid; gap: 4px; }
.verkauf-band__text strong { color: var(--white); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.25; }
.verkauf-band__btn { justify-self: start; grid-column: 1 / -1; }
@media (min-width: 900px) { .verkauf-band__btn { grid-column: auto; justify-self: end; } }
.verkauf-band:hover .verkauf-band__btn { color: var(--white); }
.verkauf-band:hover .verkauf-band__btn::after { opacity: 1; }

/* Seitliche Lasche „Immobilie verkaufen?“ (ab Tablet) */
/* Seitliche Lasche „Immobilie verkaufen?“: beim Drüberfahren (oder Tastatur-Fokus) fährt ein Panel heraus */
.seiten-lasche {
  --panel-w: 330px;
  position: fixed; right: 0; top: 50%; z-index: 65;
  display: none; align-items: center;
  transform: translate(var(--panel-w), -50%);
  transition: transform 0.45s var(--ease) 0.15s;
}
.seiten-lasche:hover, .seiten-lasche:focus-within { transform: translate(0, -50%); transition-delay: 0s; }
.seiten-lasche__griff {
  display: flex; align-items: center; gap: 10px; padding: 18px 11px;
  writing-mode: vertical-rl; border-radius: 14px 0 0 14px;
  background: var(--ink); color: var(--white); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.02em; text-decoration: none;
  box-shadow: -6px 10px 30px rgb(38 37 38 / 25%); transition: background-color 0.3s, color 0.3s;
}
.seiten-lasche__griff .icon { width: 18px; height: 18px; color: var(--gold); transform: rotate(90deg); transition: color 0.3s; }
.seiten-lasche:hover .seiten-lasche__griff, .seiten-lasche:focus-within .seiten-lasche__griff { background: var(--gold); color: var(--ink); }
.seiten-lasche:hover .seiten-lasche__griff .icon, .seiten-lasche:focus-within .seiten-lasche__griff .icon { color: var(--ink); }
.seiten-lasche__panel {
  width: var(--panel-w); padding: 26px 26px 24px;
  background: var(--ink); color: var(--muted-light);
  border-radius: 18px 0 0 18px; border: 1px solid rgb(196 157 103 / 35%); border-right: 0;
  box-shadow: -14px 18px 44px rgb(38 37 38 / 35%);
}
.seiten-lasche__titel { margin: 0 0 8px; color: var(--white); font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.seiten-lasche__text { margin: 0 0 14px; font-size: 0.9rem; line-height: 1.55; }
.seiten-lasche__vorteile { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 0.88rem; color: var(--white); }
.seiten-lasche__vorteile li { display: flex; align-items: flex-start; gap: 9px; }
.seiten-lasche__vorteile .icon { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--gold); }
@media (min-width: 1024px) { .seiten-lasche { display: flex; } }
.nav-open .seiten-lasche { display: none; }

/* ---------- e-recht24-Siegel (Impressum, Datenschutz) ---------- */
.siegel { margin: 40px 0; }
.siegel img { display: block; height: auto; }
.siegel--hoch img { width: min(320px, 100%); } /* Handy: Querformat-Siegel */
/* Impressum und Datenschutz: links Siegel (beim Scrollen fixiert), rechts Text */
.legal-wide { max-width: 1100px; }
.legal-grid { display: grid; gap: 8px 72px; }
.legal-grid__aside .siegel { margin: 0 0 24px; }
.legal-grid__main > :first-child { margin-top: 0; }
@media (min-width: 900px) {
  .legal-grid { grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
  .legal-grid__aside { position: sticky; top: calc(var(--header-h) + 40px); }
  .legal-grid__aside .siegel--hoch img { width: 180px; } /* Desktop: Hochformat-Siegel */
}

/* ---------- 404: Lupe sucht das Haus (reines SVG + CSS) ---------- */
.n404 { display: block; width: min(300px, 80vw); height: auto; margin: 0 auto 28px; overflow: visible; }
.n404 * { transform-box: view-box; }
.n404 path, .n404 rect { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.n404__boden { stroke: rgb(255 255 255 / 18%); stroke-width: 2; }
.n404__haus { stroke: rgb(255 255 255 / 70%); stroke-width: 3.5; }
.n404__dach { stroke: var(--gold); stroke-width: 4; }
.n404__fenster { stroke: rgb(255 255 255 / 55%); stroke-width: 3; }
.n404__lupe line { stroke: var(--gold); stroke-width: 8; stroke-linecap: round; }
.n404__lupe circle { fill: rgb(38 37 38 / 55%); stroke: var(--gold); stroke-width: 5; }
.n404__lupe text { fill: var(--gold); font-family: var(--font); font-weight: 800; font-size: 24px; }
.n404__lupe { animation: n404-suchen 6s ease-in-out 1.2s infinite; }
.n404 .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation-name: draw; animation-duration: 1.4s; animation-timing-function: var(--ease); animation-fill-mode: forwards; }
.n404__dach.ln { animation-delay: 0.3s; }
.n404__fenster.ln { animation: draw 1s var(--ease) 0.7s forwards, n404-licht 3.2s ease-in-out 2.4s infinite; }
.n404__fenster--2.ln { animation-delay: 0.8s, 4s; }
@keyframes n404-suchen {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(-58px, 18px) rotate(-10deg); }
  55% { transform: translate(-112px, 6px) rotate(-4deg); }
  75% { transform: translate(-40px, -6px) rotate(6deg); }
}
@keyframes n404-licht { 0%, 100% { fill: transparent; } 40%, 60% { fill: rgb(196 157 103 / 45%); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink-3); color: #b9b5b0; padding-top: clamp(56px, 7vw, 88px); font-size: 0.95rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__brand img { width: 220px; margin-bottom: 20px; }
.footer__brand p { max-width: 30em; }
.footer__claim { font-size: 0.9rem; line-height: 1.6; color: #9e9a95; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 14%); color: var(--white); transition: all 0.25s; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.foot-title { color: var(--white); font-weight: 800; margin-bottom: 16px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__list a { text-decoration: none; transition: color 0.2s; }
.footer__list a:hover { color: var(--gold); }
.footer__list--icons a { display: inline-flex; align-items: center; gap: 10px; }
.footer__list--icons .icon { color: var(--gold); }
.footer__address { line-height: 1.7; margin-bottom: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(64px, 8vw, 110px); padding: 26px 0 34px; border-top: 1px solid rgb(255 255 255 / 8%); font-size: 0.85rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- Mobile Schnellleiste ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 95%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 0.78rem; font-weight: 700; line-height: 1.2; }
.mobile-bar .icon { width: 17px; height: 17px; flex: none; }
.mobile-bar__cta { background: var(--gold); }
/* Variante B (mit Verkaufsseite): zwei runde Symbole + zwei Buttons */
.mobile-bar--verkauf { grid-template-columns: 40px 40px minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; }
.mobile-bar .mobile-bar__rund { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-ink); }
.mobile-bar__rund .icon { width: 19px; height: 19px; }
.mobile-bar .mobile-bar__angebot { height: 40px; border: 1.5px solid var(--ink); }
.mobile-bar--verkauf .mobile-bar__cta { height: 40px; }
@media (max-width: 767px) { .footer { padding-bottom: 60px; } }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ==========================================================================
   Bewegung: Verläufe, Hintergründe, gezeichnete Icons, Illustrationen
   ========================================================================== */

/* Animierter Verlauf in Überschriften-Akzenten (Periode = halbe Bildbreite → nahtlos) */
.accent, .accent-ink {
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: text-flow 7s linear infinite;
}
.accent { background-image: linear-gradient(100deg, #c49d67 0%, #f1dcb6 25%, #c49d67 50%, #f1dcb6 75%, #c49d67 100%); }
.accent-ink { background-image: linear-gradient(100deg, #7a6343 0%, #b08a55 25%, #7a6343 50%, #b08a55 75%, #7a6343 100%); }
@keyframes text-flow { from { background-position: 0% 50%; } to { background-position: -200% 50%; } }
@media (forced-colors: active) { .accent, .accent-ink { -webkit-text-fill-color: currentColor; background: none; } }

/* Animierter Verlauf in Buttons */
.btn--gold {
  background-image: linear-gradient(110deg, #c49d67 0%, #e6c899 25%, #c49d67 50%, #e6c899 75%, #c49d67 100%);
  background-size: 200% 100%;
  animation: btn-flow 6s linear infinite;
}
@keyframes btn-flow { from { background-position: 0% 0; } to { background-position: -200% 0; } }
.btn--dark { position: relative; overflow: hidden; isolation: isolate; }
.btn--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgb(196 157 103 / 55%) 50%, transparent 75%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn--dark:hover::before { transform: translateX(120%); }

/* Unauffällige, bewegte Hintergründe */
.bg-aurora::before {
  content: ""; position: absolute; inset: -25%; pointer-events: none;
  background:
    radial-gradient(30% 28% at 22% 30%, rgb(196 157 103 / 16%), transparent 70%),
    radial-gradient(26% 24% at 78% 68%, rgb(196 157 103 / 11%), transparent 70%),
    radial-gradient(22% 20% at 60% 15%, rgb(255 255 255 / 4%), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
}
.hero > *, .bg-aurora > * { position: relative; z-index: 1; }

/* Hero: weiche Goldlichter, die einzeln und langsam durch den Hintergrund wandern (nur transform -> flüssig auf dem Handy) */
.hero > .hero__lichter { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__lichter span {
  position: absolute; width: 52vmax; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(196 157 103 / 20%), rgb(196 157 103 / 6%) 55%, transparent);
  will-change: transform; animation: licht-a 21s ease-in-out infinite alternate;
}
.hero__lichter span:nth-child(1) { left: -14vmax; top: -20vmax; }
.hero__lichter span:nth-child(2) { right: -16vmax; top: 18%; width: 44vmax; opacity: 0.85; animation-name: licht-b; animation-duration: 26s; animation-delay: -9s; }
.hero__lichter span:nth-child(3) { left: 30%; bottom: -24vmax; width: 36vmax; opacity: 0.7; animation-name: licht-c; animation-duration: 31s; animation-delay: -15s; }
.hero__lichter span:nth-child(4) { left: 48%; top: -8vmax; width: 24vmax; background: radial-gradient(closest-side, rgb(255 255 255 / 7%), transparent); animation-name: licht-b; animation-duration: 18s; animation-direction: alternate-reverse; }
.hero__lichter span:nth-child(5) { left: 8%; top: 55%; width: 18vmax; opacity: 0.9; animation-name: licht-c; animation-duration: 23s; animation-delay: -4s; animation-direction: alternate-reverse; }
@keyframes licht-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(16vw, 10vh, 0) scale(1.12); } 100% { transform: translate3d(6vw, 22vh, 0) scale(0.92); } }
@keyframes licht-b { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-18vw, 12vh, 0) scale(0.9); } 100% { transform: translate3d(-8vw, -10vh, 0) scale(1.1); } }
@keyframes licht-c { 0% { transform: translate3d(0, 0, 0) scale(0.95); } 50% { transform: translate3d(12vw, -16vh, 0) scale(1.15); } 100% { transform: translate3d(-10vw, -6vh, 0) scale(1); } }
.bg-aurora { position: relative; overflow: clip; } /* clip statt hidden: sonst funktioniert position: sticky darin nicht */
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(4%, -3%, 0) rotate(6deg); }
  100% { transform: translate3d(-3%, 4%, 0) rotate(-4deg); }
}
.section--cream { overflow: hidden; }
.section--cream::before {
  content: ""; position: absolute; inset: -25%; pointer-events: none;
  background:
    radial-gradient(28% 26% at 18% 25%, rgb(196 157 103 / 14%), transparent 70%),
    radial-gradient(24% 24% at 82% 75%, rgb(196 157 103 / 10%), transparent 70%),
    radial-gradient(30% 22% at 55% 55%, rgb(255 255 255 / 55%), transparent 70%);
  animation: aurora 32s ease-in-out infinite alternate;
}
.section--cream > * { position: relative; z-index: 1; }
.bg-dots { background-image: radial-gradient(rgb(196 157 103 / 22%) 1px, transparent 1.2px); background-size: 26px 26px; background-position: 0 0; }
.bg-dots::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--white) 0%, rgb(255 255 255 / 70%) 35%, rgb(255 255 255 / 70%) 65%, var(--white) 100%); pointer-events: none; }
.bg-dots > * { position: relative; }

/* Linien-Icons zeichnen sich beim Hereinscrollen (pathLength="1" im Icon-Generator) */
.js [data-reveal] .icon .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-reveal].is-visible .icon .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) 0.35s; }
.js .konfi__step .tile__icon .icon .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .konfi__step.is-active .tile__icon .icon .ln { animation: draw 0.9s var(--ease) 0.15s forwards; }
.js .konfi__step.is-active .tile:nth-child(2) .tile__icon .icon .ln { animation-delay: 0.22s; }
.js .konfi__step.is-active .tile:nth-child(3) .tile__icon .icon .ln { animation-delay: 0.29s; }
.js .konfi__step.is-active .tile:nth-child(4) .tile__icon .icon .ln { animation-delay: 0.36s; }
.js .konfi__step.is-active .tile:nth-child(5) .tile__icon .icon .ln { animation-delay: 0.43s; }
.js .konfi__step.is-active .tile:nth-child(6) .tile__icon .icon .ln { animation-delay: 0.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Sterne & Google-Bewertung ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.stars--lg .icon { width: 22px; height: 22px; }
.rating {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 14px 22px 14px 16px; border-radius: var(--radius);
  background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 14%);
  color: var(--white); text-decoration: none; transition: background-color 0.3s, border-color 0.3s;
}
.rating:hover { background: rgb(255 255 255 / 10%); border-color: var(--gold); }
.rating__score { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.rating__meta { display: grid; gap: 4px; font-size: 0.88rem; color: var(--muted-light); }
.rating__meta > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.rating__meta .icon:not(.stars .icon) { width: 14px; height: 14px; }
.review__top { display: flex; align-items: center; justify-content: space-between; }
.review__top .review__quote { width: 26px; height: 26px; opacity: 0.35; }

/* ---------- Zahlenleiste (Über uns) ---------- */
/* Kennzahlen (Variante A): große Zahlen nebeneinander, feine Trennlinien, keine Kästen */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; list-style: none; margin: 30px 0 8px; padding: 24px 0 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats li { padding: 0 18px; border-left: 1px solid var(--line); }
.stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
@media (min-width: 640px) { .stats li:nth-child(odd) { padding-left: 18px; border-left: 1px solid var(--line); } .stats li:first-child { padding-left: 0; border-left: 0; } }
.stats a { display: block; color: inherit; text-decoration: none; }
.stats strong { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink); font-size: clamp(2rem, 1.5rem + 1.4vw, 2.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats strong + span { display: block; margin-top: 8px; font-size: 0.86rem; color: var(--muted); line-height: 1.35; transition: color 0.2s; }
.stats .stats__gold { color: var(--gold-ink); }
.stats__stern { width: 0.5em; height: 0.5em; fill: var(--gold); stroke: none; }
.stats a:hover strong + span { color: var(--gold-ink); }
.about__tag a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.82rem; font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.about__tag a:hover { color: var(--ink); }

/* ---------- Fortschrittsring unten rechts (Klick = nach oben) ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  display: grid; place-items: center; width: 70px; height: 70px; padding: 0;
  border: 0; border-radius: 50%; background: var(--white); cursor: pointer;
  box-shadow: 0 12px 30px rgb(38 37 38 / 22%);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, visibility 0s 0.3s, transform 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s; }
.to-top.is-visible:hover { transform: translateY(-3px); }
.to-top > svg { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3.5; }
.to-top__track { stroke: var(--line); }
.to-top__bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--progress, 0)); }
.to-top img { position: relative; width: 30px; height: 30px; }
.to-top.is-visible:hover { box-shadow: 0 0 0 3px rgb(196 157 103 / 35%), 0 16px 34px rgb(38 37 38 / 26%); }
@media (max-width: 767px) {
  .to-top { right: 12px; bottom: calc(62px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .to-top > svg { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
  .to-top img { width: 22px; height: 22px; }
}
.nav-open .to-top, .nav-open .mobile-bar { opacity: 0; visibility: hidden; }

/* ---------- Scroll-Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.12s; }
.js [data-reveal-delay="2"] { transition-delay: 0.24s; }
.js [data-reveal-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .sig__strich { animation: none !important; stroke-dashoffset: 0 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  /* Icons im fertigen Zustand zeigen */
  .js [data-reveal] .icon .ln, .js .konfi__step .tile__icon .icon .ln, .js .karte .ln, .n404 .ln { stroke-dashoffset: 0 !important; }
  .js .karte__orte { opacity: 1; }
  .karte__kreis--speck { fill: rgb(196 157 103 / 17%); }
  .karte__kreis--kern { fill: rgb(196 157 103 / 45%); }
}
