/* ============================================================
   Praxis Dürdodt & Hoch, Augsburg — Entwurf (300-Sites-Projekt)
   Konzept „Eine Praxis, zwei Ansprechpartnerinnen"
   Warmes Weiß, Aprikose + Salbei, Manrope, große Radien,
   hohe Kontraste (WCAG AA), sichtbare Fokuszustände.
   ============================================================ */

:root {
  --paper: #fdfaf6;        /* warmes Weiß */
  --paper-soft: #f7f1e7;   /* weiche Fläche */
  --ink: #22301f;          /* Text, Kontrast ~13:1 auf --paper */
  --ink-soft: #4a5a44;     /* Sekundärtext, Kontrast ~7:1 */
  --apricot: #e08a4c;      /* Akzent-Fläche, Buttons (mit Ink-Text ~5:1) */
  --apricot-deep: #9e5518; /* Aprikose für kleinen Text, Kontrast ~4.6:1 */
  --apricot-soft: #fbe9d8; /* helle Aprikose-Fläche */
  --sage: #8fa37e;         /* Salbei, dekorativ */
  --sage-deep: #55703f;    /* Salbei für kleinen Text, Kontrast ~5:1 */
  --sage-soft: #edf0e3;    /* helle Salbei-Fläche */
  --line: rgba(34, 48, 31, .14);
  --focus: #2e5d3f;        /* Fokusrahmen */
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 18px 50px -24px rgba(34, 48, 31, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 "Manrope", system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }

/* Sichtbarer Fokus überall */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.75rem); }

/* ---------- Kopfzeile ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(253, 250, 246, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .9rem 0; flex-wrap: wrap;
}
.brand { text-decoration: none; color: var(--ink); line-height: 1.25; }
.brand .name { display: block; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.brand .sub {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep);
}
nav.main { display: flex; gap: .35rem; flex-wrap: wrap; }
nav.main a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .35rem 1.05rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600;
}
nav.main a:hover { background: var(--sage-soft); }
nav.main a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .7rem 1.7rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--apricot); color: var(--ink); }
.btn-primary:hover { background: #d17a3a; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Eyebrow / Labels ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--apricot-deep);
}
.eyebrow.sage { color: var(--sage-deep); }

/* ---------- Hero: Split-Band ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-weight: 800; letter-spacing: -.03em; line-height: 1.06;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  margin: 1.1rem 0 1.3rem;
  hyphens: auto;
}
.hero h1 .accent { color: var(--apricot-deep); }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--ink-soft); max-width: 40ch; }
.hero .actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 7 / 8.4; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-figure .badge {
  position: absolute; left: -1.4rem; bottom: 1.6rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow);
  padding: .9rem 1.2rem; max-width: 15rem;
  font-size: .92rem; font-weight: 700; line-height: 1.45;
}
.hero-figure .badge small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .8rem; }

/* Bildband unter dem Hero */
.band { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.band img {
  width: 100%; height: clamp(200px, 32vw, 400px);
  object-fit: cover; border-radius: var(--radius-lg);
}

/* ---------- Fakten-Chips ---------- */
.facts { padding: clamp(2.2rem, 5vw, 3.2rem) 0 0; }
.facts ul {
  list-style: none; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.facts li {
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 1.3rem 1.4rem;
}
.facts strong { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: .2rem; }
.facts span { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; display: block; }

/* ---------- Abschnitte ---------- */
section.block { padding: clamp(3.5rem, 8vw, 6.5rem) 0 0; }
h2 {
  font-weight: 800; letter-spacing: -.025em; line-height: 1.12;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: .9rem 0 1.4rem; max-width: 24ch;
}
h3 { font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.prose { max-width: 62ch; color: var(--ink-soft); }
.prose p { margin-bottom: 1.05rem; }
.prose strong { color: var(--ink); font-weight: 800; }
.prose ul { margin: 0 0 1.05rem 1.3rem; }
.prose li { margin-bottom: .45rem; }

.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.more { display: inline-flex; align-items: center; margin-top: 1.4rem; font-weight: 800; color: var(--apricot-deep); text-decoration: none; border-bottom: 2px solid var(--apricot); padding-bottom: 2px; }
.more:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Zwei Ansprechpartnerinnen ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.duo article {
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
}
.duo article.a { background: var(--apricot-soft); }
.duo article.b { background: var(--sage-soft); }
.duo .initials {
  width: 74px; height: 74px; border-radius: 26px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.5rem; letter-spacing: .02em;
  margin-bottom: 1.2rem;
}
.duo article.a .initials { background: var(--apricot); color: var(--ink); }
.duo article.b .initials { background: var(--sage); color: var(--ink); }
.duo h3 { font-size: 1.45rem; }
.duo .role { font-weight: 700; color: var(--ink-soft); font-size: .98rem; margin-bottom: .9rem; }
.duo p { color: var(--ink-soft); font-size: 1rem; }
.duo .tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.duo .tags li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 700; padding: .35rem .9rem; color: var(--ink);
}

/* ---------- Split mit Bild ---------- */
.split-img {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.split-img.rev { grid-template-columns: 1.1fr .9fr; }
.split-img img {
  width: 100%; aspect-ratio: 7 / 9; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}

/* ---------- Barrierefrei-Karten ---------- */
.access { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.access article {
  background: var(--paper); border: 2px solid var(--sage);
  border-radius: var(--radius-md); padding: 1.5rem 1.4rem;
}
.access .ico {
  width: 52px; height: 52px; border-radius: 18px;
  background: var(--sage-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.access .ico svg { width: 28px; height: 28px; stroke: var(--sage-deep); }
.access h3 { font-size: 1.12rem; }
.access p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Schritte ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps li {
  counter-increment: step;
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 1.6rem 1.4rem 1.5rem;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-weight: 800; font-size: 2rem; letter-spacing: -.02em;
  color: var(--apricot); margin-bottom: .7rem;
}
.steps .st { display: block; font-weight: 800; font-size: 1.15rem; margin-bottom: .35rem; }
.steps .sd { color: var(--ink-soft); font-size: .97rem; display: block; }

/* Vier Schritte: 2x2 statt eine Karte allein in Zeile zwei */
.steps.four { grid-template-columns: 1fr 1fr; }

/* ---------- Zitat-freie Statement-Fläche ---------- */
.statement {
  background: var(--sage-soft); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.statement p.big {
  font-weight: 800; letter-spacing: -.02em; line-height: 1.25;
  font-size: clamp(1.4rem, 2.8vw, 2rem); color: var(--ink); max-width: 34ch;
}
.statement p.small { margin-top: 1rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Kontakt-Band ---------- */
.contact-band {
  background: var(--apricot-soft); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.8rem, 4vw, 3rem);
}
.contact-band .phone-big {
  display: inline-block; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15;
  color: var(--ink); text-decoration: none;
  border-bottom: 3px solid var(--apricot);
  margin: .6rem 0 1rem;
}
.contact-band .phone-big:hover { color: var(--apricot-deep); }
.contact-band address { font-style: normal; line-height: 1.75; color: var(--ink-soft); }
.contact-band address strong { color: var(--ink); }
.contact-band address a { color: var(--ink); font-weight: 700; }
.contact-band .side p { color: var(--ink-soft); margin-bottom: .9rem; }
.contact-band .side strong { color: var(--ink); }

/* ---------- Krisenblock ---------- */
.crisis {
  border: 2px solid var(--apricot-deep);
  background: #fff4e8;
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
}
.crisis h2, .crisis h3 { margin-top: 0; }
.crisis ul { list-style: none; margin-top: 1rem; display: grid; gap: .8rem; }
.crisis li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: .9rem 1.1rem; font-size: .98rem; line-height: 1.55;
}
.crisis li strong { display: block; font-weight: 800; }
.crisis a { color: var(--ink); font-weight: 800; }
.crisis .hint { margin-top: 1.1rem; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Tabellen (Sprechzeiten) ---------- */
table.hours { border-collapse: collapse; width: 100%; max-width: 26rem; }
table.hours td {
  padding: .65rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem;
}
table.hours td:first-child { font-weight: 800; width: 45%; }
table.hours tr:last-child td { border-bottom: 0; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; max-width: none; }
.legal p, .legal address { color: var(--ink-soft); max-width: 64ch; margin-bottom: .9rem; font-style: normal; }
.legal strong { color: var(--ink); }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.page-hero h1 {
  font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  margin: 1rem 0 1.1rem; max-width: 20ch;
}
.page-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 52ch; }

/* ---------- Fußnote mit Stern ---------- */
.star-note {
  margin-top: 1.2rem; font-size: .9rem; color: var(--ink-soft);
}

/* ---------- Fußzeile ---------- */
footer.site { margin-top: clamp(3.5rem, 8vw, 6rem); background: var(--sage-soft); border-top: 1px solid var(--line); }
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0 1.6rem;
}
.foot-brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
footer.site address { font-style: normal; color: var(--ink-soft); line-height: 1.7; margin-top: .6rem; font-size: .95rem; }
footer.site address a { color: var(--ink); font-weight: 700; text-decoration: none; }
footer.site address a:hover { text-decoration: underline; }
.foot-col h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .8rem; color: var(--sage-deep); font-weight: 800; max-width: none; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: .45rem; }
.foot-col a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.foot-col a:hover { text-decoration: underline; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.6rem; font-size: .85rem; color: var(--ink-soft);
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.foot-bottom .note { max-width: 62ch; }

/* ---------- Reveal-on-Scroll (nur mit JS aktiv) ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-figure { max-width: 26rem; }
  .hero-figure .badge { left: 1rem; }
  .facts ul { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .split-img, .split-img.rev { grid-template-columns: 1fr; gap: 1.6rem; }
  .split-img .fig { order: -1; }
  .split-img img { aspect-ratio: 16 / 10; }
  .access { grid-template-columns: 1fr; }
  .steps, .steps.four { grid-template-columns: 1fr; }
  .contact-band { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .header-in { padding: .75rem 0; }
  nav.main a { padding: .3rem .8rem; font-size: .9rem; min-height: 40px; }
  .btn { width: 100%; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero-figure .badge { position: static; max-width: none; margin-top: .8rem; }
  table.hours td { font-size: .95rem; }
}


/* ============================================================
   CRAFT-LAYER (design-craft.md, auto-rollup)
   ============================================================ */

::selection { background: #f7f1e7; color: #fdfaf6; }

body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='khn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23khn)'/%3E%3C/svg%3E");
}

/* Craft: Sektionsluft */
section, .section, .content-section, .kapitel, .abschnitt, .sektion {
  padding-top: clamp(4rem, 9vw, 8rem) !important;
  padding-bottom: clamp(4rem, 9vw, 8rem) !important;
}

/* Craft: Ticker */
.ticker {
  background: #f7f1e7; color: #fdfaf6;
  overflow: hidden; white-space: nowrap; padding: 0.8rem 0;
}
.ticker-inhalt {
  display: inline-block; animation: lauf 30s linear infinite;
  font-family: Georgia, serif; font-size: 0.95rem; letter-spacing: 0.06em;
}
.ticker-inhalt span { margin: 0 1.6rem; }
.ticker-inhalt .stern { opacity: 0.55; }
@keyframes lauf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inhalt { animation: none; } }

/* Craft: Badge */
.badge {
  position: absolute; z-index: 5;
  right: clamp(0.5rem, 4vw, 3rem); bottom: 1.2rem;
  width: clamp(118px, 12.5vw, 152px); height: clamp(118px, 12.5vw, 152px);
  animation: drehen 26s linear infinite;
}
.badge text {
  font-family: Georgia, serif; font-size: 8.4px;
  letter-spacing: 0.3em; text-transform: uppercase; fill: #fdfaf6;
}
.badge circle { fill: #f7f1e7; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } }

/* Craft: Riesiges CTA */
.cta-riesig {
  background: #f7f1e7; color: #fdfaf6;
  padding: clamp(3.2rem, 7.5vw, 6rem) clamp(1.1rem, 4vw, 3rem);
}
.cta-riesig .wrap, .cta-riesig .blatt, .cta-riesig .flaeche, .cta-riesig .inhalt,
.cta-riesig .buch, .cta-riesig .register, .cta-riesig .magazin {
  max-width: 1080px; margin: 0 auto; padding: 0;
}
.cta-riesig h2 {
  font-family: Georgia, serif; font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 5.8rem); line-height: 1.02;
  letter-spacing: -0.015em; max-width: 15ch; margin-bottom: 1.6rem;
  color: #fdfaf6;
}
.cta-riesig h2 em { font-style: italic; font-weight: 400; opacity: 0.75; }
.cta-telefon {
  font-family: Georgia, serif; font-weight: 600;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  display: inline-block; border-bottom: 3px solid #fdfaf6;
  padding-bottom: 0.25rem; color: #fdfaf6;
}
.cta-telefon:hover { opacity: 0.8; }
.cta-zeilen {
  max-width: 720px; margin: 2.4rem 0 0;
  border-top: 1px solid rgba(128,128,128,0.3); padding-top: 1.3rem;
  font-size: 0.87rem; display: grid; gap: 0.4rem;
}
