/* =========================================================================
   Krug's Sonnenstudio – Relaunch 2026
   Mobile first. Breakpoints: 768px (Tablet), 1200px (Desktop).
   ========================================================================= */

/* -------------------------------------------------------------- Tokens -- */
:root {
  /* Marke */
  --gelb:          #FEED01;
  --gelb-dunkel:   #E0D000;
  --gruen:         #2A4222;
  --gruen-hell:    #6E8632;
  --gruen-dunkel:  #1D3515;

  /* Flächen und Text */
  --weiss:         #FFFFFF;
  --grau:          #F5F5F5;
  --grau-linie:    #E4E4E4;
  --tinte:         #2F2F2F;
  --text:          #626262;
  --text-leise:    #8C8C8C;
  --footer-bg:     #242A21;
  --auf-gelb:      #1A1A14;

  /* Typografie */
  --font-display:  'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-text:     'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Maße */
  --seitenrand:    20px;
  --max-breite:    1440px;
  --radius:        3px;
  --radius-karte:  4px;
  --abstand-sek:   56px;
  --kopfhoehe:     77px;   /* .header__zeile + die 3px gelbe Kante darunter */
  --schatten:      0 2px 10px rgba(26, 32, 20, 0.06);
  --schatten-hoch: 0 6px 20px rgba(26, 32, 20, 0.13);
}

@media (min-width: 768px) {
  :root { --seitenrand: 48px; --abstand-sek: 72px; --kopfhoehe: 89px; }
}

@media (min-width: 1200px) {
  :root { --seitenrand: 100px; --abstand-sek: 92px; --kopfhoehe: 99px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--kopfhoehe);
}

/* Scrollsperre für offenes Mobilmenü und offene Dialoge.
   Nur am body – dessen overflow wirkt auf den Viewport, solange html auf
   `visible` steht. So bleibt die Scrollposition erhalten (bei overflow:hidden
   am html setzt Chromium sie zurück) und der klebende Kopf steht weiter. */
body.ist-gesperrt { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

@media (min-width: 1200px) { body { font-size: 16px; } }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--tinte);
  letter-spacing: -0.2px;
  line-height: 1.15;
}

h1 { font-size: 40px; font-weight: 200; letter-spacing: -0.8px; }
h2 { font-size: 27px; }
h3 { font-size: 19px; font-weight: 500; }

@media (min-width: 768px) {
  h1 { font-size: 58px; letter-spacing: -1.2px; }
  h2 { font-size: 34px; }
  h3 { font-size: 21px; }
}

@media (min-width: 1200px) {
  h1 { font-size: 78px; letter-spacing: -1.5px; line-height: 0.98; }
  h2 { font-size: 40px; }
}

p { margin: 0; }

a {
  color: var(--gruen-hell);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--gruen); }

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

ul { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 500; color: var(--tinte); }

:focus-visible {
  outline: 3px solid var(--gruen-hell);
  outline-offset: 2px;
}

.visuell-versteckt {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--seitenrand);
  z-index: 100;
  background: var(--gelb);
  color: var(--auf-gelb);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------- Layout -- */
.seite { max-width: var(--max-breite); margin: 0 auto; }

.inhalt {
  padding-left: var(--seitenrand);
  padding-right: var(--seitenrand);
}

.sektion { padding-top: var(--abstand-sek); }

.sektion--band {
  margin-top: var(--abstand-sek);
  padding-top: var(--abstand-sek);
  padding-bottom: var(--abstand-sek);
}

.sektion__kopf {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sektion__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--text-leise);
}

.sektion__label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gelb);
  flex-shrink: 0;
}

.sektion__beisatz {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 200;
  color: var(--text-leise);
}

@media (min-width: 1200px) {
  .sektion__beisatz { font-size: 22px; }
}

/* -------------------------------------------------------------- Icons -- */
.icon {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--kraeftig { stroke-width: 1.8; }

/* ------------------------------------------------------------- Button -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 28px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.btn--gelb { background: var(--gelb); color: var(--auf-gelb); }
.btn--gelb:hover { background: var(--gelb-dunkel); color: var(--auf-gelb); }

.btn--voll { width: 100%; }

@media (min-width: 768px) {
  .btn--voll {
    width: auto;
    align-self: flex-end;
  }
}

/* ------------------------------------------------------------- Header -- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--weiss);
  transition: box-shadow 0.2s ease;
}

.header.ist-geschrollt { box-shadow: var(--schatten); }

.header::after {
  content: "";
  display: block;
  position: relative;
  z-index: 51;   /* auch über dem offenen Vollbildmenü */
  height: 3px;
  background: var(--gelb);
}

.header__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}

.header__logo { width: 148px; }

.header__aktionen {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__tel-kompakt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--gelb);
  color: var(--auf-gelb);
}

.header__tel-kompakt:hover { background: var(--gelb-dunkel); color: var(--auf-gelb); }

.header__menue-schalter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--tinte);
  cursor: pointer;
}

.header__menue-schalter[aria-expanded="true"] .icon-burger { display: none; }
.header__menue-schalter[aria-expanded="false"] .icon-schliessen { display: none; }

/* Das Vollbildmenü liegt im Kopf und damit in dessen Stapelkontext. Logo,
   Anrufknopf und Schalter müssen darüber bleiben, sonst deckt die weiße
   Menüfläche die Kopfzeile samt X ab. */
.header__zeile > a,
.header__tel-kompakt,
.header__menue-schalter {
  position: relative;
  z-index: 51;
}

.header__tel-voll { display: none; }

/* Navigation – mobil als Vollbild-Overlay, ab Tablet fest sichtbar.
   Der Kopf liegt mit z-index 60 darüber, Burger und X bleiben also bedienbar. */
.nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding-top: calc(var(--kopfhoehe) + 8px);
  background: var(--weiss);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  /* visibility ohne Dauer schalten: beim Öffnen sofort, beim Schließen erst
     nach dem Ausblenden. Mit `visibility 0.18s` kippt der Wert erst zur
     Hälfte der Zeit – ein focus() direkt nach dem Öffnen liefe ins Leere. */
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.nav.ist-offen {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.18s ease, visibility 0s linear 0s;
}

.nav__liste {
  display: flex;
  flex-direction: column;
  padding-left: var(--seitenrand);
  padding-right: var(--seitenrand);
}

.nav__link {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--grau-linie);
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tinte);
}

.nav__liste li:last-child .nav__link { border-bottom: 0; }

.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--gruen); }

@media (min-width: 768px) {
  .header__zeile { height: 86px; }
  .header__logo { width: 180px; }
  .header__menue-schalter { display: none; }
  .header__tel-kompakt { display: none; }

  .header__tel-voll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gelb);
    color: var(--auf-gelb);
    border-radius: var(--radius);
    padding: 13px 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.1px;
    white-space: nowrap;
  }

  .header__tel-voll:hover { background: var(--gelb-dunkel); color: var(--auf-gelb); }

  .nav {
    position: static;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
  }

  .nav__liste {
    flex-direction: row;
    gap: 26px;
    padding-left: 0;
    padding-right: 0;
  }

  .nav__link {
    padding: 6px 0;
    border-bottom: 0;
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .nav__link[aria-current="page"] {
    color: var(--tinte);
    border-bottom: 2px solid var(--gelb);
  }
}

@media (min-width: 1200px) {
  .header__zeile { height: 96px; }
  .header__logo { width: 208px; }
  .nav__liste { gap: 38px; }
  .nav__link { font-size: 13px; letter-spacing: 1.4px; }
  .header__tel-voll { font-size: 14px; padding: 14px 24px; letter-spacing: 1.2px; }
}

/* --------------------------------------------------------------- Hero -- */
.hero__bild-rahmen {
  position: relative;
  height: 470px;
  overflow: hidden;
}

.hero__bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__schleier {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(24, 38, 17, 0.06) 0%,
              rgba(24, 38, 17, 0.58) 55%,
              rgba(24, 38, 17, 0.90) 100%);
}

/* Absolut im vollbreiten Bildrahmen, aber im selben Raster wie .seite + .inhalt */
.hero__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  max-width: var(--max-breite);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--seitenrand);
  padding-right: var(--seitenrand);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__strich {
  width: 52px;
  height: 4px;
  background: var(--gelb);
}

.hero__titel { color: var(--weiss); }

.hero__untertitel {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* Band vollbreit, Logostreifen im Seitenraster */
.hero__partner {
  background: var(--grau);
  padding-top: 20px;
  padding-bottom: 20px;
}

.hero__partner-innen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.hero__partner img { width: 88px; }

@media (min-width: 768px) {
  .hero__bild-rahmen { height: 440px; }

  .hero__text {
    bottom: 40px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .hero__text-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
  }

  .hero__strich { width: 58px; }
  .hero__untertitel { font-size: 17px; }
  .hero__partner { padding-top: 22px; padding-bottom: 22px; }
  .hero__partner-innen { gap: 48px; }
  .hero__partner img { width: 118px; }
}

@media (min-width: 1200px) {
  .hero__bild-rahmen { height: 520px; }
  .hero__text { bottom: 56px; gap: 60px; }
  .hero__text-block { max-width: 720px; gap: 20px; }
  .hero__strich { width: 64px; }
  .hero__untertitel { font-size: 18px; max-width: 560px; }
  .hero__partner { padding-top: 28px; padding-bottom: 28px; }
  .hero__partner-innen { gap: 80px; }
  .hero__partner img { width: 136px; }
}

/* ----------------------------------------------------------- Über uns -- */
.willkommen {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.willkommen__logo { width: 230px; max-width: 100%; }

.willkommen__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 1200px) {
  .willkommen {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 32px;
    align-items: start;
  }

  .willkommen__kopf {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .willkommen__logo { width: 250px; }
  .willkommen__text { gap: 20px; }
}

/* ------------------------------------------------------------- Hybrid -- */
.hybrid {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hybrid__bilder {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hybrid__bild-gross { border-radius: var(--radius-karte); }

.hybrid__bild-klein {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.hybrid__inhalt {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.vorteile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px 24px;
}

.vorteile li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  line-height: 1.6;
}

.vorteile .icon { color: var(--gruen-hell); stroke-width: 2; margin-top: 3px; }

@media (min-width: 768px) {
  .hybrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
  }

  .hybrid__bild-klein { width: 62%; }
  .vorteile { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1200px) {
  .hybrid { gap: 40px; }
  .hybrid__bild-klein { width: 60%; }
  .hybrid__inhalt { gap: 26px; }
  .vorteile { gap: 14px 26px; }
}

/* -------------------------------------------------------------- Zahlen -- */
.zahlen {
  background: var(--gelb);
  padding-top: 44px;
  padding-bottom: 48px;
}

.zahlen__raster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 24px;
}

.zahl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.zahl .icon { color: var(--gruen); stroke-width: 1.4; }

.zahl__wert {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 200;
  line-height: 1;
  /* Gleich breite Ziffern, damit die Karten beim Hochzählen nicht zappeln */
  font-variant-numeric: tabular-nums;
  color: var(--gruen);
}

.zahl__bezeichnung {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(26, 26, 20, 0.62);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .zahlen__raster { grid-template-columns: repeat(4, 1fr); }
  .zahl__wert { font-size: 46px; }
}

@media (min-width: 1200px) {
  .zahlen { padding-top: 58px; padding-bottom: 62px; }
  .zahlen__raster { gap: 32px; }
  .zahl { gap: 14px; }
  .zahl__wert { font-size: 52px; }
  .zahl__bezeichnung { font-size: 13px; letter-spacing: 1.6px; }
}

/* ----------------------------------------------------------- Standorte -- */
.standorte { background: var(--grau); margin-top: 0; }

.standorte__kopf { gap: 14px; }

.standorte__hinweis {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 10px 16px;
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--gruen);
}

.standorte__hinweis .icon { color: var(--gruen-hell); }

.standorte__raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

.studio {
  position: relative;
  min-width: 0;   /* Rasterspalte darf schmaler werden als der längste Ortsname */
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-top: 3px solid var(--gruen);
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.studio:hover,
.studio:focus-within {
  transform: translateY(-2px);
  border-color: var(--gruen-hell);
  border-top-color: var(--gruen);
  box-shadow: var(--schatten-hoch);
}

/* Der Name trägt den Link, die aufgespannte Fläche macht die ganze Karte klickbar */
.studio__link { color: inherit; }

.studio__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-karte);
}

.studio:hover .studio__link { color: var(--gruen-hell); }

.studio__link:focus-visible { outline: none; }
.studio:focus-within { outline: 2px solid var(--gruen-hell); outline-offset: 2px; }

.studio__kopf {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 22px;   /* Platz für das Symbol in der Ecke */
}

/* Sitzt in der Ecke statt in der Kopfzeile – sonst zwingt es die
   Rasterspalten breiter, als bei 768px Platz ist. */
.studio__extern {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--text-leise);
  transition: color 0.18s ease;
}

.studio:hover .studio__extern { color: var(--gruen-hell); }

.studio__marke {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gelb);
  color: var(--auf-gelb);
}

.studio__name {
  min-width: 0;
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--gruen);
}

.studio__adresse {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.55;
}

.studio__trenner {
  height: 1px;
  background: var(--grau-linie);
}

.studio__zeit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gruen);
}

.studio__zeit .icon { color: var(--gruen-hell); }

@media (min-width: 768px) {
  .standorte__raster { grid-template-columns: repeat(3, 1fr); }
  .studio__name { font-size: 21px; }
}

@media (min-width: 1200px) {
  .standorte__kopf {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .standorte__kopf-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .standorte__titelzeile {
    display: flex;
    align-items: baseline;
    gap: 16px;
  }

  .standorte__hinweis { margin-top: 0; flex-shrink: 0; padding: 11px 18px; }
  .standorte__raster { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
  .studio { gap: 14px; padding: 26px 24px; }
  .studio__marke { width: 34px; height: 34px; }
  .studio__name { font-size: 22px; }
  .studio__adresse { font-size: 14px; line-height: 1.6; }
}

/* ------------------------------------------------------------- Bräunen -- */
.braeunen__spalten {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 30px;
}

.hinweisliste {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hinweisliste li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hinweisliste p { line-height: 1.7; }

.marke-nr {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
}

.marke-nr--gelb { background: var(--gelb); color: var(--auf-gelb); }
.marke-nr--gruen { background: var(--gruen); color: var(--weiss); }

.braeunen__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.braeunen__block--warnung {
  background: var(--grau);
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius-karte);
  padding: 24px 22px;
}

.braeunen__block-titel {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.braeunen__block-titel .icon { color: var(--gruen); margin-top: 2px; }

@media (min-width: 768px) {
  .braeunen__spalten { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1200px) {
  .braeunen__spalten { gap: 48px; margin-top: 40px; }
  .hinweisliste { gap: 18px; }
  .marke-nr { width: 30px; height: 30px; }
  .braeunen__block { gap: 22px; }
  .braeunen__block--warnung { padding: 30px 32px; }
  .braeunen__block-titel { align-items: center; }
  .braeunen__block-titel .icon { margin-top: 0; }
}

/* ----------------------------------------------------------- Hauttypen -- */
.hauttypen__einleitung {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hauttypen__lead { font-size: 15px; line-height: 1.75; }

.hauttypen__raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

.hauttyp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius-karte);
}

.hauttyp__kopf {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hauttyp__bild {
  width: 48px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.hauttyp__inhalt {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}

.hauttyp__titel {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  color: var(--tinte);
}

.hauttyp__merkmale { font-size: 14px; line-height: 1.6; }

.hauttyp__zeit {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--grau-linie);
}

.hauttyp__zeit-label {
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-leise);
}

.hauttyp__zeit-wert {
  font-size: 16px;
  font-weight: 500;
  color: var(--gruen-hell);
}

@media (min-width: 768px) {
  .hauttypen__raster { grid-template-columns: 1fr 1fr; }
  .hauttypen__lead { font-size: 17px; }
}

@media (min-width: 1200px) {
  .hauttypen__einleitung {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: start;
  }

  .hauttypen__einleitung-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hauttypen__raster { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }

  .hauttyp { gap: 16px; padding: 22px; }
  .hauttyp__kopf { gap: 16px; }
  .hauttyp__bild { width: 54px; }
  .hauttyp__titel { font-size: 22px; }

  .hauttyp__zeit {
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 14px;
  }

  .hauttyp__zeit-wert { font-size: 17px; }
}

/* ------------------------------------------------------------- Kontakt -- */
.kontakt__info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 24px;
  background: var(--gruen);
  border-radius: var(--radius-karte);
}

.kontakt__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gelb);
}

.kontakt__label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gelb);
  flex-shrink: 0;
}

.kontakt__titel { color: var(--weiss); }

.kontakt__adresse {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kontakt__firma {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--weiss);
}

.kontakt__adresse span:not(.kontakt__firma) {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.kontakt__trenner {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.kontakt__daten {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kontakt__zeile {
  display: flex;
  gap: 11px;
  align-items: center;
}

.kontakt__zeile .icon { color: var(--gelb); }

.kontakt__zeile-text {
  display: flex;
  flex-direction: column;
}

.kontakt__zeile-label {
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.kontakt__zeile-wert { font-size: 16px; color: var(--weiss); }

a.kontakt__zeile-wert:hover { color: var(--gelb); }

/* Ab Tablet steht die Anschrift links, die Kontaktzeilen rechts daneben; der
   Trenner kippt dazu von der waagrechten Linie auf die senkrechte. */
@media (min-width: 768px) {
  .kontakt__info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: start;
    column-gap: 44px;
    row-gap: 18px;
  }

  .kontakt__label   { grid-column: 1; grid-row: 1; }
  .kontakt__titel   { grid-column: 1; grid-row: 2; }
  .kontakt__adresse { grid-column: 1; grid-row: 3; }

  .kontakt__trenner {
    grid-column: 2;
    grid-row: 1 / -1;
    width: 1px;
    height: auto;
    align-self: stretch;
  }

  .kontakt__daten {
    grid-column: 3;
    grid-row: 1 / -1;
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  .kontakt__info { row-gap: 22px; column-gap: 60px; padding: 40px 38px; }
  .kontakt__firma { font-size: 20px; }
  .kontakt__adresse span:not(.kontakt__firma) { font-size: 16px; line-height: 1.7; }
  .kontakt__daten { gap: 18px; }
}

/* -------------------------------------------------------------- Footer -- */
.footer {
  margin-top: var(--abstand-sek);
  background: var(--footer-bg);
  padding-top: 40px;
  padding-bottom: 34px;
}

.footer__innen {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer__partner img { width: 110px; }

.footer__trenner {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.footer__zeile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.footer__copyright,
.footer__links a {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer__links a:hover { color: var(--gelb); }

@media (min-width: 768px) {
  .footer__partner { gap: 56px; }
  .footer__partner img { width: 140px; }
  .footer__zeile { flex-direction: row; align-items: center; }
}

@media (min-width: 1200px) {
  .footer { padding-top: 56px; padding-bottom: 44px; }
  .footer__innen { gap: 40px; }
  .footer__partner { gap: 72px; }
  .footer__partner img { width: 160px; }
  .footer__links { gap: 28px; }
}

/* ------------------------------------------------------------- Dialoge -- */
/* Textknopf, der wie ein Link aussieht (Impressum, Datenschutz) */
.footer__rechtslink {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: var(--gruen-hell);
  cursor: pointer;
  transition: color 0.2s;
}

.footer__rechtslink {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer__rechtslink:hover { color: var(--gelb); }

.modal {
  width: min(760px, calc(100vw - 2 * var(--seitenrand)));
  max-height: min(86vh, 860px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-karte);
  background: var(--weiss);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(26, 32, 20, 0.28);
  overflow: hidden;
}

.modal::backdrop {
  background: rgba(26, 32, 20, 0.62);
}

.modal__kasten {
  display: flex;
  flex-direction: column;
  max-height: inherit;
}

.modal__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--modal-rand, 24px);
  border-bottom: 1px solid var(--grau-linie);
  background: var(--grau);
}

.modal__titel {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--tinte);
}

.modal__schliessen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--tinte);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal__schliessen:hover {
  background: var(--weiss);
  color: var(--gruen);
}

.modal__inhalt {
  padding: 24px var(--modal-rand, 24px) 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 14px;
  line-height: 1.75;
}

.modal__inhalt h3 {
  margin: 26px 0 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--tinte);
}

.modal__inhalt h3:first-child { margin-top: 0; }

.modal__inhalt p { margin: 0 0 12px; }

.modal__daten {
  margin: 0 0 8px;
  display: grid;
  gap: 2px 20px;
}

.modal__daten dt {
  font-weight: 500;
  color: var(--tinte);
}

.modal__daten dd {
  margin: 0 0 10px;
}

.modal__stand {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-leise);
}

@media (min-width: 768px) {
  .modal { --modal-rand: 36px; }
  .modal__titel { font-size: 24px; }
  .modal__daten {
    grid-template-columns: 220px 1fr;
  }
  .modal__daten dd { margin-bottom: 2px; }
}

/* --------------------------------------- Verschleierte Kontaktdaten -- */
/* E-Mail und Telefon stehen kodiert im Markup; main.js setzt Text und href.
   Ohne JavaScript bleibt dieser Platzhalter stehen statt eines leeren Links. */
.krypt-platzhalter {
  font-style: italic;
  color: var(--text-leise);
}

a[data-kontakt]:not([href]) { cursor: default; }

/* --------------------------------------------------------------- Druck -- */
@media print {
  .header__aktionen,
  .nav,
  .hero__schleier,
  .skip-link,
  .modal { display: none; }

  body { color: #000; font-size: 11pt; }
  .zahlen, .standorte, .footer { background: none; }
  .footer__copyright, .footer__links a { color: #000; }
  .studio { box-shadow: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  /* Die Kurzlinks der Standortkarten sind gedruckt wertlos */
  .studio__link[href^="http"]::after { content: none; }
}
