/* ============================================
   BergLächeln - Design Tokens aus Figma
   ============================================ */
:root {
  --spacer: 10px;
  
  --zbl-schwarz-2:       #414440;  /* ZBL_Schwarz_2 */
  --zbl-weiss-2:         #FAFAFA;  /* ZBL_Weiß_2 */
  --hwm-weiss:           #FCFCFC;  /* HWM_Weiß */
  --zbl-grau-2:          #B9B8AF;  /* ZBL_Grau_2 */
  --zbl-hell-gruen-1:    #CBEA7D;  /* ZBL_Hell Grün_1 */
  --zbl-gruen-2:         #749B36;  /* ZBL_Grün 2 */
  --zbl-dunkel-gruen:    #3AA36D;  /* ZBL_Dunkel Grün */
  --zbl-beige-2:         #ECE8CE;  /* ZBL_Beige_2 */

  /* Grün-Verlauf (kein eigener Token, aus Figma-Gradient abgeleitet) */
  --zbl-gruen-verlauf-von: #CFEE82;
  --zbl-gruen-verlauf-zu:  #A1C861;

  /* Farb-Aliasse für bessere Lesbarkeit im Code */
  --color-text:        #363636;

  /* Typografie - Myriad Pro */
  --font-base: myriad-pro-semiextended, sans-serif;
  /*--font-base: "Myriad Pro", sans-serif;*/
  --font-weight: 400;

  --fs-h1:    35px;
  --lh-h1:    35px;

  --fs-h2:    35px;
  --lh-h2:    35px;

  --fs-h3:    20px;
  --lh-h3:    1;

  --fs-body:  17px;
  --lh-body:  20px;

  --fs-label: 17px;
  --lh-label: 20px;

  --fs-bold:  18px;
  --lh-bold:  22px;

  --fs-btn:   16px;
  --lh-btn:   16px;

  /* Abstände */
  --space-section: 90px;
  --space-content: 60px;
  --space-inner:   40px;
  --container:     1440px;
  --padding-x:     120px;

  /* Schatten - Button_Schatten aus Figma */
  --shadow-btn: 0 4px 10px 0 rgba(65, 68, 64, 0.4);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  font-weight: var(--font-weight);
  line-height: var(--lh-body);
  color: var(--zbl-schwarz-2);
  background-color: var(--hwm-weiss);
  overflow-x: hidden;
  min-width: 360px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   Typografie
   ============================================ */
.h1, h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 600;
  color: var(--zbl-schwarz-2);
}

.h2, h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 600;
  color: var(--zbl-schwarz-2);
}

.h3, h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: 600;
  color: var(--zbl-schwarz-2);
}

.section-title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: 600;
  text-align: center;
  color: var(--zbl-schwarz-2);
  margin-bottom: calc(6 * var(--spacer));
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

@media (max-width: 1024px) {
  :root { --padding-x: 40px; }
}

@media (max-width: 600px) {
  :root {
    --padding-x: 20px;
    --fs-h1: 28px;
    --fs-h2: 28px;
    --space-section: 60px;
  }
}

/* ============================================
   Button
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: var(--fs-btn);
  line-height: var(--lh-btn);
  font-weight: 600;
  font-family: var(--font-base);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn--dark {
  background-color: var(--zbl-schwarz-2);
  color: var(--zbl-weiss-2);
  border: 1.5px solid var(--zbl-schwarz-2);
  box-shadow: var(--shadow-btn);
  min-width: 170px;
  height: 46px;
  transition: background-color 0.2s, color 0.2s;
}

.btn--dark:hover {
  background-color: var(--zbl-weiss-2);
  color: var(--zbl-schwarz-2);
  opacity: 1;
}

.btn--light {
  background-color: var(--zbl-hell-gruen-1);
  color: var(--zbl-schwarz-2);
  border: 1.5px solid var(--zbl-gruen-2);
  min-width: 180px;
  height: 42px;
}

/* Hero-CTA: hellgrün mit Rahmen (identisch zu btn--light) */
.btn--primary {
  background-color: var(--zbl-hell-gruen-1);
  color: var(--zbl-schwarz-2);
  border: 1.5px solid var(--zbl-gruen-2);
  min-width: 180px;
  height: 42px;
  box-shadow: var(--shadow-btn);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary:hover {
  background-color: var(--zbl-schwarz-2);
  color: var(--zbl-weiss-2);
  border-color: var(--zbl-schwarz-2);
  opacity: 1;
}



/* ============================================
   Page-Nav (Unterseiten-Navigation)
   ============================================ */
.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--zbl-weiss-2);
  border-bottom: 1px solid rgba(65, 68, 64, 0.1);
  box-shadow: 0 2px 8px rgba(65, 68, 64, 0.08);
}

.page-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.page-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.page-nav__link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--zbl-schwarz-2);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.page-nav__link:hover {
  color: var(--zbl-dunkel-gruen);
  transform: translateY(-3px);
}

.page-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.page-nav__logo img {
  height: 52px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .page-nav__inner {
    height: 60px;
  }

  .page-nav__links {
    gap: 16px;
  }

  .page-nav__link {
    font-size: 11px;
  }

  .page-nav__logo img {
    height: 38px;
  }
}

/* ============================================
   Hero (= Startseite: Nav + Inhalt links, Bild rechts)
   ============================================ */

/*
 * Die Hero-Section nimmt immer 100% der sichtbaren Viewport-Höhe ein.
 * Linke Spalte: 50 % Breite (max 720 px), scrollt mit der Seite.
 * Rechte Spalte: restliche Breite, volles Bild.
 */
.hero {
  display: flex;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  background-color: var(--zbl-weiss-2);
}

/* ----- Linke Spalte ----- */
.hero__left {
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--zbl-weiss-2);
  overflow-x: hidden;
}

/* Gemeinsames inneres Spalten-Element: Nav + Logo + Text in einer Flucht
 * padding-left: 16.67% von der 50%-Spalte = 120px bei 1440px Gesamtbreite */
.hero__inner {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  min-height: 0;
  max-width: calc(60 * var(--spacer));
  padding: 0 calc(6 * var(--spacer));
}

/* Navigation - oben, linksbündig (Flucht mit Text) */
.hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(9 * var(--spacer)) 0 0 0;
  flex-shrink: 0;
}

.hero__nav-link {
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  color: var(--zbl-schwarz-2);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hero__nav-link:hover {
  color: var(--zbl-dunkel-gruen);
  transform: translateY(-4px);
}

/* Logo - flexibler mittlerer Bereich, zentriert in der verfügbaren Breite */
.hero__logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  min-height: 0;
}

.hero__logo img {
  width: 306px;
  height: auto;
  max-height: 225px;
  object-fit: contain;
}

/* Textinhalte - unten, linksbündig (Einrückung kommt vom Eltern-Element hero__inner) */
.hero__body {
  flex-shrink: 0;
  padding: 0 0 calc(6 * var(--spacer)) 0;
}

.hero__title {
  font-size: 35px;
  font-weight: 600;
  line-height: 35px;
  letter-spacing: 0;
  color: var(--zbl-schwarz-2);
  margin-bottom: calc(3 * var(--spacer));
}

.hero__title p { margin: 0; }

.hero__subtitle {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--zbl-schwarz-2);
  padding-bottom: calc(3 * var(--spacer));
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Burger - nur mobil */
.hero__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  align-self: flex-end;
  margin: 16px 20px 0 0;
}

.hero__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--zbl-schwarz-2);
  transition: transform 0.3s;
}

/* ----- Rechte Spalte (Bild) ----- */
.hero__right {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
  }

  .hero__left {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .hero__inner {
    padding: 0 20px 0 20px;
  }

  .hero__nav {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 16px 0;
  }

  .hero__nav.open {
    display: flex;
  }

  .hero__burger {
    display: flex;
  }

  .hero__logo {
    flex: 0 0 auto;
    padding: 24px 0 16px;
  }

  .hero__logo img {
    width: 200px;
  }

  .hero__body {
    padding: 0 20px 40px;
  }

  .hero__right {
    flex: 0 0 300px;
    width: 100%;
  }
}

/* Sehr kleine Bildschirme (≤ 360px): kein Burger, Nav inline wie Desktop */
@media (max-width: 360px) {
  .hero {
    min-height: unset;
  }

  .hero__burger {
    display: none !important;
  }

  .hero__nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: space-between;
    padding: calc(3 * var(--spacer)) 0 calc(6 * var(--spacer)) 0;
  }

  .hero__nav-link {
    font-size: 11px;
    line-height: 1.2;
  }

  .hero__logo {
    padding-bottom: calc(6* var(--spacer));
  }
}

/* ============================================
   Kontakt & Standort
   ============================================ */
.section-kontakt {
  padding: calc(9 * var(--spacer)) 0 0;
  position: relative;
  overflow: hidden;
}

.section-standort {
  padding: calc(6 * var(--spacer)) 0 calc(9 * var(--spacer)) 0;
  position: relative;
  overflow: hidden;
}

.section-kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  text-align: center;
  margin-bottom: var(--space-section);
}

.kontakt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.kontakt-item a {
  cursor: pointer;
}

.kontakt-item__icon {
  width: 36px;
  height: 36px;
  margin-bottom: calc(2 * var(--spacer));
  transition: transform 0.25s ease;
}

.kontakt-item:hover .kontakt-item__icon {
  transform: translateY(-5px);
}

.kontakt-item__label {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--zbl-schwarz-2);
  margin-bottom: calc(3 * var(--spacer));
  transition: color 0.25s ease;
}

a.kontakt-item__label:hover {
  color: var(--zbl-gruen-2);
}

.kontakt-item__value {
  font-size: var(--fs-bold);
  font-weight: 600;
  color: var(--zbl-schwarz-2);
}

.kontakt-item__sub {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--zbl-schwarz-2);
}

/* Standort */
.standort {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.standort__map {
  grid-column: span 2;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
}

.standort__map-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.standort__map-link img {
  display: block;
  width: 100%;
  height: auto;
}

.standort__info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 32px;
  text-align: center;
}

.standort__item--cta {
  margin-top: calc(6* var(--spacer));
}

.standort__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(2 * var(--spacer));
}

.standort__item-icon {
  width: 36px;
  height: 40px;
  flex-shrink: 0;
}

.standort__item-text {
  font-size: var(--fs-bold);
  font-weight: 600;
  line-height: 1.4;
  color: var(--zbl-schwarz-2);
}

.standort__item-sub {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--zbl-schwarz-2);
}

@media (max-width: 900px) {
  .section-kontakt__grid { grid-template-columns: 1fr; }
  .standort { grid-template-columns: 1fr; }
  .standort__map { grid-column: span 1; }
}

@media (max-width: 600px) {
  .standort__map {
    margin-left: calc(-1 * var(--padding-x));
    margin-right: calc(-1 * var(--padding-x));
    width: calc(100% + 2 * var(--padding-x));
    border-radius: 0;
  }
}

/* ============================================
   Leistungen
   ============================================ */
.section-leistungen {
  padding: var(--space-section) 0;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: var(--space-content);
}

.leistung-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.leistung-item__icon {
  height: 72px;
}

.leistung-item__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--zbl-schwarz-2);
  line-height: var(--lh-body);
  min-height: calc(2 * var(--lh-body));
}

.leistung-item__text {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--zbl-schwarz-2);
  font-weight: 400;
}

@media (max-width: 900px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Philosophie der Praxis
   ============================================ */
.section-philosophie {
  padding: var(--space-section) 0;
  text-align: center;
}

.philosophie__text {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
}

.philosophie__text strong {
  font-size: var(--fs-bold);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

/* ============================================
   Team
   ============================================ */
.section-team {
  padding: var(--space-section) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: var(--space-content);
}

.team-card__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center center;
  background-color: var(--zbl-grau-2);
}

.team-card__placeholder {
  width: 100%;
  height: 400px;
  background-color: var(--zbl-grau-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.team-card__placeholder-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  opacity: 0.35;
}

.team-card__bio {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  margin-top: 8px;
}

.team-card__name {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-top: 16px;
  color: var(--zbl-schwarz-2);
}

.team-card__role {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  margin-top: 8px;
}

.team-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: start;
}

.team-card--featured .team-card__image,
.team-card--featured .team-card__placeholder {
  grid-column: 1;
  grid-row: 1;
}

.team-card--featured .team-card__info {
  grid-column: 2 / -1;
  grid-row: 1;
}

.team-card--featured .team-card__name {
  margin-top: 0;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card__image,
  .team-card__placeholder {
    height: 320px;
  }
  .team-card--featured {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .team-card--featured .team-card__image,
  .team-card--featured .team-card__placeholder {
    grid-column: 1;
    grid-row: 1;
  }
  .team-card--featured .team-card__info {
    grid-column: 1;
    grid-row: 2;
  }
}

/* ============================================
   Impressionen
   ============================================ */
.section-impressionen {
  padding: var(--space-section) 0;
}

.impressionen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 288px;
  gap: 24px;
  margin-top: var(--space-content);
}

.impressionen-grid__item {
  overflow: hidden;
}

.impressionen-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.impressionen-grid__item:hover img {
  transform: scale(1.03);
}

/* Spaltenbreiten */
.impressionen-grid__item--span-2 {
  grid-column: span 2;
}

.impressionen-grid__item--span-3 {
  grid-column: span 3;
}

/* Zeilenhöhen */
.impressionen-grid__item--row1 {
  grid-row: span 1;
}

.impressionen-grid__item--row2 {
  grid-row: span 2;
}

.impressionen-grid__item--row3 {
  grid-row: span 3;
}

@media (max-width: 900px) {
  .impressionen-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  .impressionen-grid__item--span-2 { grid-column: span 2; }
  .impressionen-grid__item--span-3 { grid-column: span 2; }
}

@media (max-width: 600px) {
  .impressionen-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .impressionen-grid__item--span-2,
  .impressionen-grid__item--span-3 {
    grid-column: span 1;
  }
  /* Auf Mobil max. 2 Reihen hoch */
  .impressionen-grid__item--row3 { grid-row: span 2; }
}

/* ============================================
   Termin buchen
   ============================================ */
.section-termin {
  padding: var(--space-section) 0;
  text-align: center;
}

.termin__subtitle {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--zbl-schwarz-2);
  max-width: 500px;
  margin: 20px auto 40px;
}

/* Formular: links 2×2 Grid, rechts Textarea */
.termin__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.termin__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 900px;
}

.termin__inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.termin__input {
  height: 44px;
  padding: 0 16px;
  font-size: var(--fs-body);
  font-family: var(--font-base);
  border: 1.5px solid var(--zbl-schwarz-2);
  background: var(--zbl-weiss-2);
  width: 100%;
  outline: none;
}

.termin__input:focus {
  border-color: var(--zbl-gruen-2);
}

.termin__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--fs-body);
  font-family: var(--font-base);
  border: 1.5px solid var(--zbl-schwarz-2);
  background: var(--zbl-weiss-2);
  resize: vertical;
  min-height: 112px;
  outline: none;
}

.termin__feedback {
  max-width: 700px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  border-left: 4px solid;
  text-align: left;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.termin__feedback p { margin: 4px 0 0; }
.termin__feedback p:first-child { margin-top: 0; }

.termin__feedback--success {
  background: rgba(161, 200, 97, 0.15);
  border-color: var(--color-green);
  color: var(--color-black);
}

.termin__feedback--error {
  background: rgba(220, 60, 60, 0.08);
  border-color: #c0392b;
  color: #c0392b;
}

.termin__textarea:focus {
  border-color: var(--zbl-gruen-2);
}

@media (max-width: 700px) {
  .termin__fields { grid-template-columns: 1fr; }
  .termin__inputs-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background-color: var(--zbl-grau-2);
  color: var(--zbl-schwarz-2);
  padding: 60px 0 40px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.site-footer__logo img {
  height: auto;
  width: 200px;
  margin-bottom: 24px;
}

.site-footer__cta {
  margin-top: 8px;
  width: 200px;
}

.site-footer__doctor {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  color: var(--zbl-schwarz-2);
  margin-bottom: 24px;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  font-size: 15px;
  color: var(--zbl-schwarz-2);
}

.site-footer__heading {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--spacer));
}

.site-footer__links li {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-footer__links a {
  color: var(--zbl-schwarz-2);
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-footer__links a:hover {
  transform: translateY(-4px);
  opacity: 0.7;
}

.site-footer__contacts a {
  color: var(--zbl-schwarz-2);
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-footer__contacts a:hover {
  transform: translateY(-4px);
  opacity: 0.7;
}

.site-footer__instagram {
  display: inline-block;
  margin-top: 28px;
}

.site-footer__instagram img {
  width: 36px;
  height: 36px;
  display: block;
}

.site-footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-top: 24px;
  font-size: var(--fs-btn);
  font-weight: 600;
  color: var(--zbl-schwarz-2);
}

.site-footer__social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.site-footer__social img {
  width: 30px;
  height: 30px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.site-footer__social a:hover img {
  opacity: 1;
}

@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__contacts {
    align-items: center;
  }

  .site-footer__links {
    align-items: center;
  }

  .site-footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    text-align: center;
  }
}

/* ============================================
   360px Minimum-Breakpoint
   ============================================ */
@media (max-width: 400px) {
  :root {
    --padding-x:      16px;
    --space-section:  48px;
    --space-content:  32px;
    --fs-h1:          24px;
    --fs-h2:          24px;
    --fs-h3:          18px;
    --fs-body:        15px;
    --lh-body:        18px;
  }

  .team-card__info {
    margin-top: 16px; 
  }

  /* Buttons nebeneinander – auf kleinen Screens untereinander */
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn--primary,
  .btn--light,
  .btn--dark {
    min-width: 0;
    width: fit-content;
  }

  /* Hero-Bild auf kleinen Phones weniger hoch */
  .hero__right {
    flex: 0 0 200px;
  }

  /* Team-Bilder etwas kleiner */
  .team-card__image,
  .team-card__placeholder {
    height: 260px;
  }

  /* Impressionen-Grid: kleinere Zeilenhöhe */
  .impressionen-grid {
    grid-auto-rows: 200px;
    gap: 12px;
  }

  /* Formular: kein doppeltes Grid nötig */
  .termin__fields,
  .termin__inputs-grid {
    grid-template-columns: 1fr;
  }

  /* Footer: weniger Gap */
  .site-footer__inner {
    gap: 32px;
  }
}

/* ============================================
   Berg-Vektor Dekorator
   ============================================ */
.mountain-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.mountain-divider img {
  width: 100%;
  display: block;
}

/* Berg-Silhouette am Abschnittende */
.berg-divider {
  display: block;
  line-height: 0;
  margin-bottom: -1px; /* Pixel-Gap zwischen SVG und nächster Sektion verhindern */
}

.berg-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* ============================================
   Sektions-Hintergrundfarben (Panel-steuerbar)
   ============================================ */
.section--bg-gruen {
  background: linear-gradient(to bottom, var(--zbl-gruen-verlauf-von), var(--zbl-hell-gruen-1) 50%, var(--zbl-gruen-verlauf-zu));
}

.section--bg-weiss {
  background-color: var(--hwm-weiss);
}

.section--bg-weiss-2 {
  background-color: var(--zbl-weiss-2);
}

.section--bg-beige {
  background-color: var(--zbl-beige-2);
}
