/* ===============================================================
   Jakobs Sorglose Räumung — Gestaltung
   Farbwelt: Blau → Indigo → helles Violett, als Verlauf.
   =============================================================== */

/* ---------------------------------------------------------------
   1. Gestaltungsvariablen
   --------------------------------------------------------------- */
:root {
  /* Markenfarben */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --brand-900: #312e81;

  --violet-50:  #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;

  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;

  /* Neutrale Töne */
  --ink:        #0f172a;
  --ink-soft:   #2e2a47;
  --muted:      #5c5578;
  --muted-soft: #8a82a8;
  --line:       #cbbff0;
  --line-soft:  #ded4f8;
  /* Grundflaeche der Seite. Deutlich ins Lavendelfarbene gezogen —
     reines Weiss wirkt auf grossen Flaechen leblos. */
  --page:       #c6bcec;
  --surface:    #f1edfd;
  --surface-2:  #ddd3f9;
  --surface-3:  #cec1f6;

  /* Signalfarben */
  --ok:    #059669;
  --ok-bg: #ecfdf5;
  --warn:    #d97706;
  --warn-bg: #fffbeb;
  --err:     #dc2626;
  --err-bg:  #fef2f2;

  /* Verläufe */
  --grad-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 52%, #a78bfa 100%);
  --grad-deep:  linear-gradient(150deg, #312e81 0%, #4338ca 40%, #7c3aed 100%);
  --grad-soft:  linear-gradient(135deg, #c8bbf1 0%, #d6c8f7 50%, #c2b3ee 100%);
  --grad-line:  linear-gradient(90deg, #4f46e5, #8b5cf6, #a78bfa);

  /* Schatten */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --sh-sm: 0 2px 10px rgba(49, 46, 129, .12);
  --sh-md: 0 8px 26px rgba(49, 46, 129, .16);
  --sh-lg: 0 20px 48px rgba(49, 46, 129, .24);
  --sh-brand: 0 12px 28px rgba(79, 70, 229, .28);

  /* Radien */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Abstände */
  --gap:  24px;
  --pad:  clamp(20px, 5vw, 32px);
  --sect: clamp(56px, 9vw, 104px);
  --maxw: 1200px;

  --t-fast: .16s ease;
  --t: .26s cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------------
   2. Grundlagen
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--page);
  /* Drei sehr blasse Farbfelder, damit grosse Textbereiche
     nicht flach wirken. Bleibt beim Scrollen stehen. */
  background-image:
    radial-gradient(1200px 700px at 4% -10%,  rgba(79, 70, 229, .58), transparent 56%),
    radial-gradient(1050px 680px at 100% -2%, rgba(139, 92, 246, .54), transparent 54%),
    radial-gradient(900px 720px at 28% 48%,   rgba(167, 139, 250, .42), transparent 58%),
    radial-gradient(1150px 820px at 78% 102%, rgba(56, 189, 248, .40), transparent 56%),
    radial-gradient(800px 600px at 50% 72%,   rgba(124, 58, 237, .28), transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--violet-600); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong { font-weight: 650; color: var(--ink); }
hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }

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

::selection { background: var(--brand-200); color: var(--brand-900); }

/* ---------------------------------------------------------------
   3. Hilfsklassen
   --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--narrow { max-width: 820px; }
.wrap--mid    { max-width: 1000px; }

.section { padding-block: var(--sect); position: relative; }
.section--tint { background: linear-gradient(180deg, #ded5f9 0%, #d0c4f6 100%); }
/* Abschnitte ohne eigene Farbe lassen den Seitenhintergrund durch. */
.section--plain { background: var(--surface); }
.section--soft { background: var(--grad-soft); }
.section--deep {
  background: var(--grad-deep);
  color: #fff;
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: rgba(255, 255, 255, .84); }

.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  z-index: 200; padding: 12px 20px;
  background: var(--brand-700); color: #fff;
  border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 12px; color: #fff; }

/* Kopfzeile eines Abschnitts */
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.section--deep .sec-head p { color: rgba(255, 255, 255, .8); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet-600); margin-bottom: 14px;
}
.kicker::before {
  content: ''; width: 26px; height: 2px;
  border-radius: 2px; background: var(--grad-line);
}
.section--deep .kicker { color: var(--violet-300); }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------------------------------------------------------------
   4. Schaltflächen
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font: inherit; font-weight: 650; font-size: .98rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  cursor: pointer;
  text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 19px; height: 19px; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
}
.btn--primary:hover {
  color: #fff;
  background-position: 100% 50%;
  box-shadow: 0 16px 34px rgba(124, 58, 237, .34);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--brand-700);
  border-color: var(--brand-200);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover {
  color: var(--brand-800);
  border-color: var(--brand-400);
  background: var(--brand-50);
  transform: translateY(-2px);
}

.btn--light {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
}
.btn--light:hover { background: rgba(255, 255, 255, .24); color: #fff; }

.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--violet-50); color: var(--brand-800); }

.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------
   5. Kopfbereich und Navigation
   --------------------------------------------------------------- */
.topbar {
  background: var(--grad-deep);
  color: rgba(255, 255, 255, .9);
  font-size: .875rem;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 42px; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--violet-200); }
.topbar__items { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .icon { width: 15px; height: 15px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(214, 205, 245, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-stuck { box-shadow: var(--sh-md); background: rgba(219, 210, 248, .96); }

.site-header__in {
  display: flex; align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  min-height: 76px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; margin-right: auto; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.15rem;
  letter-spacing: -.04em;
  box-shadow: var(--sh-brand);
  flex-shrink: 0;
}
.logo__mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-weight: 750; font-size: 1.04rem; color: var(--ink);
  letter-spacing: -.02em;
}
.logo__tag { font-size: .73rem; color: var(--muted); font-weight: 500; }

/* Hauptmenü */
.nav { display: flex; align-items: center; }
.nav__list {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav__item { display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; line-height: 1.2;
  border-radius: var(--r-full);
  color: var(--ink-soft); font-weight: 600; font-size: .93rem;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__link:hover { background: var(--brand-50); color: var(--brand-700); }
.nav__link.is-active { color: var(--brand-700); background: var(--brand-50); }

/* Ausklappmenü Leistungen */
.nav__item { position: relative; }
.nav__item--has-sub > .nav__link::after {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-fast);
}
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 290px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub li { margin: 0; }
.nav__sub a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: var(--r-md);
  color: var(--ink-soft); font-size: .93rem; font-weight: 550;
}
.nav__sub a:hover { background: var(--violet-50); color: var(--brand-700); }
.nav__sub .icon { width: 18px; height: 18px; color: var(--violet-500); }
.nav__sub-sep {
  height: 1px; background: var(--line-soft); margin: 7px 10px;
}

.header__actions {
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0; margin-left: auto;
}

/* Sprachauswahl */
.langsel { position: relative; }
.langsel__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-full);
  font: inherit; font-size: .89rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.langsel__btn:hover { border-color: var(--brand-300); background: var(--brand-50); }
.langsel__btn .flag { font-size: 1.15rem; line-height: 1; }
.langsel__btn .caret {
  width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--t-fast);
}
.langsel.is-open .langsel__btn .caret { transform: rotate(-135deg) translateY(-2px); }
.langsel.is-open .langsel__btn { border-color: var(--brand-400); background: var(--brand-50); }

.langsel__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 212px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  list-style: none; margin: 0; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  max-height: 70vh; overflow-y: auto;
}
.langsel.is-open .langsel__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.langsel__menu li { margin: 0; }
.langsel__menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: var(--r-md);
  color: var(--ink-soft); font-size: .93rem; font-weight: 550;
}
.langsel__menu a:hover { background: var(--violet-50); color: var(--brand-700); }
.langsel__menu a[aria-current="true"] {
  background: var(--brand-50); color: var(--brand-700); font-weight: 700;
}
.langsel__menu .flag { font-size: 1.3rem; line-height: 1; width: 1.5em; }
.langsel__menu .code {
  margin-left: auto; font-size: .72rem; letter-spacing: .06em;
  color: var(--muted-soft); text-transform: uppercase; font-weight: 700;
}

/* Menüschalter für kleine Bildschirme */
.burger {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 19px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: relative; transition: background var(--t-fast);
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0;
  width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t), top var(--t);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ---------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
  background: var(--grad-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* Weiche Farbschleier im Hintergrund */
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5; z-index: -1; pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px; top: -250px; right: -160px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 68%);
}
.hero::after {
  width: 540px; height: 540px; bottom: -280px; left: -160px;
  background: radial-gradient(circle, #38bdf8 0%, transparent 68%);
}

.hero__grid {
  display: grid; gap: clamp(32px, 5vw, 60px);
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .line2 {
  display: block;
  background: linear-gradient(100deg, #c4b5fd 0%, #93c5fd 55%, #a5f3fc 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead {
  font-size: clamp(1.03rem, 1.6vw, 1.17rem);
  color: rgba(255, 255, 255, .82);
  max-width: 56ch; margin-bottom: 1.6em;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 17px; margin-bottom: 22px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-full);
  font-size: .84rem; font-weight: 600;
  color: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .28);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.hero__points { list-style: none; padding: 0; margin: 26px 0 0; }
.hero__points li {
  display: flex; align-items: flex-start; gap: 11px;
  color: rgba(255, 255, 255, .88);
  font-size: .97rem; margin-bottom: 11px;
}
.hero__points .icon {
  width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px;
  color: #6ee7b7;
}

/* Bildkarte rechts */
.hero__media { position: relative; }
.hero__card {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .4);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  aspect-ratio: 4 / 3;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--empty {
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .5); text-align: center; padding: 30px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(56, 189, 248, .18));
}
.hero__card--empty .icon { width: 46px; height: 46px; margin: 0 auto 12px; }

/* Schwebende Kennzahl */
.hero__float {
  position: absolute; right: -14px; bottom: -22px;
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-lg); padding: 15px 20px;
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 13px;
  max-width: 250px;
}
.hero__float .icon { width: 30px; height: 30px; color: var(--violet-600); }
.hero__float b { display: block; font-size: 1.02rem; line-height: 1.2; }
.hero__float span { font-size: .8rem; color: var(--muted); }

/* Vertrauensleiste */
.trustbar {
  background: linear-gradient(180deg, #efeafd 0%, #e3daf9 100%);
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
}
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center;
}
.trustbar__num {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 750;
  letter-spacing: -.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trustbar__txt { font-size: .85rem; color: var(--muted); }

/* ---------------------------------------------------------------
   7. Karten
   --------------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(158deg, #f6f3fe 0%, #ece6fc 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--brand-200);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .96rem; }

.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--brand-100);
  color: var(--violet-600);
  margin-bottom: 18px;
}
.card__icon .icon { width: 25px; height: 25px; }

.card__link {
  margin-top: auto; padding-top: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 650; font-size: .93rem; color: var(--brand-600);
}
.card__link .icon { width: 16px; height: 16px; transition: transform var(--t-fast); }
.card:hover .card__link .icon { transform: translateX(4px); }

/* Karte, die den ganzen Bereich verlinkt */
.card--link::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
}

/* Leistungskarte mit Farbstreifen oben */
.card--service { padding-top: 32px; overflow: hidden; }
.card--service::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad-line);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.card--service:hover::before { transform: scaleX(1); }

.card__list { list-style: none; padding: 0; margin: 14px 0 0; }
.card__list li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: .92rem; color: var(--ink-soft);
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 15px; height: 8px;
  border-left: 2px solid var(--violet-500);
  border-bottom: 2px solid var(--violet-500);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------
   8. Ablauf in Schritten
   --------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; padding: 30px 24px 26px;
  background: linear-gradient(158deg, #f6f3fe 0%, #ece6fc 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.step__num {
  counter-increment: step;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
  font-weight: 750; font-size: 1.1rem;
  box-shadow: var(--sh-brand);
  margin-bottom: 17px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Verbindungslinie zwischen den Schritten */
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 53px; right: -22px;
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--brand-300), transparent);
}

/* ---------------------------------------------------------------
   9. Vorteile, Galerie, Stimmen
   --------------------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 34px; }
.why__item { display: flex; gap: 16px; }
.why__ico {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--violet-300);
}
.why__ico .icon { width: 22px; height: 22px; }
.why__item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.why__item p { font-size: .93rem; margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--sh-sm);
}
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ba__half { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.ba__half img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.ba:hover .ba__half img { transform: scale(1.05); }
.ba__tag {
  position: absolute; left: 9px; top: 9px;
  padding: 4px 11px; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, .74); color: #fff;
  backdrop-filter: blur(4px);
}
.ba__tag--after { background: var(--violet-600); }
.ba__cap { padding: 13px 16px; font-size: .9rem; color: var(--muted); }

.empty-note {
  padding: 44px 30px; text-align: center;
  border: 2px dashed var(--brand-200);
  border-radius: var(--r-lg);
  background: var(--grad-soft);
  color: var(--muted);
}
.empty-note .icon { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--brand-300); }

.quote {
  background: linear-gradient(158deg, #f6f3fe 0%, #ece6fc 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; margin-bottom: 14px; color: #f59e0b; }
.quote__stars .icon { width: 17px; height: 17px; fill: currentColor; }
.quote__body { font-size: .98rem; color: var(--ink-soft); margin-bottom: 18px; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote__av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.quote__name { font-weight: 650; font-size: .93rem; }
.quote__loc { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------
   10. Einsatzgebiet
   --------------------------------------------------------------- */
.city-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.city-chip {
  display: flex; flex-direction: column; gap: 2px;
  padding: 15px 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t);
}
.city-chip:hover {
  border-color: var(--brand-300); background: var(--brand-50);
  transform: translateY(-2px); box-shadow: var(--sh-sm);
}
.city-chip__name { font-weight: 650; font-size: .96rem; color: var(--ink); }
.city-chip:hover .city-chip__name { color: var(--brand-700); }
.city-chip__km { font-size: .78rem; color: var(--muted); }

.city-group { margin-bottom: 34px; }
.city-group h3 {
  font-size: 1rem; color: var(--violet-600);
  padding-bottom: 9px; margin-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.city-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
.city-list li {
  margin: 0; padding: 6px 14px;
  background: var(--surface-3); border: 1px solid var(--brand-100);
  border-radius: var(--r-full);
  font-size: .86rem; color: var(--ink-soft);
}

/* ---------------------------------------------------------------
   11. Formulare
   --------------------------------------------------------------- */
.form-card {
  background: linear-gradient(158deg, #f7f4fe 0%, #ebe5fc 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--sh-md);
}

.field { margin-bottom: 19px; }
.field__label {
  display: block; margin-bottom: 7px;
  font-weight: 620; font-size: .9rem; color: var(--ink-soft);
}
.field__req { color: var(--err); margin-left: 2px; }
.field__hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.field__err {
  font-size: .83rem; color: var(--err); margin-top: 5px;
  display: flex; align-items: center; gap: 5px;
}
.field__err .icon { width: 14px; height: 14px; }

.input, .select, .textarea {
  width: 100%; padding: 12px 15px;
  font: inherit; font-size: .97rem; color: var(--ink);
  background: #fbfaff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--brand-200); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .13);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-soft); }
.textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.select {
  appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
}

.field--err .input, .field--err .select, .field--err .textarea {
  border-color: var(--err); background: var(--err-bg);
}

.field-row { display: grid; gap: 15px; }
.field-row--2 { grid-template-columns: 1fr 1fr; }
.field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.field-row--addr { grid-template-columns: 2.6fr 1fr; }
.field-row--zip  { grid-template-columns: 1fr 2fr; }

/* Zustimmung */
.check {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .88rem; color: var(--ink-soft); line-height: 1.55;
  cursor: pointer;
}
.check input[type="checkbox"] {
  width: 19px; height: 19px; margin: 2px 0 0;
  accent-color: var(--brand-600); cursor: pointer; flex-shrink: 0;
}

/* Dateiauswahl */
.dropzone {
  border: 2px dashed var(--brand-200);
  border-radius: var(--r-lg);
  background: var(--grad-soft);
  padding: 30px 22px; text-align: center;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.dropzone:hover, .dropzone.is-over {
  border-color: var(--violet-500);
  background: var(--violet-50);
}
.dropzone input[type="file"] { display: none; }
.dropzone .icon { width: 34px; height: 34px; color: var(--violet-500); margin: 0 auto 10px; }
.dropzone__main { font-weight: 620; color: var(--ink-soft); font-size: .95rem; }
.dropzone__hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }

.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.thumbs__item {
  position: relative; width: 84px; height: 84px;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line);
}
.thumbs__item img { width: 100%; height: 100%; object-fit: cover; }
.thumbs__del {
  position: absolute; top: 3px; right: 3px;
  width: 21px; height: 21px; border: 0; padding: 0;
  border-radius: 50%; cursor: pointer;
  background: rgba(15, 23, 42, .76); color: #fff;
  display: grid; place-items: center; font-size: 13px; line-height: 1;
}

/* Meldungen */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 18px; border-radius: var(--r-md);
  font-size: .93rem; margin-bottom: 22px;
  border: 1px solid transparent;
}
.alert .icon { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.alert--ok   { background: var(--ok-bg);   color: #065f46; border-color: #a7f3d0; }
.alert--err  { background: var(--err-bg);  color: #991b1b; border-color: #fecaca; }
.alert--warn { background: var(--warn-bg); color: #92400e; border-color: #fde68a; }
.alert--info { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-200); }

/* Honigtopf gegen Spam — für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* ---------------------------------------------------------------
   12. Kontaktbereich
   --------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 48px); align-items: start;
}
.contact-box {
  background: var(--grad-deep); color: #fff;
  border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 36px);
  position: relative; overflow: hidden;
}
.contact-box::after {
  content: ''; position: absolute; width: 300px; height: 300px;
  right: -120px; bottom: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 70%);
  filter: blur(40px);
}
.contact-box h2, .contact-box h3 { color: #fff; }
.contact-box p { color: rgba(255, 255, 255, .78); }

.cinfo { list-style: none; padding: 0; margin: 24px 0 0; position: relative; z-index: 1; }
.cinfo li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.cinfo__ico {
  width: 40px; height: 40px; border-radius: var(--r-md); flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .17);
  color: var(--violet-300);
}
.cinfo__ico .icon { width: 19px; height: 19px; }
.cinfo__lbl {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255, 255, 255, .55); font-weight: 700; margin-bottom: 2px;
}
.cinfo__val { color: #fff; font-weight: 600; font-size: 1rem; }
.cinfo__val a { color: #fff; }
.cinfo__val a:hover { color: var(--violet-200); }

/* ---------------------------------------------------------------
   13. Abschluss-Aufruf
   --------------------------------------------------------------- */
.cta {
  border-radius: var(--r-xl);
  background: var(--grad-brand);
  color: #fff; text-align: center;
  padding: clamp(40px, 6vw, 68px) var(--pad);
  position: relative; overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.22), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(56,189,248,.28), transparent 46%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p {
  color: rgba(255, 255, 255, .9);
  max-width: 56ch; margin-inline: auto; margin-bottom: 1.9em;
  font-size: 1.05rem;
}

/* ---------------------------------------------------------------
   14. Inhaltsseiten
   --------------------------------------------------------------- */
.pagehead {
  background: linear-gradient(135deg, #c3b6ef 0%, #d2c3f6 48%, #b9aaea 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(36px, 5vw, 60px);
}
.pagehead h1 { margin-bottom: .3em; }
.pagehead p { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
  list-style: none; padding: 0; margin: 0 0 18px;
  font-size: .84rem; color: var(--muted);
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 7px; }
.crumbs li:not(:last-child)::after { content: '›'; color: var(--muted-soft); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-600); }

.prose { font-size: 1.03rem; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose > *:first-child { margin-top: 0; }
.prose ul li { margin-bottom: .55em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.lead-text {
  font-size: 1.16rem; color: var(--ink-soft);
  line-height: 1.6; margin-bottom: 1.5em;
}

.note-box {
  padding: 18px 22px; border-radius: var(--r-md);
  background: var(--brand-50); border-left: 4px solid var(--brand-500);
  font-size: .93rem; color: var(--ink-soft);
}

.split {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 52px); align-items: start;
}

.sidebox {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
  position: sticky; top: 100px;
  box-shadow: var(--sh-sm);
}
.sidebox h3 { font-size: 1.08rem; }

/* Preisfaktoren */
.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.factor {
  padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(158deg, #f6f3fe 0%, #ece6fc 100%);
  border: 1px solid var(--line);
}
.factor__n {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--grad-soft); border: 1px solid var(--brand-100);
  color: var(--violet-600); font-weight: 750; font-size: .88rem;
  display: grid; place-items: center; margin-bottom: 14px;
}
.factor h3 { font-size: 1.02rem; margin-bottom: .35em; }
.factor p { font-size: .91rem; color: var(--muted); margin: 0; }

/* Werteliste */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
  margin: 0;
}
.values .icon { width: 20px; height: 20px; color: var(--violet-600); flex-shrink: 0; margin-top: 2px; }

/* Rechtstexte */
.legal { font-size: .96rem; }
.legal h2 { font-size: 1.28rem; margin-top: 2em; }
.legal h3 { font-size: 1.06rem; margin-top: 1.5em; }
.legal dl { margin: 0 0 1.4em; }
.legal dt { font-weight: 650; color: var(--ink); margin-top: .8em; }
.legal dd { margin: 0 0 .3em; color: var(--ink-soft); }

/* ---------------------------------------------------------------
   15. Fusszeile
   --------------------------------------------------------------- */
.site-footer {
  background: #0e0c22; color: rgba(255, 255, 255, .68);
  padding-block: clamp(44px, 6vw, 68px) 0;
  font-size: .93rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 4vw, 48px);
  padding-bottom: 40px;
}
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__tag { color: rgba(255, 255, 255, .5); }
.footer__about { margin-top: 16px; max-width: 38ch; color: rgba(255, 255, 255, .6); }

.footer__col h4 {
  color: #fff; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 700;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: rgba(255, 255, 255, .68); }
.footer__col a:hover { color: var(--violet-300); }

.footer__contact li {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 13px;
}
.footer__contact .icon {
  width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px;
  color: var(--violet-400);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  font-size: .86rem; color: rgba(255, 255, 255, .5);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { color: rgba(255, 255, 255, .6); }
.footer__legal a:hover { color: #fff; }

/* Schwebende Anrufschaltfläche für Handys */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px;
  background: var(--line);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, .14);
}
.callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 8px;
  background: var(--surface); color: var(--brand-700);
  font-weight: 650; font-size: .92rem;
}
.callbar a.is-primary { background: var(--grad-brand); color: #fff; }
.callbar .icon { width: 18px; height: 18px; }

/* Cookie-Hinweis */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 520px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 20px 22px;
  display: none; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookiebar.is-shown { display: flex; }
.cookiebar p { margin: 0; font-size: .88rem; color: var(--ink-soft); flex: 1 1 260px; }

/* ---------------------------------------------------------------
   16. Bewegungsabläufe
   --------------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------
   17. Anpassung an Bildschirmgrössen
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps   { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .why     { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .factors { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .hero__float { right: 8px; bottom: -18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .sidebox { position: static; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar__items .is-optional { display: none; }

  .burger { display: flex; }
  .nav {
    position: fixed; inset: 76px 0 0;
    display: block;
    background: var(--surface);
    padding: 22px var(--pad) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t);
    margin: 0;
  }
  .nav.is-open { transform: none; }
  /* In der Spalte muss jeder Punkt die volle Breite bekommen.
     Ohne diese Zeilen legt der Flex-Aufbau die Eintraege nebeneinander
     und es blieb nur der erste sichtbar. */
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav__item { display: block; width: 100%; }
  .nav__link {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 14px 16px;
    border-radius: var(--r-md); font-size: 1.02rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__list > li:last-child .nav__link { border-bottom: 0; }

  .nav__item--has-sub > .nav__link::after { margin-top: -4px; }
  .nav__item--has-sub.is-open > .nav__link::after { transform: rotate(-135deg); margin-top: 3px; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 8px 16px; padding: 0 0 0 10px;
    display: none;
  }
  .nav__item--has-sub.is-open > .nav__sub { display: block; }

  .header__actions .btn--primary { display: none; }
  .callbar { display: flex; }
  body { padding-bottom: 54px; }
  .cookiebar { bottom: 66px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .factors { grid-template-columns: 1fr; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row--2, .field-row--3 { grid-template-columns: 1fr; }
  .field-row--addr { grid-template-columns: 2fr 1fr; }
  .btn-row .btn { width: 100%; }
  .hero__float { position: static; margin-top: 16px; max-width: none; }
  .card { padding: 22px; }
}

/* ---------------------------------------------------------------
   18. Druckansicht
   --------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .site-footer, .callbar, .cookiebar, .cta, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section { padding-block: 12pt; }
  a { color: #000; text-decoration: underline; }
}

/* ===============================================================
   19. Flaggen und kleine Zusätze
   =============================================================== */
.flag {
  width: 22px; height: 15px; flex-shrink: 0;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
  display: block;
}
.langsel__menu .flag { width: 26px; height: 17px; }

.linklike {
  background: none; border: 0; padding: 0;
  font: inherit; cursor: pointer;
  color: rgba(255, 255, 255, .6);
  text-decoration: underline; text-underline-offset: 3px;
}
.linklike:hover { color: #fff; }

.btn--plain {
  background: none; border-color: transparent;
  color: var(--muted); text-decoration: underline;
  text-underline-offset: 3px; box-shadow: none;
  padding-inline: 12px;
}
.btn--plain:hover { color: var(--brand-700); background: none; transform: none; }

/* ===============================================================
   20. Einwilligung in Cookies
   =============================================================== */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  background: var(--surface);
  border-top: 3px solid transparent;
  border-image: var(--grad-line) 1;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, .18);
  animation: consentUp .4s cubic-bezier(.22, 1, .36, 1);
}
@keyframes consentUp {
  from { transform: translateY(100%); }
  to   { transform: none; }
}

.consent__inner {
  width: 100%; max-width: var(--maxw);
  margin-inline: auto; padding: 22px var(--pad);
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
}
.consent__body { flex: 1 1 380px; }
.consent__title { font-size: 1.1rem; margin-bottom: .3em; }
.consent__text { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }
.consent__text a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }

.consent__actions {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  flex-shrink: 0;
}

/* Einstellungsfenster */
.consent-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
}
/* Das Attribut hidden muss gewinnen — sonst steht das Fenster offen. */
.consent-modal[hidden],
.consent[hidden] { display: none !important; }
.consent-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(3px);
}
.consent-modal__box {
  position: relative;
  width: 100%; max-width: 620px;
  max-height: 88vh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: 0 30px 70px rgba(15, 23, 42, .36);
  overflow: hidden;
  animation: modalIn .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.consent-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 26px 16px;
  border-bottom: 1px solid var(--line);
}
.consent-modal__head h2 { font-size: 1.22rem; margin: 0; }
.consent-modal__x {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--surface-2); color: var(--muted);
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.consent-modal__x:hover { background: var(--brand-50); color: var(--brand-700); }
.consent-modal__x .icon { width: 17px; height: 17px; }

.consent-modal__body { padding: 20px 26px; overflow-y: auto; }
.consent-modal__intro { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.consent-modal__links { font-size: .86rem; margin: 18px 0 0; }
.consent-modal__links a { text-decoration: underline; text-underline-offset: 2px; }

.consent-modal__foot {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: flex-end;
  padding: 16px 26px; border-top: 1px solid var(--line);
  background: var(--surface-2);
}

/* Eine Kategorie */
.consent-cat {
  padding: 16px 18px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--t-fast);
}
.consent-cat:hover { border-color: var(--brand-200); }
.consent-cat__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 7px;
}
.consent-cat__label { font-weight: 660; font-size: .98rem; color: var(--ink); cursor: pointer; }
.consent-cat__desc { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.consent-cat__locked {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 650; color: var(--ok);
  background: var(--ok-bg); border: 1px solid #a7f3d0;
  padding: 4px 11px; border-radius: var(--r-full);
  white-space: nowrap;
}
.consent-cat__locked .icon { width: 13px; height: 13px; }

/* Schiebeschalter */
.switch { position: relative; display: inline-flex; flex-shrink: 0; cursor: pointer; }
.switch input {
  position: absolute; opacity: 0; width: 100%; height: 100%;
  margin: 0; cursor: pointer; z-index: 1;
}
.switch__track {
  width: 46px; height: 26px; border-radius: var(--r-full);
  background: var(--line); display: block;
  transition: background var(--t);
  position: relative;
}
.switch__dot {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--sh-xs);
  transition: transform var(--t);
}
.switch input:checked + .switch__track { background: var(--grad-brand); }
.switch input:checked + .switch__track .switch__dot { transform: translateX(20px); }
.switch input:focus-visible + .switch__track {
  outline: 3px solid var(--violet-400); outline-offset: 2px;
}

/* Platzhalter für zurückgehaltene Inhalte, z.B. die Karte */
.consent-placeholder {
  display: grid; place-items: center; text-align: center;
  padding: 40px 26px; min-height: 240px;
  background: var(--grad-soft);
  border: 2px dashed var(--brand-200);
  border-radius: var(--r-lg);
  color: var(--muted);
}
.consent-placeholder .icon { width: 34px; height: 34px; color: var(--brand-400); margin: 0 auto 12px; }
.consent-placeholder p { font-size: .9rem; margin-bottom: 1em; max-width: 42ch; }

@media (max-width: 720px) {
  .consent__inner { padding: 18px var(--pad); gap: 16px; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1 1 auto; }
  .consent__actions .btn--plain { flex-basis: 100%; }
  .consent-modal { padding: 0; align-items: end; }
  .consent-modal__box {
    max-width: none; max-height: 92vh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .consent-modal__foot { justify-content: stretch; }
  .consent-modal__foot .btn { flex: 1 1 140px; }
}


/* ===============================================================
   21. Verweise auf soziale Netzwerke
   =============================================================== */
.social { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.social a {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .8);
  transition: all var(--t);
}
.social a:hover {
  background: var(--grad-brand); color: #fff;
  border-color: transparent; transform: translateY(-2px);
  box-shadow: var(--sh-brand);
}
.social .icon { width: 19px; height: 19px; }

/* Helle Variante, etwa im Kontaktbereich */
.social--light a {
  background: var(--surface); border-color: var(--line);
  color: var(--brand-600); box-shadow: var(--sh-xs);
}
.social--light a:hover { color: #fff; }

/* In der Kontaktleiste oben */
.topbar .social a {
  width: 26px; height: 26px; border-radius: 7px;
  background: transparent; border: 0; color: rgba(255, 255, 255, .72);
}
.topbar .social a:hover { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; transform: none; }
.topbar .social .icon { width: 15px; height: 15px; }


/* ===============================================================
   22. Zurück nach oben
   =============================================================== */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 50px; height: 50px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--sh-brand);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity var(--t), transform var(--t), visibility var(--t), box-shadow var(--t);
}
.totop.is-shown { opacity: 1; visibility: visible; transform: none; }
.totop:hover { box-shadow: 0 14px 30px rgba(124, 58, 237, .42); transform: translateY(-3px); }
.totop .icon { width: 22px; height: 22px; }

/* Ueber der Anrufleiste auf kleinen Bildschirmen bleiben */
@media (max-width: 860px) {
  .totop { right: 14px; bottom: 68px; width: 46px; height: 46px; }
}
@media print { .totop { display: none; } }

/* ===============================================================
   23. Richtpreise
   =============================================================== */
.pricebox { display: grid; gap: 26px; }
.pricebox__h {
  font-size: 1.05rem; margin-bottom: 12px;
  color: var(--violet-600);
  padding-bottom: 9px; border-bottom: 2px solid var(--brand-200);
}
.ptable {
  width: 100%; border-collapse: collapse;
  background: linear-gradient(158deg, #f6f3fe 0%, #ece6fc 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm);
}
.ptable th {
  text-align: left; padding: 12px 18px;
  font-size: .76rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); font-weight: 700;
  background: rgba(99, 102, 241, .09);
  border-bottom: 1px solid var(--line);
}
.ptable td {
  padding: 12px 18px; font-size: .95rem;
  border-bottom: 1px solid var(--line-soft);
}
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover { background: rgba(139, 92, 246, .07); }
.ptable .right { text-align: right; white-space: nowrap; }
.ptable td strong { color: var(--brand-700); font-variant-numeric: tabular-nums; }

.pricebox--compact .ptable { box-shadow: none; }
.pricebox--compact .ptable td { padding: 9px 13px; font-size: .87rem; }
.pricebox--compact .pricebox__h { font-size: .96rem; }

@media (max-width: 560px) {
  .ptable td, .ptable th { padding: 10px 12px; font-size: .88rem; }
}
