/* ─── Lokale Schriften ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-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-400-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-500-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-500-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-600-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-600-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: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-500-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: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/fraunces-500-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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-600-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: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-600-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;
}

/* ============================================================
   Watchnor — Stylesheet
   Hand-geschriebenes CSS, keine Build-Pipeline.
   Aufbau:
     1. Tokens (Light + Dark)
     2. Reset & Basis-Typografie
     3. Typo-Skala
     4. Layout-Utilities
     5. Header & Footer
     6. Buttons / Badges / Cards
     7. Sektionen, Hero, Backdrop
     8. Komponenten (Screenshot, Feature, FAQ)
     9. Formular
    10. Animation & Reduced Motion
    11. Prose (Pflichtangaben)
    12. Feinschliff-Schicht
   ============================================================ */

/* 1. Tokens ---------------------------------------------------- */
:root {
  /* Farben — Light */
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-muted: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;

  --primary: #2953e0;
  --primary-soft: #dbe6fe;
  --primary-fg: #ffffff;
  --accent: #10b981;
  --success: #10b981;
  --warning: #f97316;

  /* Layout */
  --container: 72rem;
  --gutter: 1.5rem;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  /* Schatten */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.14), 0 2px 8px 0 rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;

  /* Fonts */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 400ms cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

.dark {
  --bg: #0b1220;
  --bg-card: #111827;
  --bg-muted: #0f172a;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #1e293b;

  --primary: #5b8dfb;
  --primary-soft: #1e3a8a;
  --primary-fg: #ffffff;
  --accent: #34d399;
  --success: #34d399;
  --warning: #fb923c;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.6), 0 2px 8px 0 rgba(0, 0, 0, 0.4);

  color-scheme: dark;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv11", "kern";
  transition: background-color var(--t), color var(--t);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

::selection {
  background: color-mix(in srgb, var(--primary) 25%, transparent);
}

/* Icon-Sprite-Referenzen */
.i {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
}
.i--sm { font-size: 0.875rem; }
.i--lg { font-size: 1.25rem; }
.i--xl { font-size: 1.5rem; }

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  left: 1rem;
}

/* 3. Typo-Skala (fluid mit clamp) ----------------------------- */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw + 1rem, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.5vw + 1rem, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.lead {
  font-size: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  line-height: 1.55;
  color: var(--text-muted);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.text-muted {
  color: var(--text-muted);
}

/* 4. Layout-Utilities ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (min-width: 64rem) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 5rem;
}
@media (min-width: 48rem) {
  .section {
    padding-block: 7rem;
  }
}

.section--muted {
  background-color: color-mix(in srgb, var(--bg-muted) 60%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.flex {
  display: flex;
}

.hidden-md {
  display: none;
}
@media (min-width: 48rem) {
  .show-md {
    display: initial;
  }
  .hidden-md {
    display: initial;
  }
  .mobile-only {
    display: none;
  }
}
@media (max-width: 47.999rem) {
  .desktop-only {
    display: none;
  }
}

/* 5. Header & Footer ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color var(--t), border-color var(--t), backdrop-filter var(--t);
}
.site-header.is-scrolled {
  background-color: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow:
    inset 0 1px 0 0 color-mix(in srgb, var(--text) 6%, transparent),
    0 1px 0 0 var(--border);
  border-bottom-color: transparent;
}
.dark .site-header.is-scrolled {
  background-color: color-mix(in srgb, var(--bg) 65%, transparent);
  box-shadow:
    inset 0 1px 0 0 color-mix(in srgb, white 10%, transparent),
    0 1px 0 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  margin: -0.25rem;
}
.logo svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}
.logo__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}
.dark .logo__icon {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.logo .dot {
  color: var(--primary);
}

.nav-primary {
  display: none;
  gap: 0.25rem;
}
@media (min-width: 48rem) {
  .nav-primary {
    display: flex;
  }
}
.nav-primary a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t), background-color var(--t);
}
.nav-primary a:hover {
  color: var(--text);
}
.nav-primary a[aria-current="page"] {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
a.cta-app {
  display: none;
}
@media (min-width: 48rem) {
  a.cta-app {
    display: inline-flex;
  }
}

/* Mobile Sheet */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text);
  transition: background-color var(--t), border-color var(--t);
}
.menu-toggle:hover {
  background-color: var(--bg-muted);
}
@media (min-width: 48rem) {
  .menu-toggle {
    display: none;
  }
}

.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.mobile-sheet[data-open="true"] {
  display: block;
}
.mobile-sheet__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade-in var(--t) both;
}
.mobile-sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  max-width: 22rem;
  background-color: var(--bg-card);
  border-left: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: slide-in-right var(--t-slow) both;
  display: flex;
  flex-direction: column;
}
.mobile-sheet__close {
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.mobile-sheet__close:hover {
  background-color: var(--bg-muted);
  color: var(--text);
}
.mobile-sheet__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.mobile-sheet__nav a {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-sheet__nav a:hover {
  background-color: var(--bg-muted);
}
.mobile-sheet__nav a[aria-current="page"] {
  background-color: color-mix(in srgb, var(--primary-soft) 50%, transparent);
  color: var(--primary);
}
.mobile-sheet__cta {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: color-mix(in srgb, var(--bg-muted) 50%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 4rem;
}
@media (min-width: 48rem) {
  .footer-grid--3col {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}
.footer-brand p {
  margin-top: 1rem;
  max-width: 22rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-brand .app-badge {
  margin-top: 1.5rem;
}
.footer-col h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.footer-col ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t);
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
@media (min-width: 40rem) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-bottom a:hover {
  color: var(--text);
}

/* 6. Buttons / Badges / Cards -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t-fast), box-shadow var(--t);
  cursor: pointer;
  text-align: center;
  user-select: none;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}
.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn--sm {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}
.btn--md {
  height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
}
.btn--lg {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 1rem;
}
.btn--icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary:hover {
  background-color: color-mix(in srgb, var(--primary) 88%, black);
  box-shadow: var(--shadow-md);
}
.btn--primary:active {
  transform: scale(0.97) translateY(1px);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, white 25%, transparent) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--secondary {
  background-color: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  background-color: var(--bg-muted);
  border-color: color-mix(in srgb, var(--text-muted) 40%, transparent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary:active {
  transform: scale(0.98);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text);
  padding-inline: 0.25rem;
}
.btn--ghost:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--inverse {
  background-color: var(--text);
  color: var(--bg);
}
.btn--inverse:hover {
  background-color: color-mix(in srgb, var(--text) 88%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after,
  .btn--secondary:hover { transition: none; transform: none; }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.badge svg {
  width: 0.875rem;
  height: 0.875rem;
}
.badge--primary {
  background-color: var(--primary-soft);
  color: var(--primary);
}
.dark .badge--primary {
  color: var(--primary-fg);
  background-color: color-mix(in srgb, var(--primary) 35%, transparent);
  box-shadow: 0 0 16px -6px color-mix(in srgb, var(--primary) 40%, transparent);
}
.badge--outline {
  border-color: var(--border);
  color: var(--text-muted);
  background-color: transparent;
}
.badge--accent {
  background-color: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}
.badge--muted {
  background-color: var(--bg-muted);
  color: var(--text-muted);
  border-color: var(--border);
}
.badge--live {
  background-color: color-mix(in srgb, var(--success) 16%, transparent);
  color: var(--success);
}
.badge--live::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 25%, transparent);
}

/* Card */
.card {
  position: relative;
  isolation: isolate;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--text) 8%, transparent),
    color-mix(in srgb, var(--text) 2%, transparent) 40%,
    transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background var(--t-slow);
}
.card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--text-muted) 20%, transparent);
}
.card.card--hover:hover::before,
.feature-card-wrap:hover > .card::before {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 50%, transparent),
    color-mix(in srgb, var(--accent) 30%, transparent) 60%,
    color-mix(in srgb, var(--primary) 20%, transparent));
}
.dark .card {
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.4),
    0 0 32px -8px color-mix(in srgb, var(--primary) 8%, transparent);
}
.dark .card.card--hover:hover,
.dark .feature-card-wrap:hover > .card {
  box-shadow:
    0 12px 32px -8px rgba(0, 0, 0, 0.55),
    0 0 48px -12px color-mix(in srgb, var(--primary) 28%, transparent);
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background-color: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.icon-square--lg {
  width: 3rem;
  height: 3rem;
}
.icon-square svg {
  width: 1.25rem;
  height: 1.25rem;
}
.dark .icon-square {
  background-color: color-mix(in srgb, var(--primary) 22%, transparent);
  color: var(--primary-fg);
  box-shadow: 0 0 24px -8px color-mix(in srgb, var(--primary) 35%, transparent);
}

/* Language switcher (Header + Mobile Sheet) */
.lang-switcher {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.5rem;
  padding: 0 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t);
}
.lang-toggle:hover { background-color: var(--bg-muted); }
.lang-toggle .flag {
  width: 1.05rem;
  height: 0.7rem;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 0.5px rgba(15,23,42,0.18);
}
.lang-toggle .lang-code { letter-spacing: 0.04em; }
.lang-toggle .i { width: 0.8em; height: 0.8em; opacity: 0.7; }
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 11.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.375rem;
  z-index: 50;
  margin: 0;
}
.lang-menu[hidden] { display: none; }
.lang-menu li { list-style: none; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: none;
  border: 0;
  color: var(--text);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}
.lang-menu button:hover { background-color: var(--bg-muted); }
.lang-menu button[aria-current="true"] {
  background-color: color-mix(in srgb, var(--primary-soft) 50%, transparent);
  color: var(--primary);
}
.dark .lang-menu button[aria-current="true"] {
  background-color: color-mix(in srgb, var(--primary) 25%, transparent);
  color: var(--primary-fg);
}
.lang-menu .flag {
  width: 1.25rem;
  height: 0.85rem;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 0.5px rgba(15,23,42,0.18);
}
.mobile-sheet__lang {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.mobile-sheet__lang .lang-switcher { width: 100%; }
.mobile-sheet__lang .lang-toggle { width: 100%; justify-content: space-between; height: 2.75rem; }
.mobile-sheet__lang .lang-menu {
  position: static;
  margin-top: 0.5rem;
  width: 100%;
  box-shadow: none;
  border: 1px solid var(--border);
}

/* Theme toggle */
.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text);
  transition: background-color var(--t), border-color var(--t);
}
.theme-toggle:hover {
  background-color: var(--bg-muted);
}
.theme-toggle svg {
  width: 1rem;
  height: 1rem;
}
.theme-toggle .icon-system,
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}
[data-theme-mode="system"] .theme-toggle .icon-system { display: block; }
[data-theme-mode="light"]  .theme-toggle .icon-sun    { display: block; }
[data-theme-mode="dark"]   .theme-toggle .icon-moon   { display: block; }
html:not([data-theme-mode]) .theme-toggle .icon-moon { display: block; }
html:not([data-theme-mode]).dark .theme-toggle .icon-moon { display: none; }
html:not([data-theme-mode]).dark .theme-toggle .icon-sun  { display: block; }

/* 7. Sektionen, Hero, Backdrop ------------------------------- */
.section-header {
  max-width: 48rem;
}
.section-header--center {
  margin-inline: auto;
  text-align: center;
}
.section-header .eyebrow {
  margin-bottom: 1rem;
  display: block;
}
.section-header .lead {
  margin-top: 1.25rem;
}

@property --hero-shift {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 80% -20%, color-mix(in srgb, var(--primary) 18%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 50%);
}
.dark .hero,
.dark .page-hero {
  background:
    radial-gradient(ellipse at 80% -20%, color-mix(in srgb, var(--primary) 28%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 50%);
}
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at calc(20% + var(--hero-shift)) 30%, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at calc(80% - var(--hero-shift)) 70%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 65%);
  animation: hero-drift 28s ease-in-out infinite alternate;
}
.dark .hero::after,
.dark .page-hero::after {
  background:
    radial-gradient(ellipse 70% 50% at calc(20% + var(--hero-shift)) 30%, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at calc(80% - var(--hero-shift)) 70%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 65%);
}
@keyframes hero-drift {
  0%   { --hero-shift: 0%; }
  100% { --hero-shift: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .page-hero::after { animation: none; }
}

.hero-inner {
  padding-top: 4rem;
  padding-bottom: 5rem;
  position: relative;
}
@media (min-width: 64rem) {
  .hero-inner {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: 6fr 6fr;
    gap: 2.5rem;
  }
}

.hero h1 {
  margin-top: 1.25rem;
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 38rem;
}
.hero .cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-mock {
  display: flex;
  justify-content: center;
}
@media (min-width: 64rem) {
  .hero-mock {
    justify-content: flex-end;
  }
}

/* Page-Hero (Unterseiten, schmaler) */
.page-hero-inner {
  padding-block: 5rem;
}
@media (min-width: 48rem) {
  .page-hero-inner {
    padding-block: 7rem 5rem;
  }
}
.page-hero {
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin-top: 1.25rem;
  max-width: 48rem;
}
.page-hero .lead {
  margin-top: 1.25rem;
  max-width: 38rem;
}

/* Flow-Hintergrund: fließende Punkte entlang einer Route (Datei-Bewegung) */
.flow-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
  color: var(--primary);
}
.dark .flow-backdrop {
  opacity: 0.32;
}
.flow-backdrop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Trust-Bar */
.trustbar {
  border-block: 1px solid var(--border);
  background-color: color-mix(in srgb, var(--bg-card) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trustbar-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding-block: 2.5rem;
}
@media (min-width: 48rem) {
  .trustbar-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}
.trustbar-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.trustbar-list .icon-square {
  width: 2.25rem;
  height: 2.25rem;
}
.trustbar-list .icon-square svg {
  width: 1rem;
  height: 1rem;
}
.trustbar-list strong {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}
.trustbar-list li > div > span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 8. Komponenten -------------------------------------------- */

/* Screenshot-Karte — die Screenshots sind bereits vollständige macOS-
   Fensteraufnahmen inkl. Traffic-Lights und Hintergrund, daher genügt
   ein schwebender Rahmen mit Schatten statt eines Geräte-Mockups. */
.shot-wrap {
  perspective: 1400px;
  display: flex;
  justify-content: center;
}
.shot {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform var(--t-slow);
}
.shot::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -1.25rem;
  height: 2.5rem;
  background: rgba(15, 23, 42, 0.18);
  filter: blur(26px);
  border-radius: 50%;
  z-index: -1;
}
.dark .shot::after {
  background: rgba(0, 0, 0, 0.45);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot--tilt-right { transform: rotate(1.5deg); }
.shot--tilt-left { transform: rotate(-1.5deg); }
.shot:hover {
  transform: translateZ(0) rotateY(-3deg) rotateX(1.5deg) scale(1.015);
}
.shot--tilt-right:hover { transform: rotate(1.5deg) rotateY(-3deg) rotateX(1.5deg) scale(1.015); }
.shot--tilt-left:hover { transform: rotate(-1.5deg) rotateY(3deg) rotateX(1.5deg) scale(1.015); }
.dark .shot {
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 60px -20px color-mix(in srgb, var(--primary) 25%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .shot:hover,
  .shot--tilt-right:hover,
  .shot--tilt-left:hover { transform: none; }
}
@media (hover: none) {
  .shot:hover { transform: none; }
}

/* Zwei leicht versetzte Screenshots (Hero) — Job-Dialog schaut hinter
   dem Dashboard hervor. */
.shot-duo {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding-top: 2rem;
  padding-right: 2rem;
}
.shot-duo .shot--back {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  z-index: 1;
  transform: rotate(3deg);
  opacity: 0.9;
}
.shot-duo .shot--front {
  position: relative;
  z-index: 2;
  width: 88%;
  transform: rotate(-1.5deg);
}
.shot-duo .shot--back:hover { transform: rotate(3deg) rotateY(3deg) scale(1.02); }
.shot-duo .shot--front:hover { transform: rotate(-1.5deg) rotateY(-3deg) scale(1.02); }
@media (max-width: 40rem) {
  .shot-duo { padding-right: 1rem; }
  .shot-duo .shot--back { width: 58%; }
}

/* Drei-Säulen / Feature-Karten */
.pillars,
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
@media (min-width: 48rem) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 64rem) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card .icon-square {
  margin-bottom: 1.25rem;
}
.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pillar-card p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-card .icon-square {
  width: 2.75rem;
  height: 2.75rem;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap var(--t);
}
.feature-card__link:hover {
  gap: 0.5rem;
}
.feature-card__link svg {
  width: 1rem;
  height: 1rem;
}
.feature-card-wrap {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius-md);
}

/* Persona-/Modus-Karten (Startseite: Verschieben / Kopieren / Synchronisieren) */
.persona-card .icon-square {
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, white));
  color: var(--primary-fg);
  margin-bottom: 1.25rem;
}
.persona-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
.persona-card p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Security-Karten */
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 40rem) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.security-card .icon-square {
  width: 2.5rem;
  height: 2.5rem;
}
.security-card .icon-square svg {
  width: 1rem;
  height: 1rem;
}
.security-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.security-card p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Feature-Sektionen (funktionen.html) */
.feature-section {
  scroll-margin-top: 8rem;
}
.feature-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .feature-section-grid {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
  .feature-section--reverse .feature-section-grid {
    grid-template-columns: 5fr 7fr;
  }
  .feature-section--reverse .feature-section-text {
    order: 2;
  }
  .feature-section--reverse .feature-section-mock {
    order: 1;
  }
}
.feature-section-text h2 {
  margin-top: 1rem;
}
.feature-section-text .copy {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}
.feature-section-text .copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.feature-list {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
  max-width: 36rem;
}
@media (min-width: 40rem) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  margin-top: 0.5rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

/* Anchor-Nav (funktionen.html) */
.anchor-nav {
  position: sticky;
  top: 4rem;
  z-index: 30;
  display: none;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
@media (min-width: 48rem) {
  .anchor-nav {
    display: block;
  }
}
.anchor-nav__inner {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-block: 0.625rem;
  scrollbar-width: none;
}
.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}
.anchor-nav__inner a {
  flex-shrink: 0;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t), background-color var(--t);
}
.anchor-nav__inner a:hover {
  color: var(--text);
  background-color: var(--bg-muted);
}
.anchor-nav__inner a.is-active {
  background-color: var(--primary-soft);
  color: var(--primary);
}
.dark .anchor-nav__inner a.is-active {
  background-color: color-mix(in srgb, var(--primary) 28%, transparent);
  color: var(--primary-fg);
}

/* FAQ Accordion (details/summary) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 48rem;
}
.faq-group h2 {
  margin-bottom: 1rem;
  scroll-margin-top: 6rem;
}
.faq-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  padding-inline: 1.5rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  transition: color var(--t);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--primary);
}
.faq-item summary svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  transition: transform var(--t);
  flex-shrink: 0;
}
.faq-item[open] summary svg {
  transform: rotate(180deg);
}
.faq-item .answer {
  padding-bottom: 1.25rem;
  padding-right: 2.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 9. Formular ----------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 64rem) {
  .form-grid {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
}
.form-card {
  padding: 2rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-field + .form-field {
  margin-top: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 40rem) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--bg-card);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.form-textarea {
  min-height: 8rem;
  resize: vertical;
}
.form-error {
  font-size: 0.8125rem;
  color: var(--warning);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.form-error svg {
  width: 0.875rem;
  height: 0.875rem;
}
.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-consent input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}
.form-consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-submit {
  margin-top: 1.5rem;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-success .icon-square {
  background-color: color-mix(in srgb, var(--success) 18%, transparent);
  color: var(--success);
}
.form-success h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.form-alert {
  margin-top: 1.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent);
  background-color: color-mix(in srgb, var(--warning) 10%, transparent);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--warning);
}

.contact-aside .card {
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.contact-aside .card:last-child {
  margin-bottom: 0;
}
.contact-aside .icon-square {
  width: 2.5rem;
  height: 2.5rem;
}
.contact-aside .icon-square svg {
  width: 1rem;
  height: 1rem;
}
.contact-aside .label {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.contact-aside .value {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.contact-aside .value:hover {
  color: var(--primary);
}
.contact-aside .value-text {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background-color: #0b1220;
  color: #f8fafc;
}
.final-cta .flow-backdrop {
  opacity: 0.35;
  color: #7aa2ff;
}
.final-cta-inner {
  position: relative;
  text-align: center;
  padding-block: 6rem;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 48rem) {
  .final-cta-inner {
    padding-block: 8rem;
  }
}
.final-cta h2 {
  color: #f8fafc;
}
.final-cta p {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: #cbd5e1;
  max-width: 36rem;
  margin-inline: auto;
}
.final-cta .cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

/* Mac-App-Store-Badge */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  background-color: var(--text);
  color: var(--bg);
  text-decoration: none;
  transition: opacity var(--t);
}
.app-badge:hover {
  opacity: 0.9;
}
.app-badge svg {
  width: 1.75rem;
  height: 1.75rem;
}
.app-badge .top {
  display: block;
  font-size: 0.625rem;
  opacity: 0.85;
  line-height: 1.1;
}
.app-badge .bottom {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
}

/* 10. Animation & Reduced Motion ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slide-in-right {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .flow-backdrop circle animate,
  .flow-backdrop [class*="pulse"] {
    animation-play-state: paused;
  }
}

/* 11. Prose ------------------------------------------------- */
.prose {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--text);
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.prose p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.prose ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
  line-height: 1.65;
}
.prose ol li {
  list-style: decimal;
  margin-bottom: 0.5rem;
  line-height: 1.65;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose code {
  background-color: var(--bg-muted);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  border: 1px solid var(--border);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 1.5rem 0;
}
.prose small {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-row .section-header {
  margin-bottom: 0;
}

.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

/* 12. Feinschliff-Schicht ------------------------------------ */
body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01", "ss03";
  font-optical-sizing: auto;
  letter-spacing: -0.005em;
}
.display-1, .display-2, .display-3 {
  font-variant-ligatures: discretionary-ligatures;
  font-feature-settings: "ss01", "ss02";
}
.display-1 { letter-spacing: -0.03em; }
.display-2 { letter-spacing: -0.02em; }
.lead { letter-spacing: -0.01em; }
.eyebrow { letter-spacing: 0.22em; }

.section--muted {
  border-top: 0;
  border-bottom: 0;
  position: relative;
}
.section--muted::before,
.section--muted::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4rem;
  pointer-events: none;
  z-index: 1;
}
.section--muted::before {
  top: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 100%, transparent), transparent);
}
.section--muted::after {
  bottom: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--bg) 100%, transparent), transparent);
}

:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 5px color-mix(in srgb, var(--primary) 60%, transparent);
  border-radius: 6px;
  transition: box-shadow var(--t-fast);
}
.btn:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible {
  border-radius: var(--radius-full);
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 5px color-mix(in srgb, var(--primary) 60%, transparent);
}
