/* ED Design-Grundlage (Redesign Okt. 2026) — gemeinsam fuer alle Seiten.
   Farben, Schrift, Abstaende, Radien als Variablen; Bausteine: Knoepfe (Pills), Eyebrow-Labels, Karten, Header, Footer.
   Schrift Inter liegt lokal (assets/fonts, SIL Open Font License) — keine Google-Server. */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.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: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.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;
}

:root {
  /* Flaechen */
  --bg: #ffffff;
  --surface: #f3f5f9;        /* Hellgrau mit Blaustich */
  --surface-2: #e8ecf3;
  --line: #e2e7ef;           /* Haarlinien */
  /* Dunkle Karten / Panels */
  --ink: #0b1526;
  --ink-2: #13213a;
  --ink-line: rgba(255,255,255,.09);
  /* Text */
  --text: #0e1726;
  --text-mid: #4f5a6e;       /* 6.6:1 auf Weiss */
  --text-soft: #6b7487;      /* 4.8:1 auf Weiss */
  --on-ink: #ffffff;
  --on-ink-mid: rgba(255,255,255,.72);
  --on-ink-soft: rgba(255,255,255,.55);
  /* Akzente: Blau wie Tool & Logo, Silber wie der Logo-Ring */
  --blue: #2563eb;           /* 5.2:1 auf Weiss */
  --blue-600: #1d4ed8;
  --blue-300: #93b4fb;       /* auf dunklem Grund */
  --blue-soft: #eaf0fe;
  --silver: #c4cbd8;
  --silver-2: #9aa4b6;
  --silver-grad: linear-gradient(135deg, #f4f6fa 0%, #c9d0dc 45%, #eef1f6 70%, #aab3c4 100%);
  /* Altnamen der bisherigen Seite (werden in Inline-Styles und Uebersetzungen benutzt) */
  --navy: var(--ink); --navy-mid: var(--ink-2); --navy-light: #2a4a8a;
  --gold: var(--blue); --gold-light: var(--blue-300);
  --violet: var(--blue); --violet-light: #3b82f6;
  --white: #ffffff; --off-white: var(--surface); --blue-mid: var(--line);
  --text-dark: var(--text);
  /* Form */
  --r-pill: 9999px; --r-card: 2rem; --r-card-sm: 1.25rem; --r-control: .875rem;
  --shell: 88rem;
  --pad-x: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(11,21,38,.05), 0 2px 8px rgba(11,21,38,.04);
  --shadow: 0 2px 6px rgba(11,21,38,.04), 0 18px 40px -12px rgba(11,21,38,.14);
  --shadow-lg: 0 30px 70px -20px rgba(11,21,38,.35);
  /* Bewegung */
  --ease-spring: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-line: cubic-bezier(.215,.61,.355,1);
}

/* Mitwachsendes Raster: auf grossen Bildschirmen waechst alles proportional mit (max. 20px) */
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
@media (min-width: 1500px) { html { font-size: min(1.0667vw, 20px); } }
@media (min-width: 640px) { :root { --pad-x: 2rem; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.5; }
[dir="rtl"] body { font-family: "Inter", "Segoe UI", Tahoma, system-ui, sans-serif; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { 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: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-control); font-size: .875rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.container, .shell { max-width: var(--shell); margin-inline: auto; }

/* ── Eyebrow-Label mit Punkt ── */
.section-label, .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--text-mid);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: .375rem .9rem; margin-bottom: 1.25rem; background: #fff;
}
.section-label::before, .eyebrow::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.on-ink .section-label, .on-ink .eyebrow { color: var(--on-ink-mid); border-color: var(--ink-line); background: rgba(255,255,255,.04); }
.on-ink .section-label::before { background: var(--blue-300); }

/* ── Ueberschriften ── */
.section-title { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.25rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; color: var(--text); margin-bottom: 1.1rem; text-wrap: balance; }
.section-title span[style*="color"] { color: var(--blue) !important; }
.section-sub { font-size: 1.0625rem; color: var(--text-mid); line-height: 1.7; max-width: 38rem; text-wrap: pretty; }
.on-ink .section-title { color: #fff; }
.on-ink .section-sub { color: var(--on-ink-mid); }
.section-header { margin-bottom: 3.5rem; }

/* ── Pill-Knoepfe ── */
.btn-primary, .btn-outline, .btn-light, .nav-cta, .plan-cta, .sec-proof-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  border-radius: var(--r-pill); font-weight: 600; font-size: .9375rem; line-height: 1.2;
  padding: .95rem 1.6rem; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease-spring), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease-spring);
  min-height: 3rem;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(37,99,235,.65); }
.btn-primary:hover { background: var(--blue-600); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--text); }
.on-ink .btn-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.on-ink .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }
@media (hover: hover) {
  .btn-primary:hover, .btn-outline:hover, .nav-cta:hover, .plan-cta:hover, .sec-proof-link:hover { transform: translateY(-2px) scale(1.03); }
}

/* ── Karten-Grundform ── */
.card-soft { background: var(--surface); border-radius: var(--r-card-sm); }

/* ── Haken-Listen ── */
.check-list { list-style: none; display: grid; gap: .25rem; margin-top: 1.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: .85rem; font-size: .975rem; color: var(--text-mid); line-height: 1.5; padding: .7rem .9rem; border-radius: var(--r-control); transition: background-color .3s, padding .35s var(--ease-spring); }
.check-list li::before { content: ""; flex-shrink: 0; width: 1.35rem; height: 1.35rem; margin-top: .05rem; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/62% no-repeat; }
@media (hover: hover) { .check-list li:hover { background: var(--surface); padding-inline-start: 1.25rem; } }

/* ── Header ── */
#nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000; height: 4.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 0 var(--pad-x);
  background: rgba(255,255,255,.72); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
#nav.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(11,21,38,.25); }
/* Am Handy kein Milchglas (kostet viel Rechenleistung beim Scrollen) */
@media (max-width: 900px) { #nav, #nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; transition: transform .35s var(--ease-spring); }
.nav-logo img { height: 2.6rem; width: auto; }
@media (hover: hover) { .nav-logo:hover { transform: scale(1.04); } }
.nav-links { display: flex; align-items: center; gap: .15rem; padding: .3rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255,255,255,.6); }
.nav-link { color: var(--text-mid); text-decoration: none; font-size: .875rem; font-weight: 500; padding: .45rem .9rem; border-radius: var(--r-pill); white-space: nowrap; transition: color .2s, background-color .2s; }
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-right { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.lang-btns, .cur-btns { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255,255,255,.6); }
.lang-btn, .cur-btn { background: transparent; border: 0; color: var(--text-mid); font-size: .75rem; font-weight: 600; letter-spacing: .04em; min-width: 2.1rem; padding: .35rem .5rem; border-radius: var(--r-pill); cursor: pointer; transition: background-color .2s, color .2s; }
.lang-btn:hover, .cur-btn:hover { color: var(--text); }
.lang-btn.active, .cur-btn.active { background: var(--ink); color: #fff; }
.nav-login-link { font-weight: 600 !important; }
.nav-cta { padding: .7rem 1.2rem; min-height: 2.75rem; font-size: .875rem; background: var(--ink); color: #fff; }
.nav-cta:hover { background: var(--blue); }
.nav-burger { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; place-items: center; }
.nav-burger svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 1220px) { .nav-login-link { display: none; } }
@media (max-width: 1100px) { .nav-right .lang-btns, .nav-right .cur-btns { display: none; } }
@media (max-width: 900px) { #nav .nav-links { display: none; } .nav-burger { display: grid; } }
@media (max-width: 420px) { .nav-cta { display: none; } }

/* ── Handy-Menue (Vollbild) ── */
.mobile-menu { position: fixed; inset: 0; z-index: 1500; background: var(--ink); color: #fff; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility 0s .35s; }
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
.mm-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--pad-x); }
.mm-top img { height: 2.4rem; width: auto; }
.mm-close { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; }
.mm-close svg { width: 1rem; height: 1rem; }
.mm-links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad-x); list-style: none; }
.mm-links a { display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: rgba(255,255,255,.75); text-decoration: none; transform: translateY(1rem); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s var(--ease-out), color .3s; }
.mm-links a::before { content: attr(data-nr); font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.3); }
.mm-links a:hover { color: #fff; }
.mobile-menu.open .mm-links a { transform: none; opacity: 1; }
.mm-bottom { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: 1.25rem var(--pad-x) 1.75rem; border-top: 1px solid var(--ink-line); }
.mm-bottom .lang-btns, .mm-bottom .cur-btns { display: flex; border-color: var(--ink-line); background: transparent; }
.mm-bottom .lang-btn, .mm-bottom .cur-btn { color: rgba(255,255,255,.7); }
.mm-bottom .lang-btn.active, .mm-bottom .cur-btn.active { background: #fff; color: var(--ink); }
.mm-bottom .btn-primary { width: 100%; }
html.menu-offen { overflow: hidden; }

/* ── Footer (dunkel, mit Wasserzeichen) ── */
#footer { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-card) var(--r-card) 0 0; padding: 5rem var(--pad-x) 2.5rem; margin-top: 1rem; }
.footer-inner { position: relative; z-index: 1; max-width: var(--shell); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand img { height: 3rem; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand img.logo-weiss { filter: none; }
.footer-brand p { font-size: .9rem; color: var(--on-ink-soft); line-height: 1.7; max-width: 20rem; margin-bottom: 1rem; }
.footer-brand a { color: var(--on-ink-mid) !important; }
.footer-heading { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .6rem; }
.footer-links a, .footer-legal a { color: var(--on-ink-mid); text-decoration: none; font-size: .9rem; display: inline-block; transition: transform .35s var(--ease-spring), color .2s; }
.footer-links a:hover, .footer-legal a:hover { color: #fff; }
@media (hover: hover) { .footer-links a:hover { transform: translateX(4px); } [dir="rtl"] .footer-links a:hover { transform: translateX(-4px); } }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ink-line); padding-top: 2rem; }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.55); }
.wasserzeichen { position: absolute; inset-inline: 0; bottom: -2.2rem; z-index: 0; text-align: center; pointer-events: none; user-select: none; font-weight: 800; line-height: 1; letter-spacing: -.04em; font-size: clamp(6rem, 22vw, 15rem); color: rgba(255,255,255,.045); white-space: nowrap; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }

/* ── Einblenden beim Scrollen (nur wenn JS laeuft und Bewegung erlaubt) ── */
.js-reveal .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rv-delay, 0ms); }
.js-reveal .rv.rv-in { opacity: 1; transform: none; }
.js-reveal .rv-titel { clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path .9s var(--ease-line), transform .9s var(--ease-line); transition-delay: var(--rv-delay, 0ms); }
.js-reveal .rv-titel.rv-in { clip-path: inset(0 0 -20% 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .rv, .js-reveal .rv-titel { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
