/* =========================================================
   Immer Gebäudereinigung — Design System
   ========================================================= */

@font-face {
  font-family: 'Inter var';
  src: url('../fonts/inter.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo var';
  src: url('../fonts/archivo.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --font-sans: 'Inter var', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Archivo var', 'Inter var', ui-sans-serif, system-ui, sans-serif;

  --brand: #de0000;
  --brand-ink: #b8000c;      /* AA-tauglich auf Weiß */
  --brand-soft: #fff1f1;
  --accent: #0090ba;
  --accent-ink: #00708f;

  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --ink: #0e1218;
  --ink-2: #39414f;
  --muted: #5b6575;
  --line: #e2e6ec;
  --line-strong: #cbd2dc;

  --shadow-sm: 0 1px 2px rgba(14, 18, 24, .06), 0 1px 3px rgba(14, 18, 24, .05);
  --shadow-md: 0 4px 12px rgba(14, 18, 24, .07), 0 12px 28px rgba(14, 18, 24, .06);
  --shadow-lg: 0 10px 24px rgba(14, 18, 24, .09), 0 32px 64px rgba(14, 18, 24, .10);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --pad: clamp(1.15rem, 4.5vw, 2.5rem);
  --maxw: 1220px;
  --sec-y: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --header-h: 74px;
  color-scheme: light;
}

html[data-theme='dark'] {
  --brand: #ff5252;
  --brand-ink: #ff6b6b;
  --brand-soft: #2a1114;
  --accent: #35b8dd;
  --accent-ink: #58c9e9;

  --bg: #0a0d12;
  --bg-alt: #0f131a;
  --surface: #12171f;
  --surface-2: #171d26;
  --ink: #f2f5f9;
  --ink-2: #c6cedb;
  --muted: #98a3b4;
  --line: #232b36;
  --line-strong: #333d4b;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .45), 0 14px 34px rgba(0, 0, 0, .4);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, .5), 0 32px 64px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}
body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: 'cv05' 1, 'ss03' 1;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.022em;
  font-weight: 700;
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* ---------- Focus & a11y ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: .8rem 1.2rem; border-radius: var(--r-sm); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec-y); position: relative; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--brand); border-radius: 2px;
}
.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(1.95rem, 1.2rem + 3.2vw, 3.35rem);
  margin-top: .85rem;
}
.section-head p { margin-top: 1.1rem; font-size: 1.06em; color: var(--muted); }
.accent { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: 100px;
  font-weight: 620; letter-spacing: -.01em; line-height: 1.2;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn--brand { --btn-bg: var(--brand); --btn-bd: var(--brand); --btn-fg: #fff; }
html[data-theme='dark'] .btn--brand { --btn-fg: #16070a; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 620; color: var(--brand-ink);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-bottom-color: currentColor; gap: .75rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.header.is-stuck::before { opacity: 1; }
.header.is-stuck { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; padding: .3rem 0; }
.brand__mark { width: 44px; height: auto; color: var(--brand); flex: none; }
.brand__text { display: grid; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem;
  letter-spacing: -.03em; color: var(--ink); text-transform: uppercase;
}
.brand__sub { font-size: .655rem; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative; padding: .55rem .8rem; border-radius: 100px;
  font-size: .95rem; font-weight: 550; color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 50%; bottom: .28rem; translate: -50% 0;
  width: 0; height: 2px; border-radius: 2px; background: var(--brand);
  transition: width .28s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current='true']::after { width: 18px; }
.nav a[aria-current='true'] { color: var(--ink); font-weight: 640; }

.header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.header__actions .btn { white-space: nowrap; }
.header .wrap { min-width: 0; }
.brand { min-width: 0; }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--line);
  color: var(--ink); background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: border-color .22s var(--ease), background-color .22s var(--ease), transform .22s var(--ease-out);
}
.icon-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.theme-toggle .sun { display: none; }
html[data-theme='dark'] .theme-toggle .sun { display: block; }
html[data-theme='dark'] .theme-toggle .moon { display: none; }

.burger { display: none; position: relative; }
.burger span {
  position: absolute; top: 50%; left: 50%;
  width: 18px; height: 2px; margin: -1px 0 0 -9px;
  border-radius: 2px; background: currentColor;
  transition: transform .38s var(--ease-out), opacity .18s var(--ease);
}
.burger span:nth-child(1) { transform: translateY(-5.5px); }
.burger span:nth-child(3) { transform: translateY(5.5px); }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg);
  padding: calc(var(--header-h) + 1.5rem) var(--pad) 2rem;
  display: flex; flex-direction: column; gap: .35rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .32s var(--ease-out), visibility .28s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a.drawer__link {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink);
  padding: .75rem 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(12px);
}
.drawer.is-open a.drawer__link { animation: drawerIn .45s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 60ms); }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
.drawer__foot { margin-top: auto; padding-top: 1.75rem; display: grid; gap: .75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(70ch 52ch at 88% -12%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%),
    radial-gradient(58ch 44ch at -6% 8%, color-mix(in srgb, var(--brand) 11%, transparent), transparent 60%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
}
.hero__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
.hero h1 {
  font-size: clamp(2.35rem, 1.1rem + 5.4vw, 4.5rem);
  margin-top: 1.15rem;
  letter-spacing: -.035em;
}
.hero h1 .u {
  background-image: linear-gradient(transparent 62%, color-mix(in srgb, var(--brand) 26%, transparent) 0);
  background-repeat: no-repeat; background-size: 0 100%;
  transition: background-size 1.1s var(--ease-out) .35s;
}
.hero.is-ready h1 .u { background-size: 100% 100%; }
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.02rem, .98rem + .35vw, 1.24rem); color: var(--muted); max-width: 52ch; }
.hero .btn-row { margin-top: 2rem; }

.trustbar { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.trustbar li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); font-weight: 520; }
.trustbar svg { color: var(--brand); flex: none; }

/* Hero media composition */
.hero__media { position: relative; }
.hero__shot {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--surface-2);
  aspect-ratio: 3 / 2;
}
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(0,0,0,.28));
}
.hero__inset {
  position: absolute; left: -6%; bottom: -12%; width: 47%;
  border-radius: var(--r-lg); overflow: hidden;
  border: 6px solid var(--bg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; right: -4%; top: -5%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: .85rem 1.1rem; display: flex; gap: .75rem; align-items: center;
}
.hero__badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.hero__badge span { font-size: .78rem; color: var(--muted); line-height: 1.25; display: block; }
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line); background: var(--surface);
  overflow: hidden; padding-block: .9rem;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide var(--marquee-dur, 42s) linear infinite; will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
.marquee ul { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.marquee li {
  display: flex; align-items: center; gap: .6rem; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: -.01em; color: var(--muted);
}
.marquee li svg { color: var(--brand); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.quote {
  position: relative; margin-top: 2rem; padding: 1.75rem 1.75rem 1.75rem 2.35rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: ''; position: absolute; left: 0; top: 1.25rem; bottom: 1.25rem; width: 4px;
  border-radius: 4px; background: var(--brand);
}
.quote p { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); color: var(--ink); font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-size: .9rem; color: var(--muted); }

.factgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.factgrid div { background: var(--surface); padding: clamp(1.2rem, 3vw, 1.9rem); }
.factgrid dt { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 620; }
.factgrid dd { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); color: var(--ink); font-weight: 750; letter-spacing: -.03em; margin-top: .3rem; line-height: 1; }
.factgrid dd small { display: block; font-family: var(--font-sans); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: .45rem; line-height: 1.4; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--surface) 88%, transparent) 0%, transparent 42%); }
.card__icon {
  position: absolute; z-index: 2; left: .9rem; bottom: .9rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: var(--brand); color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease-out);
}
html[data-theme='dark'] .card__icon { color: #16070a; }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card__body { padding: 1.4rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body h3 { font-size: 1.16rem; letter-spacing: -.02em; }
.card__body p { font-size: .935rem; color: var(--muted); line-height: 1.6; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); position: relative; }
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step:last-child::before { right: 50%; }
.step:first-child::before { left: 50%; }
.steps .step:first-child:last-child::before { display: none; }
.step__num {
  position: absolute; top: 0; left: 0; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-display); font-size: .85rem; font-weight: 750;
  box-shadow: 0 0 0 5px var(--bg-alt);
}
html[data-theme='dark'] .step__num { color: #16070a; }
.step h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.step p { font-size: .945rem; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.feature { display: flex; gap: 1rem; }
.feature__ico {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}
.feature h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.feature p { font-size: .945rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.75rem);
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center;
}
html[data-theme='dark'] .cta-band { background: var(--surface-2); border: 1px solid var(--line); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem); }
html[data-theme='dark'] .cta-band h2 { color: var(--ink); }
.cta-band p { margin-top: .85rem; color: rgba(255, 255, 255, .72); max-width: 52ch; }
html[data-theme='dark'] .cta-band p { color: var(--muted); }
.cta-band__deco {
  position: absolute; right: -70px; bottom: -60px;
  width: 320px; color: var(--brand); opacity: .13; pointer-events: none;
}
.cta-band .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.cta-band .btn--ghost:hover { --btn-bd: #fff; }
html[data-theme='dark'] .cta-band .btn--ghost { --btn-fg: var(--ink); --btn-bd: var(--line-strong); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.35rem, 3.2vw, 2.25rem); box-shadow: var(--shadow-sm); }

.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field label { font-size: .875rem; font-weight: 620; color: var(--ink); }
.field .req { color: var(--brand-ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: .82rem .95rem; min-height: 48px;
  background: var(--bg); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field .hint { font-size: .8rem; color: var(--muted); }
.field .err { font-size: .82rem; color: var(--brand-ink); font-weight: 560; min-height: 0; }
.field[data-invalid='true'] input, .field[data-invalid='true'] textarea { border-color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }

.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin: .25rem 0 1.25rem; }
.check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--brand); margin-top: .15rem; }
.check label { font-size: .875rem; color: var(--muted); font-weight: 450; line-height: 1.5; }
.check a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }

.form-status { margin-top: 1rem; font-size: .93rem; font-weight: 560; }
.form-status[data-state='ok'] { color: var(--accent-ink); }
.form-status[data-state='err'] { color: var(--brand-ink); }

.contact-list { display: grid; gap: .25rem; }
.contact-list a, .contact-list div.ci {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .85rem .6rem; border-radius: var(--r-sm);
  transition: background-color .2s var(--ease);
}
.contact-list a:hover { background: var(--surface-2); }
.contact-list .ci__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); color: var(--brand); border: 1px solid var(--line); }
.contact-list .ci__k { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 620; margin-bottom: .15rem; }
.contact-list .ci__v { display: block; font-weight: 600; color: var(--ink); font-size: 1.02rem; letter-spacing: -.01em; }

.map-box { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.map-box iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-consent { padding: clamp(1.25rem, 3vw, 2rem); text-align: center; display: grid; gap: .9rem; place-items: center; }
.map-consent p { font-size: .9rem; color: var(--muted); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 60rem; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 650; color: var(--ink); font-size: 1.04rem;
  letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; color: var(--brand); transition: transform .3s var(--ease-out); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .faq__panel { overflow: hidden; will-change: height; }
.faq .faq__body { padding: 0 1.25rem 1.25rem; color: var(--muted); font-size: .96rem; }
.faq summary:hover { background: var(--surface-2); }
.faq details[open] summary { color: var(--brand-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 4.5rem) 1.75rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }
.footer h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-sans); font-weight: 700; }
.footer li + li { margin-top: .5rem; }
.footer a { color: var(--ink-2); font-size: .95rem; transition: color .2s var(--ease); }
.footer a:hover { color: var(--brand-ink); }
.footer__about p { font-size: .93rem; color: var(--muted); margin-top: 1rem; max-width: 34ch; }
.footer__bottom {
  margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .875rem; color: var(--muted);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)); }
.legal__head { max-width: 70ch; margin-bottom: clamp(2rem, 5vw, 3rem); }
.legal__head h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.4rem); margin-top: .8rem; }
.legal__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.legal__toc h2 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.legal__toc a { display: block; padding: .4rem .7rem; border-left: 2px solid var(--line); font-size: .9rem; color: var(--muted); transition: color .2s, border-color .2s; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--brand-ink); border-left-color: var(--brand); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); margin-top: 2.75rem; margin-bottom: .9rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; font-size: .975rem; color: var(--ink-2); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.35rem; margin-bottom: .45rem; }
.prose ul li::before { content: ''; position: absolute; left: .25rem; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 1.75rem; margin-bottom: .45rem; counter-increment: n; }
.prose ol li::before { content: counter(n) '.'; position: absolute; left: 0; color: var(--brand-ink); font-weight: 700; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 640; }
.prose .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.prose .box p:last-child { margin-bottom: 0; }
.prose address { font-style: normal; }

/* ---------- Cookie consent ---------- */
.cc-backdrop {
  position: fixed; inset: 0; z-index: 150; background: rgba(6, 9, 14, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.cc-backdrop.is-open { opacity: 1; visibility: visible; }
.cc {
  position: fixed; z-index: 151; left: 50%; bottom: 0; translate: -50% 0;
  width: min(720px, 100%);
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  max-height: 88svh; overflow-y: auto;
  transform: translateY(105%); transition: transform .45s var(--ease-out);
}
.cc.is-open { transform: translateY(0); }
.cc h2 { font-size: 1.25rem; margin-bottom: .6rem; display: flex; align-items: center; gap: .6rem; }
.cc h2 svg { color: var(--brand); flex: none; }
.cc p { font-size: .925rem; color: var(--muted); }
.cc p a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.cc__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.cc__actions .btn { flex: 1 1 auto; }
.cc__details { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: .75rem; }
.cc__details[hidden] { display: none; }
.cc-opt { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.cc-opt strong { color: var(--ink); font-size: .96rem; }
.cc-opt p { grid-column: 1 / -1; font-size: .85rem; }

/* Switch */
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; border-radius: 100px; background: var(--line-strong); transition: background-color .25s var(--ease); pointer-events: none; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease-out); pointer-events: none; }
.switch input:checked ~ .track { background: var(--brand); }
.switch input:checked ~ .thumb { transform: translateX(20px); }
.switch input:disabled ~ .track { opacity: .55; }
.switch input:focus-visible ~ .track { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Progress bar / back to top ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--brand); z-index: 99; width: 0; transition: width .1s linear; }
.totop {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease-out), visibility .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .75s var(--ease-out), transform .85s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal-l { opacity: 0; transform: translateX(-26px); }
.reveal-l.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal-s { opacity: 0; transform: scale(.96); }
.reveal-s.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .legal__layout { grid-template-columns: 1fr; }
  .legal__toc { position: static; display: none; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__inset { width: 42%; left: -2%; bottom: -8%; border-width: 5px; }
  .hero__badge { right: 0; top: -4%; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__deco { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::before { display: none; }
}

@media (max-width: 700px) {
  .header__actions .btn--sm { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .factgrid { grid-template-columns: 1fr; }
  .hero__media { display: grid; grid-template-columns: 1.15fr 1fr; gap: .7rem; align-items: stretch; }
  .hero__shot { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .hero__inset { position: static; width: auto; border: 0; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 11; border-radius: var(--r-md); }
  .hero__badge { position: static; justify-content: center; }
  .btn-row .btn { flex: 1 1 100%; }
  .cc { border-radius: var(--r-md) var(--r-md) 0 0; }
  .cc__actions .btn { flex: 1 1 100%; }
  .brand__mark { width: 38px; }
  .brand__name { font-size: 1rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-l, .reveal-s { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .hero h1 .u { background-size: 100% 100%; }
}

@media print {
  .header, .drawer, .cc, .cc-backdrop, .totop, .progress, .marquee, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding-block: 1.5rem; }
}

/* =========================================================
   Touch-Slider (Rails) – mobil nebeneinander statt untereinander
   ========================================================= */
.rail-wrap { position: relative; }

.rail-nav { display: none; }
.rail-nav button {
  width: 26px; height: 26px; padding: 0; border: 0; background: none;
  display: grid; place-items: center; border-radius: 50%;
}
.rail-nav button::before {
  content: ''; width: 8px; height: 8px; border-radius: 100px;
  background: var(--line-strong);
  transition: width .32s var(--ease-out), background-color .28s var(--ease);
}
.rail-nav button[aria-current='true']::before { width: 22px; background: var(--brand); }

@media (max-width: 860px) {
  .rail {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    padding-inline: var(--pad);
    margin-inline: calc(var(--pad) * -1);
    padding-bottom: .4rem;
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * {
    flex: 0 0 min(78%, 330px);
    scroll-snap-align: start;
    min-width: 0;
  }
  /* Prozess-Schritte etwas schmaler, Feature-Karten mit Rahmen */
  .rail.steps > * { flex-basis: min(70%, 300px); padding-top: 2.4rem; }
  .rail.features > * {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 1.25rem; box-shadow: var(--shadow-sm);
    flex-direction: column; gap: .85rem;
  }
  /* Kartentext im Slider kürzen – die Details stehen auf der Unterseite */
  .rail.cards .card__body p {
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .rail-nav { display: flex; gap: .1rem; justify-content: center; margin-top: 1.15rem; }

  /* Verlauf am rechten Rand als Hinweis, dass es weitergeht */
  .rail-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 2.5rem; right: calc(var(--pad) * -1);
    width: 3.25rem; pointer-events: none; z-index: 3;
    background: linear-gradient(to left, var(--bg) 12%, transparent);
    opacity: 1; transition: opacity .3s var(--ease);
  }
  .section--alt .rail-wrap::after { background: linear-gradient(to left, var(--bg-alt) 12%, transparent); }
  .rail-wrap.is-end::after { opacity: 0; }
  .rail:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--r-md); }
}

/* =========================================================
   Leistungs-Detailseiten
   ========================================================= */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--brand-ink); }
.crumbs svg { opacity: .55; flex: none; }
.crumbs [aria-current='page'] { color: var(--ink); font-weight: 560; }

.svc-hero { padding-top: calc(var(--header-h) + clamp(1.75rem, 4.5vw, 3rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.svc-hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(62ch 44ch at 92% -18%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%),
    radial-gradient(52ch 38ch at -8% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%);
}
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.svc-hero h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 3.7rem); letter-spacing: -.035em; margin-top: 1rem; }
.svc-hero__lead { margin-top: 1.25rem; font-size: clamp(1.02rem, .98rem + .35vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.svc-hero .btn-row { margin-top: 1.9rem; }
.svc-figure { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--surface-2); }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-figure__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--brand); color: #fff; border-radius: 100px;
  padding: .5rem .95rem; font-weight: 620; font-size: .9rem; box-shadow: var(--shadow-md);
}
html[data-theme='dark'] .svc-figure__tag { color: #16070a; }

.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }

.checklist { display: grid; gap: .8rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: .99rem; }
.checklist li svg { flex: none; margin-top: .3em; color: var(--brand); }
.checklist li strong { color: var(--ink); font-weight: 640; }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.svc-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.svc-tile h3 { font-size: 1.02rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .55rem; }
.svc-tile h3 svg { color: var(--brand); flex: none; }
.svc-tile p { font-size: .93rem; color: var(--muted); }

.quickfacts dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 620; }
.quickfacts dd { font-weight: 600; color: var(--ink); margin: .15rem 0 .95rem; font-size: .98rem; }
.quickfacts dd:last-child { margin-bottom: 0; }

/* Weitere Leistungen – Slider */
.more { position: relative; }
.more__head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.more__ctrl { display: flex; gap: .5rem; }
.more__ctrl button:disabled { opacity: .35; cursor: default; }
.more__ctrl button:disabled:hover { transform: none; border-color: var(--line); }

.more__rail {
  display: flex; gap: clamp(1rem, 2vw, 1.4rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding-inline: var(--pad); margin-inline: calc(var(--pad) * -1);
  padding-bottom: .5rem; scrollbar-width: none;
}
.more__rail::-webkit-scrollbar { display: none; }
.more__rail > * { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
.more__rail:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--r-md); }
.more .rail-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 2.5rem; right: calc(var(--pad) * -1);
  width: 3.5rem; pointer-events: none; z-index: 3;
  background: linear-gradient(to left, var(--bg-alt) 12%, transparent);
  transition: opacity .3s var(--ease);
}
.more .rail-wrap.is-end::after { opacity: 0; }

.mini {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
.mini:hover, .mini:focus-within { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.mini__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); position: relative; }
.mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mini:hover .mini__media img { transform: scale(1.06); }
.mini__ico {
  position: absolute; left: .8rem; bottom: .8rem; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 11px; background: var(--brand); color: #fff; box-shadow: var(--shadow-md);
}
html[data-theme='dark'] .mini__ico { color: #16070a; }
.mini__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.mini__body h3 { font-size: 1.05rem; }
.mini__body p { font-size: .9rem; color: var(--muted); }
.mini__body .link-arrow { margin-top: auto; padding-top: .6rem; font-size: .92rem; }

/* Karte komplett klickbar, Link bleibt fokussierbar */
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }

@media (max-width: 1080px) {
  .svc-body { grid-template-columns: 1fr; }
  .svc-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .svc-hero__grid { grid-template-columns: 1fr; }
  .svc-hero__media { order: -1; }
  .svc-figure { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-aside { grid-template-columns: 1fr; }
}

/* Sehr lange Wörter, E-Mail-Adressen und Paragraphenketten sicher umbrechen */
.prose, .prose p, .prose li, .prose address, .prose a,
.legal__head p, .cc p, .contact-list .ci__v { overflow-wrap: anywhere; }
.prose, .legal__head p { hyphens: auto; }

/* Lange deutsche Komposita in Überschriften sauber umbrechen */
:where(h1, h2, h3, h4) { overflow-wrap: break-word; hyphens: auto; }
.legal__head h1 { font-size: clamp(1.75rem, 1.1rem + 3.1vw, 3.4rem); }
.svc-hero h1 { font-size: clamp(1.85rem, 1.05rem + 3.9vw, 3.7rem); }
@media (max-width: 380px) {
  .brand__sub { letter-spacing: .12em; font-size: .6rem; }
  .brand__name { font-size: .95rem; }
}

/* Fußzeile: Urheberrecht + Credit */
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }
.made-by { display: inline-flex; align-items: center; gap: .34rem; white-space: nowrap; }
.made-by svg { color: var(--brand); flex: none; }
.made-by a {
  font-weight: 700; color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--brand) 50%, transparent);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.made-by a:hover { color: var(--brand-ink); text-decoration-color: currentColor; }
