/* hebamemo.de — Palette: Bubblegum / Fawn / Taupe / Charcoal (+ warmes Aufnahme-Grün) */

:root {
  --hm-primary: #ea526f;
  --hm-primary-soft: #e76b74;
  --hm-on-primary: #ffffff;
  --hm-bg: color-mix(in srgb, #d7af70 14%, white);
  --hm-surface: color-mix(in srgb, #d7af70 36%, white);
  --hm-fg: #585b56;
  --hm-taupe: #937d64;
  /* Nicht in der Palette — warmes Salbei, an Taupe + Fawn angelehnt */
  --hm-record: color-mix(in srgb, #5f9168 58%, var(--hm-taupe));
  --hm-on-dark: var(--hm-bg);
  --hm-on-dark-subtle: color-mix(in srgb, var(--hm-bg) 88%, white);
  --hm-on-dark-memo: var(--hm-primary-soft);
  --hm-muted: color-mix(in srgb, var(--hm-fg) 42%, var(--hm-taupe));
  --hm-border: color-mix(in srgb, var(--hm-taupe) 38%, var(--hm-surface));
  --hm-radius: 0;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--hm-fg);
  background: var(--hm-bg);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

a:hover {
  color: var(--hm-fg);
}

/* Wordmark */
.brand-wordmark {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

.brand-wordmark-heba {
  color: var(--hm-fg);
}

.brand-wordmark-memo {
  color: var(--hm-primary);
}

.brand-wordmark--lg {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
}

/* Inline in Fließtext, Überschriften, Footer */
.brand-wordmark--inline {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  vertical-align: baseline;
  text-decoration: none;
}

a > .brand-wordmark--inline {
  text-decoration: inherit;
}

.site-footer__brand.brand-wordmark--inline {
  font-weight: 600;
}

/* Layout */
.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}

.site-nav.is-scrolled {
  background: color-mix(in srgb, var(--hm-bg) 88%, transparent);
  border-bottom-color: var(--hm-border);
  backdrop-filter: blur(10px);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.site-nav .brand-wordmark {
  flex-shrink: 0;
}

.site-nav__nav {
  flex: 1;
  min-width: 0;
  margin-left: 0.5rem;
}

.site-nav__links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 92%, transparent);
}

.site-nav__links::-webkit-scrollbar {
  display: none;
}

.site-nav__links a {
  color: var(--hm-fg);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: var(--hm-primary);
  transition: width 0.3s var(--ease-out);
}

.site-nav__links a:hover::after {
  width: 100%;
}

.site-nav__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--hm-on-primary);
  background: var(--hm-primary);
  border: 2px solid var(--hm-primary);
  border-radius: var(--hm-radius);
  transition:
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

.site-nav__cta:hover {
  background: var(--hm-fg);
  border-color: var(--hm-fg);
  color: var(--hm-on-primary);
}

.site-nav__cta:focus-visible {
  outline: 2px solid var(--hm-primary);
  outline-offset: 3px;
}

.site-nav__cta--ghost {
  color: var(--hm-fg);
  background: transparent;
  border-color: var(--hm-fg);
}

.site-nav__cta--ghost:hover {
  background: var(--hm-surface);
  color: var(--hm-fg);
}

@media (min-width: 768px) {
  .site-nav__inner {
    gap: 1.5rem;
  }

  .site-nav__nav {
    margin-left: 0;
  }

  .site-nav__links {
    justify-content: center;
    gap: 1.75rem;
    font-size: 0.9375rem;
    mask-image: none;
    overflow: visible;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--hm-fg);
  border-radius: var(--hm-radius);
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--hm-primary);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--hm-primary);
  border-color: var(--hm-primary);
  color: var(--hm-on-primary);
}

.btn--primary:hover {
  background: var(--hm-fg);
  border-color: var(--hm-fg);
  color: var(--hm-on-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--hm-fg);
}

.btn--ghost:hover {
  background: var(--hm-surface);
}

.btn--record {
  background: var(--hm-record);
  border-color: var(--hm-record);
  color: var(--hm-on-primary);
}

.btn--record:hover {
  background: var(--hm-fg);
  border-color: var(--hm-fg);
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
  min-height: 92vh;
  display: grid;
  align-items: center;
}

.hero__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--hm-surface);
  border-left: 3px solid var(--hm-primary);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--hm-primary);
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 34ch;
  font-size: 1.2rem;
  color: var(--hm-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--hm-muted);
}

/* Phone mock */
.device {
  position: relative;
  justify-self: center;
  width: min(100%, 20rem);
}

.device__frame {
  background: var(--hm-surface);
  border: 2px solid var(--hm-fg);
  padding: 0.75rem;
  box-shadow: 12px 12px 0 color-mix(in srgb, var(--hm-fg) 12%, transparent);
}

.device__screen {
  background: var(--hm-bg);
  border: 1px solid var(--hm-border);
  padding: 1.25rem 1rem 1.5rem;
  min-height: 22rem;
}

.device__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hm-border);
  font-size: 0.8125rem;
}

.device__pill {
  padding: 0.2rem 0.5rem;
  background: var(--hm-surface);
  font-size: 0.75rem;
}

.device__card {
  background: var(--hm-surface);
  border-left: 3px solid var(--hm-primary);
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: card-in 0.6s var(--ease-out) forwards;
}

.device__card:nth-child(2) {
  animation-delay: 0.15s;
  border-left-color: var(--hm-record);
}

.device__card:nth-child(3) {
  animation-delay: 0.3s;
}

.device__card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.device__mic {
  position: absolute;
  right: -1rem;
  bottom: 2.5rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--hm-record);
  border: 3px solid var(--hm-fg);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--hm-record) 40%, transparent);
  animation: pulse-ring 2.4s ease-out infinite;
}

.device__mic svg {
  width: 1.5rem;
  fill: var(--hm-on-primary);
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--hm-record) 45%, transparent);
  }
  70% {
    box-shadow: 0 0 0 14px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--surface {
  background: var(--hm-surface);
}

.section__label {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hm-primary);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.section__intro {
  margin: 0 0 2.5rem;
  max-width: 52ch;
  color: var(--hm-muted);
  font-size: 1.125rem;
}

/* Problem band */
.problem {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .problem {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.problem__quote {
  margin: 0;
  padding: 0 2rem 2.25rem;
  background: var(--hm-bg);
  border: 2px solid var(--hm-fg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.problem__quote-mark {
  display: block;
  margin: 0 0 1.125rem;
  font-size: clamp(3rem, 7vw, 4.25rem);
  font-weight: 600;
  line-height: 1;
  color: var(--hm-primary);
  opacity: 0.4;
}

.problem__quote-text {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
}

.problem__body p {
  margin: 0 0 1rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  border: 2px solid var(--hm-fg);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  padding: 2rem 1.75rem;
  background: var(--hm-bg);
  border-bottom: 2px solid var(--hm-fg);
  position: relative;
}

@media (min-width: 768px) {
  .step {
    border-bottom: none;
    border-right: 2px solid var(--hm-fg);
  }

  .step:last-child {
    border-right: none;
  }
}

.step:last-child {
  border-bottom: none;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--hm-primary);
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--hm-muted);
}

/* Features */
.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.5rem;
  background: var(--hm-bg);
  border: 1px solid var(--hm-border);
  transition:
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.section--surface .feature {
  background: var(--hm-bg);
}

.feature:hover {
  border-color: var(--hm-fg);
  transform: translateY(-3px);
}

.feature__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: var(--hm-primary);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--hm-muted);
}

/* Install guide */
.install-tip {
  margin: 0 0 2rem;
  padding: 1.15rem 1.25rem;
  background: var(--hm-surface);
  border-left: 3px solid var(--hm-primary);
  font-size: 0.975rem;
  color: var(--hm-muted);
}

.install-tip strong {
  color: var(--hm-fg);
}

.install-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .install-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.install-card {
  padding: 1.75rem 1.5rem;
  background: var(--hm-bg);
  border: 2px solid var(--hm-fg);
}

.section--surface .install-card {
  background: var(--hm-bg);
}

.install-card__title {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.install-card__badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--hm-primary);
  color: var(--hm-on-primary);
}

.install-card__badge--android {
  background: var(--hm-record);
}

.install-steps {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.975rem;
  color: var(--hm-muted);
}

.install-steps li {
  margin-bottom: 0.85rem;
  padding-left: 0.25rem;
}

.install-steps li:last-child {
  margin-bottom: 0;
}

.install-steps strong {
  color: var(--hm-fg);
  font-weight: 600;
}

.install-note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--hm-muted);
  max-width: 58ch;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  padding-top: 1rem;
  border-top: 3px solid var(--hm-primary);
}

.trust-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.trust-item p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Factual summary: SEO + GEO (visible) */
.geo-facts {
  margin: 0;
  display: grid;
  gap: 1rem 2rem;
  border: 1px solid var(--hm-border);
  background: var(--hm-bg);
  padding: 1.5rem 1.75rem;
}

.geo-facts dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hm-muted);
}

.geo-facts dd {
  margin: 0.25rem 0 0;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .geo-facts {
    grid-template-columns: 10rem 1fr;
    row-gap: 1.125rem;
  }

  .geo-facts dd {
    margin-top: 0;
  }
}

/* CTA */
.cta-band {
  padding: 4rem 0;
  background: var(--hm-fg);
  color: var(--hm-bg);
  text-align: center;
}

.cta-band__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-band__text {
  margin: 0 auto 2rem;
  max-width: 40ch;
  color: var(--hm-on-dark-subtle);
  font-size: 1.125rem;
}

/* brandify() wordmark on dark band — default heba/memo colors are for light surfaces */
.cta-band .brand-wordmark-heba {
  color: var(--hm-on-dark);
}

.cta-band .brand-wordmark-memo {
  color: var(--hm-on-dark-memo);
}

.cta-band .btn--primary {
  border-color: var(--hm-primary);
}

.cta-band .btn--ghost {
  border-color: var(--hm-bg);
  color: var(--hm-bg);
}

.cta-band .btn--ghost:hover {
  background: color-mix(in srgb, var(--hm-bg) 15%, transparent);
  color: var(--hm-bg);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  font-size: 0.875rem;
  color: var(--hm-muted);
  border-top: 1px solid var(--hm-border);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__copy {
  margin: 0;
}

.site-footer__brand:not(.brand-wordmark) {
  font-weight: 600;
  color: var(--hm-fg);
}

.site-footer__studio {
  color: var(--hm-fg);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__studio:hover {
  color: var(--hm-primary);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .site-footer__links {
    justify-content: flex-end;
  }
}

.site-footer__links a {
  color: var(--hm-fg);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--hm-primary);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Hilfe dock (homepage, after hero) */
.hilfe-dock {
  position: fixed;
  bottom: var(--hilfe-dock-bottom, 1.25rem);
  right: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: stretch;
  border: 2px solid var(--hm-fg);
  background: var(--hm-bg);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--hm-fg) 10%, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-out),
    visibility 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    bottom 0.25s var(--ease-out);
}

.hilfe-dock.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hilfe-dock__link {
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--hm-fg);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.hilfe-dock__link + .hilfe-dock__link {
  border-left: 1px solid var(--hm-border);
}

.hilfe-dock__link:hover {
  background: var(--hm-surface);
  color: var(--hm-primary);
}

.hilfe-dock__link:focus-visible {
  outline: 2px solid var(--hm-primary);
  outline-offset: -2px;
  z-index: 1;
}

@media (min-width: 480px) {
  .hilfe-dock {
    bottom: var(--hilfe-dock-bottom, 1.5rem);
    right: 1.5rem;
  }

  .hilfe-dock__link {
    padding: 0.75rem 1.15rem;
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hilfe-dock {
    transition: none;
  }

  .hilfe-dock:not(.is-visible) {
    transform: none;
  }

  .hilfe-dock.is-visible {
    transition: none;
  }
}

/* Hilfe teasers (homepage) */
.hilfe-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .hilfe-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.hilfe-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: var(--hm-bg);
  border: 2px solid var(--hm-fg);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.hilfe-card:hover {
  border-color: var(--hm-primary);
  transform: translateY(-3px);
}

.hilfe-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--hm-fg);
}

.hilfe-card p {
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 0.975rem;
  color: var(--hm-muted);
  line-height: 1.5;
}

.hilfe-card__cta {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hm-primary);
}

.hilfe-card:hover .hilfe-card__cta {
  color: var(--hm-fg);
}

/* Subpages (install, faq) */
.content-page {
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
}

.content-page .section__title {
  max-width: none;
}

.content-page h1.section__title {
  margin-bottom: 1rem;
}

/* Legal pages */
.legal-page {
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
}

.legal-page .legal-meta {
  margin: 0 0 2.5rem;
  color: var(--hm-muted);
  font-size: 0.9375rem;
}

.legal-page section {
  margin-bottom: 2rem;
  max-width: 65ch;
}

.legal-page h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hm-fg);
}

.legal-page p,
.legal-page li {
  margin: 0 0 0.75rem;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-page .legal-contact {
  padding: 1.25rem;
  background: var(--hm-surface);
  border-left: 3px solid var(--hm-primary);
  margin-bottom: 1rem;
}

.legal-page .legal-contact p {
  margin: 0 0 0.35rem;
}

.not-found__actions {
  margin: 2rem 0 0;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: var(--hm-fg);
  text-decoration: none;
  font-weight: 600;
}

.legal-back:hover {
  color: var(--hm-primary);
}
