/* Vorzimmer – Landingpage. Farben aus App-Icon und App (AccentColor), keine externen Ressourcen. */

@font-face {
  font-family: "Young Serif";
  src: url("/fonts/young-serif-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ECF1EC;
  --bg-raised: #F7FAF6;
  --ink: #10302A;
  --ink-soft: #46615A;
  --line: rgba(16, 48, 42, 0.15);
  --accent: #0E7A68;
  --accent-ink: #FFFFFF;
  --accent-wash: rgba(14, 122, 104, 0.1);
  --door-top: #FDE7B9;
  --door-mid: #FAD99A;
  --door-bottom: #F6C670;
  --glow: rgba(246, 186, 84, 0.5);
  --paper: #FFFAEE;
  --band: #0F3A31;
  --band-ink: #EAF2EE;
  --band-soft: #B9D0C8;
  --band-line: rgba(234, 242, 238, 0.18);
  --band-link: #FBE0A6;
  --shadow: 16 48 42;
  --radius-card: 22px;
  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-text: "Atkinson Hyperlegible Next", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1915;
    --bg-raised: #10241E;
    --ink: #E5EEEA;
    --ink-soft: #A5BAB3;
    --line: rgba(229, 238, 234, 0.14);
    --accent: #3CCFB0;
    --accent-ink: #03241D;
    --accent-wash: rgba(60, 207, 176, 0.13);
    --glow: rgba(246, 186, 84, 0.3);
    --paper: #FBF1DA;
    --band: #0F2C25;
    --band-ink: #E5EEEA;
    --band-soft: #A5BAB3;
    --band-line: rgba(229, 238, 234, 0.14);
    --shadow: 0 0 0;
  }
}

/* Grundlagen */

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

html {
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body {
    font-size: 1.125rem;
  }
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

p,
li,
dd {
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 8 3 4;
  -webkit-hyphenate-limit-before: 3;
  -webkit-hyphenate-limit-after: 4;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

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

code {
  padding: 0.08em 0.36em;
  border-radius: 6px;
  background: var(--accent-wash);
  font-family: var(--font-code);
  font-size: 0.9em;
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

/* Schrift */

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 {
  font-size: clamp(2.75rem, 1.45rem + 4.7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

/* Kopf */

.site-header {
  padding-block: 16px;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.header-cta {
  margin-left: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 840px) {
  .site-nav {
    display: flex;
  }

  .header-cta {
    margin-left: 8px;
  }
}

/* Hero */

.hero {
  padding-block: clamp(28px, 5vw, 72px) clamp(72px, 9vw, 120px);
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 48px;
  }
}

.hero-copy {
  max-width: 36rem;
}

.lead {
  max-width: 32em;
  margin-top: 24px;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
}

@media (min-width: 600px) {
  .lead {
    hyphens: manual;
    -webkit-hyphens: manual;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 32px;
}

.store-badge {
  display: inline-block;
  flex: none;
  border-radius: 10px;
}

.store-badge img {
  width: 150px;
  height: 50px;
}

.cta-note {
  font-weight: 650;
}

.fineprint {
  max-width: 30em;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Die Tür: das Gespräch im Vorzimmer */

.scene {
  --door-w: min(400px, 100%);
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.door {
  position: relative;
  width: var(--door-w);
  margin-inline: auto;
  padding: calc(var(--door-w) * 0.27) clamp(14px, 4.5%, 22px) 92px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--door-top) 0%, var(--door-mid) 55%, var(--door-bottom) 100%);
  box-shadow: 0 30px 90px -30px var(--glow);
}

.door::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -40%;
  bottom: -64px;
  left: -40%;
  height: 128px;
  background: radial-gradient(closest-side, var(--glow), transparent);
}

.door-status {
  position: absolute;
  top: calc(var(--door-w) * 0.1);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  background: rgba(16, 48, 42, 0.08);
  color: #10302A;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
}

.wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.wave i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: #0E7A68;
}

.wave i:nth-child(1),
.wave i:nth-child(5) {
  transform: scaleY(0.45);
}

.wave i:nth-child(2),
.wave i:nth-child(4) {
  transform: scaleY(0.75);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.42;
}

.msg-mia {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: #0E7A68;
  color: #FFFFFF;
}

.msg-caller {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #FFFFFF;
  color: #1D3530;
  box-shadow: 0 1px 2px rgba(29, 53, 48, 0.1);
}

/* Telefonnotiz, unter der Tür durchgeschoben */

.note {
  position: relative;
  z-index: 1;
  width: min(318px, 88%);
  margin-top: -68px;
  padding: 14px 18px 12px;
  border-radius: 4px;
  background: var(--paper);
  color: #1D3530;
  box-shadow:
    0 1px 0 rgba(29, 53, 48, 0.06),
    0 6px 14px -6px rgb(var(--shadow) / 0.22),
    0 26px 44px -24px rgb(var(--shadow) / 0.55);
  transform: rotate(-3deg);
}

@media (min-width: 480px) {
  .note {
    margin-left: -2%;
  }
}

.note-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 2px solid #0E7A68;
}

.note-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.note-time,
.note-fields dt,
.note-by {
  color: #566B64;
  font-size: 0.8125rem;
}

.note-fields > div {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0 6px;
  border-bottom: 1px dotted rgba(29, 53, 48, 0.28);
}

.note-fields dt {
  padding-top: 2px;
}

.note-fields dd {
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
}

.note-checks {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.note-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.box {
  flex: none;
  width: 18px;
  height: 18px;
}

.box rect {
  fill: none;
  stroke: #6E827B;
  stroke-width: 1.6;
}

.is-checked .box rect {
  fill: #0E7A68;
  stroke: #0E7A68;
}

.box .tick {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.note-by {
  margin-top: 8px;
  text-align: right;
}

.scene figcaption {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 420px) {
  .msg {
    font-size: 0.875rem;
  }
}

/* Ein einziger Ablauf beim Laden: das Gespräch, dann die Notiz. */

@media (prefers-reduced-motion: no-preference) {
  .door {
    animation: door-light 900ms ease-out both;
  }

  .msg {
    animation: msg-in 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .msg:nth-child(1) { animation-delay: 0.6s; }
  .msg:nth-child(2) { animation-delay: 2s; }
  .msg:nth-child(3) { animation-delay: 3.1s; }
  .msg:nth-child(4) { animation-delay: 4s; }

  .wave i {
    animation: talk 520ms ease-in-out 0.5s 8 alternate backwards;
  }

  .wave i:nth-child(2) { animation-delay: 0.6s; }
  .wave i:nth-child(3) { animation-delay: 0.7s; }
  .wave i:nth-child(4) { animation-delay: 0.8s; }
  .wave i:nth-child(5) { animation-delay: 0.9s; }

  .note {
    animation: note-in 700ms cubic-bezier(0.2, 0.8, 0.25, 1) 4.9s both;
  }

  .is-checked .box rect {
    animation: box-fill 180ms ease-out both;
  }

  .is-checked .tick {
    stroke-dasharray: 15;
    animation: tick 300ms ease-out both;
  }

  .note-checks li:nth-child(1) rect { animation-delay: 5.6s; }
  .note-checks li:nth-child(1) .tick { animation-delay: 5.7s; }
  .note-checks li:nth-child(2) rect { animation-delay: 5.95s; }
  .note-checks li:nth-child(2) .tick { animation-delay: 6.05s; }
}

@keyframes door-light {
  from {
    opacity: 0.4;
    box-shadow: 0 30px 90px -30px transparent;
  }
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

@keyframes talk {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}

@keyframes note-in {
  from {
    opacity: 0;
    transform: translateY(-30px) rotate(1.5deg);
  }
}

@keyframes box-fill {
  from {
    fill: transparent;
    stroke: #6E827B;
  }
}

@keyframes tick {
  from { stroke-dashoffset: 15; }
  to { stroke-dashoffset: 0; }
}

/* Abschnitte */

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-head {
  max-width: 40rem;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

/* So geht's */

#so-gehts {
  padding-bottom: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

#steps-title {
  max-width: 14em;
}

.steps {
  display: grid;
  gap: 40px;
  margin-top: 48px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 72px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
}

.step p {
  margin-top: 12px;
  color: var(--ink-soft);
}

@media (min-width: 880px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30px;
    right: -40px;
    left: 64px;
    border-top: 2px dotted var(--line);
  }
}

/* Funktionen */

.features {
  padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 112px);
}

.features .section-head {
  margin-bottom: clamp(24px, 4vw, 48px);
}

.feature {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: clamp(28px, 4vw, 52px);
}

.feature-text {
  max-width: 30rem;
}

.feature-text h3 {
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
  line-height: 1.12;
}

.feature-text p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.feature-text .plan-hint {
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 650;
}

.feature-media {
  display: block;
  justify-self: center;
  width: 100%;
}

.feature-media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #F2F2F7;
  box-shadow: 0 34px 60px -38px rgb(var(--shadow) / 0.5);
}

.media-notiz { max-width: 440px; }
.media-live { max-width: 340px; }
.media-vip { max-width: 400px; }
.media-termin { max-width: 470px; }

@media (prefers-color-scheme: dark) {
  .feature-media img {
    background: #000000;
  }
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
  }

  .feature-flip .feature-text {
    order: 2;
  }
}

.extras {
  display: grid;
  gap: 28px 48px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.extras dt {
  font-weight: 700;
}

.extras dd {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 1rem;
}

@media (min-width: 720px) {
  .extras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .extras {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Datenschutz */

.privacy {
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--band);
  color: var(--band-ink);
}

.privacy h2 {
  max-width: 15em;
}

.privacy-list {
  display: grid;
  gap: 28px 40px;
  margin-top: 48px;
}

.privacy-list li {
  padding-top: 18px;
  border-top: 1px solid var(--band-line);
}

.privacy-list h3 {
  font-family: var(--font-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.privacy-list p {
  margin-top: 6px;
  color: var(--band-soft);
}

.privacy-link {
  margin-top: 40px;
}

.privacy-link a {
  color: var(--band-link);
  font-weight: 650;
}

.privacy :focus-visible {
  outline-color: var(--band-link);
}

@media (min-width: 720px) {
  .privacy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .privacy-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Preise */

.billing {
  display: inline-flex;
  gap: 4px;
  min-width: 0;
  margin: 36px 0 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raised);
}

.billing input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.billing label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

.billing input:checked + label {
  background: var(--ink);
  color: var(--bg);
}

.billing input:focus-visible + label {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.save {
  color: var(--accent);
  font-size: 0.8125rem;
}

.billing input:checked + label .save {
  color: inherit;
}

.pricing:has(#bill-yearly:checked) .is-monthly {
  display: none;
}

.pricing:not(:has(#bill-yearly:checked)) .is-yearly {
  display: none;
}

.plans {
  display: grid;
  gap: 20px;
  max-width: 560px;
  margin-top: 28px;
}

@media (min-width: 960px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    max-width: none;
  }
}

.plan {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-raised);
}

.plan-pro {
  padding: 27px 25px 29px;
  border: 2px solid var(--accent);
}

.plan h3 {
  font-size: 1.75rem;
  line-height: 1.1;
}

.plan-for {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.plan-pro .plan-for {
  color: var(--accent);
  font-weight: 650;
}

.price {
  margin-top: 24px;
}

.amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.unit,
.price-sub {
  color: var(--ink-soft);
  font-size: 1rem;
}

.price-sub {
  margin-top: 6px;
  font-size: 0.9375rem;
}

.minutes {
  margin-top: 20px;
  padding-block: 10px;
  border-block: 1px solid var(--line);
  font-weight: 700;
}

.plan-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
}

.plan-list li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.pricing-foot {
  display: grid;
  gap: 20px;
  align-items: start;
  margin-top: 32px;
}

.pricing-notes p {
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.pricing-notes p + p {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .pricing-foot {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 40px;
  }
}

/* Fragen */

.faq {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  gap: 32px;
}

.faq-intro p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 48px 20px 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat;
  transition: transform 200ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary:hover {
  color: var(--accent);
}

.answer {
  max-width: 62ch;
  padding-bottom: 22px;
}

.answer p {
  color: var(--ink-soft);
}

@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
  }

  .faq-intro {
    position: sticky;
    top: 32px;
    align-self: start;
  }
}

/* Schluss */

.closing {
  padding-block: clamp(72px, 9vw, 128px) clamp(72px, 9vw, 112px);
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-door {
  width: 76px;
  height: 100px;
  margin-bottom: 32px;
  filter: drop-shadow(0 18px 26px var(--glow));
}

.closing p {
  max-width: 34rem;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.cta-row-center {
  justify-content: center;
}

/* Fuß */

.site-footer {
  padding-block: 40px 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.footer-nav a {
  padding-block: 6px;
  color: var(--ink);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-legal {
  max-width: 72ch;
  font-size: 0.8125rem;
}

@media (min-width: 840px) {
  .footer-inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

/* Fehlerseite */

.not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding-block: 64px;
  text-align: center;
}

.not-found p {
  margin-top: 16px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Unterseiten (generiert aus site/pages/build.mjs) */

.crumbs {
  padding-top: 28px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
}

.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
}

.crumbs a {
  color: inherit;
}

.page-hero {
  padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 80px);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4rem);
}

.page-hero .lead {
  max-width: 60ch;
}

.kicker {
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 56px;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 32px;
}

.prose p,
.prose ul,
.prose ol,
.prose table,
.prose .callout {
  margin-top: 16px;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 8px;
}

.prose ul {
  list-style: disc;
}

.callout {
  padding: 20px 24px;
  border-radius: var(--radius-card);
  background: var(--accent-wash);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 16px;
}

.compare {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare th,
.compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
}

.compare tbody th {
  font-weight: 700;
}

.compare .is-us {
  background: var(--accent-wash);
}

.codes {
  width: 100%;
  border-collapse: collapse;
}

.codes th,
.codes td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.codes code {
  white-space: nowrap;
}

.usecases {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 760px) {
  .usecases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.usecase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-raised);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.usecase:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.usecase p {
  color: var(--ink-soft);
}

.usecase .more {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
}

.page-body {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.related {
  padding-block: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--line);
}

/* Fußzeile mit Spalten */

.footer-cols {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 840px) {
  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-cols h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-cols ul {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.footer-cols a {
  display: inline-block;
  padding-block: 5px;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer .footer-inner.has-cols {
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Video */

.film {
  padding-block: 0 clamp(56px, 8vw, 104px);
}

.film-frame {
  max-width: 1040px;
  margin-inline: auto;
}

.film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background: #0A1915;
  box-shadow: 0 30px 80px -30px rgb(var(--shadow) / 0.45);
}

.film figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-align: center;
}
