/* =========================================================
   Vogelgesang + Lehnen Ergotherapie — Joomla Stylesheet
   Mobile First. Keine Inline-Styles im HTML.

   HINWEIS zu Joomla & Full-Width-Sektionen:
   Joomla-Beiträge liegen i. d. R. in einem Container fester Breite.
   Sektionen die über die volle Viewport-Breite gehen sollen
   (Hero, .section--areas, .section--practice, .section--partners,
    .hero-slider) sind hier so geschrieben, dass sie sich aus dem
   Eltern-Container ausbrechen:
       width: 100vw;
       margin-left: calc(50% - 50vw);
   Falls Ihr Template diese Technik bricht, ist die einfachste
   Lösung im Template-Override den Beitrags-Container auf
   width:100% / max-width:none zu setzen. Siehe README.md.
   ========================================================= */

/* ---------- Schrift: Open Sans (selbst gehostet, DSGVO-konform) ----------
   Die Schriftdateien liegen im Ordner  fonts/  (parallel zu  css/  und  js/ ).
   Beim Upload den kompletten  fonts/-Ordner in den Template-Ordner laden,
   z. B.  templates/IHR_TEMPLATE/fonts/  — die Pfade unten (../fonts/) sind
   relativ zu diesem Stylesheet (das im Ordner  css/  liegt). */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-300.woff2') format('woff2'),
       url('../fonts/open-sans-300.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-400.woff2') format('woff2'),
       url('../fonts/open-sans-400.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans-600.woff2') format('woff2'),
       url('../fonts/open-sans-600.woff') format('woff');
}

/* ---------- Custom Properties ---------- */
:root {
  --color-primary: #2e8a9b;
  --color-primary-dark: #257381;
  --color-primary-light: #3aa1b3;
  --color-logo: #2da5b3;
  --color-text: #6e6e6e;
  --color-heading: #555555;
  --color-muted: #8a8a8a;
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-overlay: rgba(46, 138, 155, 0.85);
  --color-footer-text: #9b9b9b;
  --color-border: #e6e6e6;

  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --container-max: 1200px;
  --container-padding: 24px;

  --radius-sm: 4px;
  --radius-md: 6px;

  --shadow-soft: 0 6px 24px rgba(0, 0, 0, 0.08);

  --transition: all 0.25s ease;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Verhindert horizontalen Scroll durch die 100vw-Full-Width-Sections —
   ein bisschen Sicherheitsnetz gegen die Joomla-Wrapper-Padding-Stories. */
html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 300;
  margin: 0 0 0.6em;
  line-height: 1.3;
}

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.container--narrow { max-width: 1000px; }

.no-scroll { overflow: hidden; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 10px 28px;
  border: none;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 14px;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: 0;
}
.btn:hover { background: var(--color-primary-dark); color: #fff; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

/* ---------- Header / Navigation ---------- */
.site-header {
  background: #fff;
  padding: 24px 0 0;
  position: relative;
  z-index: 50;
}
.site-header__inner {
  text-align: center;
  position: relative;
}
.site-logo {
  display: inline-block;
  margin: 0 auto 12px;
}
.site-logo img {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.main-nav {
  margin-top: 18px;
  border-bottom: 1px solid var(--color-border);
}
.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.main-nav__list a {
  color: var(--color-text);
  font-size: 17px;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
}
.main-nav__list a:hover,
.main-nav__list a.is-active { color: var(--color-primary); }

/* Burger (Mobile) */
.burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 32px;
  position: absolute;
  right: 18px;
  top: 28px;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}
.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  margin: 6px auto;
  transition: var(--transition);
}
.burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- FULL-WIDTH Helper (Hero, Slider, türkise Sections) ----------
   Joomla packt Beiträge meist in einen Container mit Padding/Max-Width.
   Diese Klassen brechen aus dem Eltern-Container aus, damit Hero, Slider
   und türkise Sections randlos über die volle Viewport-Breite gehen.
   Robuster Trick: positionieren statt Margin, plus !important damit
   Joomla-Template-Wrapper das nicht verbiegen können.
*/
.hero,
.hero-slider,
.section--areas,
.section--practice,
.section--partners,
.page-header {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* ---------- Hero ----------
   Bilder werden direkt im HTML als <img class="hero__bg"> eingebunden,
   NICHT als CSS-Background-Image. Grund: Joomla resolviert CSS-URLs
   relativ zum Stylesheet-Pfad (templates/.../css/) und nicht zum
   Joomla-Root, daher würden Background-Images aus templates/images/
   gezogen statt aus images/.

   Die !important-Regeln auf .hero img sind nötig, weil viele Joomla-
   Templates und Bootstrap eigene img-Regeln (max-width, height:auto,
   .img-fluid) anwenden, die unsere Positionierung sonst aushebeln.
*/
.hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.hero--ueber { height: 420px; }

.hero > img,
.hero .hero__bg,
.hero img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 40% !important;  /* leichter Top-Bias */
  display: block !important;
  margin: 0 !important;
  z-index: 1;
}
.hero__caption {
  position: absolute;
  bottom: 36px;
  right: 0;
  background: var(--color-overlay);
  color: #fff;
  padding: 16px 32px;
  font-size: 22px;
  font-weight: 300;
  max-width: 70%;
  z-index: 2;
}
/* Eigene Klasse für mittig-zentrierte Caption (Über uns).
   Vorher hing das an .hero--ueber .hero__caption — robust gegen
   Klassenverlust beim Joomla-Editor-Speichern. */
.hero__caption--center,
.hero--ueber .hero__caption {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  bottom: 60px;
  text-align: center;
  max-width: 80%;
}

/* ---------- Section: Selbstständigkeit (Intro) ---------- */
.section { padding: 70px 0; }
.section--intro {
  text-align: center;
  background: #fff;
}
.section--intro h2 {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-heading);
  margin-bottom: 28px;
}
.section--intro p {
  max-width: 820px;
  margin: 0 auto 0.4em;
  color: var(--color-text);
  font-size: 17px;
}

/* ---------- Section: Bereiche (türkis) ---------- */
.section--areas {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 70px 24px 80px;
}
.section--areas h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 50px;
  line-height: 1.35;
}
/* Bereiche-Grid: 6 Spalten, span 2 — so liegen die zwei unteren
   Items (Neurologie/Psychiatrie) mathematisch sauber zwischen den
   Items der oberen Reihe. */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 0;
  max-width: 900px;
  margin: 0 auto 50px;
  align-items: start;
}
.areas-grid .area:nth-child(1) { grid-column: 1 / span 2; }
.areas-grid .area:nth-child(2) { grid-column: 3 / span 2; }
.areas-grid .area:nth-child(3) { grid-column: 5 / span 2; }
.areas-grid .area:nth-child(4) { grid-column: 2 / span 2; }
.areas-grid .area:nth-child(5) { grid-column: 4 / span 2; }
.area { text-align: center; color: #fff; }
.area img {
  width: 90px;
  height: 90px;
  margin: 0 auto 14px;
  object-fit: contain;
}
.area h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0;
}
.section--areas .btn {
  background: #fff;
  color: var(--color-primary);
  padding: 10px 32px;
  font-size: 14px;
}
.section--areas .btn:hover { background: var(--color-primary-dark); color: #fff; }

/* ---------- Section: Praxisinfos + Kontakt ---------- */
.section--info {
  background: #fff;
  padding: 70px 0 90px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}
.info-block h2 {
  font-size: 26px;
  font-weight: 300;
  color: var(--color-heading);
  margin-bottom: 24px;
}
.info-block ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 28px;
}
.info-block ul li {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 17px;
}
.info-block .btn { margin-top: 8px; }
.info-block p { font-size: 17px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  padding: 50px 0 30px;
  border-top: 1px solid var(--color-border);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--container-max);
  margin: 0 auto 30px;
  padding: 0 var(--container-padding);
  flex-wrap: wrap;
}
.footer-brand img {
  max-width: 130px;
  height: auto;
}
.footer-brand h2 {
  margin: 0;
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 300;
}
.footer-copy {
  text-align: left;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  color: var(--color-footer-text);
  font-size: 12px;
}
.footer-copy a {
  color: var(--color-footer-text);
  text-decoration: none;
}
.footer-copy a:hover { color: var(--color-primary); }
.footer-copy .footer-meta {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Agency-Branding (Footer-Zusatz) ---------- */
.agency-branding {
  text-align: center;
  padding: 20px;
}
.agency-branding p {
  margin: 0;
  font-size: 12px;
  color: var(--color-footer-text);
}
.agency-branding a {
  color: var(--color-footer-text);
  text-decoration: underline;
}
.agency-branding a:hover { color: var(--color-primary); }
.agency-branding__heart {
  color: red;
}

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #2b2b2b;
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 999;
  font-size: 14px;
}
.cookie-banner.is-visible {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; flex: 1 1 280px; }
.cookie-banner a { color: var(--color-primary-light); text-decoration: underline; }
.cookie-banner button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 8px 22px;
  font-size: 14px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cookie-banner button:hover { background: var(--color-primary-dark); }

/* ---------- Reveal Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page (Subpages) ---------- */
.page-header {
  background: var(--color-primary);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 300;
  margin: 0;
}
.page-content { padding: 60px 0 80px; }
.page-content .container { max-width: 900px; }
.page-content h2 {
  color: var(--color-heading);
  font-size: 24px;
  font-weight: 300;
  margin-top: 30px;
}
.page-content h3 {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 400;
  margin-top: 24px;
}

/* ---------- Section: Text (Ergotherapie / Praxis) ---------- */
.section--text { padding: 50px 0; background: #fff; }
.section--centered { padding: 30px 0 60px; background: #fff; text-align: center; }
.section--text p { font-size: 17px; line-height: 1.75; }
.section--centered p { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.75; }

.h2-left {
  font-size: 24px;
  font-weight: 300;
  color: var(--color-heading);
  text-align: left;
  margin-bottom: 18px;
}
.h2-center {
  font-size: 24px;
  font-weight: 300;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 20px;
}

/* ---------- Indikationen-Grid (3 Spalten) ---------- */
.indications-grid {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 30px;
}
.indications-grid li {
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  color: var(--color-text);
}
.indications-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ---------- Section: Treatment-Intro ---------- */
.section--treatment-intro {
  text-align: center;
  background: #fff;
  padding: 30px 0 20px;
}
.h2-section-title {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-heading);
  line-height: 1.35;
  margin: 0;
}

/* ---------- Treatments (Behandlungs-Karten) ---------- */
.treatments { background: #fff; padding: 30px 0 60px; }
.treatment-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 70px;
}
.treatment-card--reverse .treatment-card__text { order: 2; }
.treatment-card--reverse .treatment-card__image { order: 1; }
.treatment-card__text h3 {
  font-size: 22px;
  color: var(--color-heading);
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 14px;
}
.treatment-card__meta {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}
.treatment-card__text p {
  font-size: 17px;
  line-height: 1.75;
}
.treatment-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Akkordeon ---------- */
.accordion-item {
  margin-top: 22px;
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
}
.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  text-align: left;
  transition: var(--transition);
}
.accordion-trigger i, .accordion-trigger em { font-size: 14px; transition: transform 0.3s ease; }
.accordion-trigger:hover { color: var(--color-primary-dark); }
.accordion-item.is-open .accordion-trigger i, .accordion-item.is-open .accordion-trigger em { transform: rotate(180deg); }

/* Editor-fest: Das Jahr im Footer steht als <em class="js-current-year"> (ein
   <span> verliert im TinyMCE-Editor seine Klasse). Hier wird die em-Kursivschrift
   zurückgesetzt, damit das Jahr normal aussieht. */
.js-current-year { font-style: normal; font-weight: inherit; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-panel ul {
  list-style: disc;
  padding-left: 20px;
  margin: 14px 0 0;
}
.accordion-panel li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 6px;
}

/* ---------- Section: Kontakt (3 Spalten + Karten) ---------- */
.section--kontakt {
  background: #fff;
  padding: 80px 0;
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}
.kontakt-col p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 14px;
}
.kontakt-heading {
  font-size: 26px;
  font-weight: 300;
  color: var(--color-muted);
  margin: 0 0 24px;
  line-height: 1.3;
}
.kontakt-heading--second { margin-top: 40px; }
.kontakt-address {
  font-size: 17px;
  margin-bottom: 18px !important;
  color: var(--color-text);
}
.kontakt-address--second { margin-top: 30px; }
.kontakt-location {
  margin-top: 18px !important;
  margin-bottom: 4px !important;
  color: var(--color-text);
}
.kontakt-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 18px;
}
.kontakt-list li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 10px;
}

/* ---------- Google-Maps-Ersatz (Leaflet via JS) ---------- */
.gmap-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
  margin: 0 0 14px;
  overflow: hidden;
  position: relative;
}
.gmap-container .leaflet-container {
  width: 100%;
  height: 100%;
}

/* ---------- Hero-Slider ---------- */
.hero-slider {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: #f4f4f4;
}
.hero-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(.4,.0,.2,1);
}
.hero-slider__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.hero-slider__slide img,
.hero-slider__slide > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 35% !important;  /* Top-Bias für Personenmotive */
  display: block !important;
  margin: 0 !important;
}
.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.hero-slider__nav:hover { background: var(--color-primary); }
.hero-slider__nav--prev { left: 16px; }
.hero-slider__nav--next { right: 16px; }

/* ---------- Galerie ---------- */
.gallery-section { margin: 0; padding: 0; }
.gallery-label {
  display: inline-block;
  background: #f3f3f3;
  color: var(--color-heading);
  font-size: 13px;
  padding: 6px 14px;
  margin-bottom: 6px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 100%;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  background: #eee;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(46, 138, 155, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { background: rgba(46, 138, 155, 0.15); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px 60px;
}
.lightbox.is-open { display: flex; }
.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--color-primary); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- Section: Kooperationspartner ---------- */
.section--partners {
  background: var(--color-primary);
  color: #fff;
  padding: 70px 24px;
  text-align: center;
}
.partners-title {
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 14px;
}
.partners-divider {
  display: block;
  width: 50px;
  height: 2px;
  background: #fff;
  opacity: 0.6;
  margin: 0 auto 50px;
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  text-align: left;
  margin: 0 auto 40px;
  max-width: 1000px;
}
.partner h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 14px;
}
.partner p {
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.partner--full {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

/* ---------- Section: Team (Über uns) ---------- */
.section--team {
  background: #fff;
  padding: 30px 0 80px;
}
.team-container { max-width: 880px; }
.team-heading {
  font-size: 22px;
  font-weight: 300;
  color: var(--color-heading);
  margin-bottom: 30px;
  text-align: left;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 50px;
}
.team-card { text-align: left; }
.team-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 15%;   /* Köpfe nicht abschneiden */
  margin-bottom: 14px;
  display: block;
}
.team-card h3 {
  font-size: 17px;
  margin: 0 0 4px;
  color: var(--color-primary);
  font-weight: 400;
}
.team-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
}
.team-card--text-only { align-self: start; }

/* ---------- Section: Praktikum (türkis, 2-spaltig) ---------- */
.section--practice {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
}
.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.practice-image {
  position: relative;
  min-height: 320px;
  margin: 40px 0 40px 40px;
  overflow: hidden;
}
.practice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;   /* Kind oben im Bild — Kopf sichtbar */
  position: absolute;
  inset: 0;
}
.practice-text {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.practice-text h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 20px;
}
.practice-text p {
  color: #fff;
  font-size: 17px;
  margin: 0;
}

/* ---------- Section: Kontakt-CTAs ---------- */
.section--contact-cta {
  background: #fff;
  padding: 70px 0 60px;
}
.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.contact-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  color: var(--color-primary);
  font-size: 26px;
  margin: 0 auto 14px;
}
.contact-cta h2 {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.contact-cta p { margin: 0 0 4px; font-size: 17px; }
.contact-cta__location {
  color: var(--color-muted);
  font-size: 13px;
  margin-top: 8px !important;
}
.contact-cta a { color: var(--color-text); }
.contact-cta a:hover { color: var(--color-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .areas-grid {
    max-width: 720px;
    gap: 32px 0;
  }
}

@media (max-width: 768px) {
  .burger { display: block; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 55;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    padding: 90px 20px 20px;
    border: none;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 0;
  }
  .main-nav__list a { font-size: 18px; }

  .hero { height: 260px; }
  .hero__caption {
    font-size: 17px;
    padding: 12px 22px;
    bottom: 18px;
    max-width: 90%;
  }

  .section { padding: 50px 0; }
  .section--intro h2,
  .section--areas h2,
  .info-block h2 { font-size: 22px; }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
    max-width: 480px;
  }
  .areas-grid .area:nth-child(1),
  .areas-grid .area:nth-child(2),
  .areas-grid .area:nth-child(3),
  .areas-grid .area:nth-child(4),
  .areas-grid .area:nth-child(5) {
    grid-column: auto;
    justify-self: center;
  }
  .area img { width: 70px; height: 70px; }
  .area h3 { font-size: 17px; }

  .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; gap: 32px; }

  .practice-grid { grid-template-columns: 1fr; }
  .practice-image { margin: 0; min-height: 240px; }
  .practice-text { padding: 40px 24px; }

  .contact-cta-grid { grid-template-columns: 1fr; gap: 40px; }

  .indications-grid { grid-template-columns: 1fr; gap: 12px; }

  .treatment-card {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }
  .treatment-card--reverse .treatment-card__text { order: 2; }
  .treatment-card--reverse .treatment-card__image { order: 1; }
  .treatment-card__text { order: 2; }
  .treatment-card__image { order: 1; }

  .h2-section-title { font-size: 22px; }

  .partners-grid { grid-template-columns: 1fr; gap: 30px; }

  .hero-slider { height: 280px; }
  .hero-slider__nav { width: 36px; height: 36px; font-size: 14px; }

  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .kontakt-heading { font-size: 22px; }
  .section--kontakt { padding: 50px 0; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox { padding: 16px; }
  .lightbox__close { top: 8px; right: 8px; width: 40px; height: 40px; }
  .lightbox__nav { width: 40px; height: 40px; }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .page-header h1 { font-size: 26px; }
}

@media (max-width: 480px) {
  .site-logo img { max-width: 170px; }
  .hero__caption { font-size: 17px; padding: 10px 16px; }
}
