/* AIR-Sensation GmbH – Warmes, modernes Design
   Konzept: Viel Weiß, blaue Akzente (#2B4593), einladend und professionell.
   Feinschliff: leicht bläuliche Neutraltöne, kontrastsichere Blau-Stufen,
   Bewegung nach dem Prinzip „schnell reagieren, ruhig ankommen“. */

@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* Neutraltöne mit leichtem Blaustich, passend zum Königsblau */
  --white: #FFFFFF;
  --off-white: #F6F8FC;
  --light-bg: #EBF0F9;
  --lighter-gray: #E1E7F3;
  --border-light: #D9E0EE;

  /* Akzent (Königsblau #2B4593): --accent trägt weiße Schrift (8.8:1), --accent-ink ist Text auf Weiß */
  --accent: #2B4593;
  --accent-hover: #22377A;
  --accent-ink: #2B4593;
  --accent-light: #5C74C2;
  --accent-dark: #1C2E66;
  --accent-pale: #E9EDF7;
  --accent-wash: rgba(43, 69, 147, .07);

  /* Text */
  --text-dark: #1C1A17;
  --text-medium: #45413C;
  --text-light: #645E57;
  --text-lighter: #6E6760;

  /* Akzent für Kälte/Technik */
  --cool-blue: #3A64C0;
  --cool-blue-light: #8FA3E0;

  /* Status */
  --ok: #15803D;
  --over: #B42318;

  --f-display: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --f-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  /* Bewegung */
  --ease: cubic-bezier(.23, 1, .32, 1);          /* ein- und ausblenden */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);  /* Bewegung auf dem Bildschirm */
  --press: 140ms;
  --hover: 200ms;

  /* Tiefe: immer mit Versatz und weicher Unschärfe */
  --shadow-sm: 0 1px 2px rgba(28, 26, 23, .06), 0 2px 6px -2px rgba(28, 26, 23, .06);
  --shadow-md: 0 1px 2px rgba(28, 26, 23, .05), 0 18px 36px -18px rgba(28, 26, 23, .16);
  --shadow-lg: 0 2px 4px rgba(28, 26, 23, .05), 0 32px 60px -24px rgba(28, 26, 23, .22);

  color-scheme: only light; /* „only“: Browser-Dunkelmodus soll die Seite nicht umfärben */
  accent-color: var(--accent);
  scrollbar-color: #CFC7BC var(--off-white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text-dark);
  font: 400 18px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  caret-color: var(--accent); -webkit-tap-highlight-color: transparent;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
::selection { background: #D3DBF0; color: var(--text-dark); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: #C9D1E3; border-radius: 999px; border: 3px solid var(--off-white); }
::-webkit-scrollbar-thumb:hover { background: #A9B4CC; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); display: inline-flex; gap: 12px; align-items: center; }
.label::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }
.h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; color: var(--text-dark); }
.h2 b { font-weight: 600; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--text-light); max-width: 58ch; font-weight: 300; }
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 40px; }
.head--split .lead { padding-bottom: .4em; }

/* ---------- Logo als Maske ---------- */
.logo-mark {
  display: block; background: currentColor;
  -webkit-mask: url("../images/logo.png") center / contain no-repeat;
          mask: url("../images/logo.png") center / contain no-repeat;
}
.wordmark {
  display: block; background: currentColor; aspect-ratio: 1200 / 156;
  -webkit-mask: url("../images/wortmarke.png") center / contain no-repeat;
          mask: url("../images/wortmarke.png") center / contain no-repeat;
}

/* ---------- Kopfzeile ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0); border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--border-light);
  box-shadow: 0 8px 24px -16px rgba(28, 26, 23, .18);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; transition: min-height .3s var(--ease); }
.header.is-scrolled .wrap { min-height: 66px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text-dark); }
.brand .wordmark { width: 240px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; text-decoration: none; color: var(--text-medium); font-size: .95rem; padding: 12px 14px; border-radius: 8px; transition: color var(--hover) ease; }
.nav a:not(.call)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav .call {
  margin-left: 12px; color: var(--white); background: var(--accent); font-family: var(--f-mono); font-size: .8rem;
  letter-spacing: .04em; padding: 12px 18px; border-radius: 999px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 1px 1px rgba(28, 26, 23, .12), 0 6px 14px -6px rgba(43, 69, 147, .55);
  transition: background-color var(--hover) ease, transform var(--press) var(--ease), box-shadow var(--hover) ease;
}
.nav .call:active { transform: scale(.97); }
.nav .insta {
  margin-left: 8px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; flex: none;
  border: 1px solid var(--border-light); border-radius: 50%; background: var(--white); color: var(--text-dark);
  transition: color var(--hover) ease, border-color var(--hover) ease, transform var(--press) var(--ease);
}
.nav .insta svg { width: 20px; height: 20px; }
.nav .insta::after { display: none; }
.nav .insta:active { transform: scale(.94); }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--border-light); border-radius: 50%; background: var(--white); color: var(--text-dark); cursor: pointer; place-items: center; transition: transform var(--press) var(--ease), border-color var(--hover) ease; }
.burger:active { transform: scale(.94); }
/* Drei Striche; offen wird daraus ein X (mittlerer Strich blendet aus) */
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), background-color .2s ease; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background-color: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(92, 116, 194, .32), transparent 60%),
    linear-gradient(160deg, #D9E0F2 0%, #F3F5FB 46%, var(--off-white) 100%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(transparent, rgba(246, 248, 252, .9));
}
.hero-mono {
  position: absolute; right: clamp(28px, 3vw, 56px); top: 50%; width: min(56vw, 760px); transform: translate(var(--px, 0), calc(-50% + var(--py, 0px)));
  z-index: -1; pointer-events: none; transition: transform 1.2s var(--ease);
}
.hero-mono svg { width: 100%; height: auto; overflow: visible; }
.hero-mono path { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: butt; stroke-linejoin: miter; opacity: .7; }
.hero-mono path.ghost { stroke: var(--accent-light); opacity: .16; stroke-width: 12; }
.js .hero-mono path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.6s var(--ease-in-out) forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero .wrap { width: 100%; padding-top: 160px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero .label { color: var(--text-medium); }
.hero .label::before { background: var(--accent); opacity: 1; }
.hero h1 { font-size: clamp(3.2rem, 10vw, 8.8rem); font-weight: 200; letter-spacing: -0.04em; line-height: .94; max-width: 11ch; color: var(--text-dark); }
.hero h1 b { font-weight: 600; color: var(--accent); }
.hero h1 .row { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.18em; }
.hero h1 .row > span { display: inline-block; }
.js .hero h1 .row > span { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
@keyframes rise { from { transform: translateY(105%); } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.hero-foot .lead { color: var(--text-medium); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Knöpfe ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 999px;
  text-decoration: none; font: 500 1rem/1 var(--f-body); letter-spacing: .01em; border: 0; cursor: pointer;
  transition: transform var(--press) var(--ease), background-color var(--hover) ease, color var(--hover) ease, box-shadow var(--hover) ease;
  white-space: nowrap; -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn .arr { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn--copper { background: var(--accent); color: var(--white); box-shadow: 0 1px 1px rgba(28, 26, 23, .14), 0 10px 22px -10px rgba(43, 69, 147, .6); }
.btn--line { background: rgba(255, 255, 255, .6); color: var(--text-dark); box-shadow: inset 0 0 0 1px var(--border-light); }
.btn--dark { background: var(--text-dark); color: var(--white); box-shadow: 0 1px 1px rgba(28, 26, 23, .2), 0 10px 22px -12px rgba(28, 26, 23, .5); }

/* ---------- Laufband ---------- */
.ticker {
  border-block: 1px solid var(--border-light); overflow: hidden; white-space: nowrap; color: var(--text-light); position: relative; background: var(--off-white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: inline-flex; gap: 48px; padding-block: 18px; animation: tick 52s linear infinite; font-size: .95rem; }
.ticker-track span { display: inline-flex; gap: 12px; align-items: center; }
.ticker-track b { color: var(--cool-blue); font-weight: 500; }
.ticker-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); display: inline-block; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Leistungen ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
}
.svc {
  position: relative; background: var(--white); padding: clamp(28px, 3.4vw, 48px); min-height: 420px;
  display: grid; grid-template-rows: auto auto 1fr; gap: 24px; overflow: hidden; isolation: isolate;
  transition: background-color .3s ease;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(92, 116, 194, .10), transparent 60%);
}
.svc-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.svc-top .mono { color: var(--text-light); }
.svc-art { width: 132px; height: 132px; color: var(--accent); transition: transform .8s var(--ease); }
.svc-art svg { width: 100%; height: 100%; overflow: visible; }
.svc-art .fan { transform-origin: 66px 66px; animation: spin 8s linear infinite; }
.svc-art .fan--wp { transform-origin: 46px 66px; animation-duration: 3s; }
.svc-art .flake { transform-origin: 66px 66px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Wärme steigt auf: Striche wandern nach oben und verblassen */
.svc-art .heat { animation: rise-heat 2.4s var(--ease-in-out) infinite both; animation-delay: var(--hd, 0s); }
@keyframes rise-heat {
  0% { transform: translateY(8px); opacity: 0; }
  35%, 60% { opacity: 1; }
  100% { transform: translateY(-10px); opacity: 0; }
}
/* Impulse laufen vom Chip über die Leitungen nach außen */
.svc-art .impulse { stroke-width: 2.6; stroke-dasharray: 18 140; stroke-dashoffset: 18; animation: impulse 2.2s cubic-bezier(.4, 0, .6, 1) infinite; animation-delay: var(--pd, 0s); }
@keyframes impulse { 70%, 100% { stroke-dashoffset: -100; } }
.svc h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -0.02em; color: var(--text-dark); }
.svc p { color: var(--text-light); margin-top: 12px; max-width: 46ch; font-weight: 300; }
.svc .tags { align-self: start; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-medium); border: 1px solid var(--border-light); border-radius: 999px; padding: 6px 12px; background: var(--off-white); transition: border-color .3s ease, background-color .3s ease; }

/* Wärmepumpe als Schwerpunkt über die ganze Breite */
.svc--feature {
  grid-column: 1 / -1; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-rows: auto auto; column-gap: 48px;
  background: linear-gradient(120deg, var(--accent-pale), var(--white) 55%);
}
.svc--feature .svc-top { grid-row: 1 / 3; flex-direction: column; justify-content: space-between; height: 100%; }
.svc--feature .svc-art { width: 180px; height: 180px; color: var(--accent); }
.svc--feature h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.svc--feature .svc-top .mono { color: var(--accent-ink); }

/* ---------- Prüfungen (helle Sektion) ---------- */
.light { background: var(--light-bg); color: var(--text-dark); }
.light .lead { color: var(--text-light); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; perspective: 1400px; }
.check {
  position: relative; background: var(--white); border-radius: 24px; padding: clamp(28px, 3.4vw, 52px);
  display: grid; gap: 28px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-md);
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .4s ease;
}
.check .para {
  font-family: var(--f-display); font-weight: 200; font-size: clamp(5.5rem, 11vw, 9.4rem); line-height: .8; letter-spacing: -0.04em;
  color: var(--text-dark); display: flex; align-items: baseline; gap: .08em; transform: translateZ(40px);
}
.check .para span { color: var(--accent); font-weight: 300; font-size: .62em; letter-spacing: -0.02em; }
.check .act { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.check h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.015em; transform: translateZ(24px); }
.check p { color: var(--text-light); font-weight: 400; }
.check dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 22px; margin: 0; border-top: 1px solid var(--lighter-gray); padding-top: 22px; font-size: .95rem; }
.check dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-lighter); padding-top: 4px; }
.check dd { margin: 0; color: var(--text-dark); }
.check .glare { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(92, 116, 194, .10), transparent 55%); }
.check .btn { justify-self: start; }

/* ---------- Fristenrechner ---------- */
.due {
  margin-top: 24px; background: var(--white); color: var(--text-dark); border-radius: 24px; padding: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: end;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
.due .act { color: var(--accent-ink); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.due h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; margin-top: 10px; }
.due-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.due-out { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 16px 20px; border-radius: 16px; background: var(--off-white); border: 1px solid var(--lighter-gray); }
.due-out .mono { color: var(--text-light); display: block; margin-bottom: 6px; font-size: .72rem; }
.due-out strong { display: block; white-space: nowrap; font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; line-height: 1.35; font-variant-numeric: tabular-nums; transition: color .3s ease; }
.due-out small { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--text-light); }
.due-out [data-s="ok"] { color: var(--ok); } .due-out [data-s="bald"] { color: var(--accent-ink); } .due-out [data-s="over"] { color: var(--over); }
.due-out [data-s]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: .12em; }
.due-note { margin-top: 14px; font-size: .88rem; color: var(--text-light); }

/* ---------- Ablauf ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
/* Zeitleiste als blauer Verlauf */
.flow::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-light) 70%, var(--lighter-gray)); }
.flow li { padding: 32px 28px 0 0; position: relative; }
.flow li::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-mono); font-size: .8rem; color: var(--accent-ink); display: block; margin-bottom: 22px; }
.flow li::after { content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px rgba(43, 69, 147, .25); }
/* Kleine Bilder je Schritt */
.flow-art { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 20px; border-radius: 18px; color: var(--accent);
  background: linear-gradient(145deg, var(--accent-pale), #D9E0F2); box-shadow: inset 0 0 0 1px rgba(43, 69, 147, .1); }
.flow-art svg { width: 38px; height: 38px; overflow: visible; }
.flow-art .wave { animation: flow-wave 2s ease-in-out infinite; }
.flow-art .wave--2 { animation-delay: .25s; }
@keyframes flow-wave { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.flow-art .beat { stroke-dasharray: 40; animation: flow-beat 2.4s linear infinite; }
@keyframes flow-beat { from { stroke-dashoffset: 40; } 60%, to { stroke-dashoffset: 0; } }
.flow-art .tool { transform-origin: 24px 24px; animation: flow-tool 2.6s var(--ease-in-out) infinite; }
@keyframes flow-tool { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-14deg); } 55% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }
.flow-art .tick { stroke-dasharray: 22; animation: flow-tick 2.4s var(--ease-in-out) infinite; }
@keyframes flow-tick { 0%, 10% { stroke-dashoffset: 22; opacity: 0; } 14% { opacity: 1; } 45%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.flow h3 { font-size: 1.45rem; font-weight: 400; margin-bottom: 10px; color: var(--text-dark); }
.flow p { color: var(--text-light); font-weight: 300; font-size: 1rem; max-width: 30ch; }

/* ---------- Referenzen ---------- */
.refs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; perspective: 1600px; }
.ref {
  position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--light-bg);
  aspect-ratio: 4 / 3.2; max-width: 100%; grid-column: span 4; transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .4s ease;
  isolation: isolate; box-shadow: var(--shadow-sm);
}
.ref--lg { grid-column: span 7; aspect-ratio: 16 / 10.4; }
.ref--md { grid-column: span 5; aspect-ratio: auto; }
.ref .media { position: absolute; inset: -6%; transition: transform .8s var(--ease); transform: translate(var(--ix, 0), var(--iy, 0)) scale(1.02); }
.ref img { width: 100%; height: 100%; object-fit: cover; }
.ref .ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(43, 69, 147, .3);
  background: radial-gradient(120% 90% at 30% 20%, var(--lighter-gray), var(--light-bg) 70%); }
.ref .ph svg { width: 46%; max-width: 300px; height: auto; }
.ref figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; justify-content: space-between; align-items: end; gap: 16px;
  padding-top: 90px; background: linear-gradient(rgba(28, 26, 23, 0), rgba(28, 26, 23, .55) 45%, rgba(28, 26, 23, .88)); transform: translateZ(30px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.ref figcaption strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--white); margin-top: 4px; }
.ref figcaption .mono { color: rgba(255, 255, 255, .8); }
.ref .badge { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #D6DEF3; border: 1px solid rgba(92, 116, 194, .6); background: rgba(28, 26, 23, .25); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }

/* ---------- Kunden (alte Liste, falls wieder verwendet) ---------- */
.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--border-light); border-left: 1px solid var(--border-light); }
.client { min-height: 132px; display: grid; place-items: center; border-right: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 20px; color: var(--text-lighter); text-align: center;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; transition: color .3s ease, background-color .3s ease; }
.client img { max-height: 44px; width: auto; filter: grayscale(1) opacity(.62); transition: filter .3s ease; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.sectors span { border: 1px solid var(--border-light); border-radius: 999px; padding: 10px 18px; font-size: .95rem; color: var(--text-light); background: var(--white); }

/* ---------- Notdienst ---------- */
.sos {
  color: var(--white); overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(70% 120% at 0% 100%, var(--accent-dark), transparent 65%), var(--accent);
}
.sos .wrap { padding-block: clamp(64px, 9vw, 128px); display: grid; gap: 28px; }
.sos .label { color: var(--white); }
.sos .num {
  font-family: var(--f-display); font-weight: 200; font-size: clamp(2.6rem, 9vw, 8rem); letter-spacing: -0.04em; line-height: .95;
  text-decoration: none; color: var(--white); display: inline-block; justify-self: start; font-variant-numeric: tabular-nums;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; transition: background-size .6s var(--ease), transform var(--press) var(--ease);
}
.sos .num:active { transform: scale(.985); }
.sos p { font-size: 1.15rem; max-width: 52ch; font-weight: 400; }
/* Ganzes Logo (Zeichen + Wortmarke) rechts, vollständig im Band und klar sichtbar */
.sos-as {
  position: absolute; right: max(4vw, 24px); top: 50%; height: 78%; width: auto; aspect-ratio: 800 / 860;
  color: rgba(214, 222, 243, .78); z-index: -1;
  transform: translate(var(--px, 0), calc(-50% + var(--py, 0px))); transition: transform 1.2s var(--ease);
}
@media (max-width: 900px) {
  .sos-as { right: -12%; height: 70%; color: rgba(214, 222, 243, .3); }
}

/* ---------- Einsatzzeiten ---------- */
.times { border: 1px solid var(--border-light); border-radius: 20px; padding: clamp(20px, 3vw, 40px); display: grid; gap: 18px; background: var(--white); box-shadow: var(--shadow-sm); }
.t-scale { position: relative; height: 18px; margin-left: 110px; font-family: var(--f-mono); font-size: .7rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.t-scale span { position: absolute; transform: translateX(-50%); }
.t-scale span:first-child { transform: none; } .t-scale span:last-child { transform: translateX(-100%); }
.t-row { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 16px; align-items: center; }
.t-row .mono { color: var(--text-dark); }
.t-bar { position: relative; height: 46px; border-radius: 10px; overflow: hidden; background: var(--light-bg); }
.t-bar i { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border-right: 2px solid var(--white); }
.t-bar i:last-child { border-right: 0; }
.t-bar em { font-style: normal; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; white-space: nowrap; padding: 0 8px; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.js .times .t-bar i { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-in-out); }
.js .times.is-in .t-bar i { transform: none; }
.js .times.is-in .t-row:nth-of-type(2) .t-bar i { transition-delay: 60ms; }
.js .times.is-in .t-row:nth-of-type(3) .t-bar i { transition-delay: 120ms; }
.js .times.is-in .t-row:nth-of-type(4) .t-bar i { transition-delay: 180ms; }
.z0 { background: var(--accent); color: var(--white); }
.z50 { background: #A9B6E3; color: var(--text-dark); }
.z100 { background: #141F45; color: var(--white); }
.t-legend { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 6px; margin-left: 110px; font-size: .92rem; color: var(--text-light); }
.t-legend span { display: inline-flex; align-items: center; gap: 10px; }
.t-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* ---------- Marken ---------- */
.brands { border-block: 1px solid var(--border-light); background: var(--off-white); }
.brands .wrap { padding-block: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 40px; align-items: center; }
.brands-head p { color: var(--text-light); margin-top: 14px; font-weight: 300; max-width: 30ch; }
.brand-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.brand-list li {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.6rem); letter-spacing: .12em; color: var(--text-lighter);
  text-align: center; padding: 22px 8px; border-left: 1px solid var(--border-light); transition: transform .3s var(--ease);
}
.brand-list li:first-child { border-left: 0; }
/* Hersteller in ihren Markenfarben */
.brand-list .m-lg { color: #A50034; }
.brand-list .m-daikin { color: #0097E0; }
.brand-list .m-samsung { color: #1428A0; }
.brand-list .m-aermec { color: #E30613; }
.brand-list .m-hitachi { color: #E60027; }

/* ---------- Logos: Kunden & Partner ---------- */
.logo-grid { display: grid; gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: 20px; overflow: hidden; }
.logo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-tile {
  position: relative; background: var(--white); min-height: 200px; padding: 32px 24px 22px; text-decoration: none;
  display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 18px; isolation: isolate; overflow: hidden;
}
.logo-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--off-white); transform: translateY(101%); transition: transform .5s var(--ease); }
.logo-tile:focus-visible { outline-offset: -4px; }
.logo-tile:focus-visible::before { transform: none; }
.logo-tile img { max-width: min(220px, 80%); max-height: 70px; width: auto; height: auto; object-fit: contain;
  mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.logo-tile:focus-visible img { transform: scale(1.04); }
.logo-tile .mono { color: var(--text-lighter); font-size: .72rem; text-align: center; transition: color .3s ease; }
.logo-tile .fallback { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; color: var(--text-dark); letter-spacing: .02em; text-align: center; }

/* ---------- Sponsoring ---------- */
.sponsor { background: var(--off-white); border-block: 1px solid var(--border-light); }
.sponsor .wrap { padding-block: clamp(72px, 9vw, 130px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sponsor-list { display: grid; gap: 14px; perspective: 1200px; }
.sponsor-item {
  display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 22px; align-items: center; text-decoration: none;
  background: var(--white); border: 1px solid var(--border-light); border-radius: 18px; padding: 18px 22px;
  transition: border-color .3s ease, transform .6s var(--ease), box-shadow .3s ease;
}
/* Pfeil als gezeichnetes Icon, gleiche Linie wie in den Knöpfen */
.sponsor-item::after {
  content: ""; width: 20px; height: 20px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.sponsor-item:active { transform: scale(.985); }
.sponsor-item img { width: 136px; height: 72px; object-fit: contain; background: var(--light-bg); border-radius: 14px; padding: 8px; }
.sponsor-item strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; color: var(--text-dark); }
.sponsor-item .mono { color: var(--text-light); }
.fallback--round { width: 136px; height: 72px; border-radius: 14px; background: var(--light-bg); color: var(--accent-ink); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .02em; padding: 8px; line-height: 1.1; font-weight: 500; }

/* ---------- Über uns + Einsatzgebiet ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-lead { color: var(--text-medium); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); margin-top: 48px; border-radius: 20px; overflow: hidden; }
.facts div { background: var(--white); padding: 26px; }
.facts strong { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--text-dark); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.facts span { font-size: .95rem; color: var(--text-light); }
.points { display: grid; gap: 0; border-top: 1px solid var(--border-light); }
.point { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.point .mono { color: var(--accent-ink); padding-top: 6px; }
.point h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: 6px; color: var(--text-dark); }
.point p { color: var(--text-light); font-weight: 300; }
.partner { margin-top: 28px; color: var(--text-light); font-size: .98rem; }
.partner a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: rgba(43, 69, 147, .35); transition: text-decoration-color var(--hover) ease; }

/* ---------- Wer wir sind ---------- */
.who { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.who-photo, .member .media { position: relative; margin: 0; overflow: hidden; background: var(--light-bg); isolation: isolate; }
.who-photo { border-radius: 24px; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); max-height: 760px; }
.who-photo img { object-position: 50% 40%; }
.who-photo figcaption strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.who-photo figcaption .mono { color: rgba(255, 255, 255, .85); }
.who-photo .media, .member .media .ph { position: absolute; inset: 0; }
.who-photo img, .member img { width: 100%; height: 100%; object-fit: cover; }
.who .ph, .member .ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(43, 69, 147, .3);
  background: radial-gradient(120% 90% at 30% 20%, var(--lighter-gray), var(--light-bg) 70%); }
.who .ph svg { width: 52%; max-width: 340px; height: auto; }
.who-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px; display: flex; justify-content: space-between; align-items: end; gap: 16px;
  background: linear-gradient(transparent, rgba(28, 26, 23, .7)); color: rgba(255, 255, 255, .85);
}
.who-photo .badge, .member .badge { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #D6DEF3; border: 1px solid rgba(92, 116, 194, .6); background: rgba(28, 26, 23, .25); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.who-p { margin-top: 18px; color: var(--text-light); font-weight: 300; max-width: 58ch; }
.who-facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 12px 40px; border-top: 1px solid var(--border-light); padding-top: 22px; }
.who-facts dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-lighter); }
.who-facts dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 1.2rem; color: var(--text-dark); }
.team { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.member .media { border-radius: 20px; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); transition: box-shadow .4s ease; }
.member .media .badge { position: absolute; left: 14px; bottom: 14px; color: var(--accent-ink); background: rgba(255, 255, 255, .85); border-color: rgba(43, 69, 147, .3); }
.member .media .ph svg { width: 46%; height: auto; }
.member img { transition: transform .8s var(--ease); }
.member strong { display: block; margin-top: 16px; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--text-dark); }
.member .mono { display: block; margin-top: 4px; color: var(--text-light); font-size: .72rem; }
@media (hover: hover) and (pointer: fine) {
  .member:hover .media { box-shadow: var(--shadow-lg); }
  .member:hover img { transform: scale(1.04); }
}
@media (max-width: 1080px) {
  .who { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .who-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .team { gap: 14px; }
  .member strong { font-size: 1.1rem; }
  .who-photo figcaption { padding: 18px; flex-wrap: wrap; }
}

.map { margin-top: 56px; border: 1px solid var(--border-light); border-radius: 20px; padding: 24px; position: relative; overflow: hidden; background: var(--off-white); }
.map svg { width: 100%; height: auto; display: block; }
.map .legende text { font-family: var(--f-mono); font-size: 17px; letter-spacing: .1em; fill: var(--text-light); }
.map .legende-ein { fill: rgba(43, 69, 147, .13); stroke: #2B4593; stroke-width: 1.2; }
.map .pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.c-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--border-light); }
.c-list li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-light); align-items: baseline; }
.c-list .mono { color: var(--text-lighter); }
.c-list a { text-decoration: none; font-size: 1.2rem; color: var(--text-dark); font-variant-numeric: tabular-nums; transition: color var(--hover) ease; }
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--border-light); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-md); align-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: grid; min-width: 0; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--border-light); background: transparent; color: var(--text-dark);
  font: 400 1.1rem/1.4 var(--f-body); padding: 28px 0 12px; border-radius: 0; transition: border-color .25s ease, box-shadow .25s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1A17' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 28px; text-overflow: ellipsis; cursor: pointer; }
.field input[type="date"] { cursor: text; font-variant-numeric: tabular-nums; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; transition: opacity var(--hover) ease; }
.field input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 0; top: 30px; color: var(--text-light); font-size: 1.05rem; pointer-events: none; transition: transform .25s var(--ease), font-size .25s var(--ease), color .25s ease; transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.fixed label { transform: translateY(-24px); font-size: .74rem; color: var(--accent-ink); font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.form-note { font-size: .88rem; color: var(--text-light); }
.form-status { font-weight: 500; min-height: 1.4em; color: var(--accent-ink); }

/* ---------- Rechtliches & Footer ---------- */
.legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.legal h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: 20px; color: var(--text-dark); }
.legal h3 { font-size: 1.05rem; font-weight: 500; margin: 26px 0 6px; color: var(--text-dark); }
.legal p, .legal dl { color: var(--text-light); font-size: .96rem; font-weight: 300; max-width: 68ch; }
.legal dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; margin: 0; }
.legal dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-lighter); padding-top: 4px; }
.legal dd { margin: 0; color: var(--text-dark); }
.todo { background: rgba(43, 69, 147, .12); color: var(--accent-dark); padding: 0 6px; border-radius: 4px; }

.footer { overflow: hidden; color: var(--white);
  background: radial-gradient(70% 120% at 0% 100%, var(--accent-dark), transparent 65%), var(--accent); }
.footer .wrap { padding-block: 64px 32px; display: grid; gap: 56px; }
.footer-big { color: #D6DEF3; width: 100%; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; color: rgba(255, 255, 255, .82); font-size: .9rem; }
.footer-row a { text-decoration: none; color: var(--white); transition: color var(--hover) ease; }
.footer-row nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Datenschutz-Hinweis ---------- */
.privacy-note {
  position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 520px; margin-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--border-light); border-radius: 18px; padding: 14px 14px 14px 18px; color: var(--text-medium); font-size: .9rem; line-height: 1.45;
  box-shadow: var(--shadow-lg); animation: noteIn .5s var(--ease) both .8s;
}
.privacy-note svg { width: 26px; height: 26px; color: var(--accent); }
.privacy-note strong { color: var(--text-dark); font-weight: 500; }
.privacy-note a { color: var(--accent-ink); }
.privacy-note button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--text-dark); color: var(--white); font: 500 .9rem/1 var(--f-body); cursor: pointer; transition: transform var(--press) var(--ease), background-color var(--hover) ease; }
.privacy-note button:active { transform: scale(.97); }
.privacy-note.is-out { animation: noteOut .2s var(--ease) forwards; }
@keyframes noteIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes noteOut { to { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Einblenden ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px); filter: blur(4px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Hover nur mit Maus (kein „klebender“ Hover auf Touch) ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--text-dark); }
  .nav a:not(.call):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav .call:hover { color: var(--white); background: var(--accent-hover); }
  .nav .insta:hover { color: var(--accent); border-color: var(--accent); }
  .burger:hover { border-color: var(--text-lighter); }
  .btn:hover .arr { transform: translateX(4px); }
  .btn--copper:hover { background: var(--accent-hover); }
  .btn--line:hover { box-shadow: inset 0 0 0 1px var(--text-dark); background: var(--white); }
  .btn--dark:hover { background: #34302B; }
  .svc:hover::before { opacity: 1; }
  .svc:hover .svc-art { transform: translate(var(--ax, 0), var(--ay, 0)) rotate(var(--ar, 0deg)); }
  .svc:hover .svc-art .fan { animation-duration: 2.4s; }
  .svc:hover .tags li { border-color: #D8CFC4; }
  .check:hover { box-shadow: var(--shadow-lg); }
  .check:hover .glare { opacity: 1; }
  .ref:hover { box-shadow: var(--shadow-lg); }
  .ref:hover .media { transform: translate(var(--ix, 0), var(--iy, 0)) scale(1.07); }
  .client:hover { color: var(--text-dark); background: var(--off-white); }
  .client:hover img { filter: none; }
  .sos .num:hover { background-size: 100% 2px; }
  .brand-list li:hover { transform: scale(1.06); }
  .logo-tile:hover::before { transform: none; }
  .logo-tile:hover img { transform: scale(1.04); }
  .logo-tile:hover .mono { color: var(--text-light); }
  .sponsor-item:hover { border-color: rgba(43, 69, 147, .45); box-shadow: 0 2px 4px rgba(28, 26, 23, .04), 0 16px 32px -18px rgba(43, 69, 147, .35); }
  .sponsor-item:hover::after { transform: translateX(4px); }
  .partner a:hover { text-decoration-color: currentColor; }
  .c-list a:hover { color: var(--accent-ink); }
  .footer-row a:hover { color: #D6DEF3; text-decoration: underline; }
  .privacy-note button:hover { background: #34302B; }
  .field input:hover:not(:focus), .field textarea:hover:not(:focus), .field select:hover:not(:focus) { border-color: #CFC7BC; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .head--split, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .flow::before { display: none; }
  .flow li { border-top: 2px solid var(--accent-light); }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ref, .ref--lg, .ref--md { grid-column: span 6; aspect-ratio: 4 / 3.2; }
  .ref--lg { grid-column: span 12; aspect-ratio: 16 / 9; }
  .due { grid-template-columns: minmax(0, 1fr); }
  .brands .wrap { grid-template-columns: minmax(0, 1fr); }
  .logo-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor .wrap { grid-template-columns: minmax(0, 1fr); }
}
/* Menü-Taste schon ab 1180px: Logo + 6 Links + Nummer + Instagram brauchen ~1150px */
@media (max-width: 1180px) {
  .burger { display: grid; }
  /* Offenes Menü: Milchglas aus, sonst wird das fixe Menü in die Kopfzeile eingesperrt */
  .header.menu-open { background: var(--white); border-bottom-color: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* Menü liegt vorne (kein negativer z-index: Safari leitet Tipps sonst an die Seite dahinter weiter);
     nur Logo und X-Taste liegen noch darüber */
  .header .brand, .burger { position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; top: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    background: var(--white); padding: 96px var(--gutter-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
  /* mittig, solange alles passt; sonst oben beginnen und scrollbar */
  .nav > a:first-child { margin-top: auto; }
  .nav > a:last-child { margin-bottom: auto; }
  .menu-open .privacy-note { display: none; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--f-display); font-size: clamp(1.8rem, 4.2vh, 2.4rem); font-weight: 300; color: var(--text-dark); padding: 6px 0; flex: none;
    opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease), color var(--hover) ease; }
  .nav a:not(.call)::after { display: none; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: 30ms; }
  .nav.is-open a:nth-child(3) { transition-delay: 60ms; }
  .nav.is-open a:nth-child(4) { transition-delay: 90ms; }
  .nav.is-open a:nth-child(5) { transition-delay: 120ms; }
  .nav.is-open a:nth-child(6) { transition-delay: 150ms; }
  .nav.is-open a:nth-child(7) { transition-delay: 180ms; }
  .nav .call { margin: 28px 0 0; font-size: .95rem; padding: 16px 22px; }
  .nav.is-open a:nth-child(8) { transition-delay: 210ms; }
  .nav .insta { margin: 14px 0 0; width: 52px; height: 52px; padding: 0; }
  .nav .insta svg { width: 24px; height: 24px; }
}
@media (max-width: 900px) {
  .t-bar em { font-size: .66rem; letter-spacing: 0; padding: 0 4px; }
  .header .wrap, .header.is-scrolled .wrap { min-height: 70px; }
  .services, .checks { grid-template-columns: minmax(0, 1fr); }
  /* AS ganz im Bild, auch das S */
  .hero-mono { width: 84vw; right: 4vw; opacity: .35; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .svc--feature { grid-template-columns: minmax(0, 1fr); }
  .svc--feature .svc-top { grid-row: auto; flex-direction: row; }
  .svc--feature .svc-art { width: 110px; height: 110px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .brand .wordmark { width: 150px; }
  .hero h1 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .svc { min-height: 0; }
  .svc-art { width: 96px; height: 96px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  /* Handy: Zeitleiste senkrecht links */
  .flow::before { display: block; top: 6px; bottom: 0; left: 5px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--accent), var(--accent-light) 70%, var(--lighter-gray)); }
  .flow li { border-top: 0; padding: 0 0 0 38px; }
  .flow li::after { top: 0; }
  .refs { gap: 14px; }
  .ref, .ref--lg, .ref--md { grid-column: span 12; aspect-ratio: 4 / 3.4; }
  .ref figcaption { padding: 20px; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .c-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts div { padding: 20px; }
  .check .para { font-size: 5rem; }
  .due-in, .due-out { grid-template-columns: minmax(0, 1fr); }
  .t-scale, .t-legend { margin-left: 0; }
  .t-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .t-bar em { display: none; }
  /* Am Handy nur Beschriftungen, die in ihren Balken passen */
  .t-row:nth-of-type(2) .t-bar i.z0 em, .t-row:nth-of-type(4) .t-bar em, .t-row:nth-of-type(3) .t-bar em { display: block; }
  .t-row .t-bar em.t-stack { display: flex; flex-direction: column; align-items: center; line-height: 1.15; font-size: .64rem; padding: 0 2px; }
  .t-bis { display: none; }
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-list li { border-left: 0; border-top: 1px solid var(--border-light); }
  .logo-grid--3, .logo-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .logo-tile { min-height: 150px; }
  .sponsor-item { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .sponsor-item::after { display: none; }
  .sponsor-item img { width: 96px; height: 52px; }
  .sponsor-item strong { font-size: 1.12rem; }
  .fallback--round { width: 96px; height: 52px; font-size: .74rem; }
  .form { padding: 22px 18px; border-radius: 20px; }
  .privacy-note { grid-template-columns: 24px minmax(0, 1fr); right: 0; }
  .privacy-note button { grid-column: 1 / -1; }
}

/* Weniger Bewegung: keine Wege und Neigungen, nur sanftes Ein- und Ausblenden */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .js .times .t-bar i { transform: none; }
  .nav a { transform: none !important; }
  .ticker-track { animation: none; }
  .svc-art .heat { animation: none; }
  .svc-art .impulse { display: none; }
  .flow-art .wave, .flow-art .beat, .flow-art .tool, .flow-art .tick { animation: none; opacity: 1; stroke-dashoffset: 0; }
}
