/* ============================================================
   RYVION — Apple Style Glass
   Helles Liquid-Background-Design mit Glassmorphism
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #eef7fc;
  --blob: #bfe2f9;
  --ink: #386b8e;          /* Headlines, Buttons */
  --ink-soft: #5a8ab0;     /* nur große (>=18px) / sekundäre Texte */
  --text: #2e5975;         /* Fließtext — Kontrast >= 4.5:1 auf --bg */
  --text-strong: #244760;
  --legal-text: #1f3c52;
  --shadow-blue-lg: 0 24px 48px rgba(30, 90, 140, 0.15);
  --shadow-blue-sm: 0 4px 12px rgba(30, 90, 140, 0.08);
  --radius-card: 30px;
  --radius-btn: 50px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 64px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

::selection { background: var(--blob); color: var(--text-strong); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--ink); font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius-btn);
  box-shadow: var(--shadow-blue-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Glass Recipe (Standard-Card) ---------- */
.glass {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(35px);
  backdrop-filter: blur(35px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-card);
  box-shadow:
    var(--shadow-blue-lg),
    var(--shadow-blue-sm),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Fallback ohne backdrop-filter-Support */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav, .mobile-menu, .cta-panel { background: rgba(255, 255, 255, 0.75) !important; }
}

/* ---------- Liquid Background (durchgehend, seamless) ----------
   Ein einziger fixierter Layer hinter der GESAMTEN Seite. Dadurch
   gibt es keine Sektionsgrenzen mehr, an denen Blobs hart abgeschnitten
   werden — der Hintergrund wirkt als eine Einheit. */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-bg .blob {
  position: absolute;
  background: var(--blob);
  border-radius: 40% 60% 50% 50%;
  filter: blur(70px);
  opacity: 0.7;
  will-change: transform;
  animation: flow 14s infinite alternate ease-in-out;
}

.page-bg .blob-a { width: 46vw; height: 46vw; min-width: 340px; min-height: 340px; top: -8vh;  left: -6vw; }
.page-bg .blob-b { width: 40vw; height: 40vw; min-width: 300px; min-height: 300px; top: 14vh;  right: -8vw; animation-duration: 17s; animation-delay: -4s; }
.page-bg .blob-c { width: 34vw; height: 34vw; min-width: 260px; min-height: 260px; top: 48vh;  left: -4vw; animation-duration: 20s; animation-delay: -8s; }
.page-bg .blob-d { width: 42vw; height: 42vw; min-width: 300px; min-height: 300px; top: 72vh;  right: -6vw; animation-duration: 16s; animation-delay: -2s; opacity: 0.6; }
.page-bg .blob-e { width: 38vw; height: 38vw; min-width: 280px; min-height: 280px; top: 90vh;  left: 8vw;  animation-duration: 19s; animation-delay: -11s; opacity: 0.55; }

/* Per-Sektion-Blobs abgeschaltet — der globale .page-bg ersetzt sie
   nahtlos (die alten .blob-wrap wurden an Sektionsgrenzen geclippt). */
.blob-scene { position: relative; }
.blob-wrap { display: none; }

@keyframes flow {
  0%   { transform: scale(0.92) translate(-24px, 16px); border-radius: 40% 60% 50% 50%; }
  100% { transform: scale(1.08) translate(24px, -16px); border-radius: 60% 40% 60% 40%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 12px 30px;
  border-radius: var(--radius-btn);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: var(--shadow-blue-sm);
}
.btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 90, 140, 0.1);
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover { background: #2e5a79; }

/* ---------- Navigation (Sticky Glass-Bar) ---------- */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(35px);
  backdrop-filter: blur(35px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-blue-sm), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-blue-lg), inset 0 1px 1px rgba(255, 255, 255, 0.4); }

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.nav-logo:hover { text-decoration: none; }
/* Markenzeichen: transparentes PNG, trägt eigene Farben -> auf hell und dunkel sichtbar */
.nav-logo img { width: 30px; height: auto; flex: none; }
.footer-brand .nav-logo img { width: 34px; }

/* ---------- Tarif-Vergleich (Free / Pro / Ultra) ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.tier-card { padding: 30px 26px; display: flex; flex-direction: column; }
.tier-card.featured { border-top: 2px solid rgba(255, 255, 255, 0.95); }
.tier-head { margin-bottom: 16px; }
.tier-name { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.tier-sub { font-size: 0.88rem; color: var(--text); margin: 2px 0 0; }
.tier-price { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-top: 10px; }
.tier-price small { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.tier-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.tier-list li { display: flex; gap: 9px; align-items: flex-start; }
.tier-list .check { color: var(--ink); font-weight: 700; flex: none; }
.tier-list li.highlight { font-weight: 600; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-btn);
  padding: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  padding: 5px 10px;
  border-radius: var(--radius-btn);
  cursor: pointer;
}
.lang-toggle button.active { background: var(--ink); color: #fff; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(1100px, calc(100% - 24px));
  z-index: 99;
  padding: 18px 22px;
  display: none;
  opacity: 0;
  transition: 0.25s;
}
.mobile-menu.open { display: block; opacity: 1; transform: translateX(-50%) translateY(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mobile-menu a { font-weight: 600; }
.mobile-menu .lang-toggle { margin-top: 14px; }

/* ---------- Layout ---------- */
main { display: block; }

.section {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 20px;
}
.section-tight { padding-top: 40px; padding-bottom: 40px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; position: relative; z-index: 1; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-lead { font-size: 1.08rem; color: var(--text); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 1; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 20px 72px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-panel { padding: 44px; }
.hero-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero h1 em { font-style: normal; color: var(--ink-soft); }
.hero-sub { font-size: 1.1rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; align-items: center; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badges img { height: 46px; width: auto; }
a[data-app-store]:not([href]) { pointer-events: none; cursor: default; }
.store-note { font-size: 0.85rem; color: var(--ink); font-weight: 600; }

.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  padding: 14px;
  border-radius: 42px;
  max-width: 280px;
}
.phone-frame img { border-radius: 30px; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.stat { text-align: center; padding: 26px 14px; }
.stat-num { font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.stat-label { font-size: 0.85rem; color: var(--text); }

/* ---------- Feature Cards ---------- */
.feature-card { padding: 28px; }
.feature-icon { font-size: 1.7rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; margin: 0; }

.tier-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--ink);
  margin-bottom: 12px;
}
.tier-chip.ultra { background: var(--ink); color: #fff; border-color: var(--ink); }

.footnote { font-size: 0.85rem; color: var(--text); max-width: 640px; margin: 22px auto 0; text-align: center; position: relative; z-index: 1; }

/* ---------- Steps ---------- */
.step-num {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

/* ---------- ACE Section ---------- */
.ace-panel { padding: 44px; margin-bottom: 22px; }
.ace-panel h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.ace-panel p { margin: 0; }
.ace-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; z-index: 1; }
.ace-intro { font-size: 1.08rem; max-width: 62ch; margin: 0 auto 40px; text-align: center; position: relative; z-index: 1; }

/* ---------- Trust ---------- */
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  font-size: 0.98rem;
}
.trust-list .check { color: var(--ink); font-weight: 700; flex: none; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; position: relative; z-index: 1; }
.price-card { padding: 32px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-top: 2px solid rgba(255, 255, 255, 0.95); }
.price-value { font-size: 2.1rem; font-weight: 700; color: var(--ink); }
.price-period { font-size: 0.9rem; color: var(--text); }
.price-note { font-size: 0.8rem; color: var(--text); margin-top: 4px; }
.price-features { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; font-size: 0.92rem; }
.price-features li { display: flex; gap: 9px; align-items: flex-start; }
.price-features .check { color: var(--ink); font-weight: 700; flex: none; }
.price-card .btn { margin-top: auto; justify-content: center; }
.save-badge {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 6px;
  white-space: nowrap;
}
.adfree-note {
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 26px auto 0;
  padding: 14px 22px;
  position: relative;
  z-index: 1;
}
.price-legal { font-size: 0.82rem; color: var(--text); text-align: center; max-width: 560px; margin: 26px auto 0; position: relative; z-index: 1; }

/* ---------- Gallery ---------- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}
.gallery-row .shot { padding: 8px; border-radius: 24px; }
.gallery-row img { border-radius: 18px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; position: relative; z-index: 1; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
}
.faq-question .chev { transition: transform 0.3s; flex: none; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 22px;
  font-size: 0.94rem;
}
.faq-answer p { margin: 0 0 18px; }

/* ---------- CTA ---------- */
.cta-panel { text-align: center; padding: 52px 32px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.founder-portrait {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.quote-block {
  text-align: center;
  padding: 40px 32px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.quote-block blockquote {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 500;
}
.quote-block cite { color: var(--text); font-style: normal; font-size: 0.9rem; }

/* ---------- Warum Ryvion? (About) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.way-panel { padding: 32px 24px; text-align: center; }
.way-icons { font-size: 1.5rem; letter-spacing: 8px; margin-bottom: 14px; }
.way-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}
.way-panel h3 { margin-bottom: 6px; }
.way-panel p { margin: 0; font-size: 0.95rem; }

.indie-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

/* ---------- Ökosystem-Kacheln (About) ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.eco-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.eco-icon { font-size: 1.8rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; position: relative; z-index: 1; }
.contact-card { padding: 28px; display: flex; align-items: center; gap: 16px; }
.contact-card:hover { text-decoration: none; transform: translateY(-2px); transition: 0.3s; }
.contact-icon { font-size: 1.6rem; flex: none; display: inline-flex; }
.contact-icon svg { width: 24px; height: 24px; fill: var(--ink); }
.contact-card h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-card p { margin: 0; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer { padding: 40px 20px 28px; position: relative; }
.footer-panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 36px 24px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand p { font-size: 0.9rem; max-width: 30ch; }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { font-size: 0.9rem; color: var(--text); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(56, 107, 142, 0.15);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--text);
}
/* Beschriftete Pills statt reiner Icons — nie als nackte URL lesbar */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-social svg { width: 18px; height: 18px; fill: var(--ink); flex: none; }

/* ---------- Legal Pages ---------- */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: calc(var(--nav-h) + 56px) 20px 72px; position: relative; z-index: 1; }

.legal-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.legal-badge .flag { font-size: 1.2rem; }

.legal-hint {
  padding: 14px 22px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}
.legal-hint a { font-weight: 600; }

.legal-reader {
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 5vw, 56px);
  color: var(--legal-text);
}
.legal-reader > * { max-width: 72ch; }
.legal-reader h1 { font-size: 1.7rem; color: var(--text-strong); }
.legal-reader h2 { font-size: 1.25rem; color: var(--text-strong); margin-top: 2em; }
.legal-reader h3 { font-size: 1.05rem; color: var(--text-strong); margin-top: 1.6em; }
.legal-reader p, .legal-reader li { font-size: 0.95rem; line-height: 1.7; }
.legal-reader ul { padding-left: 1.3em; }
.legal-reader hr { border: 0; border-top: 1px solid rgba(56, 107, 142, 0.2); margin: 2em 0; }
.legal-reader a { text-decoration: underline; }

.table-wrap { overflow-x: auto; max-width: none; margin: 1.2em 0; }
.legal-reader table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.88rem; }
.legal-reader th, .legal-reader td {
  border: 1px solid rgba(56, 107, 142, 0.25);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-reader th { background: rgba(191, 226, 249, 0.35); color: var(--text-strong); }

/* Legal Hub */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; position: relative; z-index: 1; }
.hub-card { padding: 24px; display: block; }
.hub-card:hover { text-decoration: none; transform: translateY(-2px); transition: 0.3s; }
.hub-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.hub-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; }
.hub-meta span {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-btn);
  padding: 2px 10px;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- ACE-Seite: schematische Beispielwoche ---------- */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.week-day {
  padding: 18px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.week-dow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.week-label { font-size: 0.85rem; color: var(--text); line-height: 1.4; }
.week-train { border-top: 2px solid rgba(255, 255, 255, 0.95); }
.week-train .week-label { color: var(--ink); font-weight: 600; }
.week-rest .week-label { opacity: 0.75; }

/* ---------- Landingpages: Funktion + Screenshot ---------- */
.lp-help-list { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.lp-help {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
}
.lp-help:nth-child(even) { grid-template-columns: 150px 1fr; }
.lp-help:nth-child(even) .lp-help-text { order: 2; }
.lp-help:nth-child(even) .lp-help-shot { order: 1; }
.lp-help h3 { font-size: 1.08rem; margin-bottom: 7px; }
.lp-help p { font-size: 0.94rem; margin: 0; }
.lp-help-shot img { border-radius: 16px; box-shadow: var(--shadow-blue-sm); }

/* ---------- Hilfe-Center ---------- */
.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--ink); }
.breadcrumb .crumb-sep { color: var(--ink-soft); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

.help-search { padding: 14px 18px; max-width: 640px; margin: 0 auto 18px; position: relative; z-index: 1; }
.help-search input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  padding: 8px 4px;
}
.help-search input::placeholder { color: var(--ink-soft); }
.help-search input:focus { outline: none; }
.help-search:focus-within { box-shadow: var(--shadow-blue-lg), 0 0 0 3px rgba(56, 107, 142, 0.25); }

.help-results { max-width: 640px; margin: 0 auto 28px; display: grid; gap: 10px; position: relative; z-index: 1; }
.help-results:empty { margin: 0 auto; }
.help-result { display: block; padding: 16px 20px; }
.help-result:hover { text-decoration: none; transform: translateY(-2px); transition: 0.25s; }
.help-result h3 { font-size: 1rem; margin: 0 0 4px; }
.help-result p { font-size: 0.88rem; margin: 0; color: var(--text); }
.help-result .help-result-cat {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.help-count { font-size: 0.85rem; color: var(--text); text-align: center; }

.help-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 1; }
.help-cat { display: block; padding: 24px 22px; }
.help-cat:hover { text-decoration: none; transform: translateY(-2px); transition: 0.25s; }
.help-cat-icon { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.help-cat h2 { font-size: 1.02rem; margin: 0 0 6px; }
.help-cat p { font-size: 0.86rem; margin: 0 0 10px; color: var(--text); }
.help-cat-count { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }

.help-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.help-item { display: block; padding: 20px 24px; }
.help-item:hover { text-decoration: none; transform: translateY(-2px); transition: 0.25s; }
.help-item h3 { font-size: 1.02rem; margin: 0 0 5px; }
.help-item p { font-size: 0.88rem; margin: 0; color: var(--text); }

.help-article {
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 4vw, 44px);
  max-width: 760px;
  margin: 0 auto;
  color: var(--legal-text);
}
.help-article h1 { font-size: 1.6rem; color: var(--text-strong); }
.help-article p { font-size: 1rem; line-height: 1.75; margin: 0; }
.help-article a { text-decoration: underline; }

.helpful, .help-related {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 22px 26px;
  position: relative;
  z-index: 1;
}
.helpful strong { color: var(--ink); display: block; margin-bottom: 6px; }
.helpful p { font-size: 0.92rem; margin: 0 0 14px; }
.help-related h2 { font-size: 1rem; margin-bottom: 10px; }
.help-related ul { margin: 0; padding-left: 1.2em; display: grid; gap: 7px; font-size: 0.92rem; }
.help-foot {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}

/* ---------- Reveal Animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav .lang-toggle { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone-frame { max-width: 210px; }
  .grid-3, .ace-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .help-cat-grid { grid-template-columns: 1fr 1fr; }
  .week-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-row { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 280px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 52px 16px; }
  .hero-panel { padding: 30px 22px; }
  .grid-3, .grid-2, .ace-grid, .pricing-grid, .contact-grid, .hub-grid, .tier-grid,
  .help-cat-grid { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: 1fr 1fr; }
  .lp-help, .lp-help:nth-child(even) { grid-template-columns: 1fr; }
  .lp-help:nth-child(even) .lp-help-text { order: 0; }
  .lp-help:nth-child(even) .lp-help-shot { order: 0; }
  .lp-help-shot { max-width: 150px; margin: 0 auto; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .ace-panel { padding: 28px 22px; }
}
