/* =====================================================
   Refactored styles.css — Physiotherapie Move & Care
   Goals: remove duplicates, unify spacing, improve structure,
   keep class names stable to avoid HTML changes.
   ===================================================== */

/* =====================
   1) Design Tokens
   ===================== */
:root {
  /* Colors */
  --clr-bg: #FFFFFF;
  --clr-text: #575756;
  --clr-accent: #507A9C;
  --clr-accent-orange: #C08864;
  --border: #e6e6e6;

  /* Legacy aliases (compat) */
  --bg: var(--clr-bg);
  --text: var(--clr-text);
  --accent: var(--clr-accent);

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;  /* ← used for consistent mobile padding */
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-18: 72px;

  /* Radii */
  --radius-1: 8px;
  --radius-2: 12px;
  --radius-3: 14px;
  --radius-4: 18px;

  /* Shadows */
  --shadow-1: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 10px 24px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-sans: 'Roboto Variable', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --container-pad: var(--space-5); /* 20px left/right */

  /* Breakpoints */
  --bp-nav: 860px;
  --bp-md: 980px;
  --bp-sm: 600px;

  /* Hero */
  --hero-height: 50vh;
}




/* =====================
   2) Fonts
   ===================== */
@font-face {
  font-family: 'Roboto Variable';
  src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Variable';
  src: url('../fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: italic;
  font-display: swap;
}

/* =====================
   3) Base / Reset
   ===================== */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--clr-text);
  background: var(--clr-bg);
}

h1 { font-weight: 700; font-stretch: 100%; }
p { font-weight: 400; font-style: normal; }

/* Container utility (unify all page gutters) */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Simple utilities */
.stack-1 > * + * { margin-top: var(--space-2); }
.stack-2 > * + * { margin-top: var(--space-4); }
.stack-3 > * + * { margin-top: var(--space-6); }
.center { text-align: center; }

/* =====================
   4) Header / Navigation
   ===================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img { height: clamp(50px, 6vw, 80px); width: auto; display: block; }
.brand-name { font-weight: 600; letter-spacing: .2px; }

nav { display: flex; align-items: center; gap: 8px; }
.nav-list { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav-link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--clr-text);
  transition: color .15s, background-color .15s, box-shadow .15s;
}
.nav-link:hover, .nav-link:focus-visible { color: #1f2a36; background: rgba(80,122,156,.08); outline: none; }
.nav-link.active { color: var(--clr-accent); }

.btn-contact { border: 1px solid var(--clr-accent); color: var(--clr-accent); }
.btn-contact:hover { background: var(--clr-accent); color: #fff; }

/* Mobile nav */
.hamburger { display: none; appearance: none; background: none; border: 0; cursor: pointer; padding: 10px; margin: -10px; border-radius: 8px; }
.hamburger:focus-visible { outline: 2px solid var(--clr-accent); }
.hamburger-box { width: 24px; height: 2px; background: var(--clr-text); position: relative; display: block; }
.hamburger-box::before, .hamburger-box::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--clr-text); }
.hamburger-box::before { top: -7px; } .hamburger-box::after { top: 7px; }

@media (max-width: 860px) {
  .nav-list {
    display: none;
    position: absolute;
    right: var(--container-pad);
    top: 72px;
    flex-direction: column;
    gap: var(--space-2);
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 12px;
    border-radius: var(--radius-3);
  }
  .nav-list.open { display: flex; }
  .hamburger { display: block; }
}

/* Full-width mobile dropdown (keeps original IDs/classes) */
@media (max-width: 768px) {
  .site-header { position: relative; z-index: 1000; }
  #primary-nav.nav-list {
    position: absolute; left: 50%; top: 100%; width: 100vw; transform: translateX(-50%);
    background: var(--clr-bg); box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-radius: 0; margin: 0; padding: .25rem 0; list-style: none;
    display: none; flex-direction: column;
  }
  #primary-nav.open { display: flex; animation: dropIn .22s ease-out; }
  #primary-nav li { border-bottom: 1px solid var(--border); }
  #primary-nav li:last-child { border-bottom: none; }
  #primary-nav a { display: block; padding: 14px 18px; text-align: center; color: var(--clr-text); text-decoration: none; font-weight: 500; font-size: 1.05rem; transition: background .15s, color .15s; }
  #primary-nav a:hover, #primary-nav a:focus { background: #f7f7f7; color: var(--clr-accent); }
  body.no-scroll { overflow: hidden; }
}

@keyframes dropIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* =====================
   5) Hero
   ===================== */
.hero {
  position: relative;
  height: var(--hero-height);
  background: url('../images/background.jpg') center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-orga {
  position: relative;
  height: var(--hero-height);
  background: url('../images/background.jpg') center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

/* Modifier for organisatorisches page */
.hero--orga { height: 300px; }
/* Backward compatibility (HTML might still use .hero-orga) */
.hero-orga { height: 300px; }

.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { z-index: 1; max-width: 700px; padding: var(--space-5); }
.hero-content h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: .6em; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.3rem); margin-bottom: 1.5em; text-shadow: 0 2px 4px rgba(0,0,0,0.25); }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius-1); font-weight: 600; text-decoration: none; text-align: center; border: none; cursor: pointer; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn-primary { background: var(--clr-accent); color: #fff; }
.btn-primary:hover { background: #3e6785; transform: translateY(-2px); }

/* Ghost variant (reusable) */
.btn-ghost {
  display: inline-block; padding: 12px 18px; border-radius: var(--radius-1);
  text-decoration: none; font-weight: 600; border: 1.5px solid currentColor;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.btn-ghost.light { color: #eaf6f5; border-color: rgba(255,255,255,.7); }
.btn-ghost.light:hover { background: rgba(255,255,255,.15); transform: translateY(-1px); }
.btn-ghost:not(.light) { color: var(--clr-accent); border-color: var(--clr-accent); }
.btn-ghost:not(.light):hover { background: rgba(80,122,156,.08); }

/* Accent button (brown theme) */
.btn-accent { background-color: #b6845e; color: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.btn-accent:hover { background-color: #9a6c47; transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.btn-accent:active { background-color: #845937; transform: translateY(0); box-shadow: 0 2px 6px rgba(0,0,0,.15); }

/* Center helper for CTAs */
.cta-center { display: flex; justify-content: center; }
.cta-center .btn { margin-top: 10px; }

/* =====================
   6) Showcase (two-row grid)
   ===================== */
.showcase { width: min(100%, var(--container-max)); margin: var(--space-10) auto; background-color: #f7f5f1; }
#showcase { margin-top: 80px; background-color: #F2F8FC; }
.showcase .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.panel { min-height: 520px; display: flex; align-items: center; justify-content: center; }
.panel .panel-inner { width: min(640px, 90%); line-height: 1.8rem; }
.panel-light { background: #fff; color: var(--clr-text); }
.panel-teal { background: #FFF; color: #fff; line-height: 1.8rem; }
.panel.image { background: var(--clr-bg) center/cover no-repeat; order: 0; }

.kicker { font-weight: 800; letter-spacing: .5px; line-height: 1.1; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 18px; }
.headline { font-weight: 800; letter-spacing: .3px; line-height: 1.1; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 18px; }
.panel p { margin: 0 0 12px; }

.btn-stack { display: grid; gap: 12px; margin-top: 22px; }

.offer-list { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(0,0,0,.08); }
.offer-list li { display: grid; grid-template-columns: 24px 1fr; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.offer-list li::before { content: '»'; color: var(--clr-accent); font-weight: 800; font-size: 1.1rem; line-height: 1; }
.offer-list a { color: inherit; text-decoration: none; }
.offer-list a:hover { color: var(--clr-accent); }

@media (max-width: 980px) { .showcase .row { grid-template-columns: 1fr; } .panel { min-height: 420px; } .showcase { width: 100%; } }

/* =====================
   7) Treatments (cards grid)
   ===================== */
.treatments { background: #F2F8FC; padding-block: var(--space-14); }
.treatments__container { max-width: var(--container-max); margin: 0 auto; margin-bottom: 60px; line-height: 2.3rem; padding-inline: var(--container-pad); }
.treatments__title { font-weight: 800; font-size: clamp(28px, 3.5vw, 38px); margin: 0 0 16px; }
#praxis .treatments__title { text-align: start; color: var(--clr-accent-orange); margin: 0 auto 22px; width: min(var(--container-max), calc(100% - (var(--container-pad) * 2))); display: block; }
.treatments__intro { font-weight: 700; line-height: 2.3rem; margin-top: 25px; margin-bottom: 28px; color: #1f2937; }
.treatments__hint { margin-top: 6px; }

.treatments__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 75px; }
@media (max-width: 980px) { .treatments__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .treatments__grid { grid-template-columns: 1fr; } }

.treatments-card { display: block; text-decoration: none; color: inherit; border-radius: var(--radius-4); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); transition: transform 160ms ease, box-shadow 160ms ease; }
.treatments-card:hover, .treatments-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.treatments-card__figure { margin: 0; }
.treatments-card__figure img { width: 100%; height: 200px; object-fit: cover; display: block; }
.treatments-card__caption { padding: 14px 16px; font-size: 18px; font-weight: 700; text-align: center; background: #fff; border-top: 1px solid rgba(0, 0, 0, 0.04); color: var(--clr-accent); }

/* =====================
   8) Collage grid
   ===================== */
.collage-section { background: #fff; padding-block: var(--space-14); }
.collage-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 20px; padding-inline: var(--container-pad); }
.collage-item { position: relative; overflow: hidden; border-radius: var(--radius-3); box-shadow: 0 6px 14px rgba(0,0,0,.08); transition: transform .3s ease, box-shadow .3s ease; }
.collage-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-item:hover { transform: scale(1.02); box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.collage-item--large { grid-column: span 2; grid-row: span 2; }
.collage-item:nth-child(4n+2).collage-item--large { grid-column: 2 / span 2; }

@media (max-width: 980px) {
  .collage-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .collage-item--large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 600px) {
  .collage-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .collage-item--large { grid-column: span 1; }
  .treatments__title { padding-inline: var(--container-pad); }
}

/* =====================
   9) Slogan section
   ===================== */
.slogan-section { max-width: 100%; background: #F2F8FC; margin-top: var(--space-10); padding: var(--space-5); display: flex; justify-content: center; align-items: center; text-align: center; }
.slogan-content h2 { color: var(--clr-accent); font-family: 'Roboto', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.4; opacity: 0; transform: translateY(20px); transition: opacity .8s ease-out, transform .8s ease-out; }
.slogan-content.visible h2 { opacity: 1; transform: translateY(0); }

/* =====================
   10) Physio Hero (scoped)
   ===================== */
.physio-hero { padding-block: clamp(40px, 6vw, 72px); }
.physio-hero__inner { max-width: 1100px; margin-inline: auto; width: min(92vw, 1100px); }
.physio-hero__grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.physio-hero__title { margin: 0 0 .5rem; color: var(--brand, #2b6f86); font-weight: 800; line-height: 1.12; }
.physio-hero__title .physio-hero__subtitle { display: block; color: var(--muted, #8ea4b1); font-weight: 700; }
.physio-hero__lead { color: var(--text-soft, #5e6670); margin: 1.1rem 0 .9rem; }
.physio-hero__signature { margin-top: 1rem; font-style: italic; color: var(--text-soft, #5e6670); }
.physio-hero__addr { font-style: normal; color: var(--text-soft, #5e6670); margin-bottom: .5rem; }
.physio-hero__phone { display: inline-block; text-decoration: none; color: var(--brand, #2b6f86); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: .2rem 0 1rem; }
.physio-hero__actions { display: grid; gap: 12px; }
.physio-hero__action { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--text, #3b3f45); background: var(--card-bg, #f4f7f9); box-shadow: 0 6px 20px rgba(20,39,53,.08); transition: transform .15s ease, box-shadow .15s ease; }
.physio-hero__action:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(20,39,53,.12); }
.physio-hero__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--icon-bg, #eaf1f5); display: grid; place-items: center; }
.physio-hero__icon svg { width: 26px; height: 26px; fill: var(--brand-600, #3e8aa4); }
.physio-hero__label { font-weight: 600; letter-spacing: .01em; }
@media (max-width: 900px) { .physio-hero__grid { grid-template-columns: 1fr; } .physio-hero__actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .physio-hero__actions { grid-template-columns: 1fr; } }

/* =====================
   11) Forms / Toast / Misc
   ===================== */
.desc_treatment { padding: 2px var(--container-pad); color: var(--clr-accent); line-height: 1.8rem; }
.toast { position: fixed; z-index: 9999; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 16px; border-radius: 10px; background: #2e7d32; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); display: none; font: 500 14px/1.3 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.toast.error { background: #c62828; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; visibility: hidden !important; }

/* =====================
   12) Responsive helpers
   ===================== */
@media (max-width: 980px) { #treatments { margin-top: 50px; } .panel.image { order: 1; } }

/* Mini-Vorstellung Therapeutin */
.therapist-intro {
  padding: 5rem 1.5rem; /* viel Abstand oben und unten */
  background-color: #ffffff;
  
}

.therapist-intro__inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  justify-content: center; /* << Dein Wunsch */
  align-items: center;

  gap: 5rem; /* << dein Wunsch */
}

.therapist-intro__image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.therapist-intro__text {
  max-width: 520px;
}

.therapist-intro__headline {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #575756;
}

.therapist-intro__copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #575756;
}

/* Responsive */
@media (max-width: 768px) {
  .therapist-intro {
    padding: 3rem 1.25rem;
  }

  .therapist-intro__inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}


