/* ================================================================
   CASify — Shared styles (tokens, base, navbar, buttons, footer,
   page template). Linked from every page in the site.
   ================================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:         oklch(0.50 0.225 264);
  --blue-dark:    oklch(0.44 0.215 264);
  --blue-xlight:  oklch(0.971 0.016 264);
  --text:         oklch(0.152 0.015 265);
  --text-sec:     oklch(0.335 0.022 265);
  --muted:        oklch(0.455 0.030 265);
  --muted-light:  oklch(0.655 0.022 265);
  --bg:           oklch(0.998 0.002 264);
  --bg-soft:      oklch(0.980 0.006 264);
  --border:       oklch(0.917 0.010 264);
  --border-light: oklch(0.958 0.006 264);
  --green:        oklch(0.530 0.178 145);
  --r-sm:         8px;
  --r-btn:        10px;
  --r-full:       9999px;
  --shadow-blue:  0 2px 10px rgba(37,99,235,.16);
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1120px;
}

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

.accent { color: var(--blue); font-weight: inherit; font-size: inherit; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

h1, h2, h3, h4 { text-wrap: balance; }

p { text-wrap: pretty; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--blue); color: white;
  padding: 8px 16px; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; border-radius: 0 0 var(--r-sm) 0;
  z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

@media (min-width: 901px) {
  :root { --container-max: 1200px; }
}

/* ── NAV ──────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  height: 60px;
  background: oklch(0.998 0.002 264 / 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid oklch(0.917 0.010 264 / 0.55);
}

.nav-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.125rem; font-weight: 800;
  color: var(--text); text-decoration: none;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.logo-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: block; flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}

.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 40px;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--text-sec); text-decoration: none;
  padding: 8px 2px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color .2s var(--ease);
}
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); }
.nav-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.nav-right {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
}

.lang-opt {
  font-family: inherit;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: none; border: none; cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--r-full);
  transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  line-height: 1;
  min-height: 28px;
}
.lang-opt:hover { color: var(--text-sec); }
.lang-opt.active {
  background: white;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.04);
}
.lang-opt:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Waitlist button in the navbar — same visual language as .btn-primary */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px;
  font-family: inherit;
  font-size: 0.8125rem; font-weight: 600;
  color: white; text-decoration: none;
  background: var(--blue);
  border: none;
  border-radius: var(--r-btn);
  padding: 9px 18px;
  box-shadow: var(--shadow-blue);
  transition: all .2s var(--ease);
}
.nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,.20);
}
.nav-cta:active {
  transform: translateY(1px);
  box-shadow: 0 1px 6px rgba(37,99,235,.14);
}
.nav-cta:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ── HAMBURGER ──────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background .18s var(--ease);
}
.menu-toggle:hover         { background: var(--bg-soft); }
.menu-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .26s var(--ease), opacity .18s;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV PANEL ───────────────── */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  z-index: 49;
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--ease);
}
.mobile-nav-panel.open { max-height: 600px; overflow-y: auto; }

.mobile-nav-list { list-style: none; padding: 6px 0 4px; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 40px);
  height: 52px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.01em;
  transition: color .15s, background .15s;
}
.mobile-nav-link:hover        { color: var(--blue); background: var(--blue-xlight); }
.mobile-nav-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.mobile-nav-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px clamp(20px, 5vw, 40px) 20px;
  border-top: 1px solid var(--border-light);
}

.mobile-lang-label {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-right: 4px;
}

.mobile-lang-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  cursor: pointer;
  padding: 6px 16px;
  min-height: 34px;
  transition: all .18s var(--ease);
}
.mobile-lang-btn:hover { color: var(--text-sec); }
.mobile-lang-btn.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.mobile-lang-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ── BACKDROP ───────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.18);
  z-index: 47;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile nav covers the same range as every other "mobile" rule (900px),
   see Global Constraints note on the breakpoint change. */
@media (max-width: 900px) {
  .logo-icon          { display: none; }
  .lang-switch        { display: none; }
  .nav-center         { display: none; }
  .menu-toggle        { display: flex; }
  .mobile-nav-panel   { display: block; }
  .nav-backdrop       { display: block; }
  .nav-right          { gap: 10px; }
  .nav-cta {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 7px 12px;
    min-height: 36px;
  }
}

/* Extra-narrow phones (≈320-400px): shrink further so hamburger + logo +
   CTA never overflow the available width. */
@media (max-width: 400px) {
  .nav-right { gap: 6px; }
  .nav-cta {
    font-size: 0.6875rem;
    padding: 6px 9px;
    min-height: 32px;
  }
}

/* ── BUTTONS ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: var(--r-btn);
  transition: all .2s var(--ease);
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,.20);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 6px rgba(37,99,235,.14);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn-lg { font-size: 1rem; padding: 16px 40px; letter-spacing: -0.01em; }

/* ── FOOTER ───────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(32px, 4vw, 48px) 0; background: var(--bg);
}

.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.footer-logo {
  font-size: 0.9375rem; font-weight: 800;
  color: var(--text); text-decoration: none;
  letter-spacing: -.02em;
}

footer nav { display: flex; gap: 28px; flex-wrap: wrap; }

footer nav a {
  font-size: 0.8125rem; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
footer nav a:hover { color: var(--text); }
footer nav a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

.footer-copy { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  footer nav { gap: 20px; }
}

/* ── PAGE TEMPLATE (Uebersicht, Ueber mich, Feature pages) ── */
.page-header {
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 56px);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

/* Fine, full-width divider line between every pair of adjacent top-level
   sections, regardless of whether the section itself is width-constrained */
main > section + section,
.page-content > section + section {
  position: relative;
}
main > section + section::before,
.page-content > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid var(--border-light);
}

.page-eyebrow {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}

.section-eyebrow {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}

/* ── SECTION HEADER (centered eyebrow + heading, used across bento sections) ── */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -.025em; color: var(--text);
}
.section-header p {
  margin-top: 12px;
  font-size: 0.9375rem; color: var(--muted); line-height: 1.7;
}

/* ── ACCORDION (used by FAQ and Themen) ── */

.accordion-trigger {
  width: 100%;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer;
  font-family: inherit;
  padding: 24px 0; min-height: 64px;
  text-align: left;
}
.accordion-trigger:hover .accordion-arrow { color: var(--blue); }
.accordion-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.accordion-label {
  font-size: 1rem; font-weight: 600;
  color: var(--text); line-height: 1.4;
  letter-spacing: -.015em;
  transition: color 200ms;
}

.accordion-arrow {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--muted);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), color 200ms;
}
.accordion-trigger[aria-expanded="true"] .accordion-arrow { transform: rotate(180deg); color: var(--blue); }
.accordion-trigger[aria-expanded="true"] .accordion-label { color: var(--blue); }

.accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-body {
  padding-bottom: 24px;
  font-size: 0.9375rem; color: var(--muted); line-height: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  .accordion-panel { transition: none; }
  .accordion-arrow  { transition: none; }
}
@media (max-width: 640px) {
  .accordion-trigger { min-height: 56px; padding: 20px 0; }
  .accordion-label { font-size: 0.9375rem; }
}

.page-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em; color: var(--text);
  max-width: 700px; margin: 0 auto 16px;
}

.page-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted); max-width: 560px;
  margin: 0 auto; line-height: 1.65;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) clamp(80px, 9vw, 120px);
  display: flex; flex-direction: column;
  gap: clamp(56px, 7vw, 88px);
}

/* ── BACK TO TOP ──────────────────────── */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, color .2s, border-color .2s;
  z-index: 40;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: var(--blue); border-color: rgba(37,99,235,.4); }
.back-to-top:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.back-to-top svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .01s linear, visibility .01s linear; }
}



/* ── MOBILE SHOT FRAME (real phone-portrait screenshots) ── */
.mobile-shot-frame {
  aspect-ratio: 9 / 19.5;
  max-width: 300px;
  margin: 20px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}
.mobile-shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── COMPARE (CASify vs. KI-Chatbots) ── */
.compare-section {
  padding: clamp(72px, 8vw, 112px) 0;
}
.compare-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.compare-card {
  flex: 1 1 320px;
  max-width: 360px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 40px);
}
.compare-card--highlight {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.compare-card-title {
  font-size: 1.125rem; font-weight: 700;
  color: var(--text); margin-bottom: 24px;
}
.compare-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}
.compare-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--text-sec);
}
.compare-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.compare-card .compare-list svg { color: var(--muted-light); }
.compare-card--highlight .compare-list svg { color: var(--blue); }

.compare-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.2vw, 24px);
  max-width: 900px;
  margin: clamp(40px, 5vw, 56px) auto 0;
}
@media (max-width: 640px) {
  .compare-extra-grid { grid-template-columns: 1fr; }
}
.compare-extra-tile {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(22px, 2.8vw, 28px);
  text-align: center;
}
.compare-extra-tile--wide { grid-column: 1 / -1; }
.compare-extra-tile h3 {
  font-size: 0.9375rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.compare-extra-tile p { font-size: 0.8438rem; color: var(--muted); line-height: 1.6; }

/* ── FEATURE TABLE (checkmark list, e.g. Kompatibilität) ── */
.feature-table-wrap {
  max-width: 640px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.feature-table {
  width: 100%;
  border-collapse: collapse;
}
.feature-table thead th {
  padding: 12px 24px;
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted);
  text-align: left;
  background: var(--bg-soft);
}
.feature-table thead th:last-child {
  width: 48px;
  text-align: center;
}
.feature-table td {
  padding: 14px 24px;
  font-size: 0.9375rem;
  color: var(--text-sec);
  text-align: left;
}
.feature-table td:last-child {
  width: 48px;
  text-align: center;
}
.feature-table td:last-child svg {
  width: 18px; height: 18px; color: var(--blue);
}
.feature-table-group td {
  padding: 16px 24px 6px;
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted);
  background: var(--bg-soft);
}

/* ── PRICING (Lite vs Pro) ── */
.pricing-section {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--bg-soft);
}
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 320px;
  max-width: 360px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(32px, 3.5vw, 44px);
  position: relative;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15,23,42,.10);
}
.pricing-card--highlight {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.pricing-card--highlight:hover {
  box-shadow: 0 20px 48px rgba(37,99,235,.14);
}
.pricing-card-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: white;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}
.pricing-card-icon {
  width: 96px; height: 96px;
  margin-bottom: 20px;
  border-radius: 22%;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}
.pricing-card-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pricing-card-price {
  font-size: 2rem; font-weight: 800;
  color: var(--text); margin-bottom: 4px;
}
.pricing-card-price-suffix {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
}
.pricing-card-tagline {
  font-size: 0.875rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 24px;
  width: 100%;
}
.pricing-card-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  width: 100%;
  margin-bottom: 28px;
  text-align: left;
  flex: 1;
}
.pricing-card-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--text-sec);
}
.pricing-card-list svg {
  width: 18px; height: 18px; color: var(--blue);
  flex-shrink: 0; margin-top: 2px;
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9375rem;
  padding: 14px 28px;
}

/* ── TOPIC EXPLORER (mixed-size bento grid) ── */
.topics-section { padding: clamp(64px, 7vw, 96px) 0; }
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}
@media (min-width: 640px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
}
.topic-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 2.8vw, 32px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.topic-card-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-xlight); color: var(--blue);
  margin-bottom: 16px;
}
.topic-card-icon svg { width: 20px; height: 20px; }
.topic-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.topic-card p {
  font-size: 0.875rem; color: var(--muted); line-height: 1.6;
}

/* ── STATS / SOCIAL PROOF (bento grid) ── */
.stats-section { padding: clamp(64px, 7vw, 96px) 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}
.stat-tile {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(32px, 4vw, 44px) clamp(20px, 2.8vw, 28px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.stat-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.stat-tile-num {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800; color: var(--blue);
  letter-spacing: -.03em; margin-bottom: 8px;
}
.stat-tile-label { font-size: 0.9375rem; font-weight: 600; color: var(--text-sec); margin-bottom: 4px; }
.stat-tile-sub { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* ── SCHULEN ── */
.schools-section { padding: clamp(72px, 8vw, 112px) 0; }
.schools-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.schools-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: clamp(20px, 2.5vw, 28px);
  font-size: 0.9375rem; font-weight: 600;
  color: var(--blue); text-decoration: none;
}
.schools-link:hover { color: var(--blue-dark); text-decoration: underline; }
.schools-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ── STAR RATING (survey results) ── */
.star-rating {
  position: relative;
  display: inline-block;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 3px;
  color: var(--border);
}
.star-rating-fill {
  position: absolute;
  top: 0; left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--blue);
}

/* ── SURVEY RESULT CARDS (used on schulen.html) ── */
.survey-grid {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.survey-card {
  flex: 1 1 300px;
  max-width: 340px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 40px);
}
.survey-card-value {
  margin-top: 16px;
  font-size: 1.75rem; font-weight: 800; color: var(--text);
  letter-spacing: -.02em;
}
.survey-card-value span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.survey-card-label {
  margin-top: 6px;
  font-size: 0.9375rem; font-weight: 600; color: var(--text-sec);
}
.survey-card-note {
  margin-top: 10px;
  font-size: 0.8125rem; color: var(--muted); line-height: 1.6;
}
.survey-footnote {
  text-align: center;
  font-size: 0.8125rem; color: var(--muted-light);
  margin-top: clamp(24px, 3vw, 32px);
}

/* ── TESTIMONIALS (bento grid) ── */
.testimonials-section {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--bg-soft);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 32px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.testimonial-card--featured {
  border-color: var(--blue);
  background: var(--blue-xlight);
}
.testimonial-stars {
  display: flex; gap: 3px;
  color: var(--blue); margin-bottom: 16px;
}
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-quote {
  font-size: 0.9375rem; color: var(--text-sec);
  line-height: 1.7; margin-bottom: 24px;
}
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%; background: var(--blue-xlight);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700; color: var(--blue);
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: 0.8125rem; color: var(--muted); }

/* ── MISSION / VALUES tiles (used on ueber-mich.html, bento grid) ── */
.mission-grid {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
@media (max-width: 640px) {
  .mission-grid { grid-template-columns: 1fr; }
}
.mission-tile {
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 32px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.mission-tile--wide {
  grid-column: 1 / -1;
  min-height: 0;
}
@media (max-width: 640px) {
  .mission-tile { min-height: 0; }
}
.mission-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.mission-tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-xlight); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.mission-tile-icon svg { width: 22px; height: 22px; }
.mission-tile h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.mission-tile p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── CONTACT / SOCIAL cards (used on ueber-mich.html, bento grid) ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 24px);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.4); background: var(--blue-xlight);
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.contact-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-xlight);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card-label { font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.contact-card-sub {
  font-size: 0.8125rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
