/* Hebammenpraxis Kaina & Tokita – moderne, responsive Homepage
   Farben aus dem Logo: Terrakotta-Orange + Nachtblau, warmes Creme. */

:root {
  --orange: #c4601d;
  --orange-dark: #a24d14;
  --blue: #274b7e;
  --blue-dark: #1b3760;
  --cream: #fbf6ef;
  --sand: #f3e8d9;
  --ink: #3a2a20;
  --muted: #6d5b4e;
  --line: #e6d8c6;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(58, 42, 32, .10);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--blue-dark); margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 239, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); letter-spacing: .12em; font-size: 1.02rem; color: var(--orange-dark); }
.brand-text span { font-size: .8rem; color: var(--muted); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 12px;
  width: 46px; height: 46px; cursor: pointer; color: var(--blue-dark);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; align-items: center; }
.nav a { display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="true"] { background: var(--sand); color: var(--blue-dark); }
.nav .cta a { background: var(--orange); color: #fff; }
.nav .cta a:hover { background: var(--orange-dark); color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: var(--cream); border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .15rem; }
  .nav a { padding: .8rem 1rem; border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0; background:
  radial-gradient(900px 400px at 85% 10%, rgba(196, 96, 29, .12), transparent 70%),
  radial-gradient(700px 400px at 0% 100%, rgba(39, 75, 126, .10), transparent 70%),
  var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--orange-dark); margin-bottom: 1rem; }
.hero h1 { margin-bottom: .5em; }
.hero h1 em { font-style: italic; color: var(--orange); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.hero-logo { display: grid; place-items: center; }
.hero-logo .disc {
  background: var(--white); border-radius: 50%; width: min(100%, 420px); aspect-ratio: 1;
  display: grid; place-items: center; box-shadow: var(--shadow); padding: 8%;
}
.hero-logo img { width: 92%; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo .disc { width: min(72%, 300px); }
}

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--white); }
.tinted { background: var(--sand); }

.grid { display: grid; gap: 1.4rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.alt .card { background: var(--cream); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--orange-dark); background: rgba(196, 96, 29, .1); padding: .2rem .65rem; border-radius: 999px; margin-bottom: .8rem; }
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo img { width: 100%; height: 190px; object-fit: cover; }
.card-photo .body { padding: 1.4rem 1.6rem 1.6rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.photo-pair .photo:nth-child(2) { margin-top: 2rem; }
.caption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* Phasen / Timeline-Überschriften */
.phase-label { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; }
.phase-label .num { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; flex: none; }
.phase-label h3 { margin: 0; font-size: 1.5rem; }
.phase + .phase { margin-top: 3.2rem; }

/* Kursliste */
.course { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: start; }
.course h3 { margin-bottom: .2em; }
.course .who { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.dates { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.dates li { background: var(--sand); border-radius: 12px; padding: .35rem .8rem; font-size: .95rem; }
.alt .dates li, .card .dates li { background: var(--sand); }
.time { font-weight: 600; color: var(--blue-dark); margin: .8rem 0 0; }
.badge { display: inline-block; background: var(--blue); color: #fff; border-radius: 999px; font-size: .78rem; font-weight: 600; padding: .2rem .7rem; }
.badge.warn { background: var(--orange); }
@media (max-width: 640px) { .course { grid-template-columns: 1fr; } }

.info-box {
  display: flex; gap: 1rem; align-items: flex-start; background: rgba(39, 75, 126, .07);
  border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.4rem; margin-top: 2rem;
}
.info-box.orange { background: rgba(196, 96, 29, .09); border-color: var(--orange); }
.info-box p { margin: 0; }
.info-box svg { flex: none; width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.info-box.orange svg { color: var(--orange); }

/* Team */
.person { text-align: left; }
.person .role { color: var(--orange-dark); font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.6rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sand); color: var(--orange-dark); display: grid; place-items: center; }
.contact-list svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a { font-weight: 600; text-decoration: none; font-size: 1.15rem; }
.contact-list a:hover { text-decoration: underline; }

.blue-card { background: var(--blue-dark); color: #fff; border: 0; }
.blue-card h3 { color: #fff; }
.blue-card a { color: #ffd9b8; }
.blue-card .btn-primary { color: #fff; }
.blue-card .btn-ghost { border-color: #fff; color: #fff; }
.blue-card .btn-ghost:hover { background: #fff; color: var(--blue-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #dfe6f1; padding: 2.5rem 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer-inner ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 3rem 0 4.5rem; }
.legal .wrap { max-width: 800px; }
.legal h1 { margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal address { font-style: normal; }
.legal .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 1.5rem 0; }
@media (max-width: 640px) { .legal .two { grid-template-columns: 1fr; } }
.legal .card p { margin-bottom: .3rem; }
.back { display: inline-block; margin-bottom: 1.5rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .site-header, .nav-toggle, .btn-row { display: none; } body { background: #fff; } }

.strip { margin: 3rem auto 0; max-width: 700px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.strip img { width: 100%; }
#wir .split { align-items: center; }
