/* ==========================================================================
   Zenteria – Liquid Glass Design System (2026)
   --------------------------------------------------------------------------
   Gemeinsame Grundlage für alle Seiten von zenteria.de.
   Aufbau:
     1. Design-Tokens (Farben, Radien, Schatten, Schrift)
     2. Basis / Reset
     3. Hintergrund (Aurora)
     4. Liquid-Glass-Material (.lg)
     5. Navigation + Footer
     6. Komponenten: Buttons, Felder, Pills, Segmente, Callouts, Karten
     7. Hilfsklassen, Animationen, Barrierefreiheit
   Keine externen Schriften/CDNs (DSGVO) – es wird die Systemschrift genutzt
   (SF Pro auf Apple-Geräten, Segoe UI Variable auf Windows 11).
   ========================================================================== */

/* 1. Design-Tokens ------------------------------------------------------- */
:root {
  color-scheme: dark;

  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, monospace;

  /* Natur-Palette: Wald · Türkis · Seeblau · Amber */
  --bg-0: #03100c;
  --bg-1: #061a15;
  --bg-2: #0a241d;
  --text: rgba(255, 255, 255, 0.95);
  --text-2: rgba(226, 244, 238, 0.74);
  --text-3: rgba(214, 236, 229, 0.52);
  --accent: #5fe3c0;          /* Türkis-Mint */
  --accent-strong: #2fcfa3;
  --accent-ink: #022219;      /* Text auf Akzentflächen */
  --lake: #6cc4ff;            /* Seeblau */
  --forest: #4cc483;          /* Waldgrün */
  --amber: #ffc46b;
  --amber-strong: #ffa940;
  --danger: #ff7a7a;
  --danger-strong: #f25555;
  --success: #6ee7a0;

  /* Glas */
  --glass-fill: rgba(255, 255, 255, 0.075);
  --glass-fill-2: rgba(255, 255, 255, 0.11);
  --glass-fill-3: rgba(255, 255, 255, 0.16);
  --glass-tint: rgba(10, 40, 32, 0.38);
  --glass-stroke: rgba(255, 255, 255, 0.14);
  --glass-stroke-2: rgba(255, 255, 255, 0.24);
  --glass-blur: 30px;
  --glass-saturate: 175%;
  --glass-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(0, 0, 0, 0.18);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.22), 0 24px 60px -18px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 4px 10px rgba(0, 0, 0, 0.25), 0 40px 90px -20px rgba(0, 0, 0, 0.7);

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur: 0.32s;

  --nav-h: 60px;
  --page-max: 1180px;
}

/* 2. Basis ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--bg-0);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--text);
}

p { text-wrap: pretty; }

a { color: var(--accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: #9ff3dc; }

img { max-width: 100%; }

::selection { background: rgba(95, 227, 192, 0.35); color: #fff; }

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

/* Dezente Scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.22) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-track { background: transparent; }

/* 3. Hintergrund: weiche Aurora in Naturtönen ------------------------- */
.zt-ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #0c3a2e 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 70%);
  pointer-events: none;
}
.zt-ambient::before,
.zt-ambient::after,
.zt-ambient span {
  content: "";
  position: absolute;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.zt-ambient::before {
  top: -24vmax; left: -18vmax;
  background: radial-gradient(circle at 40% 40%, rgba(47, 207, 163, 0.55), transparent 62%);
  animation: zt-drift-a 26s ease-in-out infinite alternate;
}
.zt-ambient::after {
  bottom: -30vmax; right: -20vmax;
  background: radial-gradient(circle at 60% 60%, rgba(108, 196, 255, 0.42), transparent 62%);
  animation: zt-drift-b 32s ease-in-out infinite alternate;
}
.zt-ambient span {
  top: 30%; left: 45%;
  width: 40vmax; height: 40vmax;
  background: radial-gradient(circle, rgba(76, 196, 131, 0.30), transparent 65%);
  animation: zt-drift-c 38s ease-in-out infinite alternate;
}
/* feines Korn gegen Banding */
.zt-ambient i {
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes zt-drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.08); } }
@keyframes zt-drift-b { to { transform: translate3d(-10vmax, -6vmax, 0) scale(1.12); } }
@keyframes zt-drift-c { to { transform: translate3d(-12vmax, 8vmax, 0) scale(0.92); } }

/* 4. Liquid-Glass-Material -------------------------------------------- */
/* .lg = Standard-Glas (Panels, Karten). Spiegelkante über ::before,
   weicher Lichtglanz oben über ::after. */
.lg {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 46%, rgba(255, 255, 255, 0.06) 100%),
    var(--glass-tint);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-radius: var(--r-lg);
  box-shadow: var(--glass-highlight), var(--shadow-2);
}
.lg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 22%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.10) 78%,
    rgba(255, 255, 255, 0.34) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 1;
}
.lg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.lg-thin {
  --glass-blur: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--glass-highlight), var(--shadow-1);
}

/* Fallback für Browser ohne backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg { background: rgba(10, 34, 28, 0.92); }
}

/* 5. Navigation -------------------------------------------------------- */
.zt-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--page-max), calc(100% - 28px));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 16px;
  border-radius: var(--r-pill);
}
.zt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.zt-brand:hover { color: var(--text); }
.zt-brand img {
  width: 30px; height: 30px;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.zt-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  padding: 0 8px;
}
.zt-nav-links::-webkit-scrollbar { display: none; }
.zt-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.zt-nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.zt-nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 4px rgba(0, 0, 0, 0.2);
}
.zt-nav-cta {
  flex-shrink: 0;
}
.zt-nav-links svg, .zt-nav-cta svg { width: 16px; height: 16px; }

/* Platz für die schwebende Navigation */
.zt-page {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 52px) 0 40px;
}
.zt-page.narrow { width: min(800px, calc(100% - 32px)); }

/* Footer */
.zt-footer {
  width: min(var(--page-max), calc(100% - 32px));
  margin: 24px auto 26px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  color: var(--text-3);
  font-size: 0.85rem;
}
.zt-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.zt-footer a { color: var(--text-2); }
.zt-footer a:hover { color: var(--text); }

/* 6. Komponenten ------------------------------------------------------- */

/* Überschriften-Block */
.zt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.zt-title {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.zt-title .grad, .zt-grad {
  background: linear-gradient(120deg, #ffffff 10%, #bff7e6 45%, var(--accent) 75%, var(--lake) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.zt-lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  color: var(--text-2);
}

/* Buttons – Kapselform wie bei Apple */
.zt-btn {
  --btn-bg: rgba(255, 255, 255, 0.10);
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.98rem/1 var(--font-text);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 18px -6px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease-spring), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), filter var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.zt-btn:hover { background: rgba(255, 255, 255, 0.16); color: var(--btn-fg); transform: translateY(-1px); }
.zt-btn:active { transform: scale(0.97); }
.zt-btn[disabled], .zt-btn.is-disabled { opacity: 0.45; cursor: not-allowed; transform: none; filter: saturate(0.4); }
.zt-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.zt-btn.primary {
  --btn-fg: var(--accent-ink);
  background: linear-gradient(180deg, #8ff0d5 0%, var(--accent) 45%, var(--accent-strong) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(0, 60, 40, 0.25), 0 10px 28px -8px rgba(47, 207, 163, 0.65);
}
.zt-btn.primary:hover { background: linear-gradient(180deg, #a6f5df 0%, #74e9c9 45%, #3bd8ad 100%); }
.zt-btn.amber {
  --btn-fg: #2a1600;
  background: linear-gradient(180deg, #ffe1a6 0%, var(--amber) 45%, var(--amber-strong) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(90, 40, 0, 0.25), 0 10px 28px -8px rgba(255, 169, 64, 0.6);
}
.zt-btn.amber:hover { filter: brightness(1.05); }
.zt-btn.danger {
  --btn-fg: #fff;
  background: linear-gradient(180deg, #ff9b9b 0%, var(--danger) 45%, var(--danger-strong) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 22px -8px rgba(242, 85, 85, 0.6);
}
.zt-btn.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.zt-btn.sm { min-height: 36px; padding: 0 14px; font-size: 0.86rem; }
.zt-btn.lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.zt-btn.block { width: 100%; }

/* Eingabefelder */
.zt-field,
.zt-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: 400 1rem/1.3 var(--font-text);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.zt-input::placeholder { color: var(--text-3); }
.zt-input:hover { border-color: rgba(255, 255, 255, 0.2); }
.zt-input:focus {
  outline: none;
  border-color: rgba(95, 227, 192, 0.7);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 4px rgba(95, 227, 192, 0.18), inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Suchfeld mit Lupe */
.zt-search {
  position: relative;
}
.zt-search::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  background: currentColor;
  color: var(--text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.zt-search input {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px 14px 48px;
  border-radius: var(--r-pill);
  border: 0;
  color: var(--text);
  font: 400 1rem var(--font-text);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1), var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.zt-search input::placeholder { color: var(--text-3); }
.zt-search input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(95, 227, 192, 0.6), 0 0 0 5px rgba(95, 227, 192, 0.16);
}

/* Segment-Steuerung (iOS) */
.zt-segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.zt-segmented > button,
.zt-segmented > a {
  flex: 1;
  border: 0;
  margin: 0;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text-2);
  font: 600 0.9rem/1 var(--font-text);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform 0.2s var(--ease);
}
.zt-segmented > button:hover { color: var(--text); }
.zt-segmented > button.active,
.zt-segmented > button[aria-selected="true"] {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Pills / Badges */
.zt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.zt-pill.accent { background: rgba(95, 227, 192, 0.14); color: #b6f6e4; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(95, 227, 192, 0.32); }
.zt-pill.amber  { background: rgba(255, 196, 107, 0.14); color: #ffe0ae; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 196, 107, 0.35); }
.zt-pill.danger { background: rgba(255, 122, 122, 0.14); color: #ffc2c2; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 122, 122, 0.35); }
.zt-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(95, 227, 192, 0.55);
  animation: zt-ping 2.2s var(--ease) infinite;
  flex-shrink: 0;
}
@keyframes zt-ping {
  0% { box-shadow: 0 0 0 0 rgba(95, 227, 192, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(95, 227, 192, 0); }
}

/* Callouts */
.zt-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 196, 107, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 196, 107, 0.28);
  color: #ffe9c6;
  font-size: 0.95rem;
  line-height: 1.55;
}
.zt-callout strong { display: block; color: var(--amber); margin-bottom: 2px; font-size: 0.98rem; }
.zt-callout .ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 196, 107, 0.16);
  color: var(--amber);
}
.zt-callout .ico svg { width: 18px; height: 18px; }
.zt-callout.info { background: rgba(108, 196, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(108, 196, 255, 0.28); color: #d9efff; }
.zt-callout.info strong, .zt-callout.info .ico { color: var(--lake); }
.zt-callout.info .ico { background: rgba(108, 196, 255, 0.16); }
.zt-callout.danger { background: rgba(255, 122, 122, 0.10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 122, 122, 0.32); color: #ffdede; }
.zt-callout.danger strong, .zt-callout.danger .ico { color: var(--danger); }
.zt-callout.danger .ico { background: rgba(255, 122, 122, 0.16); }

/* Karte (innerhalb von Glas) */
.zt-card {
  position: relative;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform 0.35s var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.zt-card.hover:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.12), var(--shadow-2);
}

/* Statistik-Kacheln */
.zt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.zt-stat {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.zt-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.zt-stat span { color: var(--text-3); font-size: 0.85rem; }

/* Icon-Kachel */
.zt-icon-tile {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(95, 227, 192, 0.22), rgba(95, 227, 192, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(95, 227, 192, 0.25);
}
.zt-icon-tile svg { width: 20px; height: 20px; }

/* Leerer Zustand */
.zt-empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-3);
}

/* 7. Animationen & Barrierefreiheit ------------------------------------ */
@keyframes zt-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.zt-rise { animation: zt-rise 0.7s var(--ease) both; }
.zt-rise.d1 { animation-delay: 0.06s; }
.zt-rise.d2 { animation-delay: 0.12s; }
.zt-rise.d3 { animation-delay: 0.18s; }
.zt-rise.d4 { animation-delay: 0.24s; }

.zt-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;
}

/* Tableiste unten (iOS-Stil) – nur auf dem Handy sichtbar */
.zt-tabbar { display: none; }

@media (max-width: 720px) {
  :root { --nav-h: 56px; }
  .zt-nav { top: 10px; padding: 0 8px 0 14px; justify-content: space-between; }
  .zt-nav-links { display: none; }
  .zt-nav-cta { display: inline-flex; }
  .zt-page { padding-top: calc(var(--nav-h) + 34px); }
  .zt-footer { flex-direction: column; align-items: flex-start; margin-bottom: 104px; }

  .zt-tabbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    gap: 2px;
    height: 66px;
    padding: 6px;
    border-radius: var(--r-pill);
  }
  .zt-tabbar a {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: var(--r-pill);
    color: var(--text-2);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform 0.25s var(--ease-spring);
  }
  .zt-tabbar a:active { transform: scale(0.94); }
  .zt-tabbar a svg { width: 22px; height: 22px; }
  .zt-tabbar a[aria-current="page"] {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .lg, .zt-btn, .zt-pill, .zt-search input { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(10, 34, 28, 0.96); }
}
