/* ==========================================================================
   Physiotherapie Christoph Schwertfellner – Stylesheet
   Farben:  #11432D (Dunkelgrün)  #2D6A4F (Grün)  #52B788 (Hellgrün)
            #F0F7F2 (Hintergrund) #2b3b33 / #24352C (Text)
   Breakpoints (aus der Vorlage): < 1024px schmal, < 820px mobil
   ========================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-normal-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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-normal-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: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/libre-baskerville-normal-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: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/libre-baskerville-normal-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: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/libre-baskerville-italic-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: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/libre-baskerville-italic-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;
}

/* ---------- Basis ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: #F0F7F2; color: #24352C; -webkit-font-smoothing: antialiased; line-height: 1.7; }
a { color: #2D6A4F; text-decoration: none; transition: color .25s ease; }
a:hover { color: #52B788; }
::selection { background: #52B788; color: #11432D; }
img { max-width: 100%; }
ul { list-style: none; }

.page { --gutter: 48px; max-width: 100%; overflow-x: hidden; }
.page--legal { --gutter: clamp(20px, 5vw, 48px); }

.eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #2D6A4F; margin-bottom: 28px; }

.section-title { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; color: #11432D; }

.media { overflow: hidden; background: #e3eee7; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--21x8 { aspect-ratio: 21 / 8; }

.btn { display: inline-flex; align-items: center; gap: 12px; background: #11432D; color: #FFFFFF; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; padding: 17px 34px; border: none; cursor: pointer; transition: color .25s ease, background-color .25s ease; }
.btn:hover, .btn:focus-visible { background: #52B788; color: #11432D; }
.btn__arrow { font-size: 18px; line-height: 1; }

/* ---------- Header ---------- */
.site-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; row-gap: 8px; max-width: 1200px; margin: 0 auto; padding: 24px var(--gutter); }
.site-header--simple { gap: 16px; }
.site-header__brand { display: flex; align-items: center; gap: 16px; color: #11432D; }
.site-header__logo { width: 220px; max-width: 60vw; height: auto; display: block; }
.site-header__back { font-size: 15px; color: #11432D; }
.site-header__back:hover { color: #52B788; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; color: #11432D; padding: 4px; }
.menu-toggle:hover { color: #52B788; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; }

.site-nav { display: flex; flex-direction: row; gap: 38px; align-items: center; }
.site-nav a { font-size: 15px; color: #11432D; }
.site-nav a:hover { color: #52B788; }

/* ---------- Hero ---------- */
.hero { max-width: 1200px; margin: 0 auto; padding: 56px var(--gutter) 80px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero__title { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: clamp(32px, 4vw, 54px); line-height: 1.24; color: #11432D; letter-spacing: -0.5px; text-wrap: balance; max-width: 18ch; }
.hero__lead { font-size: 19px; line-height: 1.75; color: #2b3b33; margin-top: 28px; max-width: 52ch; }
.hero__cta { margin-top: 36px; }
.hero__image img { object-position: 32% 30%; }

.divider { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.divider::before { content: ''; display: block; height: 1px; background: rgba(17,67,45,0.12); }

/* ---------- Über mich ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 84px var(--gutter); }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.about__image img { object-position: 50% 25%; }
.about__text { max-width: 62ch; font-size: 18px; line-height: 1.8; color: #2b3b33; }
.about__text p + p { margin-top: 22px; }
.facts { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(17,67,45,0.12); display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; letter-spacing: .4px; color: #11432D; }
.facts__sep { color: #52B788; }

/* ---------- Arbeitsweise ---------- */
.approach { background: #11432D; color: #F0F7F2; }
.approach__inner { max-width: 1200px; margin: 0 auto; padding: 88px var(--gutter); }
.approach .eyebrow { color: #52B788; margin-bottom: 32px; }
.approach__title { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.3; color: #FFFFFF; max-width: 18ch; letter-spacing: -0.3px; }
.steps { margin-top: 52px; display: flex; flex-direction: column; border-bottom: 1px solid rgba(240,247,242,0.18); }
.step { display: grid; grid-template-columns: 48px 260px 1fr; gap: 40px; align-items: baseline; padding: 28px 0; border-top: 1px solid rgba(240,247,242,0.18); }
.step__num { font-family: 'Libre Baskerville', serif; font-size: 22px; color: #52B788; }
.step__title { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); color: #FFFFFF; }
.step__text { font-size: 18px; line-height: 1.75; color: rgba(240,247,242,0.82); max-width: 48ch; }

/* ---------- Bildband ---------- */
.band { margin: 0; }
.band__caption { max-width: 1200px; margin: 0 auto; padding: 22px var(--gutter) 0; font-size: 14px; color: #2D6A4F; letter-spacing: .3px; }

/* ---------- Leistungen ---------- */
.services__title { max-width: 22ch; margin-bottom: 40px; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 1px solid rgba(17,67,45,0.14); }
.services__item { padding: 20px 4px; border-bottom: 1px solid rgba(17,67,45,0.14); font-size: 19px; color: #11432D; font-family: 'Libre Baskerville', serif; }

/* ---------- Für wen ---------- */
.bg-white { background: #FFFFFF; }
.audience__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 56px; }
.audience__title { max-width: 16ch; }
.audience__lead { font-size: 18px; line-height: 1.8; color: #2b3b33; max-width: 42ch; margin-top: 28px; }
.audience__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.audience__item-title { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: 24px; color: #11432D; margin-bottom: 18px; line-height: 1.35; }
.audience__item-text { font-size: 17px; line-height: 1.8; color: #2b3b33; max-width: 42ch; }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__title { font-size: clamp(28px, 3.4vw, 42px); max-width: 16ch; margin-bottom: 24px; }
.contact__intro { font-size: 17px; line-height: 1.8; color: #2b3b33; max-width: 42ch; margin-bottom: 36px; }
.contact__details { display: flex; flex-direction: column; gap: 26px; }
.contact__label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #2D6A4F; margin-bottom: 6px; }
.contact__value { font-size: 18px; color: #11432D; }
a.contact__value:hover { color: #52B788; }
.contact__value--wrap { overflow-wrap: anywhere; }
.contact__address { line-height: 1.6; font-style: normal; }

.contact__thanks { border: 1px solid rgba(17,67,45,0.18); padding: 56px 40px; text-align: center; }
.contact__thanks-title { font-family: 'Libre Baskerville', serif; font-size: 26px; color: #11432D; margin-bottom: 14px; }
.contact__thanks-text { font-size: 16px; line-height: 1.75; color: #2b3b33; max-width: 34ch; margin: 0 auto; }

.form { display: flex; flex-direction: column; gap: 26px; position: relative; }
.form__field { display: flex; flex-direction: column; gap: 9px; }
.form__label { font-size: 13px; letter-spacing: 1px; color: #11432D; }
.form__input { font-family: 'Inter', sans-serif; font-size: 16px; padding: 14px 16px; border: 1px solid rgba(17,67,45,0.24); border-radius: 0; background: #F0F7F2; color: #11432D; -webkit-appearance: none; appearance: none; }
textarea.form__input { resize: vertical; }
.form__input:focus { outline: none; border-color: #52B788; }
.form__input[aria-invalid="true"] { border-color: #B23A3A; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.form__consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: #11432D; flex-shrink: 0; }
.form__consent span { font-size: 14px; line-height: 1.6; color: #2b3b33; }
.form__submit { align-self: flex-start; padding: 16px 34px; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__errors { border: 1px solid rgba(178,58,58,0.35); background: #FBF1F1; padding: 16px 20px; font-size: 15px; line-height: 1.6; color: #7E2626; }
.form__errors ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.form__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #11432D; color: #F0F7F2; }
.site-footer__main { max-width: 1200px; margin: 0 auto; padding: 52px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer__logo { width: 260px; max-width: 100%; height: auto; display: block; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.site-footer__nav a { font-size: 14px; color: #F0F7F2; }
.site-footer__nav a:hover, .site-footer__nav a[aria-current="page"] { color: #52B788; }
.site-footer__bottom { border-top: 1px solid rgba(240,247,242,0.16); }
.site-footer__meta { max-width: 1200px; margin: 0 auto; padding: 26px var(--gutter); font-size: 13px; color: rgba(240,247,242,0.75); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Rechtliche Seiten ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.legal .eyebrow { margin-bottom: 20px; }
.legal__title { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: clamp(32px, 4vw, 46px); line-height: 1.2; color: #11432D; margin-bottom: 48px; }
.legal__body { display: flex; flex-direction: column; gap: 40px; font-size: 17px; color: #2b3b33; }
.legal__body p + p { margin-top: 12px; }
.legal__body a { overflow-wrap: anywhere; }
.legal__label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #2D6A4F; font-weight: 500; margin-bottom: 10px; }
.legal__heading { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: 22px; color: #11432D; margin-bottom: 12px; }
.legal__date { font-size: 14px; color: #2D6A4F; }

/* ---------- Coming Soon ---------- */
body.theme-dark { background: #11432D; color: #F0F7F2; }
body.theme-dark a { color: #52B788; }
body.theme-dark a:hover { color: #FFFFFF; }
.soon { min-height: 100vh; display: flex; flex-direction: column; padding: 48px; }
.soon__brand { display: flex; align-items: center; gap: 16px; }
.soon__brand svg { flex-shrink: 0; }
.soon__brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.soon__brand-name { font-family: 'Libre Baskerville', serif; font-size: 17px; color: #FFFFFF; letter-spacing: .2px; }
.soon__brand-sub { font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: #52B788; }
.soon__main { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; width: 100%; margin: 0 auto; padding: 80px 0; }
.soon__content { max-width: 780px; }
.soon .eyebrow { color: #52B788; margin-bottom: 40px; }
.soon__title { font-family: 'Libre Baskerville', serif; font-weight: 400; font-size: clamp(36px, 6vw, 68px); line-height: 1.22; color: #FFFFFF; letter-spacing: -0.5px; text-wrap: balance; max-width: 18ch; }
.soon__lead { font-size: 19px; line-height: 1.8; color: rgba(240,247,242,0.82); margin-top: 40px; max-width: 60ch; }
.soon__footer { max-width: 1200px; width: 100%; margin: 0 auto; padding-top: 40px; border-top: 1px solid rgba(240,247,242,0.18); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.soon__label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #52B788; margin-bottom: 10px; }
body.theme-dark a.soon__mail { font-family: 'Libre Baskerville', serif; font-size: clamp(20px, 2.6vw, 28px); color: #FFFFFF; }
body.theme-dark a.soon__mail:hover { color: #52B788; }
.soon__copy { font-size: 13px; color: rgba(240,247,242,0.6); }

/* ---------- Einblend-Animation (nur mit JavaScript) ---------- */
.js [data-fade] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js [data-fade="load"] { transform: translateY(16px); transition: opacity .9s ease var(--delay, 0s), transform .9s ease var(--delay, 0s); }
.js [data-fade].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-fade] { opacity: 1; transform: none; transition: none; }
}
@media print {
  .js [data-fade] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023.98px) {
  .hero__grid,
  .about__grid,
  .audience__intro,
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 819.98px) {
  .menu-toggle { display: flex; }
  .site-nav { display: none; flex-direction: column; gap: 20px; align-items: flex-start; flex-basis: 100%; width: 100%; padding-top: 24px; }
  .site-nav.is-open { display: flex; }
  .step { grid-template-columns: 1fr; }

  /* Ohne JavaScript: Navigation immer sichtbar */
  .no-js .menu-toggle { display: none; }
  .no-js .site-nav { display: flex; }
}
