/* =========================================================================
   Eishalle Kiel – Smart Rink
   Design system & stylesheet. No external resources, no tracking.
   ========================================================================= */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  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: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  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;
}

/* ---------- Tokens ---------- */
:root {
  --ink-950: #04080f;
  --ink-900: #070d18;
  --ink-850: #0a1322;
  --ink-800: #0d1a2d;
  --ink-700: #132440;

  --line: rgba(146, 180, 230, 0.14);
  --line-strong: rgba(146, 180, 230, 0.28);

  --text: #e9f0fa;
  --text-dim: #a8bbd4;
  --muted: #7f95b4;

  --ice-100: #d4f0ff;
  --ice-300: #8fdcff;
  --ice-400: #5ec8f5;
  --ice-500: #31aee8;
  --ice-600: #1d87c7;

  --aurora: #8b9dff;
  --mint: #5eead4;
  --amber: #ffc24b;
  --rose: #ff8da1;

  --grad-ice: linear-gradient(135deg, #8fdcff 0%, #5ec8f5 42%, #8b9dff 100%);
  --grad-warm: linear-gradient(135deg, #ffd98a 0%, #ffc24b 50%, #ff9f68 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 0 1px rgba(143, 220, 255, 0.18), 0 30px 70px -30px rgba(49, 174, 232, 0.5);

  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --sect: clamp(4.5rem, 10vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(900px 600px at 12% -5%, rgba(49, 174, 232, 0.16), transparent 60%),
    radial-gradient(800px 520px at 88% 8%, rgba(139, 157, 255, 0.14), transparent 62%),
    radial-gradient(1000px 700px at 50% 100%, rgba(94, 234, 212, 0.07), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--ice-300); text-decoration-color: rgba(143, 220, 255, 0.4); text-underline-offset: 3px; }
a:hover { color: var(--ice-100); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: 'Outfit', 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 4.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3.05rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + 0.6vw, 1.48rem); line-height: 1.22; }
h4 { font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.06rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 62ch;
}
.small { font-size: 0.875rem; line-height: 1.6; }
.dim { color: var(--text-dim); }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

.grad-text {
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-warm-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin-inline: auto; }
.wrap-wide { width: min(1400px, 100% - var(--pad) * 2); margin-inline: auto; }
.section { padding-block: var(--sect); position: relative; }
.section-head { max-width: 74ch; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head .lead { margin-top: 1.1rem; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
@media (min-width: 900px) { .g3.max3 { grid-template-columns: repeat(3, 1fr); } }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; }

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-300);
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(143, 220, 255, 0.22);
  border-radius: 999px;
  background: rgba(49, 174, 232, 0.08);
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ice-400);
  box-shadow: 0 0 10px var(--ice-400);
}
.eyebrow.warm { color: var(--amber); border-color: rgba(255, 194, 75, 0.26); background: rgba(255, 194, 75, 0.08); }
.eyebrow.warm::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  white-space: nowrap;
}
.tag.ice { color: var(--ice-300); border-color: rgba(143, 220, 255, 0.3); background: rgba(49, 174, 232, 0.1); }
.tag.mint { color: var(--mint); border-color: rgba(94, 234, 212, 0.3); background: rgba(94, 234, 212, 0.1); }
.tag.amber { color: var(--amber); border-color: rgba(255, 194, 75, 0.3); background: rgba(255, 194, 75, 0.1); }
.tag.rose { color: var(--rose); border-color: rgba(255, 141, 161, 0.3); background: rgba(255, 141, 161, 0.1); }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.84rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--text);
  font-weight: 620;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); border-color: var(--line-strong); color: var(--text); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-ice);
  border-color: transparent;
  color: #04121d;
  font-weight: 700;
  box-shadow: 0 10px 34px -12px rgba(94, 200, 245, 0.8);
}
.btn-primary:hover { background: var(--grad-ice); color: #04121d; box-shadow: 0 18px 44px -14px rgba(94, 200, 245, 0.95); }

.btn-warm {
  background: var(--grad-warm);
  border-color: transparent;
  color: #241602;
  font-weight: 700;
  box-shadow: 0 10px 34px -12px rgba(255, 194, 75, 0.7);
}
.btn-warm:hover { background: var(--grad-warm); color: #241602; box-shadow: 0 18px 44px -14px rgba(255, 194, 75, 0.9); }

.btn-ghost { background: transparent; }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 8, 15, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(4, 8, 15, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
  margin-right: auto;
  flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad-ice);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -6px rgba(94, 200, 245, 0.8);
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 560;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  margin-top: 2px;
}

.nav-links { display: none; align-items: center; gap: 0.2rem; }
@media (min-width: 1040px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative;
  padding: 0.5rem 0.78rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--ice-300); }
.nav-cta { display: none; }
@media (min-width: 700px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
@media (min-width: 1040px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 17px; height: 1.8px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span + span { margin-top: 4.5px; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

.mobile-menu {
  display: grid;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
  background: rgba(7, 13, 24, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}
.mobile-menu.open { max-height: 640px; border-bottom-color: var(--line); }
.mobile-menu nav { display: grid; gap: 0.15rem; padding: 0.9rem 0 1.5rem; }
.mobile-menu a {
  padding: 0.8rem 0.6rem;
  border-radius: 10px;
  font-weight: 560;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.mobile-menu .btn { margin-top: 0.9rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.8rem 1.2rem;
  background: var(--ice-400);
  color: #04121d;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(640px 400px at 25% 25%, rgba(49, 174, 232, 0.22), transparent 65%),
    radial-gradient(540px 360px at 78% 18%, rgba(139, 157, 255, 0.2), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.5rem; font-size: clamp(2.25rem, 1.35rem + 3.3vw, 3.7rem); }
.hero .lead { max-width: 54ch; }
.hero .btn-row { margin-top: 2.2rem; }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.12fr 0.88fr; } }

/* Rink illustration */
.rink-art { position: relative; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.rink-art svg { width: 100%; height: auto; overflow: visible; }
.rink-surface { fill: url(#iceGrad); }
.rink-board { fill: none; stroke: rgba(180, 225, 255, 0.55); stroke-width: 4; }
.rink-line-blue { stroke: #4b8ef2; stroke-width: 4; opacity: 0.75; }
.rink-line-red { stroke: #ef5f70; stroke-width: 4; opacity: 0.8; }
.rink-circle { fill: none; stroke: #ef5f70; stroke-width: 2.5; opacity: 0.55; }
.rink-circle-blue { fill: none; stroke: #4b8ef2; stroke-width: 2.5; opacity: 0.5; }
.rink-dot { fill: #ef5f70; opacity: 0.8; }
.rink-crease { fill: rgba(75, 142, 242, 0.18); stroke: #ef5f70; stroke-width: 2; opacity: 0.7; }

.coverage-path {
  fill: none;
  stroke: url(#pathGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 9s var(--ease) infinite;
}
@keyframes draw {
  0% { stroke-dashoffset: 1400; }
  55% { stroke-dashoffset: 0; }
  85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.resurfacer { animation: ride 9s var(--ease) infinite; }
@keyframes ride { 0% { opacity: 0; } 6% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.resurfacer-body { fill: #ffc24b; stroke: #241602; stroke-width: 1.5; }

.rink-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(7, 13, 24, 0.88);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 620;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.rink-badge .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.rink-badge.b1 { top: -4%; left: 2%; }
.rink-badge.b2 { bottom: 4%; right: -2%; }
.rink-badge.b3 { top: 44%; right: -6%; }
@media (max-width: 999px) { .rink-badge.b2, .rink-badge.b3 { display: none; } .rink-badge.b1 { display: none; } }

.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }

/* ---------- Stat strip ---------- */
.statstrip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 760px) { .statstrip { grid-template-columns: repeat(4, 1fr); } }
.statstrip > div {
  background: rgba(10, 19, 34, 0.75);
  padding: clamp(1.2rem, 3vw, 1.9rem);
  backdrop-filter: blur(10px);
}
.statstrip .n {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.statstrip .l { font-size: 0.83rem; color: var(--text-dim); margin-top: 0.55rem; line-height: 1.45; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  --card-pad: clamp(1.3rem, 2.6vw, 1.85rem);
  padding: var(--card-pad);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(19, 36, 64, 0.62), rgba(10, 19, 34, 0.5));
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(94, 200, 245, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h3, .card h4 { margin-bottom: 0.6rem; }
.card p { color: var(--text-dim); font-size: 0.945rem; }
.card-flat { background: rgba(10, 19, 34, 0.5); }
.card-flat:hover { transform: none; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
  background: rgba(49, 174, 232, 0.13);
  border: 1px solid rgba(143, 220, 255, 0.22);
  color: var(--ice-300);
  flex-shrink: 0;
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon.warm { background: rgba(255, 194, 75, 0.13); border-color: rgba(255, 194, 75, 0.25); color: var(--amber); }
.card-icon.mint { background: rgba(94, 234, 212, 0.12); border-color: rgba(94, 234, 212, 0.25); color: var(--mint); }
.card-icon.rose { background: rgba(255, 141, 161, 0.12); border-color: rgba(255, 141, 161, 0.25); color: var(--rose); }

.card-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  color: var(--ice-400);
  margin-bottom: 0.7rem;
}

/* Feature list */
.flist { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
/* li bleibt bewusst ein normaler Block: Als Grid-/Flex-Container wuerde Text,
   der auf ein <strong> folgt, zu einem eigenen anonymen Item und umbrechen. */
.flist li { position: relative; padding-left: 1.75rem; font-size: 0.945rem; line-height: 1.55; color: var(--text-dim); }
.flist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.14);
  border: 1px solid rgba(94, 234, 212, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.flist.minus li::before {
  background-color: rgba(255, 141, 161, 0.12);
  border-color: rgba(255, 141, 161, 0.33);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8da1' stroke-width='3.4' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}
.flist.plain li::before {
  background-color: rgba(143, 220, 255, 0.1);
  border-color: rgba(143, 220, 255, 0.3);
  background-image: none;
}

/* Spec list (key/value) */
.specs { display: grid; gap: 0; }
.specs > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 560px) { .specs > div { grid-template-columns: minmax(130px, 0.4fr) 1fr; align-items: baseline; } }
.specs > div:last-child { border-bottom: 0; }
.specs dt { font-weight: 620; font-size: 0.9rem; color: var(--ice-300); }
.specs dd { margin: 0; color: var(--text-dim); font-size: 0.945rem; }

/* ---------- Callout ---------- */
.callout {
  padding: clamp(1.1rem, 2.4vw, 1.5rem) clamp(1.2rem, 2.6vw, 1.7rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ice-400);
  background: rgba(49, 174, 232, 0.07);
  font-size: 0.945rem;
  color: var(--text-dim);
}
.callout strong { color: var(--text); }
.callout.warm { border-left-color: var(--amber); background: rgba(255, 194, 75, 0.07); }
.callout.mint { border-left-color: var(--mint); background: rgba(94, 234, 212, 0.06); }
.callout.rose { border-left-color: var(--rose); background: rgba(255, 141, 161, 0.06); }
.callout-title { display: block; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; font-size: 1rem; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 19, 34, 0.5);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 540px; }
thead th {
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-300);
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
  background: rgba(19, 36, 64, 0.5);
}
tbody td { padding: 0.92rem 1.15rem; border-bottom: 1px solid var(--line); color: var(--text-dim); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
tbody th {
  text-align: left;
  padding: 0.92rem 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 620;
  white-space: nowrap;
}
tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td, tr.total th { background: rgba(49, 174, 232, 0.09); color: var(--text); font-weight: 700; }
.scroll-hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.7rem; }
@media (min-width: 700px) { .scroll-hint { display: none; } }

/* Rating dots */
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.13); display: block; }
.dots i.on { background: var(--ice-400); box-shadow: 0 0 8px rgba(94, 200, 245, 0.6); }

/* ---------- Calculator ---------- */
.calc {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(19, 36, 64, 0.8), rgba(7, 13, 24, 0.85));
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) { .calc { grid-template-columns: 1.05fr 0.95fr; } }
.calc-controls { padding: clamp(1.4rem, 3.2vw, 2.4rem); display: grid; gap: 1.9rem; align-content: start; }
.calc-result {
  padding: clamp(1.4rem, 3.2vw, 2.4rem);
  background:
    radial-gradient(500px 320px at 80% 0%, rgba(49, 174, 232, 0.16), transparent 70%),
    rgba(4, 8, 15, 0.55);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
@media (min-width: 940px) { .calc-result { border-top: 0; border-left: 1px solid var(--line); } }

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.field-label .lbl { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.97rem; }
.field-label .val { font-family: 'Outfit', sans-serif; font-weight: 750; font-size: 1.25rem; color: var(--ice-300); font-variant-numeric: tabular-nums; }
.field-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.5; }

/* Segmented control */
.seg { display: grid; gap: 0.5rem; }
@media (min-width: 520px) { .seg { grid-template-columns: repeat(3, 1fr); } }
.seg button {
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.seg button:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.06); }
.seg button .s-name { display: block; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.18rem; }
.seg button .s-desc { display: block; font-size: 0.75rem; color: var(--muted); line-height: 1.4; }
.seg button[aria-pressed='true'] {
  border-color: rgba(143, 220, 255, 0.5);
  background: rgba(49, 174, 232, 0.14);
  box-shadow: 0 0 0 1px rgba(143, 220, 255, 0.25), 0 10px 26px -14px rgba(49, 174, 232, 0.8);
}
.seg button[aria-pressed='true'] .s-name { color: var(--ice-200, var(--ice-100)); }

/* Range slider */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
  display: block;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ice-400) 0%, var(--ice-400) var(--p, 50%), rgba(255, 255, 255, 0.1) var(--p, 50%), rgba(255, 255, 255, 0.1) 100%);
}
input[type='range']::-moz-range-track { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
input[type='range']::-moz-range-progress { height: 7px; border-radius: 999px; background: var(--ice-400); }
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -7.5px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--ice-500);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(94, 200, 245, 0.12);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
input[type='range']::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--ice-500);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}
input[type='range']:hover::-webkit-slider-thumb { transform: scale(1.1); }
input[type='range']:active::-webkit-slider-thumb { box-shadow: 0 3px 12px rgba(0,0,0,.5), 0 0 0 10px rgba(94, 200, 245, 0.18); }
.range-scale { display: flex; justify-content: space-between; font-size: 0.73rem; color: var(--muted); margin-top: 0.2rem; font-variant-numeric: tabular-nums; }

/* Switch */
.switch { display: flex; align-items: flex-start; gap: 0.9rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  position: relative;
  width: 48px; height: 27px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s;
  margin-top: 2px;
}
.switch .track::after {
  content: '';
  position: absolute;
  top: 2.5px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.28s var(--ease);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.switch input:checked + .track { background: var(--mint); border-color: transparent; }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--ice-400); outline-offset: 3px; }
.switch .sw-text .t { display: block; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.94rem; }
.switch .sw-text .d { display: block; font-size: 0.79rem; color: var(--muted); line-height: 1.45; margin-top: 0.14rem; }

/* Result */
.result-main { text-align: left; }
.result-main .big {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.4rem, 2rem + 7vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-ice);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result-main .big .cur { font-size: 0.5em; letter-spacing: -0.02em; }
.result-main .cap { font-size: 0.9rem; color: var(--text-dim); margin-top: 0.5rem; }

.result-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.result-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.89rem;
}
.result-rows .k { color: var(--text-dim); }
.result-rows .v { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-rows .v.neg { color: var(--mint); }
.result-rows > div.sum { border-bottom: 0; padding-top: 0.9rem; }
.result-rows > div.sum .k { color: var(--text); font-weight: 650; }
.result-rows > div.sum .v { color: var(--amber); font-size: 1.05rem; }

.bar-stack { display: flex; height: 11px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.bar-stack span { display: block; transition: width 0.5s var(--ease); }
.bar-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin-top: 0.75rem; font-size: 0.77rem; color: var(--text-dim); }
.bar-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.bar-legend i { width: 9px; height: 9px; border-radius: 3px; display: block; }

.share-note {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 194, 75, 0.09);
  border: 1px solid rgba(255, 194, 75, 0.22);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.share-note strong { color: var(--amber); }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 820px) { .steps.s4 { grid-template-columns: repeat(4, 1fr); } .steps.s3 { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 1.5rem 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(10, 19, 34, 0.55);
  counter-increment: s;
}
.step::before {
  content: counter(s);
  position: absolute;
  top: -15px; left: 1.3rem;
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 750;
  font-size: 0.92rem;
  background: var(--grad-ice);
  color: #04121d;
  box-shadow: 0 8px 20px -8px rgba(94, 200, 245, 0.8);
}
.step h4 { margin-bottom: 0.5rem; margin-top: 0.5rem; font-size: 1.05rem; }
.step p { font-size: 0.89rem; color: var(--text-dim); }

.timeline { position: relative; display: grid; gap: 0; padding-left: 0; list-style: none; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 14px; bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--ice-400), rgba(139, 157, 255, 0.5), rgba(94, 234, 212, 0.25));
}
.timeline li { position: relative; padding: 0 0 2rem 2.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: 4px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink-950);
  border: 3px solid var(--ice-400);
  box-shadow: 0 0 0 4px rgba(49, 174, 232, 0.12);
}
.timeline .tl-phase { font-family: 'Outfit', sans-serif; font-weight: 750; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice-400); }
.timeline h4 { margin: 0.3rem 0 0.45rem; font-size: 1.12rem; }
.timeline p { font-size: 0.92rem; color: var(--text-dim); }
.timeline .tl-items { margin-top: 0.7rem; }

/* ---------- Autonomy stepper ---------- */
.levels { display: grid; gap: 1.2rem; }
@media (min-width: 880px) { .levels { grid-template-columns: 300px 1fr; align-items: start; } }
.level-nav { display: grid; gap: 0.55rem; }
.level-nav button {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.level-nav button:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.06); }
.level-nav button[aria-selected='true'] {
  border-color: rgba(143, 220, 255, 0.5);
  background: rgba(49, 174, 232, 0.13);
  box-shadow: 0 0 0 1px rgba(143, 220, 255, 0.22);
}
.level-nav .lv {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}
.level-nav button[aria-selected='true'] .lv { background: var(--grad-ice); color: #04121d; border-color: transparent; }
.level-nav .lv-t { font-family: 'Outfit', sans-serif; font-weight: 650; font-size: 0.93rem; }
.level-panel { padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(10, 19, 34, 0.55); min-height: 240px; }
.level-panel h3 { margin-bottom: 0.3rem; }
.level-panel .who { font-size: 0.8rem; color: var(--ice-300); font-weight: 620; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; }
.level-panel[hidden] { display: none; }

/* ---------- Architecture diagram ---------- */
.arch { display: grid; gap: 0.85rem; }
.arch-layer {
  border-radius: var(--radius); 
  border: 1px solid var(--line);
  background: rgba(10, 19, 34, 0.55);
  padding: 1.1rem 1.25rem;
}
.arch-layer .al-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.arch-layer .al-desc { font-size: 0.86rem; color: var(--text-dim); margin-top: 0.4rem; }
.arch-layer.cloud { border-color: rgba(139, 157, 255, 0.3); background: rgba(139, 157, 255, 0.07); }
.arch-layer.edge { border-color: rgba(143, 220, 255, 0.35); background: rgba(49, 174, 232, 0.09); }
.arch-layer.safety { border-color: rgba(255, 141, 161, 0.35); background: rgba(255, 141, 161, 0.07); }
.arch-link { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.05em; }
.arch-link::before, .arch-link::after { content: ''; height: 1px; flex: 1; max-width: 120px; background: var(--line-strong); }
.arch-nodes { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.arch-node { padding: 0.85rem 0.95rem; border-radius: 13px; border: 1px solid var(--line); background: rgba(19, 36, 64, 0.5); }
.arch-node .an-proto { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; color: var(--ice-400); text-transform: uppercase; }
.arch-node .an-name { font-size: 0.88rem; font-weight: 620; margin-top: 0.25rem; }
.arch-node .an-sub { font-size: 0.76rem; color: var(--muted); margin-top: 0.2rem; }

/* ---------- Zone cards ---------- */
.zone { position: relative; overflow: hidden; }
.zone .zone-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.zone.z1 .zone-bar { background: var(--amber); }
.zone.z2 .zone-bar { background: var(--ice-400); }
.zone.z3 .zone-bar { background: var(--aurora); }
.zone .zone-time { font-size: 0.78rem; font-weight: 650; color: var(--muted); letter-spacing: 0.03em; }

/* ---------- Comparison / location cards ---------- */
.loc { display: grid; gap: 1rem; }
@media (min-width: 900px) { .loc { grid-template-columns: repeat(3, 1fr); } }
.loc .card { display: flex; flex-direction: column; }
.loc .loc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.loc .loc-score {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ice-300);
  text-align: right;
  flex-shrink: 0;
}
.loc .loc-score small { display: block; font-family: 'Inter', sans-serif; font-size: 0.64rem; font-weight: 560; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.loc .recommended { border-color: rgba(143, 220, 255, 0.45); box-shadow: var(--shadow-glow); }
.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--grad-ice);
  color: #04121d;
  margin-bottom: 0.9rem;
}

/* ---------- Formular-Karte (Link zum Nextcloud-Formular) ---------- */
.form-cta {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(19, 36, 64, 0.75), rgba(7, 13, 24, 0.85));
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.form-cta h3 { margin: 0; }
.form-cta p { margin: 0; color: var(--text-dim); }
.form-cta .btn { margin: 0.4rem 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 19, 34, 0.5);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq details[open] { border-color: var(--line-strong); background: rgba(19, 36, 64, 0.5); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3.2rem 1.1rem 1.3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 650;
  font-size: 1.02rem;
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ice-300); }
.faq summary::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 13px; height: 13px;
  margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fdcff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.3rem 1.3rem; color: var(--text-dim); font-size: 0.93rem; }
.faq .faq-body > * + * { margin-top: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2.2rem, 5vw, 3.8rem);
  border: 1px solid rgba(143, 220, 255, 0.3);
  background:
    radial-gradient(600px 380px at 20% 0%, rgba(49, 174, 232, 0.25), transparent 65%),
    radial-gradient(500px 340px at 85% 100%, rgba(139, 157, 255, 0.22), transparent 68%),
    rgba(10, 19, 34, 0.75);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(4, 8, 15, 0.6); padding-block: clamp(2.8rem, 6vw, 4rem) 2rem; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ice-300); margin-bottom: 0.95rem; font-family: 'Outfit', sans-serif; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.footer a:hover { color: var(--ice-300); }
.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
.disclaimer {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Source list ---------- */
.sources { columns: 2 280px; column-gap: 2rem; list-style: none; padding: 0; font-size: 0.82rem; }
.sources li { break-inside: avoid; margin-bottom: 0.65rem; color: var(--muted); line-height: 1.5; }
.sources a { word-break: break-word; }

/* ---------- Kompakte Fakten (Icon + ein Satz) ---------- */
.facts { display: grid; gap: 1.1rem; }
.fact { display: flex; gap: 1rem; align-items: flex-start; }
.fact .card-icon { margin: 0; width: 42px; height: 42px; }
.fact h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.fact p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Fotos ---------- */
.figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-850);
  box-shadow: var(--shadow);
}
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.15rem 0.95rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
  background: linear-gradient(180deg, rgba(4, 8, 15, 0) 0%, rgba(4, 8, 15, 0.82) 55%, rgba(4, 8, 15, 0.92) 100%);
}
.figure figcaption strong { display: block; font-family: 'Outfit', sans-serif; font-size: 0.98rem; color: var(--text); margin-bottom: 0.15rem; }
.figure.r-wide { aspect-ratio: 16 / 10; }
.figure.r-photo { aspect-ratio: 4 / 3; }
.figure.r-band { aspect-ratio: 2 / 1; }
.figure.r-map { aspect-ratio: 600 / 660; background: transparent; box-shadow: none; border: 0; }
.figure.r-map img { object-fit: contain; }
@media (max-width: 599px) { .figure.r-band { aspect-ratio: 3 / 2; } }

.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
@media (min-width: 700px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid .figure { aspect-ratio: 1; box-shadow: none; }
.photo-grid figcaption { padding: 1.8rem 0.9rem 0.8rem; }
.photo-grid figcaption strong { font-size: 0.92rem; margin: 0; }
.photo-grid .figure img { transition: transform 0.6s var(--ease); }
.photo-grid .figure:hover img { transform: scale(1.04); }

/* Foto als Kopf einer Karte */
.card-media {
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 1.1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .ribbon.on-media { position: absolute; top: 0.9rem; left: 0.9rem; margin: 0; z-index: 2; box-shadow: var(--shadow-sm); }

/* ---------- Aufklappbare Vertiefung ("Mehr dazu") ---------- */
.more {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 19, 34, 0.45);
  overflow: hidden;
  transition: border-color 0.25s;
}
.more[open] { border-color: var(--line-strong); }
.more > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 650;
  font-size: 1rem;
  color: var(--ice-300);
  transition: background 0.2s, color 0.2s;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary:hover { background: rgba(255, 255, 255, 0.035); color: var(--ice-100); }
.more > summary::before {
  content: '';
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(143, 220, 255, 0.3);
  background: rgba(49, 174, 232, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fdcff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform 0.3s var(--ease);
}
.more[open] > summary::before { transform: rotate(180deg); }
.more[open] > summary { border-bottom: 1px solid var(--line); }
.more > summary .hint { margin-left: auto; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.more > summary .closed, .more[open] > summary .opened { display: inline; }
.more > summary .opened, .more[open] > summary .closed { display: none; }
.more-body { padding: clamp(1.2rem, 2.6vw, 1.8rem); display: grid; gap: 1.2rem; }
.more-body > p { color: var(--text-dim); font-size: 0.945rem; max-width: 70ch; }
.more-body .grid { gap: 1rem; }
.more-body .card { background: rgba(10, 19, 34, 0.5); }
.more-body .table-wrap { background: rgba(4, 8, 15, 0.35); }
.more.subtle { background: transparent; border-style: dashed; }
.more.subtle > summary { font-size: 0.9rem; padding: 0.75rem 1rem; }
.more.subtle > summary::before { width: 24px; height: 24px; background-size: 11px; }
.more.subtle .more-body { padding: 0.9rem 1rem 1.1rem; }

/* ---------- CTA-Band mit Foto ---------- */
.cta-band.has-photo { border-color: rgba(143, 220, 255, 0.35); }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.85); }
.cta-band .cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 380px at 20% 0%, rgba(49, 174, 232, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.55), rgba(4, 8, 15, 0.8));
}
.cta-band > :not(.cta-bg) { position: relative; z-index: 1; }
.cta-band.has-photo .lead { color: var(--text); }

/* ---------- Bildnachweise ---------- */
.credits { margin-top: 1.2rem; }
.credits ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; font-size: 0.76rem; color: var(--muted); line-height: 1.5; }
.credits a { color: var(--text-dim); font-size: inherit; }

/* ---------- Reveal animation ---------- */
/* Nur wenn JS laeuft wird ausgeblendet - ohne JS bleibt alles sichtbar. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }
.reveal.d4 { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .coverage-path, .resurfacer, .pulse { animation: none; }
  .coverage-path { stroke-dashoffset: 0; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #000; }
  .nav, .mobile-menu, .cta-band, .btn-row, .rink-art, .cta-bg { display: none; }
  .more { border-color: #ccc; }
  .more > summary::before { display: none; }
  .figure figcaption { position: static; background: none; color: #333; }
  .card, .table-wrap { border-color: #ccc; background: #fff; }
}

/* Karte: Bildunterschrift unterhalb statt als Overlay; Fotos auf Mobil vor dem Text */
.figure.r-map figcaption { position: static; background: none; padding: 0.7rem 0.2rem 0; }
@media (max-width: 899px) { .split > .figure { order: -1; } }
