/* Mediation – Raum Heidelberg & online
   Gestaltung: ruhig, redaktionell, viel Weißraum. Nur System-Schriften. */

:root {
  /* Farben */
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --mist: #E6EEF4;
  --sand: #ECE7DF;
  --ink: #1F3259;
  --text: #364957;
  --text-muted: #5F6870;
  --accent: #5C92B6;
  --accent-text: #3E6F92;
  --night: #3D4154;
  --line: #E3E1DB;
  --line-ink: rgba(31, 50, 89, 0.16);
  --line-dark: rgba(247, 246, 242, 0.2);
  --on-dark: #F7F6F2;
  --on-dark-soft: rgba(247, 246, 242, 0.74);

  /* Schrift */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Baskerville, Georgia, ui-serif, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Abstände */
  --gutter: 20px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radien & Schatten */
  --radius-card: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 20px 20px;
  --shadow-sm: 0 2px 8px rgba(31, 50, 89, 0.05);
  --shadow-md: 0 12px 30px -10px rgba(31, 50, 89, 0.14);

  /* Bewegung */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast: 250ms;
  --dur-med: 450ms;
  --dur-slow: 700ms;

  --header-h: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--accent-text); }

/* ---------- Typografie ---------- */

h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

h1 em, h2 em, .footer-statement em, .brand-name em {
  font-style: italic;
  color: var(--accent-text);
}

.hero-title {
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

h1, h2 {
  font-size: clamp(2rem, 6.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  line-height: 1.25;
}

p, li {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 62ch;
}

@media (min-width: 1024px) {
  p, li { font-size: 1.125rem; }
}

.lead {
  font-size: clamp(1.125rem, 2.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--text);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: var(--space-4);
}

.overline::before {
  content: "";
  width: 28px;
  height: 1px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.micro-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 500;
}

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-10 { margin-bottom: var(--space-10); }

/* ---------- Barrierefreiheit ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  background: var(--ink);
  color: var(--bg);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-pill);
  z-index: 10000;
  text-decoration: none;
  font-size: 0.875rem;
}

.skip-link:focus { top: var(--space-4); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */

.container,
.container-narrow,
.container-text {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container { max-width: calc(1240px + 2 * var(--gutter)); }
.container-narrow { max-width: calc(1040px + 2 * var(--gutter)); }
.container-text { max-width: calc(760px + 2 * var(--gutter)); }

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

@media (min-width: 1200px) {
  :root { --gutter: 64px; }
}

.section {
  padding-block: var(--space-16);
  position: relative;
}

@media (min-width: 768px) {
  .section { padding-block: var(--space-24); }
}

@media (min-width: 1200px) {
  .section { padding-block: var(--space-32); }
}

.section-sand { background-color: var(--sand); }
.section-mist { background-color: var(--mist); }

.section-ink {
  background-color: var(--ink);
  color: var(--on-dark);
}

.section-ink h1,
.section-ink h2,
.section-ink h3,
.section-ink p,
.section-ink li { color: var(--on-dark); }

.section-ink h1 em,
.section-ink h2 em { color: #9CC4DE; }

.section-ink .overline { color: #9CC4DE; }
.section-ink .overline::before { background-color: #9CC4DE; }
.section-ink .text-soft { color: var(--on-dark-soft); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 960px) {
  .split { gap: var(--space-16); }
  .split-7-5 { grid-template-columns: 7fr 5fr; }
  .split-5-7 { grid-template-columns: 5fr 7fr; }
  .split-6-6 { grid-template-columns: 1fr 1fr; }
  .split-4-8 { grid-template-columns: 4fr 8fr; }
  .align-center { align-items: center; }
  .align-end { align-items: end; }
}

.section-head {
  margin-bottom: var(--space-10);
}

.section-head-split { margin-bottom: var(--space-10); }

@media (min-width: 960px) {
  .section-head-split {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: var(--space-16);
    align-items: end;
    margin-bottom: var(--space-16);
  }
}

.section-head-split > div + div { margin-top: var(--space-6); }

@media (min-width: 960px) {
  .section-head-split > div + div { margin-top: 0; }
}

/* ---------- Kopfbereich ---------- */

.site-header {
  position: sticky;
  top: 10px;
  z-index: 1000;
  padding-inline: 10px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .site-header {
    top: 16px;
    margin-top: 16px;
    padding-inline: var(--gutter);
  }
}

.nav-pill {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin-inline: auto;
  background-color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
  padding-inline: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .nav-pill { padding-inline: 14px 12px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--ink);
  min-height: 48px;
  min-width: 0;
}

.brand-img {
  width: 54px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .brand-img { width: 62px; height: 46px; }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 1100px) {
  .nav-links { display: flex; }
}

.nav-links li { max-width: none; }

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9375rem;
  padding-block: var(--space-3);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--mist);
  color: var(--ink);
}

.nav-call svg { width: 20px; height: 20px; }

.nav-actions .nav-cta { display: none; }

@media (min-width: 1100px) {
  .nav-actions .nav-cta { display: inline-flex; }
  .nav-call { display: none; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1100px) {
  .menu-toggle { display: none; }
}

@media (max-width: 479px) {
  .menu-toggle-label { display: none; }
  .menu-toggle { width: 48px; padding: 0; }
  .brand-sub { font-size: 0.625rem; letter-spacing: 0.1em; }
}

@media (max-width: 350px) {
  .brand-sub { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
  padding: calc(var(--header-h) + 40px) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility var(--dur-med) var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1100px) {
  .mobile-menu { display: none; }
}

.mobile-nav-list {
  list-style: none;
  border-top: 1px solid var(--line-ink);
}

.mobile-nav-list li {
  max-width: none;
  border-bottom: 1px solid var(--line-ink);
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav-list a::after {
  content: "→";
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--accent);
}

.mobile-nav-list a[aria-current="page"] {
  font-style: italic;
  color: var(--accent-text);
}

.mobile-menu-contact {
  display: grid;
  gap: var(--space-3);
}

.mobile-menu-contact .btn { width: 100%; }

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--dur-med) var(--ease), color var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background-color: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-text);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--line-ink);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background-color: var(--surface);
}

.btn-light {
  background-color: var(--bg);
  color: var(--ink);
}

.btn-light:hover { background-color: #FFFFFF; }

.btn-ghost-light {
  background-color: transparent;
  color: var(--on-dark);
  border-color: var(--line-dark);
}

.btn-ghost-light:hover { border-color: var(--on-dark); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 559px) {
  .cta-group .btn { width: 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease);
}

.text-link:hover svg { transform: translateX(4px); }

/* ---------- Bilder ---------- */

.img-frame {
  position: relative;
  overflow: hidden;
  background-color: var(--mist);
  box-shadow: var(--shadow-md);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-3-4 { aspect-ratio: 3 / 4; }

.mask-arch { border-radius: var(--radius-arch); }
.mask-lg { border-radius: var(--radius-lg); }
.mask-card { border-radius: var(--radius-card); }

figure figcaption {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

/* Kleines Porträt: Originalbild ist klein, deshalb bewusst kompakt gezeigt */
.portrait {
  width: 170px;
  flex-shrink: 0;
}

.portrait .img-frame {
  aspect-ratio: 190 / 232;
  border-radius: 14px;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .portrait { width: 190px; }
}

/* ---------- Startseite: Hero ---------- */

.hero {
  padding-block: var(--space-10) var(--space-16);
  position: relative;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero { padding-block: var(--space-16) var(--space-24); }
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 146, 182, 0.16), rgba(92, 146, 182, 0) 70%);
  top: -160px;
  left: -200px;
  pointer-events: none;
}

.hero .lead {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
  max-width: 46ch;
}

.hero-visual { position: relative; }

.hero-facts {
  list-style: none;
  margin-top: var(--space-4);
  display: grid;
  gap: 0;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2) var(--space-6);
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-3);
  font-size: 0.9375rem;
  color: var(--ink);
  max-width: none;
}

.hero-facts li + li { border-top: 1px solid var(--line); }

.hero-facts svg {
  width: 20px;
  height: 20px;
  color: var(--accent-text);
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .hero-facts {
    position: absolute;
    left: -48px;
    bottom: -40px;
    max-width: 300px;
    margin-top: 0;
  }
}

/* ---------- Definition ---------- */

.definition {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  position: relative;
}

@media (min-width: 768px) {
  .definition { padding: var(--space-10); }
}

.definition-term {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
}

.definition-term span {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-left: var(--space-2);
}

.definition p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  margin-top: var(--space-4);
}

.definition p:first-child { margin-top: 0; }

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
  list-style: none;
}

.keyword-row li {
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--mist);
  color: var(--ink);
  max-width: none;
}

/* ---------- Nummerierte Listen ---------- */

.num-list {
  list-style: none;
  border-top: 1px solid var(--line-ink);
  counter-reset: num;
}

.num-list > li {
  counter-increment: num;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: baseline;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line-ink);
  max-width: none;
}

.num-list > li::before {
  content: counter(num, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-text);
}

.num-list h3 { font-size: clamp(1.3rem, 3.4vw, 1.6rem); }

.num-list p {
  margin-top: var(--space-2);
  color: var(--text);
}

@media (min-width: 768px) {
  .num-list > li { grid-template-columns: 80px 1fr; }
  .num-list > li::before { font-size: 1.5rem; }
}

/* ---------- Gebiete als ruhige Begriffe ---------- */

.tag-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.tag-grid li {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3.2vw, 1.35rem);
  color: var(--ink);
  padding: 10px 20px;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.55);
  max-width: none;
}

/* ---------- Vorteile ---------- */

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  list-style: none;
}

@media (min-width: 720px) {
  .benefits { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

.benefits li {
  background-color: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: none;
  color: var(--ink);
}

.benefits svg {
  width: 26px;
  height: 26px;
  color: var(--accent-text);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Phasen ---------- */

.phases {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  counter-reset: phase;
  position: relative;
}

.phases li {
  counter-increment: phase;
  position: relative;
  padding: 0 0 var(--space-6) 56px;
  max-width: none;
}

.phases li::before {
  content: counter(phase);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background-color: var(--bg);
  color: var(--accent-text);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.phases li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--accent) 0 5px, transparent 5px 10px);
}

.phases li:last-child::after { display: none; }

.phases-short li { padding-bottom: var(--space-4); }
.phases li:last-child { padding-bottom: 0; }

.phases strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.3;
  padding-top: 4px;
}

.phases span {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (min-width: 960px) {
  .phases {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-6);
  }
  .phases li { padding: 60px 0 0; }
  .phases li::after {
    left: 38px;
    right: calc(-1 * var(--space-6));
    top: 19px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--accent) 0 5px, transparent 5px 10px);
  }
  .section-ink .phases li::before { background-color: var(--ink); }
}

/* ---------- Ablauf (Detailseite) ---------- */

.timeline {
  list-style: none;
  position: relative;
}

.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-10);
  max-width: none;
}

.timeline > li:last-child { padding-bottom: 0; }

.timeline > li::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 8px;
  width: 1px;
  background-color: var(--line-ink);
}

.timeline > li:last-child::after { display: none; }

.timeline-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--line-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-text);
}

.timeline-body .micro-label { margin-bottom: var(--space-2); color: var(--accent-text); }
.timeline-body p { margin-top: var(--space-3); }

@media (min-width: 768px) {
  .timeline > li { grid-template-columns: 72px 1fr; gap: var(--space-8); }
  .timeline-num { width: 72px; height: 72px; font-size: 1.6rem; }
  .timeline > li::after { left: 35px; top: 72px; }
}

/* ---------- Schlüssel-Wert-Listen ---------- */

.kv-list {
  list-style: none;
  border-top: 1px solid var(--line-ink);
}

.kv-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-ink);
  max-width: none;
}

.kv-list .k {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 500;
}

.kv-list .v {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.kv-list a.v {
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.kv-list a.v:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 560px) {
  .kv-list li {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-6);
  }
  .kv-list .v { text-align: right; }
}

.section-ink .kv-list { border-top-color: var(--line-dark); }
.section-ink .kv-list li { border-bottom-color: var(--line-dark); }
.section-ink .kv-list .k { color: var(--on-dark-soft); }
.section-ink .kv-list .v { color: var(--on-dark); }

/* ---------- Über mich ---------- */

.about-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 640px) {
  .about-intro {
    flex-direction: row;
    align-items: flex-start;
  }
}

.milestones {
  list-style: none;
  border-top: 1px solid var(--line-ink);
}

.milestones li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-4);
  align-items: baseline;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-ink);
  max-width: none;
  color: var(--ink);
}

.milestones time {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-text);
}

@media (min-width: 768px) {
  .milestones li { grid-template-columns: 110px 1fr; padding-block: var(--space-6); }
  .milestones time { font-size: 1.75rem; }
}

.aside-list {
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.aside-list li {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink);
  padding-left: var(--space-6);
  border-left: 2px solid var(--accent);
  max-width: none;
}

/* ---------- Stimmen ---------- */

.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 960px) {
  .quotes { grid-template-columns: 7fr 5fr; gap: var(--space-16); align-items: start; }
  .quotes figure:nth-child(2) { margin-top: var(--space-24); }
}

.quote blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  line-height: 1.5;
}

.quote figcaption {
  margin-top: var(--space-4);
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 0.6;
  height: 32px;
  color: #9CC4DE;
}

/* ---------- Karten ---------- */

.cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .card { padding: var(--space-10); }
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.icon-circle svg { width: 26px; height: 26px; }

/* ---------- Kontakt ---------- */

.contact-direct {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  color: var(--on-dark);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.contact-tile:hover {
  background-color: rgba(247, 246, 242, 0.06);
  border-color: rgba(247, 246, 242, 0.45);
}

.contact-tile svg {
  width: 22px;
  height: 22px;
  color: #9CC4DE;
  flex-shrink: 0;
}

.contact-tile .micro-label { color: var(--on-dark-soft); }

.contact-tile strong {
  display: block;
  font-weight: 500;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background-color: rgba(247, 246, 242, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: var(--space-8) var(--space-6);
}

@media (min-width: 768px) {
  .contact-form { padding: var(--space-10); }
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--on-dark);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.input {
  width: 100%;
  min-height: 48px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(247, 246, 242, 0.35);
  border-radius: 0;
  color: var(--on-dark);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  padding-block: var(--space-2);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dur-fast) var(--ease);
}

.input::placeholder { color: rgba(247, 246, 242, 0.45); }

.input:focus {
  outline: none;
  border-bottom: 2px solid #9CC4DE;
}

.input:focus-visible { outline: none; }

textarea.input {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-privacy {
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}

.form-privacy a {
  color: var(--on-dark);
  text-underline-offset: 3px;
}

.contact-form .btn { width: 100%; }

@media (min-width: 560px) {
  .contact-form .btn { width: auto; align-self: flex-start; }
}

[data-contact-status]:empty { display: none; }

[data-contact-status] {
  font-size: 0.9375rem;
  color: var(--on-dark);
}

[data-contact-status][data-state="error"] {
  padding: var(--space-3) var(--space-4);
  border-radius: 12px;
  background-color: rgba(214, 120, 120, 0.15);
  border: 1px solid rgba(214, 120, 120, 0.45);
}

/* ---------- Rechtstexte ---------- */

.legal h2 {
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-ink);
}

.legal h3 {
  font-size: clamp(1.15rem, 3vw, 1.3rem);
  margin-top: var(--space-8);
  margin-bottom: var(--space-2);
}

.legal h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.legal p + p { margin-top: var(--space-3); }

.legal ul {
  margin-top: var(--space-3);
  padding-left: 1.2em;
  display: grid;
  gap: var(--space-3);
}

.legal address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink);
  margin-block: var(--space-3);
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

.legal .caps {
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

.legal a { overflow-wrap: anywhere; }

.legal-source {
  margin-top: var(--space-12);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- Fußbereich ---------- */

.site-footer {
  background-color: var(--night);
  color: var(--on-dark);
  padding-block: var(--space-16) calc(var(--space-8) + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .site-footer { padding-block: var(--space-20) var(--space-10); }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--line-dark);
}

@media (min-width: 960px) {
  .footer-top { grid-template-columns: 7fr 5fr; }
}

.footer-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  color: var(--on-dark);
  max-width: 22ch;
}

.footer-statement em { color: #9CC4DE; }

.footer-top .cta-group { justify-content: flex-start; }

@media (min-width: 960px) {
  .footer-top .cta-group { justify-content: flex-end; }
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10) var(--space-6);
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--line-dark);
}

@media (min-width: 960px) {
  .footer-columns { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-col-wide { grid-column: 1 / -1; }

@media (min-width: 960px) {
  .footer-col-wide { grid-column: auto; }
}

.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9CC4DE;
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.footer-col ul { list-style: none; }

.footer-col li { max-width: none; }

.footer-col a,
.footer-col p {
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.footer-col a:hover { color: var(--on-dark); }

.footer-bottom {
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: rgba(247, 246, 242, 0.6);
}

.footer-bottom p { font-size: 0.8125rem; }

/* ---------- Seitenkopf Unterseiten ---------- */

.page-head {
  padding-block: var(--space-12) var(--space-12);
  position: relative;
}

@media (min-width: 960px) {
  .page-head { padding-block: var(--space-20) var(--space-16); }
}

.page-head .lead { margin-top: var(--space-6); max-width: 52ch; }

/* ---------- Abschluss-Aufruf ---------- */

.closing {
  text-align: left;
}

.closing h2 { max-width: 18ch; }
.closing p { margin-top: var(--space-4); }
.closing .cta-group { margin-top: var(--space-8); }

/* ---------- Einblend-Effekt ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (hover: hover) {
  .img-frame img { transition: transform 1.2s var(--ease); }
  .img-frame:hover img { transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .img-frame:hover img { transform: none; }
}

/* =====================================================================
   Charakter: „Zwei Linien, ein Weg“
   Blau = die eine Sicht, Terrakotta = die andere. Sie finden zusammen.
   ===================================================================== */

:root {
  --warm: #B8643A;
  --warm-text: #95502A;
  --warm-soft: rgba(214, 150, 100, 0.32);
  --paper: #FFFDF8;
}

/* Handgezogene Unterstreichung statt farbiger Kursivschrift */
.scribble {
  font-style: italic;
  color: inherit;
  padding-bottom: 0.08em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 40 3, 80 13, 120 7 S 175 3, 197 8' fill='none' stroke='%23B8643A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 0.32em no-repeat;
}

h1 .scribble, h2 .scribble { color: var(--ink); }
.section-ink .scribble { color: var(--on-dark); }

h2.overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.22em;
  color: var(--accent-text);
  margin-bottom: var(--space-6);
}

/* Textmarker */
.hl {
  background: linear-gradient(transparent 58%, var(--warm-soft) 58%, var(--warm-soft) 92%, transparent 92%);
  padding-inline: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.note {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--warm-text);
  font-size: 1rem;
}

/* ---------- Hero mit Dialog ---------- */

.hero-v2 {
  padding-block: var(--space-8) var(--space-16);
  position: relative;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero-v2 { padding-block: var(--space-12) var(--space-24); }
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 960px) {
  .hero-v2-grid {
    grid-template-columns: 7fr 5fr;
    gap: var(--space-8);
    align-items: center;
  }
}

.voices {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  max-width: 460px;
}

.voice {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  line-height: 1.35;
  padding: 12px 18px;
  border-radius: 20px;
  max-width: 80%;
  width: fit-content;
}

.voice-a {
  background-color: var(--mist);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.voice-b {
  align-self: flex-end;
  background-color: #F3E3D6;
  color: #5A3018;
  border-bottom-right-radius: 4px;
}

.hero-v2 .hero-title { max-width: 11ch; }

.hero-v2 .lead {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
  max-width: 40ch;
}

.hero-aside {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-aside svg {
  width: 44px;
  height: 28px;
  color: var(--warm);
  flex-shrink: 0;
}

/* ---------- Eingeklebte Fotos ---------- */

.photo-taped {
  position: relative;
  background-color: var(--paper);
  padding: 10px 10px 0;
  box-shadow: 0 1px 2px rgba(31, 50, 89, 0.08), 0 18px 40px -16px rgba(31, 50, 89, 0.28);
  transform: rotate(var(--tilt, 2deg));
  transition: transform var(--dur-med) var(--ease);
  max-width: 100%;
}

.photo-taped::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 96px;
  height: 28px;
  transform: translateX(-50%) rotate(-3deg);
  background-color: rgba(236, 222, 196, 0.82);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.photo-taped .img-frame {
  border-radius: 2px;
  box-shadow: none;
}

.photo-taped figcaption {
  margin: 0;
  padding: 12px 6px 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  text-align: center;
}

@media (hover: hover) {
  .photo-taped:hover { transform: rotate(0deg); }
}

.hero-photo {
  --tilt: 2.5deg;
  width: 88%;
  margin-left: auto;
  margin-right: 4px;
}

@media (min-width: 960px) {
  .hero-photo { width: 100%; margin-top: var(--space-16); }
}

.portrait-taped {
  --tilt: -3deg;
  width: 190px;
}

.portrait-taped .img-frame { aspect-ratio: 190 / 232; }

.postcard { --tilt: -1.5deg; }

.postcard::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 54px;
  height: 64px;
  border: 2px dashed rgba(184, 100, 58, 0.7);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.55);
  z-index: 2;
}

/* ---------- Wörterbuch-Eintrag ---------- */

.dict {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-6);
}

@media (min-width: 768px) {
  .dict { padding-left: var(--space-10); }
}

.dict-word {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  line-height: 1;
  color: var(--ink);
}

.dict-meta {
  margin-top: var(--space-3);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

.dict-text {
  margin-top: var(--space-6);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 34ch;
}

/* ---------- Gebiete als ein Satz ---------- */

.big-sentence {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 6vw, 3.4rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 24ch;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.big-sentence .note {
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 0.15em;
  white-space: nowrap;
}

/* ---------- Vorteile als Blatt ---------- */

.sheet-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 960px) {
  .sheet-wrap {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-16);
    align-items: center;
  }
}

.sheet {
  position: relative;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(92, 146, 182, 0.18) 35px 36px);
  background-position: 0 66px;
  padding: var(--space-8) var(--space-6) var(--space-10) var(--space-12);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(31, 50, 89, 0.08), 0 24px 50px -20px rgba(31, 50, 89, 0.3);
  transform: rotate(-1deg);
}

.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 1px;
  background-color: rgba(184, 100, 58, 0.45);
}

@media (min-width: 768px) {
  .sheet { padding: var(--space-10) var(--space-10) var(--space-12) var(--space-16); }
  .sheet::before { left: 40px; }
}

.sheet-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.sheet ol {
  list-style: none;
  counter-reset: par;
  display: grid;
  gap: var(--space-4);
}

.sheet li {
  counter-increment: par;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--space-2);
  color: var(--ink);
  max-width: none;
}

.sheet li::before {
  content: "§ " counter(par);
  font-family: var(--font-serif);
  color: var(--warm-text);
}

/* ---------- Zwei Linien finden zusammen ---------- */

.converge-h { display: none; }

.line-a, .line-b {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.line-a { stroke: var(--accent); }
.line-b { stroke: var(--warm); stroke-dasharray: 1 7; stroke-width: 3; }

.converge-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
}

.flow {
  list-style: none;
  position: relative;
  padding-left: 64px;
}

.flow-lines {
  position: absolute;
  left: 0;
  top: 6px;
  width: 52px;
  height: calc(100% - 14px);
}

.flow-lines path { vector-effect: non-scaling-stroke; }

.flow::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--ink);
  box-shadow: 0 0 0 5px var(--bg);
}

.flow > li {
  position: relative;
  padding-bottom: var(--space-6);
  max-width: none;
}

.flow > li:last-child { padding-bottom: var(--space-2); }

.flow-num {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-text);
  font-weight: 600;
}

.flow strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 4.4vw, 1.5rem);
  color: var(--ink);
  line-height: 1.3;
}

.flow p { margin-top: var(--space-2); }

.section-mist .flow::after { box-shadow: 0 0 0 5px var(--mist); }

@media (min-width: 960px) {
  .flow-wide .converge-h { display: block; width: 100%; height: auto; }
  .flow-wide .flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-left: 0;
    margin-top: var(--space-4);
  }
  .flow-wide .flow-lines,
  .flow-wide .flow::after { display: none; }
  .flow-wide .flow > li {
    padding: 0 var(--space-4);
    border-left: 1px solid var(--line-ink);
  }
  .flow-wide .flow > li:last-child { border-left: 2px solid var(--ink); }
}

/* ---------- Lebensweg als Route ---------- */

.route {
  list-style: none;
  position: relative;
  display: grid;
  gap: var(--space-6);
  padding-left: 34px;
}

.route::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 10px;
  border-left: 2px dotted var(--warm);
}

.route li {
  position: relative;
  max-width: none;
}

.route li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--warm);
  background-color: var(--bg);
}

.route li:last-child::before { background-color: var(--warm); }

.route-year {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--warm-text);
  font-weight: 600;
}

.route-place {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 4.6vw, 1.75rem);
  line-height: 1.2;
  color: var(--ink);
}

.route-role {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .route-h {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 0;
    padding-top: 34px;
  }
  .route-h::before {
    left: 8px;
    right: 8px;
    top: 9px;
    bottom: auto;
    border-left: 0;
    border-top: 2px dotted var(--warm);
  }
  .route-h li::before { left: 0; top: -32px; }
}

.section-sand .route li::before { background-color: var(--sand); }
.section-sand .route li:last-child::before { background-color: var(--warm); }

/* ---------- Über-mich-Teaser ---------- */

.person-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 900px) {
  .person-grid {
    grid-template-columns: 240px 1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.person-grid .portrait-taped { margin-left: 8px; margin-top: 14px; }

/* ---------- Großes Zitat ---------- */

.quote-big blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5.6vw, 3rem);
  line-height: 1.25;
  max-width: 22ch;
}

.quote-big .quote-mark {
  font-size: 7rem;
  height: 56px;
  color: var(--warm);
}

.quote-big figcaption {
  margin-top: var(--space-6);
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.quote-long blockquote p {
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  max-width: 44ch;
}

/* ---------- Illustrationen der Formate ---------- */

.format-card {
  position: relative;
  background-color: var(--paper);
  border-radius: var(--radius-card);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .format-card { padding: var(--space-10); }
  .format-card:nth-child(2) { margin-top: var(--space-16); }
}

.format-card svg.illu {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-bottom: var(--space-4);
}

.illu * { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.illu .ink { stroke: var(--ink); }
.illu .a { stroke: var(--accent); }
.illu .b { stroke: var(--warm); }

/* ---------- Kontakt: Linien treffen sich ---------- */

.meet {
  display: block;
  width: 120px;
  height: 46px;
  margin-bottom: var(--space-4);
}

.meet path { fill: none; stroke-width: 2; stroke-linecap: round; }
.meet .a { stroke: #9CC4DE; }
.meet .b { stroke: #E0A27E; stroke-dasharray: 1 6; stroke-width: 3; }
.meet circle { fill: var(--on-dark); }

/* ---------- Steckbrief ---------- */

.index-card {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(92, 146, 182, 0.16) 39px 40px);
  background-position: 0 58px;
  border-top: 4px solid var(--warm);
  padding: var(--space-6) var(--space-6) var(--space-4);
  box-shadow: 0 18px 40px -18px rgba(31, 50, 89, 0.28);
  transform: rotate(0.8deg);
}

.index-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-6);
  margin-top: var(--space-2);
}

.index-card dt,
.index-card dd { line-height: 40px; }

.index-card dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.index-card dd {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

@media (max-width: 479px) {
  .index-card { background-image: none; }
  .index-card dl { grid-template-columns: 1fr; }
  .index-card dt { line-height: 1.4; padding-top: 12px; }
  .index-card dd { line-height: 1.45; padding-bottom: 12px; border-bottom: 1px solid rgba(92, 146, 182, 0.2); }
  .index-card dd:last-child { border-bottom: 0; }
}

.notes {
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.notes li {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 3.6vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  .photo-taped, .sheet, .index-card { transform: none; }
}

/* =====================================================================
   Hero-Grafik: zwei Stimmen auf zwei Linien, die sich vereinen
   ===================================================================== */

.hero-lines { display: none; }

.hero-v2 {
  min-height: calc(100svh - var(--header-h) - 20px);
  display: flex;
  align-items: center;
}

.hero-v2 > .container { width: 100%; }

@media (min-width: 960px) {
  .voices-inline { display: none; }

  .hero-lines {
    display: block;
    position: relative;
    width: min(100%, 64svh);
    aspect-ratio: 1 / 1;
    margin-left: auto;
  }

  .hero-lines svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-lines .voice {
    position: absolute;
    max-width: 72%;
    margin: 0;
  }

  .hero-lines .voice-a { top: 6%; left: 0; }
  .hero-lines .voice-b { bottom: 6%; left: 4%; }

  .hero-lines .knot-label {
    position: absolute;
    right: 0;
    top: 50%;
    margin: 0;
    transform: translateY(22px);
    text-align: right;
    max-width: 30%;
    line-height: 1.3;
  }
}

/* ---------- Fotos als Collage ---------- */

.collage {
  position: relative;
  padding-bottom: 30%;
}

.collage .postcard { width: 88%; }

.collage-small {
  --tilt: 4deg;
  position: absolute !important;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 3;
}

.collage-small::before { width: 70px; }

/* ---------- Über mich: Kopf mit Steckbrief ---------- */

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

.about-hero .portrait-taped { margin-left: 8px; margin-top: 14px; }

@media (min-width: 960px) {
  .about-hero {
    grid-template-columns: 200px 1fr 360px;
    gap: var(--space-12);
    align-items: center;
  }
  .about-hero .portrait-taped { width: 200px; }
}

@media (min-width: 900px) {
  .route-h.route-6 { grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
}

/* ---------- Ablauf als Raster ---------- */

@media (min-width: 960px) {
  .flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8) var(--space-10);
    padding-left: 0;
  }
  .flow-grid .flow-lines,
  .flow-grid::after { display: none; }
  .flow-grid > li,
  .flow-grid > li:last-child {
    padding: var(--space-4) 0 0;
    border-top: 1px solid var(--line-ink);
  }
  .flow-grid > li:last-child { border-top: 2px solid var(--ink); }
}

/* ---------- Formular ---------- */

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 960px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-form { gap: var(--space-4); padding: var(--space-8); }
  .contact-form textarea.input { min-height: 96px; }
  .contact-direct { margin-top: var(--space-6); gap: var(--space-2); }
  .contact-tile { min-height: 56px; padding-block: var(--space-2); }
}

/* =====================================================================
   Desktop: jeder Abschnitt füllt genau einen Bildschirm
   ===================================================================== */

@media (min-width: 960px) and (min-height: 600px) {
  .section:not(.section-free) {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: calc(var(--bar-h) + 40px) 48px;
  }

  .section:not(.section-free) > * { width: 100%; }

  /* Erster Abschnitt einer Unterseite: der Kopfbereich liegt darüber */
  .section.first-view {
    min-height: calc(100svh - var(--header-h) - 16px);
    padding-block: var(--space-8) var(--space-12);
  }

  .hero-v2 { padding-block: var(--space-6) var(--space-12); }

  .closing h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); max-width: 16ch; }

  .collage { max-width: min(100%, calc((100svh - 280px) * 1.2)); }
}

/* Niedrige Laptop-Bildschirme (z. B. 1366 × 768) */
@media (min-width: 960px) and (max-height: 860px) {
  h1, h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
  .hero-title { font-size: clamp(2.8rem, 6vw, 4.8rem); }
  .big-sentence { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
  .quote-big blockquote p { font-size: clamp(1.5rem, 3vw, 2.4rem); }
  .quote-long blockquote p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
  .dict-word { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .section-head-split { margin-bottom: var(--space-10); }
  .section:not(.section-free) { padding-block: calc(var(--bar-h) + 24px) 32px; }
  .section.first-view { padding-block: var(--space-6) var(--space-8); }
  .flow-grid { gap: var(--space-6) var(--space-10); }
  .flow p { font-size: 1rem; }
}

/* ---------- Feinschliff Bildschirmhöhe ---------- */

@media (min-width: 960px) {
  .form-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }

  .format-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: var(--space-6);
    row-gap: var(--space-2);
    align-content: start;
    padding: var(--space-8);
  }
  .format-card:nth-child(2) { margin-top: var(--space-8); }
  .format-card svg.illu {
    grid-row: 1 / span 3;
    max-width: 150px;
    margin: 0;
    align-self: center;
  }
}

@media (min-width: 960px) and (max-height: 860px) {
  .meet { display: none; }
  .contact-form .form-title { font-size: 1.25rem; }
  .contact-form textarea.input { min-height: 76px; }
  .section-ink .text-soft.mt-6 { margin-top: var(--space-4); }
  .flow-wide .section-head,
  .section-mist .section-head { margin-bottom: var(--space-6); }
}

@media (min-width: 960px) and (max-height: 700px) {
  .section:not(.section-free) { padding-block: calc(var(--bar-h) + 12px) 20px; }
  .section.first-view { padding-block: var(--space-4) var(--space-4); }
  .contact-form { gap: var(--space-3); padding: var(--space-6); }
  .contact-tile { min-height: 50px; }
  .converge-h { margin-top: calc(-1 * var(--space-2)); }
}

.about-hero .lead { margin-top: var(--space-6); }

@media (min-width: 960px) {
  .about-hero { grid-template-columns: 200px 1fr 400px; }
}

.collage .postcard figcaption { text-align: left; padding-left: 14px; }

@media (max-width: 959px) {
  .format-card svg.illu { max-width: 190px; margin-bottom: var(--space-2); }
}

/* Kopfleiste: immer sichtbar (sticky), ohne eigenen Hintergrund –
   die Seite scrollt sichtbar hinter der Navigation durch */
:root { --bar-h: calc(var(--header-h) + 20px); }

@media (min-width: 768px) {
  :root { --bar-h: calc(var(--header-h) + 28px); }
}

.site-header {
  top: 0;
  margin-top: 0;
  padding-block: 10px;
}


@media (min-width: 768px) {
  .site-header { top: 0; margin-top: 0; padding-block: 14px; }
}

/* =====================================================================
   Unterseiten-Einstieg: auf dem Handy alles auf einen Blick
   (Inhalt wird kompakt angeordnet, keine erzwungene Bildschirmhöhe)
   ===================================================================== */

.cta-compact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.cta-compact .btn { flex: 1 1 auto; }

.btn-round {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-ink);
  background-color: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-fast) var(--ease);
}

.btn-round:hover { border-color: var(--ink); }
.btn-round svg { width: 20px; height: 20px; }

@media (min-width: 960px) {
  .cta-compact { margin-top: var(--space-8); }
  .cta-compact .btn { flex: 0 0 auto; }
}

@media (max-width: 959px) {
  .section.first-view { padding-block: var(--space-4) var(--space-12); }
  .first-view h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .first-view .lead { font-size: 1.0625rem; line-height: 1.55; }
  .first-view .overline { margin-bottom: var(--space-3); }
  .first-view .section-head-split { margin-bottom: var(--space-6); }
  .first-view .section-head-split > div + div { margin-top: var(--space-3); }
}

/* ---------- Über mich ---------- */

.about-head {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.about-lead { margin-top: var(--space-6); }

@media (max-width: 959px) {
  .about-hero { display: block; }

  .about-head .portrait-taped {
    flex: 0 0 104px;
    width: 104px;
    margin: 10px 0 0 4px;
    padding: 6px 6px 0;
  }

  .about-head .portrait-taped::before { width: 56px; height: 18px; top: -9px; }

  .about-head .portrait-taped figcaption {
    font-size: 0.8125rem;
    padding: 6px 2px 8px;
  }

  .about-lead { margin-top: var(--space-4); }

  .about-hero .index-card {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background-image: none;
    transform: rotate(0.5deg);
  }

  .about-hero .index-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3) var(--space-4);
    margin: 0;
  }

  .about-hero .index-card dl > div dt {
    font-size: 0.6875rem;
    line-height: 1.3;
    padding: 0;
  }

  .about-hero .index-card dl > div dd {
    font-size: 1rem;
    line-height: 1.3;
    padding: 2px 0 0;
    border: 0;
  }
}

@media (min-width: 960px) {
  .about-hero {
    grid-template-columns: 1fr 400px;
    grid-template-areas:
      "head card"
      "lead card"
      "cta  card";
    column-gap: var(--space-16);
    row-gap: 0;
    align-items: center;
  }
  .about-hero > .about-head { grid-area: head; }
  .about-hero > .about-lead { grid-area: lead; margin-top: var(--space-6); max-width: 46ch; }
  .about-hero > .index-card { grid-area: card; }
  .about-hero > .cta-compact { grid-area: cta; align-self: start; }
  .about-head .portrait-taped { flex: 0 0 180px; width: 180px; }

  .index-card dl > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    column-gap: var(--space-6);
  }
}

/* ---------- Ablauf: aufklappbare Schritte ---------- */

.flow-acc summary {
  list-style: none;
  position: relative;
  display: block;
  min-height: 44px;
  padding: 4px 40px 4px 0;
  cursor: pointer;
}

.flow-acc summary::-webkit-details-marker { display: none; }

.flow-acc summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent-text);
}

.flow-acc details[open] summary::after { content: "–"; }

.flow-acc details p {
  margin: 2px 0 10px;
  font-size: 0.9375rem;
}

@media (max-width: 959px) {
  .flow-acc > li,
  .flow-acc > li:last-child { padding-bottom: var(--space-1); }
  .flow-acc .flow-num { font-size: 0.6875rem; line-height: 1.35; }
  .flow-acc strong { font-size: 1.15rem; line-height: 1.3; }
}

@media (min-width: 960px) {
  .flow-acc summary { cursor: default; padding-right: 0; }
  .flow-acc summary::after { display: none; }
  .flow-acc details p { margin-top: var(--space-2); font-size: 1rem; }
}

/* ---------- Format: zwei Karten nebeneinander ---------- */

@media (max-width: 959px) {
  .format-pair {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .format-pair .format-card,
  .format-pair .format-card:nth-child(2) {
    margin-top: 0;
    padding: 14px 12px 16px;
    gap: var(--space-1);
    border-radius: 16px;
  }

  .format-pair .format-card svg.illu {
    width: 100%;
    max-width: 100%;
    height: 64px;
    margin-bottom: 6px;
  }

  .format-pair .micro-label { display: none; }
  .format-pair .h3 { font-size: 1.05rem; line-height: 1.25; }
  .format-pair p { font-size: 0.875rem; line-height: 1.45; }
}

@media (max-width: 959px) {
  .first-view .section-head-split { margin-bottom: var(--space-4); }
  .flow-acc summary { padding-block: 1px; }
  .flow-acc > li,
  .flow-acc > li:last-child { padding-bottom: 2px; }
  .flow-acc + .cta-compact { margin-top: var(--space-4); }

  .first-view .meet { width: 96px; height: 36px; margin-bottom: var(--space-2); }
  .first-view .contact-direct { margin-top: var(--space-4); gap: var(--space-2); }
  .first-view .contact-tile { min-height: 58px; padding-block: 6px; }
  .first-view .text-soft.mt-6 { margin-top: var(--space-3); }
}

@media (min-width: 960px) {
  .about-hero .index-card dl { display: block; }
}
