@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/public-sans-latin-ext.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: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/public-sans-latin.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: "Cormorant";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/cormorant-latin-ext.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: "Cormorant";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/cormorant-latin.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 {
  color-scheme: light;
  --bg: oklch(98.5% 0.004 90);
  --card: color-mix(in oklch, var(--accent) 10%, var(--bg));
  --line: color-mix(in oklch, var(--accent) 24%, var(--bg));
  --fg: oklch(26% 0.02 250);
  --fg-soft: oklch(45% 0.02 250);
  --accent: #3d6a8a;
  --accent-dark: #26445a;
  --dark: color-mix(in oklch, var(--accent-dark) 55%, black);
  --font-head: "Cormorant", serif;
  --font-body: "Public Sans", sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--fg); margin: 0; }
.eyebrow { font: 600 13px/1.4 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: var(--radius); font: 700 16px var(--font-body); border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); color: white; opacity: 1; }
.btn-light { background: white; color: var(--dark); }
.btn-light:hover { opacity: 0.88; }

/* header */
.header-wrap { position: sticky; top: 0; z-index: 30; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; background: color-mix(in oklch, var(--bg) 94%, white); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { font: 800 19px var(--font-body); color: var(--fg); }
.nav-desktop { display: flex; gap: 28px; align-items: center; }
.nav-desktop a { font: 500 15px var(--font-body); color: var(--fg); }
.nav-desktop a:hover { color: var(--accent); opacity: 1; }
.nav-cta { background: var(--accent); color: white !important; padding: 11px 20px; border-radius: var(--radius); font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-dark); color: white !important; opacity: 1; }
.menu-btn { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; }
.menu-btn span { display: block; height: 2.5px; background: var(--fg); }
.mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 8px 24px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 4px; font: 500 16px var(--font-body); color: var(--fg); border-bottom: 1px solid var(--line); }
.mobile-menu a.nav-cta { text-align: center; margin-top: 10px; border-bottom: none; }

/* Atemlinie: überlagerte, sanft oszillierende Atembewegungen als Navigation. */
.breath-navigation { position: absolute; z-index: 20; top: 98px; right: clamp(4px, 1.7vw, 28px); bottom: 72px; width: 140px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.breath-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.breath-stop { position: relative; display: flex; width: 100%; align-items: center; justify-content: center; color: var(--accent-dark); }
.breath-dot { display: block; position: relative; width: 27px; height: 27px; border: 1.5px solid var(--accent); border-radius: 50%; background: color-mix(in oklch, var(--bg) 86%, white); box-shadow: 0 0 0 3px color-mix(in oklch, var(--bg) 70%, transparent); transition: transform .45s ease, background-color .45s ease, box-shadow .45s ease; }
.breath-dot::before, .breath-dot::after { content: ""; position: absolute; inset: 5px; border: 1px solid currentColor; border-radius: 50%; opacity: .66; }
.breath-dot::after { inset: 10px; border-width: 1.5px; opacity: .9; }
.breath-label { position: absolute; right: calc(50% + 23px); max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font: 700 12px var(--font-body); transition: max-width .3s ease, opacity .25s ease; }
.breath-stop:hover .breath-label, .breath-stop:focus-visible .breath-label, .breath-stop[aria-current="location"] .breath-label { max-width: 100px; opacity: 1; }
.breath-stop:hover .breath-dot, .breath-stop:focus-visible .breath-dot { transform: scale(1.13); }
.breath-stop[aria-current="location"] .breath-dot { color: white; transform: scale(1.2); background: var(--accent); box-shadow: 0 0 0 5px color-mix(in oklch, var(--accent) 13%, transparent), 0 0 15px color-mix(in oklch, var(--accent) 42%, transparent); }
.prototype-controls { position: fixed; z-index: 60; left: 18px; bottom: 18px; width: min(290px, calc(100vw - 36px)); color: var(--fg); font-size: 13px; }
.prototype-controls details { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in oklch, var(--bg) 94%, white); box-shadow: 0 10px 30px rgba(20, 30, 40, .14); backdrop-filter: blur(10px); }
.prototype-controls summary { cursor: pointer; font-weight: 800; }
.prototype-controls p { margin: 8px 0 12px; color: var(--fg-soft); font-size: 12px; line-height: 1.4; }
.prototype-controls label { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; margin-top: 10px; font-weight: 700; }
.prototype-controls input, .prototype-controls select { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.prototype-controls output { min-width: 30px; color: var(--accent-dark); text-align: right; font-variant-numeric: tabular-nums; }
.prototype-curve-preview { margin: 14px 0 0; }
.prototype-curve-preview canvas { display: block; width: 100%; height: 130px; border: 1px solid var(--line); border-radius: 5px; background: color-mix(in oklch, var(--card) 60%, white); }
.prototype-curve-preview figcaption { margin-top: 5px; color: var(--fg-soft); font: 11px ui-monospace, monospace; text-align: center; }
.prototype-advanced { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.prototype-advanced > strong { font-size: 12px; color: var(--fg-soft); }

/* hero (homepage, tall) */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: url("images/trainingsraum.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,40,0.9) 0%, rgba(20,30,40,0.72) 48%, rgba(20,30,40,0.25) 100%), linear-gradient(0deg, rgba(20,30,40,0.6), transparent 65%); z-index: 1; }
.hero .container { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }
.hero-content { max-width: 700px; color: white; }
.hero-content .eyebrow { color: white; opacity: 0.85; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.15; color: white; margin: 14px 0 18px; }
.hero p { font-size: clamp(15px, 2vw, 18px); color: white; opacity: 0.92; margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Zurückhaltende Flächen statt dekorativer Linien oder Kreise. */
.breath-art { position: relative; overflow: hidden; background: linear-gradient(135deg, #dce8e8, #f5f1e8 55%, #c7dce0); }
.breath-art::before, .breath-art::after { content: none; }
.breath-art-hero { position: absolute; inset: 0; background: linear-gradient(120deg, #193b4d, #376477 52%, #9fc5c8); }
/* page-hero (interior pages, shorter) */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,30,40,0.72) 0%, rgba(20,30,40,0.15) 60%, rgba(20,30,40,0) 100%); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; width: 100%; padding-bottom: 48px; }
.page-hero .eyebrow { color: white; opacity: 0.85; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 46px); color: white; margin: 12px 0; }
.page-hero .lead { font-size: clamp(15px, 2vw, 19px); color: white; opacity: 0.92; }

/* photo placeholder (real photography to be commissioned) */
.photo-placeholder {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, var(--card), var(--card) 14px, var(--line) 14px, var(--line) 28px);
}
.photo-placeholder-caption {
  position: absolute; top: 20px; left: 20px; right: 20px; z-index: 1;
  text-align: center; font-family: ui-monospace, monospace; font-size: 12.5px; color: var(--fg-soft);
}
.photo-box { position: relative; border-radius: var(--radius); overflow: hidden; }
.photo-box .photo-placeholder { position: static; height: 100%; width: 100%; }
.photo-box .photo-placeholder-caption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; }

/* sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 34px); margin-top: 14px; }
.section-tag { background: var(--accent-dark); color: white; font: 700 13px var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; }
.section-lead { font-size: 16.5px; line-height: 1.6; color: var(--fg-soft); max-width: 780px; }
.section-alt { background: var(--card); }
.section-dark { background: var(--dark); color: white; }
.section-dark .eyebrow { color: white; opacity: 0.7; }

/* atemphysiotherapie technique cards */
.technique-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.technique-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.technique-card .photo-box { height: 150px; }
.technique-card .body { padding: 22px; }
.technique-card .name { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.technique-card .desc { font-size: 14.5px; line-height: 1.55; color: var(--fg-soft); }
.more-link { display: inline-block; margin-top: 30px; color: var(--accent-dark); font-weight: 700; font-size: 15px; }

/* leistungen */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg); }
.service-card .name { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.service-card .desc { font-size: 14.5px; line-height: 1.55; color: var(--fg-soft); }
.practice-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 30px; }
.practice-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.practice-gallery img { width: 100%; height: 220px; object-fit: cover; }

/* rehasport schedule */
.schedule-table { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 520px; }
.schedule-row { display: flex; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.schedule-row:last-child { border-bottom: none; }
.schedule-row .city { font-weight: 700; }
.schedule-row .time { color: var(--fg-soft); }
.schedule-note { font-size: 14px; color: var(--fg-soft); font-style: italic; margin-top: 16px; }

/* ueber mich */
.about-grid { display: flex; gap: 56px; align-items: center; }
.about-grid .photo-box { width: 340px; height: 400px; flex-shrink: 0; }
.about-grid .text { max-width: 620px; }
.about-grid .text h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 16px; }
.about-grid .text p { font-size: 16px; line-height: 1.65; color: var(--fg-soft); margin: 0 0 14px; }
.about-grid .text p:last-child { margin-bottom: 0; }

/* for-whom checklist */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-item::before { content: "✓"; color: var(--accent-dark); font-weight: 800; }

/* verfahren detail rows */
.detail-rows { display: flex; flex-direction: column; gap: 28px; }
.detail-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.detail-row .photo-box { height: 190px; }
.detail-row .name { font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.detail-row .desc { font-size: 15.5px; line-height: 1.6; color: var(--fg-soft); }

/* kontakt / sprechzeiten band */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-grid h3 { font-size: 22px; margin-bottom: 18px; color: white; }
.contact-grid .hours { font-size: 15.5px; line-height: 2; opacity: 0.9; }
.contact-grid .addr { font-size: 15.5px; line-height: 1.8; opacity: 0.9; margin-bottom: 14px; }
.contact-grid .villa-link { color: white; font-weight: 700; text-decoration: underline; font-size: 15px; }

/* cta band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band .title { font-size: clamp(20px, 3vw, 24px); margin-bottom: 8px; color: white; }
.cta-band .sub { font-size: 15px; opacity: 0.85; }

/* footer */
.site-footer { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-soft); flex-wrap: wrap; gap: 12px; }
.site-footer .links { display: flex; gap: 20px; }
.site-footer .links a:hover { color: var(--accent); opacity: 1; }

/* legal pages (Impressum / Datenschutz) */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 22px; margin: 44px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 17px; margin: 26px 0 8px; }
.legal-content p { font-size: 15.5px; line-height: 1.7; color: var(--fg-soft); margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; color: var(--fg-soft); }
.legal-content li { font-size: 15.5px; line-height: 1.65; margin-bottom: 6px; }
.legal-content .todo {
  background: #fff3b0; color: #5c4a00; padding: 1px 7px; border-radius: 4px; font-weight: 700; font-style: normal;
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .technique-grid, .services-grid, .practice-gallery, .check-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { flex-direction: column; align-items: flex-start; }
  .about-grid .photo-box { width: 100%; height: 320px; }
  .detail-row { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .breath-navigation { position: absolute; top: 0; left: 0; right: auto; width: 100%; bottom: 0; z-index: 1; pointer-events: none; display: block; }
  .breath-waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; }
  .breath-stop, .breath-dot, .breath-label { display: none; }
  img, .schedule-table, .section-dark, .site-footer, .service-card, .technique-card, .section-tag, .hero { position: relative; z-index: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .breath-dot, .breath-label { transition: none; }
}
