/* Privatpraxis für Physiotherapie Nina Dörr
   Layout: luftige Einzelspalte, Abschnitte als versetzter Zweispalter (Überschrift links, Inhalt rechts).
   Motive aus dem Logo: Wirbel-Punktreihe als Trenner, sonnengelbe Linien, Lavendel-Aquarellfläche. */

@font-face {
  font-family: "Marcellus";
  src: url("assets/fonts/marcellus-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  /* Farben, aus dem finalen Logo gemessen */
  --ground: #FFFFFF;       /* Weiß wie der Logo-Hintergrund */
  --wash: #F5EFFB;         /* Aquarell-Lavendel, hell */
  --wash-deep: #E8DBF5;    /* Aquarell-Lavendel, kräftiger */
  --violet: #70449C;       /* Logo-Violett (Schriftzug) */
  --violet-deep: #4A2B73;  /* Überschriften */
  --ink: #332A40;          /* Fließtext */
  --muted: #675C76;        /* Nebentext */
  --sun: #FDCB2A;          /* Logo-Sonnengelb, für Linien und Ornamente */
  --line: #E5DAF0;         /* Trennlinien */
  --mark: #FFF2B5;         /* Platzhalter-Markierung */
  --mark-line: #B38600;    /* Platzhalter-Rand */

  --font-display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.65rem, 1.2rem + 1.9vw, 2.35rem);
  --step-3: clamp(2.15rem, 1.3rem + 3.6vw, 3.5rem);

  --gutter: clamp(16px, 5vw, 48px);
  --sec-gap: clamp(3.5rem, 8vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration-color: var(--sun); text-underline-offset: 0.22em; text-decoration-thickness: 2px; }
a:hover { color: var(--violet-deep); text-decoration-color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; color: var(--violet-deep); text-wrap: balance; }
h1 { font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.005em; }
h2 { font-size: var(--step-2); line-height: 1.18; }
h3 { font-size: var(--step-1); line-height: 1.3; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: var(--step--1); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--violet);
}
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 34em; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.25rem; }
.prose { max-width: 38em; }

/* Entwurfsmarkierungen: vor dem Veröffentlichen entfernen */
.draft-bar {
  background: var(--mark); color: var(--ink);
  font-size: var(--step--1); line-height: 1.5; text-align: center;
  padding: 0.55rem var(--gutter);
  border-bottom: 1px dashed var(--mark-line);
}
.ph {
  background: var(--mark); color: var(--ink);
  border-bottom: 1px dashed var(--mark-line);
  padding: 0.05em 0.3em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ph-note {
  border: 1px dashed var(--mark-line); background: var(--mark); color: var(--ink);
  font-size: 0.9375rem; line-height: 1.5; padding: 0.7rem 0.9rem; border-radius: 4px;
}

/* Kopfzeile */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; }
.brand img { width: 50px; height: 50px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--violet-deep); white-space: nowrap; }
.brand-sub { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 2rem); }
.nav-link { font-size: 1rem; color: var(--ink); text-decoration: none; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--violet-deep); border-bottom-color: var(--sun); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  padding: 0.8rem 1.5rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  background: var(--violet); color: var(--ground); border: 1px solid var(--violet);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: var(--ground); }
.btn-ghost { background: var(--ground); color: var(--violet-deep); }
.btn-ghost:hover { background: var(--wash); color: var(--violet-deep); border-color: var(--violet); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.95rem; }

/* Einstieg */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0 -10% 0 45%; z-index: 0; pointer-events: none;
  background: radial-gradient(44% 46% at 56% 48%, var(--wash) 0%, rgba(245, 239, 251, 0) 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1rem; margin-top: 0.5rem; }
.hero-emblem { justify-self: center; width: min(100%, 24rem); }

/* Wirbel-Trenner */
.spine { display: flex; align-items: center; gap: 1.25rem; color: var(--violet); }
.spine::before, .spine::after { content: ""; flex: 1; height: 2px; background: var(--sun); }
.spine-wrap:has(+ .sec-tint) { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.spine svg { flex: none; width: 11.5rem; max-width: 55%; height: auto; display: block; }

/* Abschnitte */
.sec { padding-block: var(--sec-gap); }
.sec-tint { background: var(--wash); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.sec-head { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.sec-head p:not(.eyebrow):not(.ph-note) { color: var(--muted); }
.sec-body { min-width: 0; }

/* Leistungen */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.services li { border-top: 1px solid var(--line); padding-block: 1rem; font-family: var(--font-display); font-size: var(--step-1); color: var(--violet-deep); min-width: 0; }

/* Über mich */
.portrait {
  width: min(100%, 16rem); aspect-ratio: 1 / 1; max-width: 100%;
  border: 2px solid var(--sun); border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 45%, var(--wash-deep) 0%, var(--ground) 100%);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem;
  font-size: 0.9375rem;
}
.hp { border-top: 2px solid var(--sun); padding-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.25rem, 3vw, 2.25rem); margin-top: 0.75rem; }
.fact { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.fact p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { margin: 0; display: flex; flex-direction: column; }
.contact-list div { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 0.2rem 1.25rem; align-items: baseline; border-top: 1px solid var(--line); padding-block: 1rem; min-width: 0; }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: var(--step--1); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet); }
.contact-list dd { margin: 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-list dd small { display: block; font-size: 0.975rem; color: var(--muted); }

/* Fußzeile */
.site-footer { background: var(--wash); padding-block: 2.75rem; font-size: 0.975rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.75rem 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.footer-logo { width: min(100%, 21rem); margin-bottom: 0.75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-links a { color: var(--ink); }

/* Rechtstexte */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--sec-gap); }
.legal .wrap { max-width: 48rem; display: flex; flex-direction: column; gap: 1.1rem; }
.legal h1 { margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.5rem; margin-top: 1.75rem; }
.legal h3 { margin-top: 0.75rem; }
.legal ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.legal address { font-style: normal; }

@media (max-width: 900px) {
  .sec-grid, .contact-grid, .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-emblem { order: -1; width: min(60%, 15rem); justify-self: start; }
  .hero::before { inset: 0 -30% 45% -30%; }
}
@media (max-width: 680px) {
  .nav-link { display: none; }
  .facts, .services { grid-template-columns: minmax(0, 1fr); }
  .contact-list div { grid-template-columns: minmax(0, 1fr); }
  .brand img { width: 44px; height: 44px; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
