
:root {
  --orange: #ff6600;           
  --orange-hell: #ff8a3d;
  --orange-text: #b84600;      
  --orange-zart: #fff1e7;
  --navy: #1d415e;             
  --grau-marke: #666479;

  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);

  --night: #0a0c0f;
  --night-2: #12161b;
  --night-3: #1a2027;
  --night-line: rgba(255, 255, 255, .09);
  --night-text: #f5f5f7;
  --night-muted: #8f9ba8;

  --nass-1: #0b2a5b;
  --nass-2: #1565c0;
  --nass-3: #29b6f6;
  --neutral: #e9edf2;
  --trocken: #ff6600;
  --warm: #ffb27a;
  --ok: #2fbf71;
  --warnung: #ffb020;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1120px;
  --max-breit: 1320px;
  --rand: 20px;
  --abschnitt: clamp(80px, 16vw, 168px);
  --r-gross: 28px;
  --r: 18px;
  --r-klein: 12px;
  --kopf: 56px;           
  --sicher-unten: env(safe-area-inset-bottom, 0px);
  --sicher-links: env(safe-area-inset-left, 0px);
  --sicher-rechts: env(safe-area-inset-right, 0px);

  --feder: cubic-bezier(.32, .72, 0, 1);      
  --sanft: cubic-bezier(.2, .8, .2, 1);       
  --dauer: .5s;

  --schatten-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .02);
  --schatten-2: 0 18px 50px rgba(0, 0, 0, .10);
  color-scheme: light;
}

@media (min-width: 768px) { :root { --rand: 32px; --kopf: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 12px); }
html.js:not(.scroll-weich):has(> head > script[src*="js/main.js"]) { scroll-behavior: auto; }
body {
  font: 17px/1.5 var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
html { overflow-x: clip; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[data-sprungziel]:focus { outline: none; }  
::selection { background: var(--orange); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springe { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; transition: top .2s; }
.springe:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.wrap-breit { width: 100%; max-width: calc(var(--max-breit) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.wrap, .wrap-breit { padding-left: max(var(--rand), var(--sicher-links)); padding-right: max(var(--rand), var(--sicher-rechts)); }
.abschnitt { padding-block: var(--abschnitt); position: relative; }
.abschnitt--dunkel { background: var(--night); color: var(--night-text); color-scheme: dark; }
.abschnitt--grau { background: var(--bg-2); }

.eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: var(--orange-text); letter-spacing: -.005em; margin-bottom: 12px; }
.abschnitt--dunkel .eyebrow { color: var(--orange-hell); }
.anzeige { font-size: clamp(44px, 11.5vw, 104px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.titel { font-size: clamp(34px, 7.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.titel-m { font-size: clamp(26px, 5.2vw, 40px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.untertitel { font-size: clamp(21px, 4.4vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.lead { font-size: clamp(18px, 3.9vw, 23px); line-height: 1.42; letter-spacing: -.012em; color: var(--muted); max-width: 40ch; }
.abschnitt--dunkel .lead { color: var(--night-muted); }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: 0; }
.klein { font-size: 14px; line-height: 1.45; color: var(--muted); }
.abschnitt--dunkel .klein { color: var(--night-muted); }
.akzent { color: var(--orange); }
.kopf-abschnitt { max-width: 760px; margin-bottom: clamp(36px, 7vw, 64px); }
.kopf-abschnitt .lead { margin-top: 16px; }
.zentriert { text-align: center; margin-inline: auto; }
.zentriert .lead { margin-inline: auto; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

.knopf {
  --k-bg: var(--orange); --k-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 980px; background: var(--k-bg); color: var(--k-fg);
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .12s ease-out, background-color .2s, box-shadow .2s, color .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.knopf:hover { --k-bg: #ff7518; }
.knopf:active { transform: scale(.97); }
.knopf--zweit { --k-bg: rgba(0, 0, 0, .06); --k-fg: var(--ink); }
.knopf--zweit:hover { --k-bg: rgba(0, 0, 0, .09); }
.abschnitt--dunkel .knopf--zweit { --k-bg: rgba(255, 255, 255, .1); --k-fg: #fff; }
.knopf--dunkel { --k-bg: var(--ink); --k-fg: #fff; }
.knopf--dunkel:hover { --k-bg: #000; }
.knopf--gross { min-height: 56px; padding: 0 30px; font-size: 18px; }
.knopf--klein { min-height: 36px; padding: 0 16px; font-size: 15px; }
.knopf svg { width: 18px; height: 18px; flex: none; }
.pfeil-link { display: inline-flex; align-items: center; gap: 4px; color: var(--orange-text); font-weight: 600; }
.pfeil-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; transition: transform .2s var(--sanft); }
.pfeil-link:hover::after { transform: translateX(3px) rotate(45deg); }
.abschnitt--dunkel .pfeil-link { color: var(--orange-hell); }

.karte { background: var(--card); border-radius: var(--r-gross); box-shadow: var(--schatten-1); overflow: hidden; }
.abschnitt--dunkel .karte { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 980px; background: var(--bg-2); font-size: 15px; font-weight: 500; }
.abschnitt--dunkel .chip { background: var(--night-3); }

.kopfzeile {
  --kz-bg: rgba(251, 251, 253, .72); --kz-linie: var(--line); --kz-text: var(--ink-2); --kz-aktiv: var(--ink); --kz-strich: var(--ink); --kz-logo: 0;
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--kopf);
  background: var(--kz-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .3s, background-color .35s;
}
.kopfzeile--dunkel {
  --kz-bg: rgba(14, 17, 21, .72); --kz-linie: var(--night-line); --kz-text: var(--night-muted); --kz-aktiv: #fff; --kz-strich: #f5f5f7; --kz-logo: 1;
}
:root:has(main > .abschnitt--dunkel:first-of-type) .kopfzeile:not(.ist-gescrollt) {
  --kz-bg: rgba(14, 17, 21, .72); --kz-linie: var(--night-line); --kz-text: var(--night-muted); --kz-aktiv: #fff; --kz-strich: #f5f5f7; --kz-logo: 1;
}
.kopfzeile.ist-gescrollt { box-shadow: 0 1px 0 var(--kz-linie); }
.kopfzeile .logo { display: inline-flex; min-height: 44px; align-items: center; position: relative; }
.kopfzeile .logo .logo-hell { position: absolute; left: 0; opacity: var(--kz-logo); }
.kopfzeile .logo .logo-dunkel { opacity: calc(1 - var(--kz-logo)); }
.kopfzeile .logo img { transition: opacity .3s; }
.kopfzeile .wrap-breit { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kopfzeile .logo img { height: 28px; width: auto; }
.kopfzeile nav ul { display: none; list-style: none; gap: 28px; font-size: 14px; color: var(--kz-text); }
.kopfzeile nav a { transition: color .2s; }
.kopfzeile nav a:hover, .kopfzeile nav a[aria-current="true"] { color: var(--kz-aktiv); }  
.kopfzeile .rechts { display: flex; align-items: center; gap: 8px; }
.kopfzeile .tel-klein { display: none; font-size: 14px; font-weight: 600; color: var(--kz-text); font-feature-settings: "tnum" 1; }
.menue-knopf { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; border-radius: 50%; }
.menue-knopf span { position: relative; width: 18px; height: 2px; background: var(--kz-strich, var(--ink)); border-radius: 2px; transition: background .2s; }
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--kz-strich, var(--ink)); border-radius: 2px; transition: transform .35s var(--feder); }
html:not(.js) .menue-knopf { display: none; }
.menue-knopf span::before { transform: translateY(-6px); }
.menue-knopf span::after { transform: translateY(6px); }
.menue-offen .menue-knopf span { background: transparent; }
.menue-offen .menue-knopf span::before { transform: rotate(45deg); }
.menue-offen .menue-knopf span::after { transform: rotate(-45deg); }
@media (min-width: 980px) {
  .kopfzeile nav ul { display: flex; }
  .kopfzeile .tel-klein { display: inline; }
  .menue-knopf { display: none; }
}

.menue {
  position: fixed; inset: var(--kopf) 0 auto 0; z-index: 49; background: rgba(251, 251, 253, .96);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 12px var(--rand) 28px; transform: translateY(-12px); opacity: 0; visibility: hidden;
  padding-left: max(var(--rand), var(--sicher-links)); padding-right: max(var(--rand), var(--sicher-rechts));  
  transition: transform .45s var(--feder), opacity .3s, visibility 0s .45s; box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
}
.menue-offen .menue { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--feder), opacity .25s, visibility 0s; }
.menue ul { list-style: none; }
.menue li a { display: block; padding: 14px 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.menue .menue-aktion { display: grid; gap: 10px; margin-top: 22px; }
.menue-schleier { position: fixed; inset: 0; z-index: 48; background: rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.menue-offen .menue-schleier { opacity: 1; visibility: visible; transition: opacity .3s; }

.aktionsleiste {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--sicher-unten)); z-index: 45;
  left: max(10px, var(--sicher-links)); right: max(10px, var(--sicher-rechts));  
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgba(251, 251, 253, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .16), inset 0 0 0 1px rgba(255, 255, 255, .6);
  transform: translateY(140%); transition: transform .5s var(--feder), visibility 0s .5s;
  visibility: hidden;  
}
.aktionsleiste.ist-sichtbar { transform: none; visibility: visible; transition: transform .5s var(--feder), visibility 0s; }
.aktionsleiste .knopf { min-height: 50px; padding: 0 12px; font-size: 16px; }
@media (min-width: 980px) { .aktionsleiste { display: none; } }
@media (max-width: 979px) { :root:has(.aktionsleiste.ist-sichtbar) { scroll-padding-bottom: calc(84px + var(--sicher-unten)); } }

.blatt-schleier { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .34); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.blatt {
  position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 85vh; max-height: 92svh; overflow: auto; overscroll-behavior: contain;
  background: var(--card); color: var(--ink); border-radius: var(--r-gross) var(--r-gross) 0 0;
  transform: translateY(105%); visibility: hidden; transition: transform .5s var(--feder), visibility 0s .5s;
  padding-bottom: var(--sicher-unten);
}
.blatt-kopf {
  position: sticky; top: 0; z-index: 2; height: 52px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  touch-action: none; cursor: grab; margin-bottom: -52px;
}
.blatt-griff { width: 40px; height: 5px; border-radius: 5px; background: rgba(0, 0, 0, .2); }
.blatt.ist-offen { transform: none; visibility: visible; transition: transform .5s var(--feder), visibility 0s; }
.blatt.ist-offen + .blatt-schleier, .blatt-schleier.ist-offen { opacity: 1; visibility: visible; transition: opacity .35s; }
.blatt-zu { position: absolute; top: 4px; right: 6px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; }
.blatt-zu::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: rgba(0, 0, 0, .07); transition: background .2s; }
.blatt-zu:hover::before { background: rgba(0, 0, 0, .12); }
.blatt-zu svg { position: relative; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.blatt-innen { padding: 56px var(--rand) 32px; }
@media (min-width: 768px) {
  .blatt { left: 50%; right: auto; bottom: 50%; width: min(720px, 92vw); border-radius: var(--r-gross); transform: translate(-50%, calc(50% + 40px)) scale(.98); opacity: 0;
    transition: transform .5s var(--feder), opacity .3s, visibility 0s .5s; max-height: 86vh; }
  .blatt.ist-offen { transform: translate(-50%, 50%); opacity: 1; transition: transform .5s var(--feder), opacity .25s, visibility 0s; }
  .blatt-griff { display: none; }
  .blatt-kopf { cursor: default; touch-action: auto; }
  .blatt-innen { padding: 56px 40px 40px; }
}
html.blatt-aktiv, html.menue-offen { overflow: hidden; }

.js .zeige { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--sanft), transform .9s var(--sanft); transition-delay: var(--verz, 0s); }
.js .zeige.ist-da { opacity: 1; transform: none; }

.fuss { background: var(--bg-2); color: var(--muted); font-size: 14px; padding: 56px 0 calc(110px + var(--sicher-unten)); }
.fuss .raster { display: grid; gap: 28px; grid-template-columns: 1fr; }
.fuss h2 { font-size: 13px; color: var(--ink); font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.fuss ul { list-style: none; display: grid; gap: 0; }
.fuss li a, .fuss p a { display: inline-block; padding: 10px 0; min-height: 44px; }  
.fuss a:hover { color: var(--ink); }
.fuss-zeiten { margin: 10px 0 13px; font-size: 13px; line-height: 1.45; }
.fuss .unten { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12px; }
.fuss .unten a { display: inline-block; padding-block: 13px; margin-block: -13px; }
.fuss .unten a[aria-current="page"] { color: var(--ink); }
@media (min-width: 768px) { .fuss .raster { grid-template-columns: 2fr 1fr 1fr 1fr; } .fuss { padding-bottom: 56px; } }

.entwurf-band { font-size: 12px; text-align: center; padding: 6px var(--rand); background: var(--ink); color: #d2d2d7; }
.entwurf-band a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .zeige { opacity: 1; transform: none; transition: none; }
  .menue, .blatt, .aktionsleiste { transition-duration: .01s !important; }
  .menue, .menue-offen .menue, .blatt, .blatt.ist-offen, .aktionsleiste, .aktionsleiste.ist-sichtbar { transition-property: transform, opacity !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .kopfzeile, .menue, .aktionsleiste { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (forced-colors: active) {
  .knopf:not(:focus-visible) { outline: 2px solid ButtonText; outline-offset: -2px; }
}

.kopfzeile .knopf--klein { position: relative; }
.kopfzeile .knopf--klein::after { content: ""; position: absolute; inset: -5px -2px; }
.kopfzeile .knopf--klein { transition: opacity .3s, visibility .3s, transform .12s ease-out, background-color .2s, box-shadow .2s, color .2s; }
.kopfzeile .tel-klein { transition: transform .3s; }
@media (max-width: 979px) {
  :root:has(.aktionsleiste.ist-sichtbar) .kopfzeile .knopf--klein { opacity: 0; visibility: hidden; }
}

@media (max-width: 359px) {
  :root { --rand: 16px; }
  .kopfzeile .wrap-breit { gap: 8px; }
  .kopfzeile .logo img { height: 24px; }
  .kopfzeile .knopf--klein { padding: 0 12px; font-size: 14px; }
  .aktionsleiste .knopf { font-size: 15px; padding: 0 8px; }
}
@media (max-width: 299.98px) { .js .kopfzeile .knopf--klein { display: none; } }

@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

@media print {
  html, body { background: #fff; }
  .kopfzeile { position: static; height: auto; padding-block: 6px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .kopfzeile .logo .logo-hell { display: none; }
  .kopfzeile .logo .logo-dunkel { opacity: 1; }
  .kopfzeile nav, .kopfzeile .menue-knopf, .kopfzeile .knopf--klein, .menue, .menue-schleier, .aktionsleiste, .springe, .blatt, .blatt-schleier { display: none !important; }
  .kopfzeile .tel-klein { display: inline; color: var(--ink); }
  .js .zeige { opacity: 1 !important; transform: none !important; transition: none !important; }
  .m-villa { height: auto !important; break-inside: avoid; }
  .m-villa .film-buehne { position: relative !important; height: 120mm !important; }
  .js .m-schnitt__bahn { height: auto !important; }
  .js .m-schnitt__buehne { position: relative !important; top: auto !important; height: 120mm !important; }
  .js .m-fall .m-fall-buehne { grid-template-rows: auto auto !important; }
  .js .m-fall .m-fall-szene { height: auto !important; grid-template: auto auto / minmax(0, 1fr) !important; }
  .js .m-fall .m-fall-zeit { grid-area: 1 / 1 !important; padding: 0 !important; }
  .js .m-fall .m-fall-dokspalte { grid-area: 2 / 1 !important; position: relative !important; top: auto !important; height: auto !important; }
  .abschnitt { padding-block: 40px; }
  .karte, .m-leistungen__kachel, .m-team-karte, .m-faq details, figure, img { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .js .m-zielgruppen .zg-schalter, .m-leistungen__geraete-steuerung, .m-team-filter, .m-team-geister, .m-team-fuss { display: none !important; }
  .js .m-zielgruppen .zg-baender { display: block !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
  .js .m-zielgruppen .zg-panel + .zg-panel { margin-top: 10mm !important; }
  .m-zielgruppen .zg-panel { break-inside: avoid; }
  .m-zielgruppen .zg-buehne { aspect-ratio: 16 / 6 !important; }  
  .m-leistungen__schiene, .m-team-band { flex-wrap: wrap !important; overflow: visible !important; }
  .m-leistungen__geraet { flex: 0 0 calc(50% - 7px) !important; opacity: 1 !important; transform: none !important; break-inside: avoid; }
  .m-team-band > .m-team-karte { flex: 0 0 calc((100% - 2 * var(--luecke, 14px)) / 3) !important; }
  #mm-karte { display: none !important; }
  .m-melden__kopf { break-inside: avoid; }
  .abschnitt--dunkel, .m-melden { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .knopf, .m-leistungen__geraet--beratung .m-leistungen__geraet-karte, .m-fall-wb figcaption, .m-team-vorn figcaption, .m-team-takt .mono { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .kopf-abschnitt, .m-schnitt__kopf, .m-reichweite__kopf { break-inside: avoid; }
}
