/* Frank Roezel – Praxis für Osteopathie
   Shared stylesheet for all three design variants (A / B / C).
   Each <section> carries one of the four "surface" classes below,
   which is how the same markup produces different color themes per variant. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: #67662A; text-decoration: none; }
a:hover { color: #605E48; }

:focus-visible { outline: 2px solid #67662A; outline-offset: 2px; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- Surfaces ---------- */

.surface-light {
  background: #FFFFFF;
  color: #1F1F1C;
  --dim: #5A5A54;
  --card-bg: #FFFFFF;
  --card-bd: #E4E4DC;
  --rule: #E4E4DC;
  --img-bd: #E4E4DC;
  --link: #67662A;
  --label: #67662A;
}

.surface-light-alt {
  background: #F7F7F2;
  color: #1F1F1C;
  --dim: #5A5A54;
  --card-bg: #FFFFFF;
  --card-bd: #E4E4DC;
  --rule: #E4E4DC;
  --img-bd: #E4E4DC;
  --link: #67662A;
  --label: #67662A;
}

.surface-dark {
  background: #4A4A51;
  color: #F5F5F0;
  --dim: rgba(245, 245, 240, 0.74);
  --card-bg: rgba(245, 245, 240, 0.07);
  --card-bd: rgba(245, 245, 240, 0.2);
  --rule: rgba(245, 245, 240, 0.2);
  --img-bd: rgba(245, 245, 240, 0.2);
  --link: #FFF33D;
  --label: #E1D820;
}

.surface-dark-alt {
  background: #3F3F45;
  color: #F5F5F0;
  --dim: rgba(245, 245, 240, 0.74);
  --card-bg: rgba(245, 245, 240, 0.07);
  --card-bd: rgba(245, 245, 240, 0.2);
  --rule: rgba(245, 245, 240, 0.2);
  --img-bd: rgba(245, 245, 240, 0.2);
  --link: #FFF33D;
  --label: #E1D820;
}

.dim { color: var(--dim); }
.link-accent { color: var(--link); }
.label { color: var(--label); }

/* ---------- Heading font ---------- */
/* Variant B renders headings (and the header wordmark) in a serif face */

h1, h2, h3, h4, .heading-font {
  margin: 0;
  font-weight: 600;
  font-family: inherit;
}

body.font-serif h1,
body.font-serif h2,
body.font-serif h3,
body.font-serif h4,
body.font-serif .heading-font {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand img { width: 40px; height: 40px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name { font-size: 15.5px; font-weight: 600; }

.brand-sub {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-desktop a {
  font-size: 15px;
  color: inherit;

  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}

.nav-desktop a:hover { border-bottom-color: #FFF33D; color: inherit; }

.btn-primary {
  background: #FFF33D;
  color: #1F1F1C;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 5px;
  transition: background 150ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.btn-primary:hover { background: #E1D820; color: #1F1F1C; }

.btn-secondary {
  border: 1px solid var(--card-bd);
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 5px;
  transition: border-color 150ms ease, background 150ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.btn-secondary:hover { border-color: #A7A038; }

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 5px;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--rule);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  padding: 12px 0;
  font-size: 16px;
  color: inherit;
  border-bottom: 1px solid var(--rule);
}

.nav-mobile .btn-primary {
  margin-top: 12px;
  text-align: center;
  padding: 13px 18px;
}

.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 40px;
}

.hero .wrap { padding: 0; position: relative; }

.hero-logo {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 152px;
  opacity: 0.16;
  pointer-events: none;
}

body.font-serif .hero-logo { opacity: 0.24; }

.hero-content { max-width: 660px; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 { margin: 0 0 10px; font-size: 46px; line-height: 1.15; text-wrap: pretty; }

.hero-sub { margin: 0 0 28px; font-size: 16px; color: var(--dim); }

.rule-accent { width: 56px; height: 3px; background: #FFF33D; margin: 0 0 28px; }

.hero-lead { margin: 0 0 26px; max-width: 62ch; font-size: 17px; line-height: 1.6; text-wrap: pretty; }

.hero-name { margin: 0 0 32px; font-size: 18px; font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */

section, #top { scroll-margin-top: 72px; }

.section-inner { padding: 92px 40px; }

.section-intro { max-width: 68ch; margin-bottom: 56px; }

.section-intro h2 { margin: 0 0 18px; font-size: 33px; line-height: 1.2; }

.section-intro p { margin: 0; font-size: 17.5px; line-height: 1.6; text-wrap: pretty; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}

.feature-row.rev { grid-template-columns: 340px minmax(0, 1fr); }

.feature-row:first-of-type { padding-top: 0; }

.feature-row.last { border-bottom: none; padding-bottom: 0; }

.feature-text { max-width: 62ch; }

.feature-row h3 { margin: 0 0 14px; font-size: 21.5px; }

.feature-row p { margin: 0; color: var(--dim); text-wrap: pretty; }

.feature-row img {
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--img-bd);
  justify-self: end;
}

.feature-row.rev img { justify-self: start; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 26px 24px;
  transition: transform 150ms ease;
}

.card:hover { transform: translateY(-2px); }

.card h4 { margin: 0 0 8px; font-size: 18px; }

.card p { margin: 0; font-size: 15.5px; color: var(--dim); }

/* Über mich */

.about-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.about-grid img {
  border-radius: 6px;
  border: 1px solid var(--img-bd);
}

.about-text { max-width: 64ch; }

.about-text h3 { margin: 0 0 16px; font-size: 21.5px; }

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--dim);
}

.about-list .bullet {
  width: 6px;
  height: 6px;
  background: #A7A038;
  margin-top: 10px;
}

.timeline-wrap { margin-top: 64px; max-width: 780px; }

.timeline-wrap h3 { margin: 0 0 24px; font-size: 21.5px; }

.timeline {
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
  border-left: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.timeline li { position: relative; color: var(--dim); }

.timeline li::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 9px;
  width: 7px;
  height: 7px;
  background: #A7A038;
}

/* Preise */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
}

.price-card { padding: 28px 26px; }

.price-card h3 { margin: 0 0 6px; font-size: 20px; }

.price-card .duration { margin: 0 0 18px; font-size: 15px; color: var(--dim); }

.price-card .price { margin: 0; font-size: 30px; }

.reimbursement {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.reimbursement h3 { margin: 0 0 14px; font-size: 21.5px; }

.reimbursement > p { margin: 0 0 40px; max-width: 68ch; color: var(--dim); }

.reimbursement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.reimbursement-col { max-width: 60ch; }

.reimbursement-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reimbursement-col p { margin: 0 0 12px; color: var(--dim); text-wrap: pretty; }

.reimbursement-col a { color: #67662A; text-decoration: underline; text-decoration-color: #A7A038; text-underline-offset: 3px; }

.vod-row { display: flex; align-items: center; gap: 12px; }

.vod-row img { width: 44px; height: 44px; }

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-card { padding: 32px 30px; }

.contact-card h3 { margin: 0 0 14px; font-size: 21.5px; }

.contact-card > p:first-of-type { margin: 0 0 24px; color: var(--dim); }

.contact-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-highlight { margin: 0 0 16px; font-size: 24px; font-weight: 600; color: var(--link); }

.contact-highlight:hover { color: var(--label); }

.contact-note { margin: 0 0 24px; font-size: 15.5px; color: var(--dim); max-width: 52ch; }

.contact-link { font-size: 17px; color: var(--link); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }

.contact-link:hover { color: var(--label); }

address { margin: 0 0 24px; font-style: normal; }

address .who { display: block; font-weight: 600; }

address .where { display: block; color: var(--dim); }

.contact-card .map-link { color: var(--link); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }

.contact-card .map-link:hover { color: var(--label); }

/* ---------- Footer ---------- */

.site-footer { background: #67662A; color: #F5F5F0; }

.site-footer .wrap { padding-top: 56px; padding-bottom: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-grid img { margin-bottom: 16px; }

/* Ring: fixed size/background/shape — do not touch these to reposition the icon. */
.icon-badge {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Icon placement inside the ring — adjust freely via the 3 custom properties below,
   either here (affects every .icon-badge) or per-instance with an inline style
   like style="--icon-x: 2px; --icon-y: -1px; --icon-scale: 1.1;" on the <img>.
   --icon-x / --icon-y: nudge the icon left/right / up/down (px, negative allowed).
   --icon-scale: resize the icon itself (1 = 36px, 1.2 = 20% bigger, etc). */
.icon-badge img {
  width: 36px;
  height: 36px;
  margin: 0;
  --icon-x: -1px;
  --icon-y: 2px;
  --icon-scale: 1.3;
  transform: translate(var(--icon-x), var(--icon-y)) scale(var(--icon-scale));
}

.footer-col-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-grid p { margin: 0 0 8px; font-size: 15.5px; color: rgba(245, 245, 240, 0.82); }

.footer-grid a { color: #FFF33D; font-size: 15.5px; }

.footer-links { display: flex; gap: 20px; margin-top: 16px; }

.footer-links a { font-size: 15px; color: rgba(245, 245, 240, 0.82); }

.footer-links a:hover { color: #FFF33D; }

.footer-bottom {
  margin: 48px 0 0;
  padding: 20px 0;
  border-top: 1px solid rgba(245, 245, 240, 0.16);
  font-size: 13.5px;
  color: rgba(245, 245, 240, 0.58);
}

/* ---------- Reveal-on-scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease, transform 400ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Impressum & Datenschutz ---------- */

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.legal-block { max-width: 74ch; margin-bottom: 40px; }


.legal-block h3 { margin: 0 0 14px; font-size: 19px; }

.legal-block p { margin: 0 0 16px; color: var(--dim); text-wrap: pretty; }

.legal-block ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-block address { margin: 0; font-style: normal; color: var(--dim); line-height: 1.7; }

.legal-block address a { color: var(--link); }

.notice-card { border-left: 3px solid #A7A038; }

.notice-card h3 { margin-bottom: 8px; font-size: 15px; }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .hero h1 { font-size: 40px; }
}

@media (max-width: 767px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .nav-desktop { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 56px 24px; }
  .hero h1 { font-size: 32px; }
  .hero-logo { width: 120px; }
  .section-inner { padding: 56px 24px; }
  .section-intro h2 { font-size: 27px; }
  .feature-row,
  .feature-row.rev {
    grid-template-columns: 1fr;
  }
  .feature-row img,
  .feature-row.rev img { justify-self: start; }
  .about-grid { grid-template-columns: 1fr; }
}
