/* ==========================================================================
   iason AG – Startseite
   Farben aus dem Logo: Cyan #01B7E7, Orange #F6A800, Schwarz
   Schrift: Manrope (lokal eingebunden – keine externen Font-Server)
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marke */
  --brand-cyan: #01b7e7;
  --brand-orange: #f6a800;
  --brand-ink: #0a0f14;

  /* Light Theme */
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #eef3f6;
  --surface-ink: #0c151c;
  --text: #0e1820;
  --text-muted: #4a5965;
  --text-faint: #6b7a86;
  --line: rgba(14, 24, 32, 0.1);
  --line-strong: rgba(14, 24, 32, 0.18);
  --accent: #01b7e7;        /* Flächen, Buttons (mit dunklem Text) */
  --accent-hover: #00a3d0;
  --accent-text: #00698c;   /* Cyan als Textfarbe – 5,6:1 auf Weiß */
  --accent-soft: rgba(1, 183, 231, 0.1);
  --on-accent: #06121a;
  --warm: #f6a800;
  --warm-text: #8a5a00;
  --shadow-sm: 0 1px 2px rgba(10, 30, 45, 0.06), 0 1px 1px rgba(10, 30, 45, 0.04);
  --shadow-md: 0 6px 20px -6px rgba(10, 30, 45, 0.14), 0 2px 6px rgba(10, 30, 45, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(10, 30, 45, 0.22);
  --header-bg: rgba(247, 249, 251, 0.82);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --text-hero: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a1117;
  --surface: #101a22;
  --surface-2: #15212b;
  --surface-ink: #060b0f;
  --text: #e8eff4;
  --text-muted: #a3b2bd;
  --text-faint: #8696a2;
  --line: rgba(232, 239, 244, 0.1);
  --line-strong: rgba(232, 239, 244, 0.18);
  --accent: #1cc0ed;
  --accent-hover: #4dcff2;
  --accent-text: #4fd0f3;
  --accent-soft: rgba(28, 192, 237, 0.12);
  --on-accent: #041017;
  --warm-text: #ffbf3d;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(10, 17, 23, 0.8);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent-text); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

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

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: .75rem 1rem;
  border-radius: var(--radius-md); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Platzhalter-Markierung: deutlich sichtbar, damit echte Daten nachgetragen werden */
.ph {
  background: rgba(246, 168, 0, 0.18);
  outline: 1px dashed rgba(246, 168, 0, 0.9);
  outline-offset: 1px;
  border-radius: 3px;
  padding: 0 .2em;
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: ""; width: .5rem; height: .5rem; background: var(--warm);
  transform: rotate(45deg); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px currentColor;
}
.section-title { font-size: var(--text-xl); font-weight: 750; margin-top: .9rem; max-width: 22ch; }
.section-lead { color: var(--text-muted); max-width: 60ch; margin-top: 1rem; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--split { display: grid; gap: 1.25rem; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; } .section-head--split .section-lead { margin-top: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--surface); --_fg: var(--text); --_bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font-size: var(--text-sm); font-weight: 700; line-height: 1.2; text-decoration: none;
  color: var(--_fg); background: var(--_bg); border: 1px solid var(--_bd);
  border-radius: var(--radius-md); cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { --_bg: var(--accent); --_fg: var(--on-accent); --_bd: transparent; }
.btn--primary:hover { --_bg: var(--accent-hover); }
.btn--ghost { --_bg: transparent; }
.btn--ghost:hover { --_bg: var(--surface); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: var(--radius-sm); }
.brand img { height: 34px; width: auto; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }

.main-nav { margin-left: auto; display: none; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; white-space: nowrap;
  font-size: var(--text-sm); font-weight: 600; color: var(--text-muted); text-decoration: none;
  border-radius: var(--radius-sm); transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--text); background: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-md);
  color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--surface); border-color: var(--line-strong); }
.icon-btn .icon { width: 20px; height: 20px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.header-cta { display: none; white-space: nowrap; }
.nav-toggle .i-x { display: none; }
.nav-toggle[aria-expanded="true"] .i-x { display: block; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }

.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 90;
  background: var(--bg); padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto; display: none;
}
.mobile-nav.is-open { display: block; animation: fadeDown .3s var(--ease); }
.mobile-nav ul { display: grid; gap: .25rem; }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 0 .25rem; font-size: 1.25rem; font-weight: 700;
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 1.5rem; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1240px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 85%, transparent) 45%, transparent 100%);
}
.hero-inner { padding-block: clamp(4.5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem); min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: var(--text-hero); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch; margin-top: 1.25rem; }
.hero h1 .accent-word { color: var(--accent-text); }
.hero-sub { font-size: var(--text-lg); color: var(--text-muted); max-width: 52ch; margin-top: 1.5rem; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; font-size: var(--text-sm); color: var(--text-muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta .icon { color: var(--accent-text); width: 1.1em; height: 1.1em; }

/* ---------- Vertrauensleiste ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: grid; gap: 2rem; padding-block: 2rem; }
.trust-label { font-size: var(--text-xs); font-weight: 600; color: var(--text-faint); letter-spacing: .08em; text-transform: uppercase; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin-top: .9rem; }
.partner {
  font-weight: 750; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text-muted);
  opacity: .85; transition: opacity .2s, color .2s;
}
.partner:hover { opacity: 1; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { border-left: 1px solid var(--line); padding-left: 1rem; }
.stat-value { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: var(--text-xs); color: var(--text-muted); margin-top: .35rem; line-height: 1.4; }
@media (min-width: 960px) {
  .trust-inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 3rem; }
}

/* ---------- Leistungen ---------- */
.services-grid { display: grid; gap: 1rem; }
@media (min-width: 680px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.5rem; text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-icon { width: 34px; height: 34px; color: var(--accent-text); stroke-width: 1.5; }
.service-num { font-size: var(--text-xs); font-weight: 700; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.service-card h3 { font-size: var(--text-lg); font-weight: 750; margin-top: 1.5rem; }
.service-tags { font-size: var(--text-xs); color: var(--text-faint); font-weight: 600; margin-top: .4rem; }
.service-card p { color: var(--text-muted); font-size: var(--text-sm); margin-top: .9rem; }
.service-benefit {
  display: flex; gap: .55rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: var(--text-sm); font-weight: 600; color: var(--text);
}
.service-benefit .icon { color: var(--warm-text); margin-top: .2em; width: 1.05em; height: 1.05em; }
.service-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.25rem;
  font-size: var(--text-sm); font-weight: 700; color: var(--accent-text);
}
.service-link .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.service-card:hover .service-link .icon { transform: translateX(4px); }

/* ---------- Warum wir ---------- */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } .why-intro { position: sticky; top: 110px; align-self: start; } }
.why-list { display: grid; gap: 0; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.why-item { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.why-item .icon { width: 28px; height: 28px; color: var(--accent-text); stroke-width: 1.5; }
.why-item h3 { font-size: var(--text-lg); font-weight: 750; margin-top: 1rem; }
.why-item p { color: var(--text-muted); font-size: var(--text-sm); margin-top: .5rem; }
.why-quote {
  margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--surface-2); font-size: var(--text-sm); color: var(--text-muted);
}
.why-quote strong { color: var(--text); display: block; font-size: var(--text-base); margin-bottom: .35rem; }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 0 2.25rem 3.5rem; }
.step::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px;
  background: linear-gradient(var(--line-strong), var(--line-strong)) no-repeat;
}
.step:last-child::before { display: none; }
.step-marker {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px;
  display: grid; place-items: center;
}
.step-marker::before {
  content: ""; position: absolute; inset: 5px; transform: rotate(45deg);
  background: var(--bg); border: 2px solid var(--accent); border-radius: 3px;
  transition: background-color .4s var(--ease);
}
.step-marker span { position: relative; font-size: .75rem; font-weight: 800; color: var(--text); }
.step.is-visible .step-marker::before { background: var(--accent); }
.step.is-visible .step-marker span { color: var(--on-accent); }
.step h3 { font-size: var(--text-lg); font-weight: 750; padding-top: .1rem; }
.step-time { font-size: var(--text-xs); font-weight: 700; color: var(--warm-text); letter-spacing: .06em; text-transform: uppercase; margin-top: .3rem; }
.step p { color: var(--text-muted); font-size: var(--text-sm); margin-top: .6rem; max-width: 38ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .step { padding: 3.5rem 0 0 0; }
  .step::before { left: 34px; right: -2rem; top: 15px; bottom: auto; width: auto; height: 2px; }
  .step:last-child::before { display: none; }
}

/* ---------- Referenzen ---------- */
.testimonials { background: var(--surface-2); }
.slider { position: relative; }
.slides { position: relative; display: grid; }
.slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote { margin: 0; }
.slide-quote {
  font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem); font-weight: 600; line-height: 1.4;
  letter-spacing: -0.015em; max-width: 34ch; color: var(--text);
}
.slide-quote::before { content: "„"; color: var(--accent-text); }
.slide-quote::after { content: "“"; color: var(--accent-text); }
.slide-author { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
  background: var(--surface); color: var(--accent-text); border: 1px solid var(--line);
}
.slide-author cite { font-style: normal; font-weight: 750; display: block; width: fit-content; }
.slide-author span { font-size: var(--text-sm); color: var(--text-muted); }
.slide-author cite span { font-size: var(--text-base); color: var(--text); }
.slider-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.slider-dots { display: flex; gap: .25rem; }
.slider-dot {
  width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer;
  display: grid; place-items: center;
}
.slider-dot::before {
  content: ""; width: 10px; height: 10px; transform: rotate(45deg); border-radius: 2px;
  border: 1.5px solid var(--text-faint); transition: background-color .2s, border-color .2s;
}
.slider-dot[aria-current="true"]::before { background: var(--accent); border-color: var(--accent); }
.testi-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .testi-grid { grid-template-columns: 0.75fr 1.25fr; gap: 4rem; align-items: start; } }

/* ---------- Support ---------- */
.support { background: var(--surface-ink); color: #e8eff4; position: relative; overflow: hidden; }
.support .eyebrow { color: #4fd0f3; }
.support .eyebrow::before { box-shadow: 0 0 0 2px var(--surface-ink), 0 0 0 3.5px #4fd0f3; }
.support .section-lead { color: #a8b7c2; }
.support-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .support-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.support-card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color .3s, background-color .3s;
}
.support-card:hover { border-color: rgba(79, 208, 243, 0.45); background: rgba(255, 255, 255, 0.06); }
.support-card > .icon { width: 30px; height: 30px; color: #4fd0f3; stroke-width: 1.5; }
.support-card h3 { font-size: var(--text-lg); font-weight: 750; margin-top: .5rem; color: #fff; }
.support-card p { font-size: var(--text-sm); color: #a8b7c2; }
.support-card .btn { margin-top: auto; align-self: flex-start; }
.support-card .btn--onDark { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.25); }
.support-card .btn--onDark:hover { --_bg: rgba(255,255,255,.08); }
.support-card .btn--primary { --_bg: #1cc0ed; --_fg: #041017; }
.hotline { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.hotline:hover { color: #4fd0f3; }
.support-note { margin-top: 2rem; font-size: var(--text-sm); color: #a8b7c2; display: flex; gap: .6rem; align-items: flex-start; }
.support-note .icon { color: #ffbf3d; margin-top: .2em; }
.support .ph { color: #fff; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-xl); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; left: -0.75rem; bottom: -1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-md); display: flex; gap: .85rem; align-items: center;
  max-width: 290px;
}
@media (min-width: 960px) { .about-badge { left: -1.5rem; } }
.about-badge .icon { color: var(--accent-text); width: 28px; height: 28px; }
.about-badge strong { display: block; font-size: var(--text-sm); }
.about-badge span { font-size: var(--text-xs); color: var(--text-muted); }
.about-text p + p { margin-top: 1rem; }
.about-text p { color: var(--text-muted); }
.about-values { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip { font-size: var(--text-xs); font-weight: 700; padding: .45rem .8rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }

  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--surface-2), color-mix(in srgb, var(--accent) 14%, var(--surface-2)));
  border: 1px dashed color-mix(in srgb, var(--warm) 70%, transparent);
  display: grid; place-items: center;
}
  width: 72px; height: 72px; display: grid; place-items: center; position: relative;
  font-weight: 800; font-size: 1.25rem; color: var(--text);
}
  content: ""; position: absolute; inset: 6px; transform: rotate(45deg); border-radius: 8px;
  background: var(--surface); border: 2px solid var(--accent);
}
  position: absolute; bottom: .75rem; left: .75rem; right: .75rem; text-align: center;
  font-size: .7rem; font-weight: 700; color: var(--warm-text); letter-spacing: .04em;
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: start; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: var(--text-sm); font-weight: 700; margin-bottom: .4rem; }
.field label .opt { font-weight: 500; color: var(--text-faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #d0342c; }
.field-error { color: #c22a22; font-size: var(--text-xs); font-weight: 600; margin-top: .35rem; min-height: 0; }
[data-theme="dark"] .field-error { color: #ff8a80; }
.field label.consent, .consent { display: flex; font-weight: 500; gap: .75rem; align-items: flex-start; font-size: var(--text-sm); color: var(--text-muted); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex-shrink: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.form-foot small { font-size: var(--text-xs); color: var(--text-faint); }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 600; display: none; }
.form-status.is-success { display: flex; gap: .6rem; background: var(--accent-soft); color: var(--text); }
.form-status.is-error { display: block; background: rgba(208, 52, 44, .1); color: var(--text); }

.contact-aside { display: grid; gap: 1rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.info-card h3 { font-size: var(--text-base); font-weight: 750; margin-bottom: .9rem; }
.info-list { display: grid; gap: .75rem; font-size: var(--text-sm); }
.info-list li { display: flex; gap: .75rem; align-items: flex-start; }
.info-list .icon { color: var(--accent-text); margin-top: .15em; }
.info-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--accent-text); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-weight: 600; color: var(--text-muted); padding: .35rem 0; }
.hours td { text-align: right; font-weight: 700; padding: .35rem 0; }
.hours tr + tr { border-top: 1px solid var(--line); }
.map-box {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: .75rem; padding: 1.5rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, var(--line) 22px 23px),
    repeating-linear-gradient(-45deg, transparent 0 22px, var(--line) 22px 23px),
    var(--surface-2);
}
.map-consent .icon { color: var(--accent-text); width: 28px; height: 28px; }
.map-consent p { font-size: var(--text-sm); color: var(--text-muted); max-width: 36ch; background: var(--surface-2); }
.map-consent strong { font-size: var(--text-base); background: var(--surface-2); }

/* ---------- CTA-Band ---------- */
.cta-band { padding-block: clamp(3.5rem, 7vw, 5rem); }
.cta-inner {
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-xl);
  background: var(--accent); color: var(--on-accent);
}
.cta-inner h2 { font-size: var(--text-xl); font-weight: 800; max-width: 20ch; }
.cta-inner p { margin-top: .6rem; font-weight: 500; max-width: 52ch; }
.cta-inner .btn { --_bg: var(--brand-ink); --_fg: #fff; --_bd: transparent; }
.cta-inner .btn--ghost { --_bg: transparent; --_fg: var(--on-accent); --_bd: rgba(6, 18, 26, 0.35); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: var(--text-sm); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { color: var(--text-muted); margin-top: 1.1rem; max-width: 34ch; }
.footer-col h3 { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .25rem; }
.footer-col a, .footer-col button.linklike {
  color: var(--text-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px;
}
.footer-col a:hover, .footer-col button.linklike:hover { color: var(--text); text-decoration: underline; }
button.linklike { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--text-faint); font-size: var(--text-xs);
}
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-bottom a, .footer-bottom button.linklike { color: var(--text-muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer-bottom a:hover, .footer-bottom button.linklike:hover { color: var(--text); text-decoration: underline; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; z-index: 150; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 460px; margin-left: auto;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 1.35rem; box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: var(--text-base); font-weight: 750; display: flex; align-items: center; gap: .5rem; }
.cookie-banner h2 .icon { color: var(--warm-text); }
.cookie-banner p { color: var(--text-muted); margin-top: .5rem; }
.cookie-options { display: grid; gap: .6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cookie-options[hidden] { display: none; }
.cookie-option { display: flex; gap: .7rem; align-items: flex-start; }
.cookie-option input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--accent); flex-shrink: 0; }
.cookie-option strong { display: block; color: var(--text); }
.cookie-option span { color: var(--text-muted); font-size: var(--text-xs); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.cookie-actions .btn { flex: 1 1 auto; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

@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; }
}

/* ---------- Unterseiten (Platzhalter) ---------- */
.subpage { padding-block: clamp(3rem, 8vw, 6rem); max-width: 780px; }
.subpage h1 { font-size: var(--text-xl); font-weight: 800; margin-top: 1rem; }
.subpage h2 { font-size: var(--text-lg); font-weight: 750; margin-top: 2.5rem; }
.subpage h3 { font-size: var(--text-base); font-weight: 750; margin-top: 1.75rem; }
.subpage h4 { font-size: var(--text-sm); font-weight: 700; margin-top: 1.25rem; }
.subpage a { word-break: break-word; }
.legal-addendum { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line-strong); }
.subpage p, .subpage li { color: var(--text-muted); margin-top: .75rem; }
.subpage ul { list-style: disc; padding-left: 1.25rem; }
.back-link { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; text-decoration: none; font-size: var(--text-sm); }

/* ---------- Spamschutz (ALTCHA) ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-field { margin-top: 1.25rem; }
altcha-widget {
  display: block;
  --altcha-max-width: 100%;
  --altcha-border-color: var(--line-strong);
  --altcha-border-width: 1px;
  --altcha-border-radius: var(--radius-md);
  --altcha-color-base: var(--surface-2);
  --altcha-color-base-content: var(--text);
  --altcha-color-neutral: var(--text-faint);
  --altcha-color-neutral-content: var(--text);
  --altcha-color-primary: var(--accent-text);
  --altcha-color-primary-content: #fff;
  --altcha-color-success: #1d7a43;
  --altcha-color-success-content: #fff;
  --altcha-color-error: #c22a22;
  --altcha-color-error-content: #fff;
  --altcha-checkbox-border-color: var(--line-strong);
  --altcha-checkbox-border-radius: 6px;
  --altcha-spinner-color: var(--accent-text);
  --altcha-shadow: none;
  font-family: inherit;
}
[data-theme="dark"] altcha-widget { --altcha-color-success: #3ccf7a; --altcha-color-success-content: #04140a; --altcha-color-primary-content: #041017; --altcha-color-error: #ff8a80; }
altcha-widget.is-invalid { --altcha-border-color: #d0342c; }
.captcha-note { font-size: var(--text-xs); color: var(--text-faint); margin-top: .5rem; }
.captcha-note a { color: var(--accent-text); }
