/* Schornsteinfeger Stork – Webseite. Zwei Aussehen: data-theme="dark" (dunkler Hintergrund) und "light" (weiß). */

@font-face { font-family: "StorkSans"; src: url(../fonts/inter-400.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "StorkSans"; src: url(../fonts/inter-600.woff) format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "StorkSans"; src: url(../fonts/inter-700.woff) format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "StorkDisplay"; src: url(../fonts/inter-display-800.woff) format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ff: "StorkSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fd: "StorkDisplay", "StorkSans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ink: #0f1217;
  --card-text: #0f1217;
  --card-soft: #4a4f59;
  --card-muted: #5d6470;
  --card-line: #e3e6eb;
  --c: #8b93a1; --on: #fff; --cl: #c3c8d1; --cd: #3d424c; --cp: #f1f2f5; --ct: rgba(139,147,161,.18);
}
html[data-theme="dark"] {
  --bg: #101318; --surface: #181c23; --surface2: #1f242d; --line: #2b313b; --line2: #3a414d;
  --text: #e9ecf1; --head: #ffffff; --muted: #a3aab6; --soft: #c3c8d1; --link: #7fb0ff;
  --hdr: rgba(16, 19, 24, .84); --hdr-line: #232832; --nav: #d6dae1; --menu: #181c23;
  --btn: #ffffff; --btn-on: #101318; --photo: #1f242d; --ink-line: #2b313b;
  --ftr: #0b0d11; --ftr-line: #1d2129; --ftr-text: #a3aab6;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #ffffff; --surface: #f4f5f7; --surface2: #eceef2; --line: #e3e6eb; --line2: #d5d9e0;
  --text: #22262e; --head: #0f1217; --muted: #5d6470; --soft: #3d424c; --link: #1d5fd6;
  --hdr: rgba(255, 255, 255, .9); --hdr-line: #e9ebef; --nav: #22262e; --menu: #ffffff;
  --btn: #0f1217; --btn-on: #ffffff; --photo: #eceef2; --ink-line: #0f1217;
  --ftr: #0f1217; --ftr-line: #232832; --ftr-text: #aab0bb;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--ff); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--head); }
h1, h2, h3 { font-family: var(--fd); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: var(--head); margin: 0; overflow-wrap: break-word; }
h4 { margin: 0; }
p { margin: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 920px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--btn); color: var(--btn-on); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.small { font-size: 14px; }
.icon { flex-shrink: 0; }

/* ---------- Farbpunkte ---------- */
.dots { display: inline-flex; gap: 3px; align-items: center; }
.dots i { display: block; border-radius: 999px; }
i.dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; flex-shrink: 0; }

/* ---------- Leiste für angemeldete Verwaltung ---------- */
.adminbar { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center; padding: 6px 24px; background: #16834a; color: #fff; font-size: 14px; font-weight: 600; }
.adminbar span { display: inline-flex; gap: 6px; align-items: center; }
.adminbar a { color: #fff; }

/* ---------- Kopf ---------- */
.hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--hdr-line); }
/* Milchglas-Hintergrund als eigene Ebene: direkt am Kopf würde es das aufgeklappte Handy-Menü abschneiden (iPhone/Android) */
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hdr); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr-in { display: flex; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--head); flex-shrink: 0; }
.brand:hover { color: var(--head); }
.brand .mark { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: #101318; display: grid; place-items: center; flex-shrink: 0; }
html[data-theme="light"] .brand .mark { background: #0f1217; color: #fff; }
.brand .brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand .bn { display: flex; gap: 8px; align-items: center; font-family: var(--fd); font-weight: 800; font-size: 25px; letter-spacing: -.03em; }
.brand small { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.brand.img { min-width: 0; }
.brand.img img { height: 64px; width: auto; max-width: min(380px, 100%); object-fit: contain; object-position: left center; border-radius: 6px; }
.brand.img.sz-m img { height: 52px; }
.brand.img.sz-xl img { height: 78px; }
.brand.img.plate-dark { background: #0f1217; padding: 8px 14px; border-radius: 14px; }
.brand.img.plate-light { background: #fff; padding: 8px 14px; border-radius: 14px; }
.ftr .brand.img img { height: 72px; max-width: 100%; }
.login-box .brand.img img, .mt-box .brand.img img { height: 56px; }
.login-box .brand.img, .mt-box .brand.img { display: inline-flex; max-width: 100%; }

.nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-left: auto; }
.nl, .dd-btn { display: inline-flex; gap: 6px; align-items: center; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 17px; color: var(--nav); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nl:hover, .dd-btn:hover, .nl.on, .dd.on > .dd-btn { background: var(--surface2); color: var(--head); }
.dd { position: relative; }
.dd-btn .icon { transition: transform .2s; }
.dd.open > .dd-btn .icon { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: var(--menu); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, .28); display: none; z-index: 60; }
.dd.open .dd-menu { display: block; }
@media (hover: hover) and (min-width: 1201px) {
  .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
  .dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
}
.dd-menu a { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; }
.dd-menu a:hover, .dd-menu a.on { background: var(--surface2); color: var(--head); }
.dd-menu .dd-all { color: var(--muted); font-size: 14px; }
.nav-cta { display: none !important; }
.hdr-act { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.burger { display: none; width: 48px; height: 48px; padding: 0; border-radius: 999px; border: 0; background: var(--btn); color: var(--btn-on); cursor: pointer; place-items: center; flex-shrink: 0; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.burger span { display: grid; place-items: center; }
.burger .b-close { display: none; }
.nav-open .burger .b-open { display: none; }
.nav-open .burger .b-close { display: grid; }
.nl, .dd-btn, .pill { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ---------- Knöpfe ---------- */
.pill { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: translate .2s ease, box-shadow .2s ease, background .3s ease; }
.pill.big { padding: 16px 26px; font-size: 18px; }
.pill.solid { background: var(--btn); color: var(--btn-on); }
.pill.ghost { background: transparent; color: var(--head); box-shadow: inset 0 0 0 1px var(--line2); }
.pill.big.ghost { box-shadow: inset 0 0 0 2px var(--line2); }
.pill.on-c { background: var(--c); color: var(--on); }
.pill.ink { background: #0f1217; color: #fff; }
.pill:hover { translate: 0 -2px; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.pill.ghost:hover { box-shadow: inset 0 0 0 2px var(--head); color: var(--head); }
.pill.solid:hover { color: var(--btn-on); }
.pill.on-c:hover { color: var(--on); }
.pill.ink:hover { color: #fff; }

/* ---------- Abzeichen ---------- */
.chip { display: inline-flex; gap: 8px; align-items: center; background: var(--ct); color: var(--cl); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; }
html[data-theme="light"] .chip { color: var(--cd); }
.chip i { width: 9px; height: 9px; border-radius: 999px; background: var(--c); flex-shrink: 0; }
.kick { display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.lead { font-size: 20px; color: var(--soft); max-width: 560px; margin-top: 18px; }
.bts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Slider (ohne Kasten) ---------- */
.hero { padding: 48px 0 0; }
.slide { display: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; min-height: 560px; }
.slide.on { display: grid; animation: fadeUp .6s cubic-bezier(.2, .8, .2, 1) both; }
.ht { font-size: clamp(42px, 6vw, 74px); margin-top: 22px; max-width: 680px; }
.ht em, .phero h1 em, .h2xl em, .h2l em, .blk h2 em { color: var(--cl); }
html[data-theme="light"] .ht em, html[data-theme="light"] .phero h1 em { color: var(--cd); }
.slide-v, .phero-v { display: flex; justify-content: center; }
.vis { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; }
.vis .circ { position: absolute; right: 0; top: 3%; width: 84%; aspect-ratio: 1 / 1; border-radius: 999px; background: var(--c); }
.vis .orbit { position: absolute; left: 0; top: 0; width: 30%; aspect-ratio: 1 / 1; border-radius: 999px; border: 2px dashed var(--c); opacity: .7; }
.vis.all .circ { background: conic-gradient(from -45deg, #d93a2b 0 25%, #ffc61a 0 50%, #1d5fd6 0 75%, #16834a 0); }
.vis.all .orbit { border-color: var(--line2); }
.vis.all .ph .icon { color: var(--muted); }
.vis .photo { position: absolute; left: 0; bottom: 4%; width: 84%; height: 70%; border-radius: 28px; background: var(--photo); border: 8px solid var(--bg); overflow: hidden; }
.vis .photo img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); }
.ph .icon { color: var(--c); opacity: .9; }
.ph small { font-weight: 700; font-size: 15px; }
.vis .badge { position: absolute; right: 2%; bottom: 9%; background: #fff; color: #101318; border-radius: 999px; padding: 12px 18px; font-family: var(--fd); font-weight: 800; font-size: 18px; letter-spacing: -.02em; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.sctl { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.stabs { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; }
.stab { min-height: 56px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.stab .bar { display: block; width: 100%; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.stab .bar i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 999px; }
.stab.done .bar i { width: 100%; }
.stab.on .bar i { width: 100%; }
[data-slider].run .stab.on .bar i { width: 0; animation: fill var(--dur, 6s) linear forwards; }
[data-slider].run.paused .stab.on .bar i, [data-slider].run.hold .stab.on .bar i { animation-play-state: paused; }
.stab .lab { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stab.on .lab, .stab:hover .lab { color: var(--head); }
.sbtns { display: flex; gap: 10px; }
.rb { width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--head); cursor: pointer; display: grid; place-items: center; }
.rb.w { background: var(--btn); color: var(--btn-on); border-color: var(--btn); }
.rb:hover { border-color: var(--head); }
.rb .i-play, .paused .rb .i-pause { display: none; }
.paused .rb .i-play { display: block; }

/* ---------- Trennlinie ---------- */
.sep { display: flex; align-items: center; gap: 18px; padding-top: 64px; }
.sep .ln { flex: 1 1 auto; height: 1px; background: var(--line); }
.sep-pill { display: inline-flex; gap: 12px; align-items: center; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--head); text-decoration: none; font-weight: 700; font-size: 15px; }
.sep-pill:hover { border-color: var(--head); color: var(--head); }
.nudge { display: inline-flex; }

/* ---------- Abschnitte ---------- */
.sec { padding: 72px 0 48px; }
.sec.tight { padding: 32px 0; }
.sh { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.sh .lead { margin-top: 0; max-width: 440px; font-size: 19px; color: var(--muted); }
.h2xl { font-size: clamp(36px, 5vw, 54px); }
.h2l { font-size: clamp(32px, 4.4vw, 48px); }

/* Vier Farben */
.four { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fc { background: var(--cp); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; min-height: 380px; color: var(--card-text); }
.fc-h { display: flex; align-items: center; justify-content: space-between; }
.fc-ic { width: 54px; height: 54px; border-radius: 999px; background: var(--c); color: var(--on); display: grid; place-items: center; }
.fc-n { font-weight: 700; font-size: 15px; color: var(--cd); }
.fc h3 { margin-top: 22px; font-size: 32px; color: var(--card-text); }
.fc p { margin-top: 10px; font-size: 17px; color: var(--card-soft); }
.fc-l { margin-top: auto; padding-top: 20px; }
.fc-l a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--cd) 22%, transparent); color: var(--card-text); text-decoration: none; font-weight: 700; font-size: 17px; transition: padding .2s ease; }
.fc-l a:hover { padding-left: 8px; color: var(--card-text); }

/* Hervorgehobene Leistung */
.feature { background: var(--ink); border: 1px solid var(--ink-line); color: #fff; border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
.feature-t { flex: 999 1 440px; min-width: 0; padding: 56px; }
.feature .chip { color: var(--cl); }
.feature h2 { margin-top: 20px; font-size: clamp(34px, 4.4vw, 50px); color: #fff; }
.feature p { margin-top: 16px; font-size: 19px; color: #c9ced6; max-width: 520px; }
.feature .pill { margin-top: 28px; }
.feature-v { flex: 1 1 380px; min-width: 0; padding: 16px; display: flex; }
.feature-v img, .feature-v .ph { flex: 1 1 auto; min-height: 340px; width: 100%; border-radius: 24px; object-fit: cover; background: #1d2129; }
.feature-v .ph { border: 2px dashed #3a404b; color: #aab0bb; }

/* Karten */
.cards { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cardw { background: #fff; border: 1px solid var(--card-line); border-radius: 24px; padding: 28px; color: var(--card-text); }
.cardw .ic { width: 50px; height: 50px; border-radius: 999px; background: var(--cp); color: var(--cd); display: grid; place-items: center; }
.cardw h3 { margin-top: 18px; font-size: 24px; color: var(--card-text); }
.cardw p { margin-top: 8px; font-size: 17px; color: var(--card-muted); }
.cardw.step .num { font-family: var(--fd); font-weight: 800; font-size: 56px; line-height: 1; color: var(--c); display: block; }
.cardw.step h3 { margin-top: 16px; font-size: 25px; }
.cardp { background: var(--cp); border-radius: 24px; padding: 26px; color: var(--card-text); display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.cardp .ic { width: 50px; height: 50px; border-radius: 999px; background: var(--c); color: var(--on); display: grid; place-items: center; }
.cardp small { font-weight: 700; font-size: 14px; color: var(--cd); }
.cardp h3 { font-size: 26px; color: var(--card-text); }
.cardp p { font-size: 17px; color: var(--card-soft); }
.cardp .more { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 16px; color: var(--card-text); margin-top: auto; }
a.cardp:hover { color: var(--card-text); translate: 0 -3px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
a.cardp { transition: translate .2s ease, box-shadow .2s ease; }

/* Team */
.team { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.person-c { background: #fff; border-radius: 24px; padding: 12px; color: var(--card-text); }
.pc-img { aspect-ratio: 4 / 5; border-radius: 18px; background: var(--cp); overflow: hidden; display: grid; place-items: center; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img .ini { font-family: var(--fd); font-weight: 800; font-size: 48px; color: var(--cd); letter-spacing: -.03em; display: grid; place-items: center; }
.pc-img .ini .icon { opacity: .55; }
.pc-t { padding: 14px 8px 8px; }
.pc-t small { display: block; font-weight: 700; font-size: 13px; color: var(--cd); margin-bottom: 4px; }
.pc-t b { display: block; font-size: 19px; }
.pc-t span { display: block; font-size: 16px; color: var(--card-muted); }
.pc-t p { margin-top: 8px; font-size: 15px; color: var(--card-soft); }
.pc-c { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pc-c a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; background: #f1f2f5; color: var(--card-text); text-decoration: none; font-weight: 700; font-size: 14px; }
.pc-c a:hover { background: var(--cp); }
.filt { display: flex; flex-wrap: wrap; gap: 8px; }
.filt button { padding: 10px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--head); box-shadow: inset 0 0 0 1px var(--line2); font-weight: 700; font-size: 15px; cursor: pointer; }
.filt button.on { background: var(--btn); color: var(--btn-on); box-shadow: none; }

/* Bewertung + Anfrage */
.contact { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.contact-r { flex: 1 1 340px; min-width: 0; display: flex; }
.review { background: #fff6d6; border-radius: 28px; padding: 36px; color: var(--card-text); display: flex; flex-direction: column; width: 100%; }
.review .stars { display: flex; gap: 4px; }
.review h2 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 38px); color: var(--card-text); }
.review p { margin-top: 10px; font-size: 18px; color: var(--card-soft); }
.review-b { margin-top: auto; padding-top: 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.review .qr { width: 108px; height: 108px; background: #fff; border-radius: 14px; padding: 4px; display: block; }
.review .qr svg { width: 100%; height: 100%; display: block; }
.muted-dark { color: #7a5800; font-weight: 600; font-size: 15px; }
.formbox { flex: 999 1 520px; min-width: 0; background: var(--ink); border: 1px solid var(--ink-line); color: #fff; border-radius: 28px; padding: 40px; }
.formbox h2 { font-size: clamp(32px, 3.6vw, 42px); color: #fff; }
.formbox .lead { margin-top: 10px; font-size: 18px; color: #c9ced6; max-width: none; }
.formbox .lead a { color: #fff; font-weight: 700; }
.cform { margin-top: 26px; }
.fg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fl { display: block; }
.fl.w { grid-column: 1 / -1; }
.fl span { display: block; font-weight: 600; font-size: 15px; color: #c9ced6; margin-bottom: 6px; }
.cform input, .cform select, .cform textarea { width: 100%; border: 1px solid #3a404b; border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 17px; background: #1d2129; color: #fff; }
.cform textarea { resize: vertical; min-height: 110px; }
.cform input::placeholder, .cform textarea::placeholder { color: #8b93a1; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.cform .pill { margin-top: 20px; background: #fff; color: #0f1217; }
.freq { margin-top: 10px; font-size: 14px; color: #aab0bb; }
.fnote { margin-top: 16px; font-size: 15px; color: #aab0bb; }
.fnote a { color: #fff; }
.fnote.warn { display: flex; gap: 8px; align-items: flex-start; margin-top: 20px; padding-top: 16px; border-top: 1px solid #2b313b; }
.fnote.warn .icon { margin-top: 2px; color: #ffc61a; }
.fok { margin-top: 20px; padding: 28px; border-radius: 20px; background: rgba(22, 131, 74, .18); border: 1px solid rgba(95, 209, 143, .35); }
.fok .icon { color: #5fd18f; }
.fok h3 { margin-top: 10px; font-size: 28px; color: #fff; }
.fok p { margin-top: 6px; color: #c9ced6; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Unterseiten ---------- */
.phero { padding: 40px 0 0; }
.crumb { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--head); }
.crumb b { color: var(--head); font-weight: 600; }
.phero-g { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; min-height: 500px; }
.phero.slim .phero-g { min-height: 0; padding-top: 28px; }
.phero-t { flex: 999 1 460px; min-width: 0; }
.phero .chip { margin-top: 0; }
.phero h1 { margin-top: 20px; font-size: clamp(40px, 6vw, 70px); }
.phero.slim h1 { margin-top: 0; }
.phero.slim .chip + h1 { margin-top: 20px; }
.phero-v { flex: 1 1 400px; min-width: 0; }
.phero .vis { max-width: 460px; }
.blk { padding: 48px 0; }
.sep + .blk { padding-top: 64px; }
.blk h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 4px; }
.blk .lead { font-size: 19px; }
.rich { font-size: 19px; color: var(--soft); line-height: 1.65; }
.rich > * + * { margin-top: 14px; }
.blk h2 + .rich { margin-top: 16px; }
.rich h3 { margin-top: 30px; font-size: 24px; color: var(--head); }
.rich h4 { font-size: 19px; color: var(--head); }
.rich ul, .rich ol { padding-left: 24px; }
.rich li + li { margin-top: 6px; }
.rich strong, .rich b { color: var(--head); }
.rich mark.hl-yellow { background: rgba(255, 198, 26, .3); color: inherit; padding: 0 3px; border-radius: 4px; }
.rich mark.hl-green { background: rgba(95, 209, 143, .3); color: inherit; padding: 0 3px; border-radius: 4px; }
.rich .rte-btn { display: inline-flex; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--btn); color: var(--btn-on); }
.rich .rte-btn.rte-btn-green { background: #16834a; color: #fff; }
.rich .rte-img { border-radius: 18px; }
.rich .rte-img-s { width: 220px; }
.rich .rte-img-m { width: 420px; }
.rich .rte-img-l { width: 100%; }
.rich .rte-img-left { float: left; margin: 6px 24px 12px 0; }
.rich .rte-img-right { float: right; margin: 6px 0 12px 24px; }
.rich .rte-img-center { margin-left: auto; margin-right: auto; }
.rich::after { content: ""; display: table; clear: both; }
.tbl-wrap { overflow-x: auto; }
.rich table { border-collapse: collapse; width: 100%; font-size: 17px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.rich th { background: var(--surface); color: var(--head); }
.bt { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.bt.rev { flex-direction: row-reverse; }
.bt-img { flex: 1 1 400px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #f4f5f7; }
.bt-img img { width: 100%; height: 100%; object-fit: cover; }
.bt-img .ph { border: 2px dashed #d5d9e0; border-radius: 28px; color: #8b93a1; }
.bt-t { flex: 1 1 420px; min-width: 0; }
.bt.noimg .bt-t { max-width: 860px; }
.two { display: flex; flex-wrap: wrap; gap: 48px; }
.two > div { flex: 1 1 420px; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.tile { background: var(--cp); border-radius: 22px; padding: 22px; }
.tile i { display: block; width: 12px; height: 12px; border-radius: 999px; background: var(--c); }
.tile b { display: block; margin-top: 12px; font-size: 19px; color: var(--card-text); }
.accs { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.acc { background: #fff; border-radius: 20px; color: var(--card-text); }
.acc summary { list-style: none; display: flex; gap: 16px; align-items: center; justify-content: space-between; min-height: 64px; padding: 18px 24px; cursor: pointer; font-size: 19px; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc .pm { width: 36px; height: 36px; border-radius: 999px; background: #f1f2f5; position: relative; flex-shrink: 0; transition: background .2s; }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.6px; border-radius: 2px; background: #0f1217; translate: -50% -50%; }
.acc .pm::after { rotate: 90deg; transition: rotate .2s; }
.acc[open] .pm { background: var(--c, #0f1217); }
.acc[open] .pm::before, .acc[open] .pm::after { background: var(--on, #fff); }
.acc[open] .pm::after { rotate: 0deg; }
.acc-b { padding: 0 24px 22px; font-size: 18px; color: var(--card-soft); }
.acc-b p + p { margin-top: 10px; }
.acc-b .pill { margin-top: 16px; }
.acc.job summary b { font-family: var(--fd); font-weight: 800; font-size: 24px; letter-spacing: -.02em; display: block; }
.acc.job summary small { display: block; font-weight: 600; font-size: 16px; color: var(--card-muted); margin-top: 4px; }
.cta { background: var(--c); color: var(--on); border-radius: 32px; padding: 48px 56px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta > div { flex: 999 1 420px; min-width: 0; }
.cta h2 { color: var(--on); margin: 0; }
.cta p { margin-top: 10px; font-size: 19px; color: var(--on); opacity: .92; }
.cta .pill { background: #fff; color: #0f1217; }
.cta.ink { background: var(--ink); border: 1px solid var(--ink-line); color: #fff; }
.cta.ink h2, .cta.ink p { color: #fff; }
.formrow { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.formtext { flex: 1 1 360px; min-width: 0; }
.formtext .rich { margin-top: 16px; }
.formrow .formbox { flex: 999 1 520px; }
.formrow .formbox .cform { margin-top: 0; }
.formrow .formbox h2 + .cform { margin-top: 22px; }
.person { margin-top: 28px; display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 24px; padding: 18px; color: var(--card-text); }
.person .pp { width: 84px; height: 84px; border-radius: 999px; background: #fdecea; overflow: hidden; display: grid; place-items: center; font-family: var(--fd); font-weight: 800; font-size: 28px; flex-shrink: 0; }
.person .pp img { width: 100%; height: 100%; object-fit: cover; }
.person small { display: block; font-size: 14px; font-weight: 700; color: var(--card-muted); }
.person b { display: block; font-family: var(--fd); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.person a { display: block; color: var(--card-text); font-weight: 600; text-decoration: none; }
.callus { margin-top: 24px; display: flex; gap: 8px; align-items: flex-start; color: var(--soft); font-size: 17px; }
.callus a { color: var(--head); font-weight: 700; }
.callus.warn .icon { color: #ffc61a; margin-top: 3px; }
.infocard { background: #fff; color: var(--card-text); border-radius: 24px; padding: 28px; }
.infocard h2 { font-size: 28px; color: var(--card-text); margin-bottom: 14px; }
.infocard p { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; font-size: 18px; }
.infocard p .icon { color: #16834a; margin-top: 2px; }
.infocard a { color: var(--card-text); font-weight: 700; text-decoration: none; }
.legal { background: #fff; color: #22262e; border-radius: 24px; padding: 44px; }
.legal h3 { color: #0f1217; }
.legal strong, .legal b { color: #0f1217; }
.legal a { color: #1d5fd6; }
.nf h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 6px; }
html[data-theme="light"] .person-c, html[data-theme="light"] .acc, html[data-theme="light"] .infocard, html[data-theme="light"] .legal, html[data-theme="light"] .person { box-shadow: inset 0 0 0 1px var(--card-line); }

/* ---------- Hinweise ---------- */
.flash-wrap { padding-top: 16px; }
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 600; margin-bottom: 12px; background: #e8f0fd; color: #1849a9; }
.alert a { color: inherit; }
.alert-success { background: #e3f4ea; color: #116a3c; }
.alert-error { background: #fdecea; color: #b42318; }
.alert-warning { background: #fff6d6; color: #7a5800; }
.formbox .alert { margin-bottom: 14px; }

/* ---------- Fuß ---------- */
.ftr { background: var(--ftr); color: var(--ftr-text); border-top: 1px solid var(--ftr-line); margin-top: 40px; }
.ftr-g { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; padding-top: 64px; }
.ftr-g > div { flex: 1 1 160px; display: flex; flex-direction: column; gap: 9px; font-size: 16px; }
.ftr-g > .ftr-brand { flex: 1 1 280px; }
.ftr .brand { color: #fff; }
.ftr .brand .bn { font-size: 30px; }
.ftr-brand p { margin-top: 4px; }
.ftr h4 { font-weight: 700; font-size: 15px; color: #fff; }
.ftr a { color: var(--ftr-text); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr-b { margin-top: 44px; padding: 20px 0 28px; border-top: 1px solid var(--ftr-line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 15px; }
.ftr-b div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mbar { display: none; }

/* ---------- Anmeldung (Verwaltung) ---------- */
.plain { min-height: 100vh; }
.login-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.login-box { width: 100%; max-width: 440px; background: #fff; color: #0f1217; border-radius: 24px; padding: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.login-box .brand { color: #0f1217; margin-bottom: 24px; }
.login-box .brand .mark { background: #0f1217; color: #fff; }
.login-box .brand small { color: #5d6470; }
.login-box h1 { color: #0f1217; font-size: 32px; }
.login-box .muted { color: #5d6470; margin-top: 8px; }
.stack-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.stack-form .field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.stack-form input { width: 100%; border: 1px solid #d5d9e0; border-radius: 14px; padding: 13px 15px; font: inherit; font-size: 17px; background: #fff; color: #0f1217; }
.stack-form input:focus { outline: none; border-color: #0f1217; box-shadow: 0 0 0 3px rgba(15, 18, 23, .12); }
.login-box .btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; background: #0f1217; color: #fff; font-weight: 700; font-size: 17px; border: 0; cursor: pointer; text-decoration: none; }
.login-box .btn.wide { width: 100%; }
.login-box .alert { margin-top: 14px; }
.login-alt { margin-top: 16px; text-align: center; }
.login-alt a { color: #1d5fd6; }
.login-foot { margin-top: 20px; color: var(--muted); font-size: 15px; }
.login-foot a { color: var(--muted); }

/* ---------- Bewegung ---------- */
@keyframes fadeUp { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@keyframes spinSlow { to { rotate: 360deg; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 4px; } }
@keyframes reveal { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .vis .orbit { animation: spinSlow 40s linear infinite; }
  .vis .badge { animation: floaty 6s ease-in-out infinite; }
  .nudge { animation: nudge 1.8s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .rv { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Bilder schützen ---------- */
.protect-img img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- Tablet & Handy ---------- */
@media (max-width: 1200px) {
  .burger { display: grid; }
  .hdr-act { margin-left: auto; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand .brand-t { min-width: 0; }
  .brand .bn { flex-wrap: wrap; row-gap: 2px; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: var(--hdr-h, 76px); bottom: 0; margin: 0; padding: 16px 20px 32px; background: var(--bg); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 2px; border-top: 1px solid var(--hdr-line); }
  .nav-open .nav { display: flex; }
  .nav-open { overflow: hidden; }
  .nav { flex-wrap: nowrap; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav > * { flex-shrink: 0; }
  .nav-open .hdr::before { background: var(--bg); }
  .nl, .dd-btn { font-family: var(--fd); font-weight: 800; font-size: 26px; letter-spacing: -.02em; padding: 12px; border-radius: 14px; justify-content: space-between; width: 100%; color: var(--head); }
  .dd-menu { position: static; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .dd-menu a { font-size: 18px; color: var(--soft); }
  .nav-cta { display: inline-flex !important; margin-top: 14px; width: 100%; }
  .nav-cta.nav-tel { margin-top: 8px; }
}
/* Langer Name im Logo: Name darf umbrechen, Telefon im Kopf nur als Symbol */
.hdr.long-brand .brand { flex-shrink: 1; min-width: 0; }
.hdr.long-brand .brand .brand-t { min-width: 0; }
.hdr.long-brand .brand .bn { flex-wrap: wrap; row-gap: 2px; }
@media (min-width: 1201px) {
  .hdr.long-brand .nav { flex-shrink: 0; }
  .hdr.long-brand .hdr-in { column-gap: 20px; }
  .hdr.long-brand .hdr-act .pill.ghost { padding: 11px 13px; }
  .hdr.long-brand .hdr-act .tel-t { display: none; }
}
@media (max-width: 1000px) {
  .hdr-act .pill.ghost { display: none; } /* Telefon steht dann im Menü und unten in der Handy-Leiste */
}
@media (max-width: 900px) {
  .slide, .slide.on { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .slide-v { order: 2; }
  .vis { max-width: 440px; margin: 0 auto; }
  .hero { padding-top: 28px; }
  .phero-g { min-height: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hdr-in { padding-top: 12px; padding-bottom: 12px; }
  .hide-s { display: none !important; }
  .brand .mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand .brand-t { min-width: 0; }
  .brand .bn { flex-wrap: wrap; row-gap: 2px; font-size: clamp(18px, 5.6vw, 22px); line-height: 1.05; }
  .brand.img img { height: 48px; }
  .brand.img.sz-m img { height: 42px; }
  .brand.img.sz-xl img { height: 56px; }
  .brand.img.plate-dark, .brand.img.plate-light { padding: 6px 10px; border-radius: 12px; }
  .ftr .brand.img img { height: 60px; }
  .brand .bn { font-size: 22px; }
  .ht { font-size: 38px; }
  .lead { font-size: 18px; }
  .bts .pill.big { width: 100%; }
  .slide.on .bts { margin-top: 24px; }
  .vis .badge { font-size: 15px; padding: 10px 14px; }
  .vis .photo { border-width: 6px; border-radius: 22px; }
  .sctl { margin-top: 20px; flex-wrap: nowrap; gap: 12px; }
  .stabs { flex: 1 1 auto; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .stab { min-height: 44px; gap: 8px; }
  .stab .lab { font-size: 13px; }
  .stab .lab .tx { display: none; }
  .sbtns .rb:not(.w) { display: none; }
  .rb { width: 46px; height: 46px; }
  .sep { padding-top: 40px; gap: 12px; }
  .sec { padding: 48px 0 32px; }
  .four { margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fc { min-height: 0; padding: 16px; border-radius: 22px; }
  .fc-ic { width: 40px; height: 40px; }
  .fc-ic .icon { width: 20px; height: 20px; }
  .fc-n { display: none; }
  .fc h3 { margin-top: 14px; font-size: 21px; }
  .fc p { font-size: 14px; color: var(--card-soft); }
  .fc-l a { font-size: 15px; padding: 9px 0; }
  .feature-t { padding: 28px 24px; }
  .feature-v img, .feature-v .ph { min-height: 220px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .person-c { padding: 8px; border-radius: 22px; }
  .pc-img { border-radius: 16px; }
  .pc-t { padding: 8px 4px 4px; }
  .pc-t b { font-size: 16px; }
  .pc-t span { font-size: 14px; }
  .pc-t small { font-size: 12px; }
  .review { padding: 24px; }
  .review .qr { display: none; }
  .formbox { padding: 24px; border-radius: 24px; }
  .cform .pill { width: 100%; }
  .fg { grid-template-columns: minmax(0, 1fr); }
  .blk { padding: 36px 0; }
  .sep + .blk { padding-top: 40px; }
  .phero h1 { font-size: clamp(30px, 9vw, 38px); }
  .bt, .two, .formrow { gap: 24px; }
  .bt-img { border-radius: 22px; }
  .tiles { gap: 10px; }
  .tile { padding: 16px; }
  .tile b { font-size: 16px; }
  .cta { padding: 28px 24px; border-radius: 24px; }
  .cta .pill { width: 100%; }
  .legal { padding: 24px; }
  .rich { font-size: 17px; }
  .rich .rte-img-left, .rich .rte-img-right { float: none; margin: 12px 0; }
  .rich .rte-img-m { width: 100%; }
  .acc summary { font-size: 17px; padding: 16px 18px; }
  .acc-b { padding: 0 18px 18px; font-size: 16px; }
  .ftr-g { padding-top: 40px; gap: 24px; }
  .ftr-g > div { flex: 1 1 140px; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--hdr-line); }
  .mbar .pill { flex: 1 1 0; padding: 14px 10px; font-size: 16px; }
  body.site { padding-bottom: 76px; }
  body.plain { padding-bottom: 0; }
}
@media (max-width: 380px) {
  .four { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Wartungsmodus ===== */
.adminbar.mt-on { background: #ffc61a; color: #0f1217; }
.adminbar.mt-on a { color: #0f1217; }
.adminbar .ab-links { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.mt-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; }
.adminbar + .mt-wrap { min-height: calc(100vh - 40px); }
.mt-box { position: relative; width: 100%; max-width: 620px; background: #fff; color: #0f1217; border-radius: 28px; padding: 40px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); overflow: hidden; }
.mt-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #d93a2b 0 25%, #ffc61a 25% 50%, #1d5fd6 50% 75%, #16834a 75%); }
html[data-theme="light"] .mt-box { box-shadow: 0 20px 50px rgba(15, 18, 23, .12); border: 1px solid var(--line); }
.mt-box .brand { color: #0f1217; }
.mt-box .brand .mark { background: #0f1217; color: #fff; }
.mt-box .brand small { color: #5d6470; }
.mt-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 6px 14px; border-radius: 999px; background: #fff4cc; color: #6b4e00; font-weight: 700; font-size: 14px; }
.mt-chip i { width: 9px; height: 9px; border-radius: 50%; background: #e0a800; animation: mtp 1.6s ease-in-out infinite; }
@keyframes mtp { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .mt-chip i { animation: none; } }
.mt-box h1 { color: #0f1217; font-size: clamp(30px, 6vw, 44px); margin-top: 16px; }
.mt-lead { color: #4a4f59; font-size: 18px; margin: 14px 0 0; }
.mt-card { margin-top: 26px; padding: 22px; border-radius: 20px; background: #f4f5f7; display: grid; gap: 12px; }
.mt-name { font-family: var(--fd); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.mt-row { display: flex; gap: 12px; align-items: flex-start; color: #22262e; line-height: 1.45; }
.mt-row a { color: #0f1217; font-weight: 600; text-decoration: none; }
.mt-row a:hover { color: #0f1217; text-decoration: underline; }
.mt-ic { width: 32px; height: 32px; border-radius: 10px; background: #fff; display: grid; place-items: center; flex-shrink: 0; color: #0f1217; margin-top: -5px; }
.mt-bts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mt-btn { flex: 1 1 200px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; background: #0f1217; color: #fff; font-weight: 700; text-decoration: none; }
.mt-btn:hover { color: #fff; background: #2a2f38; }
.mt-btn.ghost { background: transparent; color: #0f1217; box-shadow: inset 0 0 0 2px #0f1217; }
.mt-btn.ghost:hover { background: #0f1217; color: #fff; }
@media (max-width: 560px) { .mt-box { padding: 30px 22px; border-radius: 22px; } }
