/* =========================================================
   Vorlage 3 „Atemzug“
   Schwerpunkt-Website, ein Seiten-Layout. Farben und Schrift unter :root.
   ========================================================= */

@font-face {
  font-family: "Atkinson Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --nebel:   #F2F1F6;  /* Hintergrund */
  --hauch:   #E5E3EE;  /* ruhige Flächen: Kosten, Kontakt, Atemübung */
  --tinte:   #26234B;  /* Text, Linien, Hauptbutton, Fußzeile */
  --tinte-2: #56537B;  /* Nebentext, Formularrahmen */
  --linie:   #C8C5D9;  /* dünne Trennlinien */
  --morgen:  #F4C6A8;  /* Akzent, steht nur für den Atem: Atemübung, Porträt-Sonne */
  --hell-2:  #C9C6DE;  /* Nebentext auf Tinte */
  --fehler:  #A12A3A;
  --focus:   var(--tinte);

  --font: "Atkinson Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  --step-3: clamp(2.5rem, 1rem + 5vw, 5.5rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --indent: clamp(0rem, 12vw - 3rem, 8.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--nebel);
  color: var(--tinte);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 300; }
p, ul, ol, dl, figure { margin: 0; }
p { max-width: 38em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 6.5rem; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  background: var(--tinte); color: var(--nebel); padding: .75rem 1rem; text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(76rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.col { margin-left: var(--indent); max-width: 46rem; }

.lead { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); line-height: 1.55; }
.note { font-size: var(--step--1); color: var(--tinte-2); }
h2 { font-size: var(--step-2); font-weight: 250; letter-spacing: -.01em; margin-bottom: 1.25rem; text-wrap: balance; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.3; margin-bottom: .6rem; }

/* Demo-Hinweis */
.demo-bar { background: var(--tinte); color: var(--nebel); font-size: var(--step--1); padding: .55rem 0; }
.demo-bar p { max-width: none; }

/* Kopf */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: var(--nebel);
  padding: .9rem 0;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; }
.brand b { font-weight: 650; font-size: 1.0625rem; }
.brand span { font-size: var(--step--1); color: var(--tinte-2); }
.site-nav ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; margin: 0;
  background: var(--hauch); border-radius: 999px;
}
.site-nav a {
  display: block; padding: .5rem .95rem; border-radius: 999px;
  font-size: var(--step--1); font-weight: 500; text-decoration: none;
}
.site-nav a:hover { background: var(--nebel); }
.site-nav .nav-cta { background: var(--tinte); color: var(--nebel); }
.site-nav .nav-cta:hover { background: #3A366A; }

/* Buttons */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: .1rem;
  min-height: 3.25rem; padding: .8rem 1.6rem; border-radius: 999px;
  font: inherit; font-size: 1.0625rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--tinte);
}
.btn small { font-size: .8125rem; font-weight: 400; }
.btn-primary { background: var(--tinte); color: var(--nebel); }
.btn-primary:hover { background: #3A366A; border-color: #3A366A; }
.btn-quiet { background: transparent; color: var(--tinte); }
.btn-quiet:hover { background: var(--hauch); }

/* Hero */
.hero { padding-top: clamp(3rem, 9vw, 7.5rem); }
.hero .col { max-width: none; }
.hero h1 { font-size: var(--step-3); font-weight: 200; line-height: 1.02; letter-spacing: -.02em; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 .l2 { padding-left: 1.2em; }
.hero .lead { max-width: 34em; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.availability { display: flex; align-items: center; gap: .6rem; font-size: var(--step--1); font-weight: 500; }
.availability::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--tinte); }

/* Atemlinie */
.breath-line { position: relative; overflow: hidden; margin-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: 2.25rem; }
.breath-line svg { width: 100%; height: clamp(90px, 11vw, 160px); }
.breath-line path { fill: none; stroke: var(--tinte); stroke-width: 2; vector-effect: non-scaling-stroke; }
.breath-line span {
  position: absolute; bottom: .25rem; transform: translateX(-50%);
  font-size: .875rem; color: var(--tinte-2); white-space: nowrap;
}
.bl-in { left: 15.6%; }
.bl-out { left: 29.5%; }
@media (prefers-reduced-motion: no-preference) {
  .breath-line svg { animation: reveal 3.2s cubic-bezier(.45, 0, .25, 1) .25s both; }
  .breath-line span { animation: appear .8s ease-out 2.2s both; }
}
@keyframes reveal { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* Atemübung */
.pause { padding: calc(var(--space) * .9) 0 var(--space); }
.pause-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-left: var(--indent); }
.pause-text p { margin-bottom: 1.75rem; }
.stage {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  background: var(--hauch); min-height: clamp(15rem, 26vw, 21rem);
  display: grid; place-items: center; text-align: center;
}
.tide {
  position: absolute; inset: 0; background: var(--morgen);
  transform-origin: bottom; transform: scaleY(.28);
  transition: transform .8s ease-out;
}
.stage[data-phase="ein"] .tide { transform: scaleY(.92); transition: transform 4s cubic-bezier(.4, 0, .6, 1); }
.stage[data-phase="aus"] .tide { transform: scaleY(.28); transition: transform 6s cubic-bezier(.4, 0, .6, 1); }
@media (prefers-reduced-motion: reduce) {
  .tide, .stage[data-phase] .tide { transition: none; transform: scaleY(.28); }
}
.phase { position: relative; padding: 1.5rem; max-width: 22rem; }
.phase span { display: block; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 250; line-height: 1.15; }
.phase small { display: block; margin-top: .5rem; font-size: var(--step--1); color: var(--tinte-2); min-height: 1.5em; }

/* Abschnitte */
.block { padding: var(--space) 0; }
.block-rule > .wrap { border-top: 1px solid var(--linie); padding-top: clamp(2.5rem, 6vw, 4rem); }
.block-rule { padding-top: 0; }
.block-panel { background: var(--hauch); }
.block .col + * { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Schwerpunkt */
.two { margin-left: var(--indent); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); max-width: 62rem; }
.two p + p { margin-top: 1rem; }
.signs { list-style: none; padding: 0; }
.signs li { position: relative; padding: 8px 0 8px 1.75rem; line-height: 27px; border-bottom: 1px solid var(--linie); }
.signs li::before { content: ""; position: absolute; left: 0; top: 20px; width: 1rem; height: 2px; background: var(--tinte); }
.topics-wrap { margin-left: var(--indent); margin-top: clamp(3rem, 6vw, 4.5rem); max-width: 62rem; }
.topics { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); margin-bottom: 1.25rem; }
.topics li { padding: .85rem 0; border-bottom: 1px solid var(--linie); font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); font-weight: 300; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin-left: var(--indent); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--tinte); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 200; line-height: 1; margin-bottom: 1rem; }
.steps p { font-size: 1.0625rem; }

/* Fragen */
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 1.1rem 0; font-size: var(--step-1); font-weight: 500; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.75rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 2.5rem 1.4rem 0; }

/* Über mich */
.about { margin-left: var(--indent); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(2rem, 6vw, 6rem); row-gap: 2.5rem; align-items: start; }
.portrait { grid-row: 1 / span 3; }
.art { border-radius: 1.5rem; overflow: hidden; }
.art svg { width: 100%; height: auto; aspect-ratio: 4 / 5; }
.a-sky { fill: var(--hauch); }
.a-sun { fill: var(--morgen); }
.a-far { fill: #B9B5D2; }
.a-near { fill: #8A86AE; }
.a-line { fill: none; stroke: var(--nebel); stroke-width: 3; stroke-linecap: round; }
.portrait figcaption { font-size: var(--step--1); color: var(--tinte-2); margin-top: .75rem; }
.about-text [data-field="about"] p + p { margin-top: 1rem; }
.quote { margin-top: 2rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 300; font-style: italic; line-height: 1.35; max-width: 24em; }
.cv div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.cv dt { font-size: var(--step--1); color: var(--tinte-2); padding-top: .1rem; }
.cv dd { margin: 0; font-size: 1.0625rem; }

/* Kosten */
.prices { margin-bottom: 1.25rem; border-top: 1px solid var(--tinte); }
.prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--tinte); }
.prices dt { font-size: var(--step-1); font-weight: 600; }
.prices dt small { display: block; font-size: var(--step--1); font-weight: 400; color: var(--tinte-2); }
.prices dd { margin: 0; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); font-weight: 200; white-space: nowrap; }

/* Praxis */
.place { margin-left: var(--indent); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.place p + p { margin-top: .9rem; }
address { font-style: normal; font-size: var(--step-1); font-weight: 600; line-height: 1.35; margin-bottom: .9rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; }
.hours dd { margin: 0; }

/* Kontakt */
.contact-simple, .contact-form .direct { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.contact-simple { margin-left: var(--indent); grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); }
.big { font-size: clamp(1.1875rem, 1rem + .6vw, 1.4375rem); font-weight: 600; overflow-wrap: anywhere; margin-bottom: .4rem; }
.contact-form { margin-left: var(--indent); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.direct { align-content: start; }
.direct p + p { margin-top: .75rem; }
form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .4rem; }
label, legend { font-weight: 600; }
.hint { font-weight: 400; color: var(--tinte-2); }
input[type="text"], textarea {
  width: 100%; font: inherit; color: var(--tinte); background: #FFFFFF;
  border: 1.5px solid var(--tinte-2); border-radius: .6rem; padding: .75rem .9rem;
}
textarea { min-height: 8rem; resize: vertical; }
input[aria-invalid="true"] { border-color: var(--fehler); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: .5rem; }
.choice { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choice label, .consent { font-weight: 400; display: flex; gap: .55rem; align-items: flex-start; }
input[type="radio"], input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin: .25rem 0 0; accent-color: var(--tinte); flex: none; }
.error { color: var(--fehler); font-size: var(--step--1); font-weight: 600; }
.form-status { font-weight: 600; }

/* Kontakt-Variante:
   <body data-contact="simple"> = Basis: E-Mail, Telefon, Ratfinder
   <body data-contact="form">   = Plus/Pro: Anfrageformular */
body[data-contact="form"] .variant-simple { display: none !important; }
body:not([data-contact="form"]) .variant-form { display: none !important; }

/* Krise */
.crisis { background: var(--hauch); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.crisis .wrap { border-top: 1px solid var(--linie); padding-top: clamp(2rem, 4vw, 3rem); }
.crisis-inner { margin-left: var(--indent); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3rem); }
.crisis h2 { font-size: var(--step-1); font-weight: 600; margin-bottom: .5rem; }
.crisis-head p { font-size: 1rem; }
.numbers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.numbers li { border-top: 2px solid var(--tinte); padding-top: .75rem; }
.numbers a { display: inline-block; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 250; line-height: 1; text-decoration: none; margin-bottom: .5rem; }
.numbers a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.numbers p { font-size: 1rem; line-height: 1.45; }

/* Fußzeile */
.site-foot { background: var(--tinte); color: var(--nebel); padding: 2.5rem 0 2.75rem; font-size: var(--step--1); --focus: var(--morgen); }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem 2rem; }
.site-foot p { max-width: none; }
.site-foot ul { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0; }
.site-foot .credit { flex-basis: 100%; color: var(--hell-2); padding-top: 1rem; border-top: 1px solid #45416F; }
.site-foot .credit a { color: var(--nebel); }
.demo-bar { --focus: var(--morgen); }

/* Rechtliche Seiten */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 var(--space); }
.legal h1 { font-size: var(--step-2); font-weight: 250; margin-bottom: 2rem; }
.legal h2 { font-size: var(--step-1); font-weight: 600; letter-spacing: 0; margin: 2.25rem 0 .5rem; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: .8rem; }
.legal ul { padding-left: 1.25rem; }
.legal address { font-size: var(--step-0); font-weight: 400; }
.back { display: inline-block; margin-bottom: 2rem; font-weight: 600; }

/* Responsiv */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .place { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crisis-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .pause-grid, .two, .contact-form, .contact-simple, .about { grid-template-columns: 1fr; }
  .portrait { grid-row: auto; max-width: 18rem; }
}
@media (max-width: 760px) {
  .site-head { position: static; }
  .site-nav ul { border-radius: 1.25rem; }
  .topics, .place, .numbers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 .l2 { padding-left: .9em; }
  .breath-line svg { width: 250%; max-width: none; }
  .bl-in { left: 39%; }
  .bl-out { left: 73%; }
  .prices div { flex-wrap: wrap; gap: .25rem 1rem; }
  .faq details p { padding-right: 0; }
  .cv div { grid-template-columns: 5.5rem minmax(0, 1fr); }
}
