/* =========================================================
   Praxis für Ergotherapie und Physiotherapie – Weimar
   Stylesheet
   ========================================================= */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/fraunces-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: 'Annie Use Your Telescope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/annie-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;
}

/* ---------- Design tokens ---------- */
:root {
  --red: #ad1112;
  --red-dark: #8b0d0e;
  --red-soft: #fbeeee;
  --graphite: #65696c;
  --ink: #22262a;
  --ink-2: #454b50;
  --muted: #666e73;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f4f2ee;
  --line: #e6e2dc;
  --sand: #b4a179;
  --sand-text: #7d6a45; /* barrierefreie Textvariante des Sandtons */

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(34, 38, 42, 0.05), 0 2px 8px rgba(34, 38, 42, 0.04);
  --shadow: 0 4px 12px rgba(34, 38, 42, 0.06), 0 18px 40px rgba(34, 38, 42, 0.07);
  --shadow-lg: 0 8px 24px rgba(34, 38, 42, 0.08), 0 32px 64px rgba(34, 38, 42, 0.1);

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-hand: 'Annie Use Your Telescope', 'Segoe Script', cursive;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
}

h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(173, 17, 18, 0.24);
}

.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
  box-shadow: 0 10px 26px rgba(173, 17, 18, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: #d5cfc6;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--sm {
  padding: 0.65rem 1.05rem;
  font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(34, 38, 42, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand__sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(34, 38, 42, 0.05);
}

.nav a[aria-current='page'] {
  color: var(--red);
  background: var(--red-soft);
}

.header-cta {
  display: inline-flex;
}

/* Der Telefon-Button in der Navigation ist nur im Mobilmenü sichtbar */
.nav > .btn {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.9rem var(--gutter) 1.4rem;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

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

  .nav a {
    padding: 0.85rem 0.9rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .nav > .btn {
    display: inline-flex;
    margin-top: 0.7rem;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem);
}

.hero::before {
  content: '';
  position: absolute;
  top: -280px;
  right: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(173, 17, 18, 0.07),
    rgba(173, 17, 18, 0) 68%
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -320px;
  left: -220px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(180, 161, 121, 0.16),
    rgba(180, 161, 121, 0) 68%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(173, 17, 18, 0.14);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
}

.hero h1 {
  margin-bottom: 0.35em;
}

.hero__motto {
  font-family: var(--font-hand);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  color: var(--red);
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--ink-2);
  max-width: 40ch;
  margin-bottom: 1.9rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-size: 0.925rem;
  color: var(--muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__meta svg {
  width: 16px;
  height: 16px;
  color: var(--sand);
  flex: none;
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card {
  position: absolute;
  left: -1.5rem;
  bottom: -1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  max-width: 19rem;
}

.hero__card svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
  margin-top: 3px;
}

.hero__card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero__card span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .hero__card {
    left: 0.9rem;
    bottom: -1.25rem;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

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

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head p {
  color: var(--muted);
  font-size: 1.075rem;
  margin-bottom: 0;
}

.section__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-text);
  margin-bottom: 0.75rem;
}

/* ---------- Feature strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fact {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.fact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.fact__icon svg {
  width: 21px;
  height: 21px;
}

.fact h3 {
  margin: 0 0 0.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.fact p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Leistungen ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--sand));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #dcd6cd;
}

.service:hover::before {
  opacity: 1;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 1.25rem;
}

.service__icon svg {
  width: 27px;
  height: 27px;
}

.service h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  margin-bottom: 0.4rem;
}

.service__intro {
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.service__group + .service__group {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.service__group h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.9rem;
}

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.list-check li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.list-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ad1112' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 0.72rem no-repeat;
}

.list-check--plain li::before {
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4a179' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.service__note {
  margin-top: auto;
  padding-top: 1.6rem;
  font-size: 0.925rem;
  color: var(--muted);
}

.service__note strong {
  color: var(--ink);
}

@media (max-width: 860px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* ---------- Quote band ---------- */
.quote {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.quote__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.quote__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.quote::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    140deg,
    rgba(34, 38, 42, 0.9),
    rgba(101, 105, 108, 0.78) 55%,
    rgba(173, 17, 18, 0.62)
  );
}

.quote blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-hand);
  font-size: clamp(2rem, 1.2rem + 4vw, 4rem);
  line-height: 1.15;
  text-wrap: balance;
}

.quote figcaption {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}

.contact-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
  margin-top: 4px;
}

.contact-list dt,
.contact-list .label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-list .value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  font-style: normal;
  line-height: 1.5;
}

.contact-list a.value {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid rgba(173, 17, 18, 0.3);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.contact-list a.value:hover {
  color: var(--red);
  border-color: var(--red);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* ---------- Map ---------- */
.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  min-height: 320px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, #f4f2ee, #e9e5de);
}

.map__consent svg {
  width: 34px;
  height: 34px;
  color: var(--sand);
}

.map__consent p {
  margin: 0;
  max-width: 34ch;
  font-size: 0.925rem;
  color: var(--muted);
}

.map__consent .btn {
  margin-top: 0.5rem;
  background: var(--surface);
  border-color: #d8d2c8;
  box-shadow: var(--shadow-sm);
}

.map__consent .btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------- Content pages (Impressum / Datenschutz) ---------- */
.page-header {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg));
}

.page-header h1 {
  margin-bottom: 0.3em;
}

.page-header p {
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 52ch;
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red);
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

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

.prose h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.25rem;
}

.prose li::marker {
  color: var(--sand);
}

.prose .callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.prose .callout p:last-child {
  margin-bottom: 0;
}

.prose .caps {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}

.prose .caps p:last-child {
  margin-bottom: 0;
}

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 0.925rem;
}

.toc h2 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
  counter-reset: toc;
}

.toc a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.toc a:hover {
  background: var(--surface);
  color: var(--red);
}

.layout-aside {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 900px) {
  .layout-aside {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

/* ---------- Anfahrt page ---------- */
.route {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.route .map {
  aspect-ratio: 16 / 11;
}

@media (max-width: 900px) {
  .route {
    grid-template-columns: 1fr;
  }
}

.arrival {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.arrival article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.arrival h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.6rem;
}

.arrival h3 svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex: none;
}

.arrival p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .arrival {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
}

.cta-band .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.25rem;
}

.footer-grid h2 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--ink);
}

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

.footer-motto {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--red);
  margin: 0;
  max-width: 24ch;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.footer-list a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--red);
}

.footer-list address {
  font-style: normal;
  color: var(--ink-2);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--red);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .map,
  .quote {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }
}
