/* ============================================================
   MESU — Aurora-Glass Design-System
   Quelle der Wahrheit: mesu2/design-tokens.css + README-Spec.
   Self-hosted Fonts (DSGVO). Light-only.
   ============================================================ */
@import url('/fonts/fonts.css');

:root {
  --bg:          #f8f5fb;
  --bg-warm:     #f6f4ef;
  --surface:     #ffffff;
  --ink:         #0f1430;
  --ink-2:       #3a3f5e;
  --ink-3:       #6b7090;
  --line:        rgba(15,20,48,.10);
  --line-strong: rgba(15,20,48,.22);

  --a1: #b3a1ff; --a2: #ff9bc5; --a3: #82d5ff; --a4: #ffcb8f; --a5: #a8f5d0;
  --success: #0a8f5a; --danger: #c53847;

  --font-display: 'Bricolage Grotesque','Geist',ui-sans-serif,system-ui,sans-serif;
  --font-body:    'Manrope',ui-sans-serif,system-ui,sans-serif;
  --font-mono:    'JetBrains Mono',ui-monospace,monospace;

  --wrap-max: 1320px; --wrap-pad: 48px;
  --r-sm:10px; --r-md:14px; --r-lg:20px; --r-xl:24px; --r-2xl:32px; --r-full:999px;

  --glass-blur: blur(34px) saturate(220%) brightness(106%);
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-over: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  font-size: 16px; line-height: 1.6; background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; margin: 0; letter-spacing: -0.025em; overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
p { margin: 0 0 1em; }

/* ---------- Aurora background ---------- */
.aurora-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--bg); }
.aurora-bg::before {
  content: ""; position: absolute; inset: -25%;
  background:
    radial-gradient(38% 42% at 18% 22%, rgba(179,161,255,.55), transparent 70%),
    radial-gradient(34% 40% at 80% 18%, rgba(130,213,255,.50), transparent 70%),
    radial-gradient(40% 44% at 70% 78%, rgba(255,155,197,.45), transparent 72%),
    radial-gradient(30% 36% at 28% 82%, rgba(168,245,208,.45), transparent 70%),
    radial-gradient(34% 38% at 50% 50%, rgba(255,203,143,.34), transparent 72%);
  filter: blur(20px); animation: aurora 38s var(--ease-out) infinite alternate;
  will-change: transform;
}
.aurora-bg .orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; mix-blend-mode: multiply; will-change: transform; }
.aurora-bg .orb.o1 { width: 460px; height: 460px; left: 6%;  top: 8%;  background: radial-gradient(circle, var(--a1), transparent 65%); animation: orb1 24s var(--ease-out) infinite alternate; }
.aurora-bg .orb.o2 { width: 520px; height: 520px; right: 4%; top: 30%; background: radial-gradient(circle, var(--a3), transparent 65%); animation: orb2 28s var(--ease-out) infinite alternate; }
.aurora-bg .orb.o3 { width: 420px; height: 420px; left: 40%; bottom: 2%; background: radial-gradient(circle, var(--a2), transparent 65%); animation: orb3 26s var(--ease-out) infinite alternate; }
@keyframes aurora { 0%{transform:translate(0,0) rotate(0) scale(1)} 100%{transform:translate(4%, 3%) rotate(8deg) scale(1.12)} }
@keyframes orb1 { 0%{transform:translate(0,0)} 100%{transform:translate(60px,40px)} }
@keyframes orb2 { 0%{transform:translate(0,0)} 100%{transform:translate(-70px,50px)} }
@keyframes orb3 { 0%{transform:translate(0,0)} 100%{transform:translate(40px,-60px)} }

/* Maus-Parallax (via --px/--py von aurora.js) */
.aurora-bg::before { transform: translate(calc(var(--px,0) * 14px), calc(var(--py,0) * 14px)); }

/* ---------- Glass (Kristall-Rezept) ---------- */
.glass {
  position: relative;
  background:
    radial-gradient(140% 50% at 14% 0%, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 18%),
    linear-gradient(135deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 80%, rgba(255,255,255,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.34) 60%, rgba(255,255,255,.42) 100%);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid transparent; background-clip: padding-box; border-radius: var(--r-xl);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 -3px 8px -3px rgba(40,30,80,.18),
    inset 2px 0 1px rgba(255,255,255,.45),
    inset -2px 0 1px rgba(255,255,255,.22),
    0 1px 0 rgba(255,255,255,.55),
    0 34px 90px -18px rgba(31,38,135,.30),
    0 8px 22px -6px rgba(31,38,135,.12);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px;
  background: conic-gradient(from 110deg,
    rgba(255,255,255,1), rgba(179,161,255,.95), rgba(255,255,255,1), rgba(130,213,255,.95),
    rgba(255,255,255,1), rgba(255,203,143,.95), rgba(255,255,255,1), rgba(255,155,197,.95), rgba(255,255,255,1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 0;
}
.glass::after {
  content: ""; position: absolute; left: 6%; top: 5%; width: 36%; height: 8%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.9), rgba(255,255,255,0) 60%);
  filter: blur(3px); pointer-events: none; z-index: 0;
}
.glass > * { position: relative; z-index: 1; }
/* Fallback ohne backdrop-filter: solide, halbtransparente Karte */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255,255,255,.86); }
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--wrap-pad); position: relative; z-index: 1; }
main { position: relative; z-index: 1; }
section { padding: 96px 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: inline-block; margin-bottom: 14px; }
.section-title { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.03em; margin-bottom: 18px; }
.section-lede { font-size: 19px; color: var(--ink-2); max-width: 64ch; }
.grad-text { background: linear-gradient(110deg, var(--a1), var(--a3) 40%, var(--a2) 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 18px; z-index: 100; display: flex; align-items: center; gap: 6px;
  margin: 18px auto 0; max-width: 1180px; padding: 9px 9px 9px 18px; border-radius: var(--r-full); }
.nav .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-right: auto; }
.nav .brand img { height: 30px; width: auto; }
.nav a.navlink { padding: 9px 14px; border-radius: var(--r-full); font-weight: 500; font-size: 14.5px; color: var(--ink-2); transition: .25s var(--ease-out); }
.nav a.navlink:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.nav a.navlink.is-active { color: var(--ink); background: rgba(255,255,255,.75); }
.nav .nav-cta { margin-left: 4px; }
.burger { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 8px; }
.burger svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 4px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: var(--r-full);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease-over), box-shadow .25s var(--ease-out), background .25s; white-space: nowrap; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { color: #fff; background: linear-gradient(120deg, #5b54e6, #8b6ff0 55%, #b3a1ff); box-shadow: 0 12px 30px -10px rgba(91,84,230,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(91,84,230,.7); }
.btn-glass { color: var(--ink); background: rgba(255,255,255,.6); border-color: var(--line); backdrop-filter: blur(10px); }
.btn-glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.85); }
.btn-ghost { color: var(--ink-2); padding: 10px 14px; }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn-danger { color:#fff; background: linear-gradient(120deg,#c53847,#e0566a); }
.btn-support { color:#fff; background: linear-gradient(120deg,#0d9488,#16b8a6 70%,#2dd4bf); box-shadow: 0 10px 26px -10px rgba(13,148,136,.55); }
.btn-support:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(13,148,136,.7); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Schwebender Fernwartungs-Button (auf allen oeffentlichen Seiten, unten rechts) */
.fab-fernwartung { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--r-full); font-weight: 600; font-size: 15px; color: #fff;
  background: linear-gradient(120deg,#0d9488,#16b8a6 70%,#2dd4bf); box-shadow: 0 14px 34px -10px rgba(13,148,136,.6);
  border: 1px solid rgba(255,255,255,.25); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.fab-fernwartung:hover { transform: translateY(-3px); box-shadow: 0 20px 46px -10px rgba(13,148,136,.72); }
.fab-fernwartung svg { width: 20px; height: 20px; stroke: #fff; }
@media (max-width: 640px) { .fab-fernwartung { right: 14px; bottom: 14px; padding: 14px; } .fab-fernwartung .fab-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .fab-fernwartung:hover { transform: none; } }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); letter-spacing: -0.045em; line-height: .98; margin: 14px 0 22px; }
.hero .lede { font-size: 20px; color: var(--ink-2); max-width: 52ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 14px; color: var(--ink-3); font-family: var(--font-mono); }
.hero-badge svg { width: 15px; height: 15px; }
/* Live-Status-Karte */
.status-card { padding: 26px; }
.status-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(10,143,90,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.status-row .lbl { font-weight: 600; }
.status-row .val { margin-left: auto; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 46px; }
.stat { padding: 22px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.04em; background: linear-gradient(120deg,var(--a1),var(--a3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.card { padding: 30px 28px; overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card .card-blob { position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(40px); opacity: .5;
  left: var(--bx, 80%); top: var(--by, -40%); transition: left .55s var(--ease-out), top .55s var(--ease-out); z-index: 0; pointer-events: none; }
.card-photo { display: block; width: 100%; height: 158px; object-fit: cover; margin: 2px 0 18px; border-radius: var(--r-lg); box-shadow: 0 6px 18px -8px rgba(31,38,135,.3); }
.highlight.has-media { grid-template-columns: 0.82fr 1.18fr; align-items: stretch; }
.leist-media { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: var(--r-lg); }
.leist-main { display: flex; flex-direction: column; }
@media (max-width: 1024px) { .leist-media { min-height: 220px; max-height: 320px; } }
.page-photo { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r-2xl); box-shadow: 0 24px 60px -22px rgba(31,38,135,.34); }
/* Foto randlos in den Aurora-Hintergrund einblenden: heller Bildkern ~ Seiten-BG,
   Raender per radialer Maske ausgeblendet -> kein Karten-Rechteck. */
/* Freigestelltes PNG (echte Transparenz) -> Figuren schweben direkt auf dem Aurora-BG. */
.blend-photo-sec { padding: 0; margin: -10px 0 -120px; }
.blend-photo { display: block; width: 100%; max-width: 740px; margin: 0 auto; position: relative; }
@media (max-width: 640px) { .blend-photo-sec { margin-bottom: -72px; } }
.card .ic { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.card .ic svg { width: 24px; height: 24px; stroke: var(--ink); }
.card h3 { font-size: 22px; margin-bottom: 8px; transition: transform .35s var(--ease-out); }
.card p { color: var(--ink-2); font-size: 15px; }
.card .more { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-3); opacity: 0; transform: translateX(-6px); transition: .35s var(--ease-out); margin-top: 12px; display: inline-flex; gap: 6px; }
.card:hover { transform: translateY(-8px); }
.card:hover h3 { transform: translateX(4px); }
.card:hover .more { opacity: 1; transform: translateX(0); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; padding: 5px 10px; border-radius: var(--r-full); background: rgba(255,255,255,.6); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Highlight / ALBIS panel ---------- */
.highlight { padding: 52px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.highlight h2 { font-size: clamp(30px,4vw,46px); margin-bottom: 16px; }
.highlight ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.highlight li { padding-left: 26px; position: relative; color: var(--ink-2); }
.highlight li::before { content: "✓"; position: absolute; left: 0; color: var(--a1); font-weight: 700; }
.stack-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-badges .b { padding: 14px 16px; border-radius: var(--r-md); font-family: var(--font-mono); font-size: 12px; background: rgba(255,255,255,.6); border: 1px solid var(--line); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.timeline li { position: relative; padding: 16px 0 16px 30px; border-left: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(120deg,var(--a1),var(--a3)); }
.timeline li b { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--ink); margin-right: 8px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.news-card { padding: 0; overflow: hidden; transition: transform .4s var(--ease-out); }
.news-card:hover { transform: translateY(-6px); }
.news-card img { width: 100%; height: 170px; object-fit: cover; }
.news-card .body { padding: 24px; }
.news-card .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tag-pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; padding: 4px 10px; border-radius: var(--r-full); background: linear-gradient(120deg, rgba(179,161,255,.3), rgba(130,213,255,.3)); border: 1px solid var(--line); }
.news-card .date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.news-card h3 { font-size: 19px; margin-bottom: 8px; transition: transform .35s var(--ease-out); }
.news-card:hover h3 { transform: translateX(4px); }
.news-card .excerpt { color: var(--ink-2); font-size: 14.5px; }
.news-card .read { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); display: inline-flex; gap: 6px; transition: transform .35s var(--ease-out); }
.news-card:hover .read { transform: translateX(6px); }

/* ---------- Standorte ---------- */
.loc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; margin-top: 36px; align-items: stretch; }
.loc-map { position: relative; min-height: 360px; border-radius: var(--r-xl); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: radial-gradient(60% 60% at 30% 30%, rgba(179,161,255,.18), transparent), rgba(255,255,255,.4); }
.loc-map-inner { position: relative; height: min(440px, 78vw); aspect-ratio: 738 / 1000; }
.loc-map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(31,38,135,.14)); }
/* Pins als SVG-Overlay mit identischer viewBox → exakte Deckung mit der Karte */
.loc-pins { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.loc-pins .halo { fill: rgba(179,161,255,.28); }
.loc-pins .dot { fill: #8b6ff0; }
.loc-pins text { font-family: var(--font-mono); font-size: 25px; fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 6px; stroke-linejoin: round; }
.loc-map .pin { position: absolute; transform: translate(-50%,-50%); z-index: 2; }
.loc-map .pin .dot { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(120deg,var(--a1),var(--a2)); box-shadow: 0 0 0 6px rgba(179,161,255,.25); transition: transform .3s var(--ease-over); }
.loc-map .pin:hover .dot { transform: scale(1.25); box-shadow: 0 0 0 10px rgba(168,245,208,.3); }
.loc-map .pin .lbl { font-family: var(--font-mono); font-size: 11px; margin-top: 6px; white-space: nowrap; transform: translateX(-50%); margin-left: 8px; }
.loc-list { display: grid; gap: 8px; }
.loc-item { padding: 16px 14px; border-radius: var(--r-md); display: flex; gap: 14px; align-items: baseline; transition: padding-left .3s var(--ease-out), background .3s; }
.loc-item:hover { padding-left: 22px; background: rgba(255,255,255,.55); }
.loc-item .city { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.loc-item .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.loc-item .addr { color: var(--ink-2); font-size: 14px; margin-left: auto; text-align: right; }

/* ---------- Service-Hub ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 18px; margin-top: 34px; }
.hub-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease-out); }
.hub-card:hover { transform: translateY(-6px); }
.hub-card .ic { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.hub-card .ic svg { width: 22px; height: 22px; stroke: var(--ink); }
.hub-card h3 { font-size: 19px; }
.hub-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
.hub-card .go { font-family: var(--font-mono); font-size: 12px; color: var(--a1); display: inline-flex; gap: 6px; }

/* ---------- Forms ---------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink-2); }
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=date],input[type=time],input[type=number],select,textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.7);
  font-family: var(--font-body); font-size: 15px; color: var(--ink); transition: border .2s, box-shadow .2s; }
textarea { min-height: 130px; resize: vertical; }
input:focus,select:focus,textarea:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px rgba(179,161,255,.2); }
/* Sichtbarer Tastatur-Fokus fuer Links/Buttons (A11y, WCAG 2.4.7) */
a:focus-visible, button:focus-visible, .btn:focus-visible, .navlink:focus-visible, .burger:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #5b54e6; outline-offset: 2px; border-radius: 6px;
}
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.muted { color: var(--ink-3); }
.field-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

/* Flash */
.flash { padding: 13px 16px; border-radius: var(--r-md); margin-bottom: 16px; font-size: 14.5px; }
.flash-success { background: rgba(10,143,90,.12); color: #066b43; border: 1px solid rgba(10,143,90,.3); }
.flash-error { background: rgba(197,56,71,.12); color: #952330; border: 1px solid rgba(197,56,71,.3); }
.flash-info { background: rgba(130,213,255,.16); color: #1d5e7e; border: 1px solid rgba(130,213,255,.4); }

/* Prose (HTML-Content-Bloecke) */
.prose { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 22px; margin: 1.3em 0 .4em; color: var(--ink); }
.prose p { margin: 0 0 1em; }
.prose ul,.prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose a { color: #5b54e6; text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { margin-top: 60px; padding: 56px 0 40px; position: relative; z-index: 1; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer a { display: block; color: var(--ink-2); padding: 4px 0; font-size: 14.5px; }
.footer a:hover { color: var(--ink); }
.footer .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 12px; }
.footer .brand img { height: 30px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

/* ---------- Page header (Unterseiten) ---------- */
.page-head { padding: 60px 0 10px; }
.page-head h1 { font-size: clamp(36px,6vw,72px); letter-spacing: -0.04em; margin: 12px 0 18px; }
.page-head .lede { font-size: 19px; color: var(--ink-2); max-width: 64ch; }
.back-link { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); display: flex; width: fit-content; gap: 6px; margin-bottom: 18px; }

/* ---------- Responsive ---------- */
/* Navigation: ab hier ins Burger-Menue klappen (volle Navi mit 7 Links + 3 Buttons
   braucht ~1160px in einer Zeile; darunter sonst Umbruch). */
@media (max-width: 1180px) {
  .nav-links { position: fixed; inset: 76px 14px auto 14px; flex-direction: column; align-items: stretch; padding: 14px; border-radius: var(--r-xl); display: none; }
  .nav-links.open { display: flex; }
  .nav.glass .nav-links.open { background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border: 1px solid var(--line); }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  :root { --wrap-pad: 30px; }
  .hero-grid, .highlight, .loc-grid { grid-template-columns: 1fr; }
  .cards, .news-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --wrap-pad: 18px; }
  section { padding: 60px 0; }
  .highlight { padding: 26px; gap: 22px; }
  .hero-grid > *, .highlight > *, .loc-grid > *, .cards > *, .news-grid > * { min-width: 0; }
  .glass[style*="padding:48px"], .glass[style*="padding:44px"] { padding: 24px !important; }
  .nav { top: 10px; padding: 8px 8px 8px 14px; }
  .nav-links { position: fixed; inset: 76px 14px auto 14px; flex-direction: column; align-items: stretch; padding: 14px; border-radius: var(--r-xl); display: none; }
  .nav-links.open { display: flex; }
  .nav.glass .nav-links.open { background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border: 1px solid var(--line); }
  .burger { display: block; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .cards, .news-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .loc-item .addr { margin-left: 0; text-align: left; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- FAQ-Accordion ---------- */
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(255,255,255,.55); overflow: hidden; transition: border-color .25s var(--ease-out); }
.faq details[open] { border-color: rgba(179,161,255,.6); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16.5px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 24px; line-height: 1; color: var(--a1); transition: transform .3s var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.faq .faq-a p { margin: 0 0 .7em; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq .faq-a ul { margin: 0 0 .6em; padding-left: 1.3em; }
.faq .faq-a li { margin: .25em 0; }

/* ---------- Info-/Feature-Sektionen fuer Unterseiten ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 18px; margin-top: 30px; }
.feature-tile { padding: 26px; }
.feature-tile .ic { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(255,255,255,.7); border: 1px solid var(--line); margin-bottom: 14px; }
.feature-tile .ic svg { width: 22px; height: 22px; stroke: var(--ink); }
.feature-tile h3 { font-size: 18px; margin-bottom: 8px; }
.feature-tile p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.feature-tile .tag-pill { margin-bottom: 12px; }
.section-intro { max-width: 70ch; }
.section-intro .lede { font-size: 19px; color: var(--ink-2); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 30px; counter-reset: step; }
.step-tile { padding: 26px; position: relative; }
.step-tile::before { counter-increment: step; content: counter(step); font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--a1); display: inline-block; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-full); width: 30px; height: 30px; line-height: 28px; text-align: center; }
.step-tile h3 { font-size: 17px; margin-bottom: 6px; }
.step-tile p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
