/* =========================================================
   Project Celeste – styles.css
   Minimalistisch · Pastell-Indigo · rund · barrierearm
   Alle Schriften: lokale System-Font-Stacks (DSGVO-konform)
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Farben */
  --ink:        #1c1b2e;   /* Haupttext / dunkel */
  --ink-soft:   #4a4860;   /* Fließtext */
  --muted:      #6f6d84;   /* sekundär */
  --line:       #e7e4f2;   /* Rahmen/Trenner */

  --bg:         #ffffff;
  --bg-tint:    #f6f4ff;   /* zarter Lavendel-Hintergrund */
  --surface:    #ffffff;

  --accent:      #6c5ce7;  /* Pastell-Indigo */
  --accent-600:  #5b4bd6;  /* Hover */
  --accent-soft: #a99ef5;  /* zweiter Ton */
  --accent-tint: #efecff;  /* Akzent-Fläche */

  /* Typo */
  --font-sans: "SF Pro Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Fira Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  /* Radius & Schatten (runder Charakter) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(28,27,46,.05);
  --shadow-md: 0 12px 30px rgba(28,27,46,.08);
  --shadow-lg: 0 24px 60px rgba(108,92,231,.14);

  /* Layout */
  --maxw: 1120px;
  --maxw-narrow: 760px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(108, 92, 231, .14);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1rem; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--maxw-narrow); }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .8rem; font-weight: 600;
}
.section-title { color: var(--ink); }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  --pad: .8em 1.4em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; padding: var(--pad);
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(108,92,231,.28); }
.btn-primary:hover { background: var(--accent-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-soft); background: var(--accent-tint); }
.btn-small { padding: .55em 1.05em; font-size: .95rem; }
.btn-large { padding: 1em 1.9em; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,.92); box-shadow: 0 6px 24px rgba(28,27,46,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand img { display: block; }
.brand:hover { text-decoration: none; }

.nav-menu { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink); font-weight: 550; font-size: .98rem; }
.nav-menu a:not(.btn):hover { color: var(--accent-600); text-decoration: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--r-sm); cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translate(-50%,-50%);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-bar::before { transform: translate(-50%, -7px); }
.nav-toggle-bar::after  { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translate(-50%,0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translate(-50%,0) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 62ch; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head .section-sub { margin-inline: auto; }

/* ---------- Sprachumschalter ---------- */
.lang-switch {
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: .3em .7em;
}
.lang-switch:hover { color: var(--accent-600); border-color: var(--accent-soft); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(60% 60% at 85% 0%, var(--accent-tint) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 20%, #f0fbff 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .5em; }
.accent-word { color: var(--accent); position: relative; white-space: nowrap; }
.accent-word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .18em;
  background: var(--accent-soft); border-radius: 999px; opacity: .5; z-index: -1;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.6rem 0 1rem; }
.hero-note { font-size: .9rem; color: var(--muted); font-family: var(--font-mono); }

/* Hero-Visual: kostenlose Design-Vorschau (Browser-Mock) */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.preview {
  width: 100%; max-width: 460px; margin: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.preview-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f4f3f8; border-bottom: 1px solid var(--line); }
.preview-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d7d3e2; }
.preview-tab {
  margin-left: auto; font-family: var(--font-mono); font-size: .72rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
}
.preview-body { padding: 20px; background: linear-gradient(165deg, #fff, var(--accent-tint)); }
.preview-hero { height: 58px; background: linear-gradient(120deg, var(--accent), var(--accent-soft)); border-radius: 12px; margin-bottom: 16px; }
.preview-lines { display: grid; gap: 9px; margin-bottom: 16px; }
.preview-lines i { height: 9px; background: #d3cfe0; border-radius: 5px; display: block; }
.preview-lines i.short { width: 60%; }
.preview-cards { display: flex; gap: 10px; }
.preview-cards b { flex: 1; height: 52px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.preview-caption { font-family: var(--font-mono); font-size: .85rem; color: var(--muted); letter-spacing: .02em; text-align: center; }

/* ---------- Warum ein Relaunch: Vergleich ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
.compare-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.compare-card.is-new { border-color: var(--accent-soft); background: linear-gradient(170deg, #fff, var(--accent-tint)); }
.compare-chip {
  display: inline-block; font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; margin: 0 0 1.1rem;
}
.is-now .compare-chip { background: #f0eef5; color: var(--ink-soft); }
.is-new .compare-chip { background: var(--accent); color: #fff; }
.compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.compare-list li { position: relative; padding-left: 2.1rem; color: var(--ink-soft); }
.compare-list li::before {
  position: absolute; left: 0; top: .05em; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .9rem; font-weight: 700;
}
.is-now .compare-list li::before { content: "•"; background: #f0eef5; color: var(--muted); }
.is-new .compare-list li::before { content: "✓"; background: var(--accent-tint); color: var(--accent-600); }
.compare-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); }
.compare-arrow svg { width: 34px; height: 34px; }

/* ---------- Karten ---------- */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
}
.card-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem;
  border-radius: 14px; background: var(--accent-tint); color: var(--accent-600);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card-info { display: none; }  /* nur auf dem Handy sichtbar */

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent-soft), var(--line)); }
.tl-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.2rem; padding: 0 0 2rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
  background: #fff; color: var(--accent-600); border: 2px solid var(--accent-soft); box-shadow: var(--shadow-sm);
}
.tl-body { padding-top: .2rem; }
.tl-body h3 { margin-bottom: .2rem; }
.tl-body p { margin: 0; color: var(--muted); }
/* Schritt 2 – kostenlose Vorschau – hervorheben */
.tl-step.is-highlight .tl-num { background: var(--accent); color: #fff; border-color: var(--accent); }
.tl-step.is-highlight .tl-body {
  background: var(--accent-tint); border-radius: var(--r-md); padding: .9rem 1.1rem;
  margin-top: -.4rem;
}
.tl-step.is-highlight .tl-body h3 { color: var(--accent-600); }
.tl-step.is-highlight .tl-body p { color: var(--ink-soft); }

/* ---------- Vorteile ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.benefit {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm);
}
.benefit-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 8px 20px rgba(108,92,231,.28); }
.benefit-badge svg { width: 26px; height: 26px; }
.benefit-lead { font-weight: 650; color: var(--ink); font-size: 1.08rem; margin-bottom: .5rem; }
.benefit p:last-child { margin: 0; color: var(--muted); }

/* ---------- Preise ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card--featured { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 600;
  padding: .3rem .9rem; border-radius: 999px; white-space: nowrap;
}
.price-head { border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.2rem; }
.price-head h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.price-tag { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.2; }
.price-tag span { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-desc { color: var(--muted); }
.price-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .7rem; flex: 1; }
.price-list li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-600); font-weight: 700; }
.price-foot { text-align: center; color: var(--muted); font-size: .95rem; margin: clamp(1.6rem, 3vw, 2.2rem) auto 0; max-width: 60ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--accent-600); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #d7d4e8; }
.cta .section-title { color: #fff; }
.cta .section-sub { color: #b6b2cc; margin-inline: auto; }
.cta-inner { text-align: center; }
.cta-actions { margin: 1.8rem 0 1.4rem; display: flex; justify-content: center; }
.cta-contact { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; align-items: center; font-family: var(--font-mono); font-size: .95rem; color: #cfcbe4; }
.cta-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-sep { color: #6a6790; }
.cta-placeholder { color: #8b88a8; }
.cta-fineprint { font-size: .82rem; color: #8b88a8; margin-top: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: #16152a; color: #b6b2cc; padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { display: inline-block; }
.footer-logo:hover { text-decoration: none; opacity: .85; }
.footer-brand p { margin: 1rem 0 0; font-size: .95rem; max-width: 40ch; color: #9c99b8; }
.footer-nav h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #7f7c9d; margin: 0 0 .9rem; font-weight: 600; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-nav a { color: #cfcbe4; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.tag { font-size: .68rem; font-family: var(--font-mono); color: #7f7c9d; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 1px 7px; margin-left: .3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-top: 1.4rem; font-size: .85rem; color: #7f7c9d; }
.footer-bottom p { margin: 0; }

/* ---------- Modal / Anfrageformular ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(12px, 4vw, 24px); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20, 19, 38, .55); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3.5vw, 2.4rem); animation: modal-in .25s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }
.modal__close {
  position: absolute; top: .8rem; right: .8rem; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: background .2s var(--ease);
}
.modal__close:hover { background: var(--bg-tint); }
.modal__close:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.modal__title { margin-bottom: .3rem; }
.modal__desc { color: var(--muted); margin-bottom: 1.4rem; }

.pform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.pform__field { display: flex; flex-direction: column; gap: .3rem; }
.pform__field--full { grid-column: 1 / -1; }
.pform label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.pform input, .pform textarea {
  font: inherit; font-size: .98rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .6rem .7rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pform input:focus, .pform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 92, 231, .15); }
.pform textarea { resize: vertical; min-height: 84px; }
.pform__count { align-self: flex-end; font-size: .78rem; color: var(--muted); font-family: var(--font-mono); }
.pform__consent { display: flex; gap: .6rem; align-items: flex-start; margin: 1.1rem 0 1.2rem; font-size: .9rem; font-weight: 400; color: var(--ink-soft); }
.pform__consent input { width: 18px; height: 18px; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--accent); }
.pform__consent a { color: var(--accent-600); }
.pform__status { margin: .8rem 0 0; font-size: .92rem; text-align: center; min-height: 1.2em; }
.pform__status.is-error { color: #b23c3c; }
.pform__status.is-success { color: var(--accent-600); font-weight: 600; }
@media (max-width: 560px) { .pform__grid { grid-template-columns: 1fr; } }

/* ---------- Legal-Seiten (Impressum / Datenschutz) ---------- */
.legal { max-width: var(--maxw-narrow); }
.legal h1 { margin-bottom: .3rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2.2rem; }
.legal p { color: var(--ink-soft); }
.legal a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { color: var(--muted); font-family: var(--font-mono); font-size: .85rem; margin-bottom: 1.6rem; }
.legal-note {
  background: var(--accent-tint); border-radius: var(--r-md); padding: .9rem 1.1rem;
  font-size: .95rem; margin-bottom: 2rem;
}

/* ---------- Reveal-Animation (dezent, beim Scrollen) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Entwurfsgrafik im schmalen Layout UNTER die Überschrift, nicht darüber */
  .hero-visual { order: 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow svg { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .3rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: .8rem var(--gutter) 1.2rem;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .28s var(--ease), padding .28s var(--ease), visibility .28s;
  }
  .nav-menu.open { max-height: 420px; visibility: visible; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .7rem .2rem; }
  .nav-menu .lang-switch { display: inline-block; width: fit-content; padding: .3em .7em; }
  .nav-menu .btn { justify-content: center; margin-top: .3rem; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Kompaktere Abstände auf dem Handy */
  .section { padding: clamp(2.4rem, 7vw, 3.4rem) 0; }
  .hero { padding-top: 1.4rem; }
  .lead { font-size: 1.08rem; }

  /* Klarere, fingerfreundliche CTAs */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* Auf dem Handy mit der Überschrift starten:
     Eyebrow-Text und Entwurfsgrafik ausblenden */
  .hero-copy .eyebrow { display: none; }
  .hero-visual { display: none; }

  /* Leistungen: zentrierte Kacheln mit Info-Popup */
  .card-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .card { position: relative; padding: 1.35rem .8rem 1.2rem; text-align: center; }
  .card-icon { width: 44px; height: 44px; margin: 0 auto .65rem; }
  .card-icon svg { width: 23px; height: 23px; }
  .card h3 { font-size: 1rem; margin: 0; }

  /* Info-Button (i) */
  .card-info {
    position: absolute; top: .55rem; right: .55rem; width: 28px; height: 28px;
    display: grid; place-items: center; border-radius: 50%;
    border: 1.5px solid var(--accent-soft); background: #fff; color: var(--accent-600);
    font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700;
    font-size: .98rem; line-height: 1; cursor: pointer; padding: 0;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  }
  .card-info:hover, .card-info[aria-expanded="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
  .card-info:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }

  /* Popup mit der Beschreibung */
  .card p {
    position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translateX(calc(-50% + var(--shift, 0px))) translateY(-6px);
    width: min(260px, 76vw); margin: 0; z-index: 20;
    text-align: left; font-size: .92rem; color: var(--ink-soft);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: .85rem .95rem; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .card.is-open { z-index: 30; }
  .card.is-open p {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(calc(-50% + var(--shift, 0px))) translateY(0);
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
