/* =========================================================
   Head Spa Wellness — Stylesheet
   Portal-Design: kräftiges Blau, weiße Flächen, klare Karten,
   viel Weißraum. Schriften lokal (Inter + Plus Jakarta Sans),
   keine externen Requests.
   ========================================================= */

/* ---------- Schriften (lokal, variable woff2) ----------- */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Marken-Token -------------------------------- */

:root {
  /* Blau */
  --blau-900: #0A3844;
  --blau-800: #0C4A57;
  --blau-700: #0D5F73;
  --blau-600: #0E7490;   /* Primärfarbe */
  --blau-500: #1591B4;
  --blau-200: #B3DEE8;
  --blau-100: #D6EDF3;
  --blau-50:  #EEF7F9;

  /* Akzent Premium */
  --gold-700: #8A5A00;
  --gold-600: #A97910;
  --gold-500: #D8A93F;
  --gold-400: #E0B451;
  --gold-300: #E7C06A;
  --gold-200: #F0DCB2;
  --gold-100: #F7E3AE;
  --gold-50:  #FCF3DF;
  --gold-text:  #3F2D06;   /* Fließtext auf goldener Fläche */
  --gold-leise: #6B5320;   /* Sekundärtext auf goldener Fläche */
  --gold-flaeche: linear-gradient(138deg, #FFF6DC 0%, #FBE9BE 48%, #F3DA9E 100%);
  --schatten-gold: 0 1px 2px rgba(138, 90, 0, .10), 0 8px 22px rgba(138, 90, 0, .14);

  /* Signal */
  --gruen-700: #146145;
  --gruen-500: #1E9366;
  --gruen-50:  #E4F5EC;
  --rot-700:   #9C2F1B;
  --rot-50:    #FCEBE6;

  /* Neutral */
  --weiss:      #FFFFFF;
  --flaeche:    #F4F6FA;
  --flaeche-2:  #EBEFF6;
  --linie:      #E0E5EE;
  --linie-fest: #C3CCDB;
  --text:       #101B2D;
  --text-2:     #3A4658;
  --leise:      #5E6B7E;

  /* Schatten (blaustichig, sehr dezent) */
  --schatten-s: 0 1px 2px rgba(10, 31, 68, .06);
  --schatten-m: 0 1px 2px rgba(10, 31, 68, .05), 0 6px 16px rgba(10, 31, 68, .07);
  --schatten-l: 0 2px 6px rgba(10, 31, 68, .06), 0 16px 40px rgba(10, 31, 68, .10);
  --schatten-blau: 0 2px 6px rgba(14, 116, 144, .18), 0 10px 24px rgba(14, 116, 144, .16);
  --ring: 0 0 0 3px rgba(14, 116, 144, .22);

  /* Radien */
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;
  --r-xl: 26px;
  --r-pille: 999px;

  /* Abstände */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 32px; --sp-8: 40px;
  --sp-9: 56px; --sp-10: 76px;

  /* Schrift */
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --kopf-hoehe: 66px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--flaeche);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "cv05" 1, "ss03" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

a {
  color: var(--blau-600);
  text-decoration-color: rgba(14, 116, 144, .32);
  text-underline-offset: 3px;
  transition: color .14s ease, text-decoration-color .14s ease;
}
a:hover { color: var(--blau-700); text-decoration-color: currentColor; }

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

:focus-visible {
  outline: 2px solid var(--blau-600);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.021em;
  color: var(--text);
  margin: 0 0 .5em;
}
h1 { font-weight: 800; letter-spacing: -0.032em; text-wrap: balance; }
h2, h3 { text-wrap: pretty; }

p { margin: 0 0 1em; }

strong, b { font-weight: 600; }

.wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }
.wrap-schmal { width: min(760px, 100% - 48px); margin-inline: auto; }

.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blau-600); color: #fff; padding: 10px 18px;
  border-radius: var(--r-s); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Kopfzeile ----------------------------------- */

.kopf {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  height: var(--kopf-hoehe);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
}

.marke {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 19px; font-weight: 800;
  color: var(--blau-800); text-decoration: none; letter-spacing: -0.03em;
  white-space: nowrap;
}
.marke:hover { color: var(--blau-600); }
.marke__ring { flex: none; display: block; color: var(--blau-600); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-s);
  font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none;
  transition: background .14s ease, color .14s ease;
}
.nav a:hover { background: var(--blau-50); color: var(--blau-700); }
.nav a[aria-current="page"] {
  color: var(--blau-700); font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--blau-600); border-radius: var(--r-s) var(--r-s) 0 0;
}
.nav .nav__cta {
  background: var(--blau-600); color: #fff; font-weight: 600;
  margin-left: 10px; padding: 10px 18px; border-radius: var(--r-s);
  box-shadow: none;
}
.nav .nav__cta:hover { background: var(--blau-700); color: #fff; }
.nav .nav__cta[aria-current="page"] { box-shadow: none; color: #fff; }

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

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 140% at 88% 12%, rgba(42, 107, 226, .55) 0%, rgba(42, 107, 226, 0) 58%),
    linear-gradient(158deg, var(--blau-800) 0%, var(--blau-700) 52%, var(--blau-800) 100%);
  color: #fff;
}
.hero__ringe {
  position: absolute; left: -190px; bottom: -300px;
  width: 620px; height: 620px; pointer-events: none;
  color: #fff; opacity: .10;
}
.hero__innen {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: var(--sp-9); align-items: center;
  padding: var(--sp-9) 0 var(--sp-9);
}
.hero__text { max-width: 620px; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 1.35rem + 2.5vw, 3.15rem);
  line-height: 1.08;
  margin-bottom: var(--sp-4);
}
.hero__lead {
  font-size: 1.09rem; line-height: 1.6; color: var(--blau-100);
  max-width: 46ch; margin: 0 0 var(--sp-7);
}

.augenbraue {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blau-600);
  margin: 0 0 var(--sp-4);
}
.augenbraue::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .augenbraue { color: var(--blau-200); }

/* Hero-Bild */
.hero__bild {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(7, 31, 76, .45);
  aspect-ratio: 16 / 11;
}
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }

/* Suchleiste */
.suche {
  display: flex; gap: var(--sp-2); align-items: stretch;
  background: #fff; padding: 7px; border-radius: var(--r-l);
  box-shadow: var(--schatten-l);
  max-width: 640px;
}
.suche__feld { position: relative; flex: 1 1 auto; display: flex; align-items: center; }
.suche__feld svg {
  position: absolute; left: 16px; color: var(--leise); pointer-events: none;
}
.suche input[type="search"] {
  width: 100%; border: 0; background: transparent; font: inherit; color: var(--text);
  padding: 14px 14px 14px 46px; border-radius: var(--r-m);
  -webkit-appearance: none; appearance: none;
}
.suche input[type="search"]::placeholder { color: #8A94A6; }
.suche input[type="search"]:focus { outline: none; }
.suche__feld:focus-within { background: var(--blau-50); border-radius: var(--r-m); }
.suche__feld:focus-within svg { color: var(--blau-600); }

/* Kennzahlenzeile unter der Suche */
.hero__zahlen {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6);
  margin: var(--sp-5) 0 0; padding: 0; list-style: none;
  font-size: 14.5px; color: var(--blau-100);
}
.hero__zahlen li { display: inline-flex; align-items: center; gap: 8px; }
.hero__zahlen li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blau-200); flex: none;
}
.hero__zahlen strong { color: #fff; font-weight: 700; }

/* Städte-Schnellwahl */
.schnellwahl {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-6); font-size: 14px;
}
.schnellwahl__label { color: var(--blau-200); margin-right: var(--sp-1); }
.stadt-pille {
  padding: 6px 14px; border-radius: var(--r-pille);
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background .14s ease, border-color .14s ease;
}
.stadt-pille:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .4); color: #fff; }
.stadt-pille span { color: var(--blau-200); font-size: 13px; font-weight: 400; }

/* Kompakte Variante auf Ergebnisseiten */
.hero--kompakt .hero__innen {
  grid-template-columns: 1fr; padding: var(--sp-7) 0 var(--sp-8);
}
.hero--kompakt .hero__text { max-width: none; }
.hero--kompakt h1 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); margin-bottom: var(--sp-5); }
.hero--kompakt .hero__ringe { display: none; }

/* ---------- Knöpfe -------------------------------------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--r-m);
  padding: 14px 26px; background: var(--blau-600); color: #fff;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
  transition: background .14s ease, box-shadow .14s ease, transform .1s ease;
}
.knopf:hover { background: var(--blau-700); color: #fff; box-shadow: var(--schatten-blau); }
.knopf:active { transform: translateY(1px); box-shadow: none; }
.knopf--leise {
  background: #fff; color: var(--blau-700); border-color: var(--linie-fest);
}
.knopf--leise:hover {
  background: var(--blau-50); color: var(--blau-700);
  border-color: var(--blau-200); box-shadow: var(--schatten-s);
}
.knopf--breit { width: 100%; }

/* ---------- Ergebnisleiste ------------------------------ */

.ergebnisse { padding-bottom: var(--sp-10); }

.leiste {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: var(--sp-7) 0 var(--sp-5);
}
.leiste__zahl { font-size: 15px; color: var(--leise); margin: 0; }
.leiste__zahl strong { color: var(--text); font-weight: 700; }

.filter { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.filter__chip {
  padding: 8px 16px; border-radius: var(--r-pille); font-size: 14px; font-weight: 500;
  background: #fff; border: 1px solid var(--linie);
  color: var(--text-2); text-decoration: none; cursor: pointer;
  font-family: inherit; line-height: 1.3;
  transition: border-color .14s ease, color .14s ease, background .14s ease;
}
.filter__chip:hover { border-color: var(--blau-200); background: var(--blau-50); color: var(--blau-700); }
.filter__chip[aria-pressed="true"], .filter__chip.ist-aktiv {
  background: var(--blau-600); border-color: var(--blau-600); color: #fff; font-weight: 600;
}
.filter__chip.ist-aktiv:hover { background: var(--blau-700); border-color: var(--blau-700); color: #fff; }

/* ---------- Split-View ---------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) 1.1fr;
  gap: var(--sp-6);
  align-items: start;
}

.trefferliste {
  max-height: calc(100vh - var(--kopf-hoehe) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 10px 2px 2px;
  margin: -2px -10px -2px -2px;
  display: flex; flex-direction: column; gap: var(--sp-3);
  scrollbar-width: thin;
  scrollbar-color: var(--linie-fest) transparent;
}
.trefferliste::-webkit-scrollbar { width: 8px; }
.trefferliste::-webkit-scrollbar-thumb { background: var(--linie-fest); border-radius: 4px; }
/* Karten dürfen in der scrollenden Spalten-Flexbox nicht zusammengestaucht werden
   (Karten mit overflow:hidden verlieren sonst ihre automatische Mindesthöhe). */
.trefferliste .karte-treffer { flex: 0 0 auto; }

/* Ergebnis-Karte */
.karte-treffer {
  position: relative; display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--r-m); padding: var(--sp-5) var(--sp-5);
  box-shadow: var(--schatten-s);
  transition: border-color .14s ease, box-shadow .14s ease;
  text-align: left; font: inherit; width: 100%; cursor: pointer;
}
.karte-treffer:hover {
  border-color: var(--blau-200); box-shadow: var(--schatten-m); color: inherit;
}
.karte-treffer.ist-gewaehlt {
  border-color: var(--blau-600); box-shadow: var(--schatten-m);
  background: var(--blau-50);
}
/* Signatur: blaue Kante am gewählten Eintrag */
.karte-treffer.ist-gewaehlt::before {
  content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 3px;
  background: var(--blau-600); border-radius: 0 3px 3px 0;
}
/* Premium-Kachel: komplette Fläche in warmem Gold, damit sie in der Liste
   sofort heraussticht (Vorbild: hervorgehobene Anzeigen bei Indeed/Airbnb). */
.karte-treffer.ist-premium {
  background: var(--gold-flaeche);
  border-color: var(--gold-400);
  box-shadow: var(--schatten-gold);
}
.karte-treffer.ist-premium:hover {
  border-color: var(--gold-600);
  box-shadow: 0 2px 4px rgba(138, 90, 0, .14), 0 12px 30px rgba(138, 90, 0, .18);
}
/* Gewählt: Gold bleibt, dazu die blaue Signaturkante */
.karte-treffer.ist-premium.ist-gewaehlt {
  border-color: var(--blau-600);
  background: var(--gold-flaeche);
  box-shadow: var(--schatten-gold);
}
.karte-treffer.ist-premium .karte-treffer__ort { color: var(--gold-leise); }
.karte-treffer.ist-premium:hover h3 { color: var(--gold-700); }

/* Foto in der Premium-Kachel (Konvention assets/img/premium/<slug>.jpg) */
.karte-treffer.hat-bild {
  display: flex; align-items: stretch; padding: 0; overflow: hidden;
}
.karte-treffer__bild {
  flex: none; width: clamp(104px, 30%, 138px);
  background: var(--gold-200);
  border-right: 1px solid rgba(138, 90, 0, .18);
}
.karte-treffer__bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-treffer.hat-bild .karte-treffer__inhalt {
  flex: 1 1 auto; min-width: 0; padding: var(--sp-5);
}

.karte-treffer h3 {
  font-family: var(--display); font-size: 1.04rem; font-weight: 700;
  letter-spacing: -0.017em; line-height: 1.34; margin: 0 0 3px; color: var(--text);
}
.karte-treffer:hover h3 { color: var(--blau-700); }
.karte-treffer__ort {
  font-size: 14px; color: var(--leise); margin: 0 0 var(--sp-3);
  display: flex; align-items: center; gap: 6px;
}
.karte-treffer__chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Chips --------------------------------------- */

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 500; line-height: 1; padding: 6px 11px;
  border-radius: var(--r-pille); white-space: nowrap;
  background: var(--flaeche-2); color: var(--text-2);
}
.chip--typ { background: var(--blau-100); color: var(--blau-800); font-weight: 600; }
.chip--buchbar { background: var(--gruen-50); color: var(--gruen-700); font-weight: 600; }
.chip--buchbar::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gruen-500);
}
.chip--premium {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: var(--gold-text); font-weight: 700;
  letter-spacing: .015em; text-transform: uppercase; font-size: 11.5px;
  box-shadow: inset 0 0 0 1px rgba(138, 90, 0, .38);
}
.chip--premium::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-text);
}

/* Neutrale Chips (PLZ) auf goldener Fläche warm statt blaustichig */
.karte-treffer.ist-premium .chip--plz,
.premium-flaeche .chip--plz,
.ist-premium-profil .chip--plz {
  background: rgba(255, 255, 255, .72); color: var(--gold-text);
  box-shadow: inset 0 0 0 1px rgba(138, 90, 0, .20);
}

/* ---------- Premium-Kennzeichnung im Detail --------------- */

.premium-band {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 var(--sp-4); padding: 6px 13px 6px 10px;
  border-radius: var(--r-pille);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  box-shadow: inset 0 0 0 1px rgba(138, 90, 0, .38);
  color: var(--gold-text);
  font-size: 12px; font-weight: 700; line-height: 1;
  letter-spacing: .09em; text-transform: uppercase;
}
.premium-band svg { flex: none; }

/* Goldene Fläche im Detail-Panel — randlos bis an die Panel-Kanten */
.panel .premium-flaeche {
  margin: calc(-1 * var(--sp-7)) calc(-1 * var(--sp-7)) calc(-1 * var(--sp-8));
  padding: var(--sp-7) var(--sp-7) var(--sp-8);
  background: var(--gold-flaeche);
  border-bottom: 3px solid var(--gold-400);
  border-radius: var(--r-l) var(--r-l) 0 0;
}
.premium-flaeche .karte-treffer__ort,
.ist-premium-profil .karte-treffer__ort { color: var(--gold-leise); }
.premium-flaeche .panel__text p,
.ist-premium-profil .panel__text p { color: var(--gold-text); }
.premium-flaeche .panel__text h3,
.premium-flaeche .panel__weiter h3,
.ist-premium-profil .panel__text h3,
.ist-premium-profil .panel__weiter h3,
.ist-premium-profil .seiten-titel { color: var(--gold-leise); }
.premium-flaeche .daten,
.ist-premium-profil .daten { border-color: rgba(138, 90, 0, .22); background: rgba(138, 90, 0, .22); }
.premium-flaeche .knopf--leise,
.ist-premium-profil .knopf--leise { border-color: var(--gold-400); }

/* Einzelseite: goldene Kennzeichnung der Hauptspalte */
.profil__haupt.ist-premium-profil {
  background: var(--gold-flaeche);
  border-color: var(--gold-400);
  box-shadow: var(--schatten-gold);
}
.ist-premium-profil .panel__weiter { border-top-color: rgba(138, 90, 0, .22); }
.ist-premium-profil .panel__weiter a {
  background: rgba(255, 255, 255, .66); border-color: rgba(138, 90, 0, .20);
  color: var(--gold-text);
}
.ist-premium-profil .panel__weiter a:hover {
  background: #fff; border-color: var(--gold-500); color: var(--gold-700);
}

/* Foto im Detail (Panel und Einzelseite) */
.premium-foto {
  margin: 0 0 var(--sp-5); border-radius: var(--r-m); overflow: hidden;
  background: var(--gold-200); aspect-ratio: 16 / 9;
  box-shadow: 0 1px 2px rgba(138, 90, 0, .12);
}
.premium-foto img { width: 100%; height: 100%; object-fit: cover; }
.premium-foto--breit { aspect-ratio: 16 / 9; margin-bottom: var(--sp-6); }

/* ---------- Detail-Panel -------------------------------- */

.panel {
  position: sticky; top: calc(var(--kopf-hoehe) + 16px);
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--r-l); box-shadow: var(--schatten-m);
  min-height: 460px; max-height: calc(100vh - var(--kopf-hoehe) - 40px);
  overflow-y: auto; padding: var(--sp-7) var(--sp-7) var(--sp-8);
}
.panel__leer {
  height: 100%; min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--leise); gap: 4px;
}
.panel__leer svg { color: var(--blau-200); margin-bottom: var(--sp-3); }
.panel__leer p { margin: 0; max-width: 34ch; font-size: 15px; }
.panel__leer strong { color: var(--text); font-weight: 700; display: block; font-size: 17px; margin-bottom: 6px; }

.panel h2 {
  font-size: clamp(1.4rem, 1.1rem + .9vw, 1.8rem); margin: 0 0 6px;
}
.panel__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--sp-6); }

.daten {
  display: grid; gap: 1px; background: var(--linie);
  border: 1px solid var(--linie); border-radius: var(--r-m);
  overflow: hidden; margin-bottom: var(--sp-6);
}
.daten__zeile {
  display: grid; grid-template-columns: 116px 1fr; gap: var(--sp-4);
  background: #fff; padding: 13px 16px; font-size: 15px;
}
.daten__label { color: var(--leise); font-size: 13.5px; padding-top: 1px; }
.daten__wert { word-break: break-word; }

.panel__aktionen { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }

.panel__text h3, .panel__weiter h3, .seiten-titel {
  font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--leise); margin: 0 0 var(--sp-2);
}
.panel__text p { margin: 0 0 var(--sp-3); font-size: 15px; color: var(--text-2); }
.panel__quelle { font-size: 13.5px; color: var(--leise); }

.panel__weiter { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--linie); }
.panel__weiter h3 { margin-bottom: var(--sp-3); }
.panel__weiter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.panel__weiter a {
  display: inline-block; padding: 6px 13px; border-radius: var(--r-pille);
  background: var(--flaeche); border: 1px solid var(--linie);
  font-size: 14px; text-decoration: none; color: var(--text-2);
}
.panel__weiter a:hover { background: var(--blau-50); border-color: var(--blau-200); color: var(--blau-700); }

.leer-hinweis {
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--r-l); padding: var(--sp-9) var(--sp-6);
  text-align: center; color: var(--leise); box-shadow: var(--schatten-s);
  margin-bottom: var(--sp-10);
}
.leer-hinweis strong {
  display: block; color: var(--text); font-size: 19px; margin-bottom: 6px;
  font-family: var(--display); font-weight: 700;
}
.leer-hinweis p { max-width: 46ch; margin-inline: auto; }

/* ---------- Inhaltsseiten ------------------------------- */

.inhalt { padding: var(--sp-8) 0 var(--sp-10); }
.inhalt__karte {
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--r-l); padding: clamp(26px, 4vw, 56px);
  box-shadow: var(--schatten-m);
}
.inhalt h1 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.7rem); margin-bottom: var(--sp-3); }
.inhalt h2 { font-size: 1.5rem; margin-top: 1.9em; }
.inhalt h2:first-of-type { margin-top: 1.2em; }
.inhalt h3 { font-size: 1.06rem; font-weight: 700; margin-top: 1.7em; margin-bottom: .4em; }
.inhalt p { margin: 0 0 1.1em; color: var(--text-2); }
.inhalt ul, .inhalt ol { margin: 0 0 1.4em; padding-left: 1.25em; color: var(--text-2); }
.inhalt li { margin-bottom: .5em; }
.inhalt li::marker { color: var(--blau-500); font-weight: 600; }
.inhalt__lead {
  font-size: 1.14rem; line-height: 1.6; color: var(--text-2);
  margin-bottom: 1.7em;
}

/* Bild in Inhaltsseiten */
.inhalt__bild {
  margin: 0 0 2em; border-radius: var(--r-m); overflow: hidden;
  background: var(--flaeche-2);
}
.inhalt__bild img {
  width: 100%; height: 100%;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: center 58%;
}
.inhalt__bild figcaption {
  font-size: 13.5px; color: var(--leise); padding: 10px 2px 0;
}

.zitatband {
  border-left: 3px solid var(--blau-600); padding: 2px 0 2px 22px;
  margin: 1.9em 0; color: var(--text);
  font-family: var(--display); font-weight: 500;
  font-size: 1.22rem; line-height: 1.5; letter-spacing: -0.015em;
}

.faktenbox {
  background: var(--blau-50); border: 1px solid var(--blau-100);
  border-radius: var(--r-m); padding: var(--sp-6) var(--sp-6); margin: 1.9em 0;
}
.faktenbox h3 { margin-top: 0; font-size: .95rem; color: var(--blau-800); }
.faktenbox dl {
  display: grid; grid-template-columns: auto 1fr; gap: 9px var(--sp-5);
  margin: 0; font-size: 15px;
}
.faktenbox dt { color: var(--blau-800); font-weight: 600; }
.faktenbox dd { margin: 0; color: var(--text-2); }

/* Teaser-Karte mit Bild (Studio eintragen) */
.teaser {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: var(--r-l); overflow: hidden; margin-bottom: var(--sp-7);
  background: var(--blau-800);
}
.teaser__bild { aspect-ratio: 21 / 8; overflow: hidden; }
.teaser__bild img { width: 100%; height: 100%; object-fit: cover; }
.teaser__text { padding: var(--sp-6) var(--sp-7); color: var(--blau-100); }
.teaser__text h2 {
  color: #fff; font-size: 1.25rem; margin: 0 0 6px;
}
.teaser__text p { margin: 0; font-size: 15px; color: var(--blau-100); }

.platzhalter-hinweis {
  background: var(--gold-50); border: 1px solid var(--gold-300);
  border-radius: var(--r-m); padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-7);
  color: var(--gold-700); font-size: 14.5px;
}
.platzhalter-hinweis strong { font-weight: 700; }
mark.platzhalter {
  background: var(--gold-50); color: var(--gold-700);
  padding: 1px 6px; border-radius: 4px; font-weight: 600;
}

/* ---------- Preis-Pakete (Studio eintragen) -------------- */

.preis-claim {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px var(--sp-3);
  background: var(--blau-50); border: 1px solid var(--blau-100);
  border-radius: var(--r-m); padding: var(--sp-4) var(--sp-5);
  margin: 0 0 var(--sp-6); font-size: 15.5px; color: var(--blau-800);
}
.preis-claim strong { font-weight: 700; }

.pakete {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5);
  margin: 0 0 var(--sp-7);
}
.paket {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r-m);
  padding: var(--sp-6); box-shadow: var(--schatten-s);
  display: flex; flex-direction: column;
}
.paket--premium {
  background: var(--gold-flaeche); border-color: var(--gold-400);
  box-shadow: var(--schatten-gold);
}
.paket__kopf {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); margin-bottom: var(--sp-2);
}
.inhalt .paket__name {
  font-family: var(--display); font-size: 1.18rem; font-weight: 700;
  margin: 0; color: var(--text);
}
.inhalt .paket__preis {
  font-family: var(--display); font-size: 1.95rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text); margin: 0 0 var(--sp-1);
}
.inhalt .paket__preis span {
  font-family: var(--ui); font-size: .95rem; font-weight: 500; letter-spacing: 0;
  color: var(--leise);
}
.paket--premium .paket__preis span { color: var(--gold-leise); }
.inhalt .paket__zeile { font-size: 14.5px; color: var(--leise); margin: 0 0 var(--sp-4); }
.paket--premium .paket__zeile { color: var(--gold-leise); }

.inhalt .paket__liste {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px; font-size: 15px; color: var(--text-2);
}
.paket--premium .paket__liste { color: var(--gold-text); }
.inhalt .paket__liste li { position: relative; padding-left: 27px; margin: 0; }
.inhalt .paket__liste li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--blau-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.2l2.3 2.3 4.9-5' fill='none' stroke='%230D5F73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.paket--premium .paket__liste li::before {
  background-color: var(--gold-300);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.2l2.3 2.3 4.9-5' fill='none' stroke='%233F2D06' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Beispiel-Kachel (Studio eintragen) ----------- */

.beispiel { margin: 0 0 var(--sp-7); }
.beispiel__buehne {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-m); padding: var(--sp-5);
  display: grid; gap: var(--sp-3);
}
.karte-treffer--beispiel { cursor: default; }
.karte-treffer--beispiel:hover { box-shadow: var(--schatten-s); }
.karte-treffer--beispiel.ist-premium:hover {
  border-color: var(--gold-400); box-shadow: var(--schatten-gold);
}
.beispiel .karte-treffer:hover h3 { color: var(--text); }
.beispiel .karte-treffer h3 {
  font-family: var(--display); font-size: 1.04rem; font-weight: 700;
  margin: 0 0 3px; color: var(--text);
}
.beispiel .karte-treffer__ort {
  margin: 0 0 var(--sp-3); font-size: 14px; color: var(--leise);
}
.beispiel .ist-premium .karte-treffer__ort { color: var(--gold-leise); }
.inhalt .beispiel__hinweis {
  font-size: 13.5px; color: var(--leise); margin: var(--sp-3) 0 0;
}

/* ---------- Formular ------------------------------------ */

.formular { display: grid; gap: var(--sp-5); }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-size: 14px; font-weight: 600; color: var(--text); }
.feld label .optional { font-weight: 400; color: var(--leise); }
.feld input, .feld textarea {
  font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--linie-fest); border-radius: var(--r-s);
  padding: 12px 14px; width: 100%;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.feld input::placeholder, .feld textarea::placeholder { color: #98A2B2; }
.feld input:hover, .feld textarea:hover { border-color: var(--blau-200); }
.feld input:focus, .feld textarea:focus {
  outline: none; border-color: var(--blau-600); box-shadow: var(--ring);
}
.feld textarea { min-height: 132px; resize: vertical; }
.feld__hinweis { font-size: 13.5px; color: var(--leise); }
.feld--falle { position: absolute; left: -9999px; opacity: 0; }

.meldung {
  border-radius: var(--r-m); padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6); font-size: 15px;
}
.meldung--ok { background: var(--gruen-50); color: var(--gruen-700); border: 1px solid rgba(30, 147, 102, .3); }
.meldung--fehler { background: var(--rot-50); color: var(--rot-700); border: 1px solid rgba(156, 47, 27, .25); }
.meldung ul { margin: var(--sp-2) 0 0; padding-left: 1.2em; color: inherit; }
.meldung li { color: inherit; }
.meldung li::marker { color: currentColor; }
.meldung a { color: inherit; }

/* ---------- Anbieter-Einzelseite ------------------------ */

.brotkrumen { font-size: 14px; color: var(--leise); padding: var(--sp-6) 0 0; }
.brotkrumen a { color: var(--leise); text-decoration: none; }
.brotkrumen a:hover { color: var(--blau-700); text-decoration: underline; }
.brotkrumen span { margin: 0 8px; color: var(--linie-fest); }

.profil {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--sp-6);
  padding: var(--sp-5) 0 var(--sp-10); align-items: start;
}
.profil__haupt, .profil__seite {
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); box-shadow: var(--schatten-m);
}
.profil h1 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.35rem); margin-bottom: 6px; }
.profil__seite { position: sticky; top: calc(var(--kopf-hoehe) + 16px); }
.profil .karte-treffer__ort { margin-bottom: var(--sp-4); }

.seiten-titel { margin-bottom: var(--sp-4); }
.panel__text--abstand { margin-top: var(--sp-6); }
.panel__aktionen--eng { margin-bottom: 0; gap: var(--sp-2); }
.panel__quelle--abstand { margin-top: var(--sp-5); }

/* ---------- Fußzeile ------------------------------------ */

.fuss {
  background: var(--blau-900); color: var(--blau-200);
  padding: var(--sp-9) 0 var(--sp-6); margin-top: auto;
}
.fuss__innen { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: var(--sp-8); }
.fuss h2 { font-size: 1.2rem; color: #fff; margin-bottom: var(--sp-3); }
.fuss p { margin: 0; font-size: 14.5px; max-width: 42ch; line-height: 1.6; }
.fuss h3 {
  font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--blau-200); margin: 0 0 var(--sp-3);
  opacity: .75;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fuss a { color: #E4EDFC; text-decoration: none; font-size: 14.5px; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__unten {
  margin-top: var(--sp-8); padding-top: var(--sp-5);
  border-top: 1px solid rgba(185, 208, 248, .18);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  font-size: 13.5px; color: rgba(185, 208, 248, .75);
}

/* ---------- Responsiv ----------------------------------- */

@media (max-width: 1120px) {
  .hero__innen { grid-template-columns: 1fr; gap: var(--sp-8); padding: var(--sp-9) 0; }
  .hero__text { max-width: 640px; }
  .hero__bild { aspect-ratio: 21 / 9; }
}

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .panel { display: none; }
  .trefferliste { max-height: none; overflow: visible; padding: 0; margin: 0; }
  .profil { grid-template-columns: 1fr; }
  .profil__seite { position: static; }
}

@media (max-width: 720px) {
  .wrap, .wrap-schmal { width: calc(100% - 32px); }
  :root { --kopf-hoehe: 58px; --sp-10: 48px; --sp-9: 40px; }
  .kopf__innen { gap: var(--sp-3); }
  .marke { font-size: 17px; gap: 8px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .nav .nav__cta { padding: 9px 14px; margin-left: 4px; }
  .hero__innen { padding: var(--sp-8) 0; }
  .hero__bild { aspect-ratio: 3 / 2; border-radius: var(--r-l); }
  .hero__zahlen { gap: var(--sp-2) var(--sp-4); font-size: 14px; }
  .suche { flex-direction: column; border-radius: var(--r-m); padding: 8px; }
  .suche .knopf { width: 100%; }
  .leiste { padding: var(--sp-6) 0 var(--sp-4); }
  .fuss__innen { grid-template-columns: 1fr; gap: var(--sp-7); }
  .feld-reihe { grid-template-columns: 1fr; }
  .daten__zeile { grid-template-columns: 1fr; gap: 2px; }
  .teaser__text { padding: var(--sp-5); }
  .panel__aktionen .knopf { width: 100%; }
  .pakete { grid-template-columns: 1fr; gap: var(--sp-4); }
  .beispiel__buehne { padding: var(--sp-4); }
  .karte-treffer__bild { width: clamp(96px, 32%, 124px); }
}

@media (max-width: 430px) {
  .nav a:not(.nav__cta) { display: none; }
  .knopf { padding: 13px 20px; }
}

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

/* ---------- Ratgeberseite (/was-ist-head-spa) ------------ */

/* Abschnitte gliedern die Seite; der Abstand kommt vom <section>,
   nicht mehr von der Überschrift selbst. */
.inhalt section { margin-top: 2.7em; }
.inhalt section > h2 { margin-top: 0; }
.inhalt section > h2 + p,
.inhalt section > h2 + .faktenbox { margin-top: .9em; }

.brotkrumen {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--leise); margin: 0 0 var(--sp-5);
}
.brotkrumen a { color: var(--blau-700); font-weight: 500; }
.brotkrumen a:hover { text-decoration: underline; }
.brotkrumen span[aria-hidden] { color: var(--linie-fest); }

.stand {
  font-size: 13.5px; color: var(--leise); margin: 0 0 var(--sp-6);
}

/* Zitierfähige Kurzdefinition — der Einstieg der Seite. */
.inhalt .definition {
  margin-top: 0; margin-bottom: var(--sp-7);
  border-left: 4px solid var(--blau-600);
  background: var(--blau-50); border-radius: 0 var(--r-m) var(--r-m) 0;
  padding: var(--sp-5) var(--sp-6);
}
.inhalt .definition > h2 {
  font-family: var(--ui); font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--blau-700); margin: 0 0 var(--sp-3);
}
.inhalt .definition p {
  margin: 0; color: var(--text); font-size: 1.1rem; line-height: 1.62;
}

/* Hochformatigere Inline-Bilder (4:3) */
.inhalt__bild--4-3 img { aspect-ratio: 4 / 3; object-position: center center; }

/* Ablaufschritte */
.inhalt ol.ablauf { padding-left: 1.35em; }
.inhalt ol.ablauf li { margin-bottom: .85em; }
.inhalt ol.ablauf strong { color: var(--text); }

/* Vergleichstabelle */
.tabelle-rahmen {
  margin: 1.6em 0 1.8em; overflow-x: auto;
  border: 1px solid var(--linie); border-radius: var(--r-m);
  -webkit-overflow-scrolling: touch;
}
.vergleich {
  width: 100%; min-width: 600px; table-layout: fixed;
  border-collapse: collapse; font-size: 14.5px; color: var(--text-2);
}
.vergleich col.spalte-merkmal { width: 24%; }
.vergleich col.spalte-headspa { width: 27%; }
.vergleich col.spalte-massage { width: 22%; }
.vergleich col.spalte-friseur { width: 27%; }
.vergleich caption {
  caption-side: top; text-align: left; padding: var(--sp-4) var(--sp-5) 0;
  font-size: 13px; color: var(--leise);
}
.vergleich th, .vergleich td {
  padding: 11px var(--sp-3); text-align: left; vertical-align: top; hyphens: auto;
  border-bottom: 1px solid var(--linie);
}
.vergleich thead th {
  background: var(--blau-50); color: var(--blau-800);
  font-weight: 700; font-size: 13.5px; white-space: nowrap;
}
.vergleich tbody th {
  color: var(--text); font-weight: 600; hyphens: none;
  background: var(--flaeche);
}
.vergleich tbody tr:last-child th,
.vergleich tbody tr:last-child td { border-bottom: 0; }

/* Fragenblock */
.faq { display: grid; gap: var(--sp-4); margin-top: 1.2em; }
.faq__eintrag {
  border: 1px solid var(--linie); border-radius: var(--r-m);
  padding: var(--sp-5) var(--sp-5) calc(var(--sp-5) - 4px);
  background: var(--weiss);
}
.inhalt .faq__eintrag h3 { margin-top: 0; margin-bottom: .45em; color: var(--text); }
.inhalt .faq__eintrag p:last-child { margin-bottom: 0; }

/* Städte-Einstiege */
.inhalt ul.stadt-gitter {
  list-style: none; padding: 0; margin: 1.3em 0 1.6em;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3);
}
.inhalt ul.stadt-gitter li { margin: 0; }
.stadt-karte {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: var(--sp-4) var(--sp-4);
  border: 1px solid var(--linie); border-radius: var(--r-m);
  background: var(--weiss); color: var(--text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.stadt-karte:hover {
  border-color: var(--blau-200); box-shadow: var(--schatten-m);
  transform: translateY(-1px); color: var(--blau-700);
}
.stadt-karte__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.stadt-karte__zahl { font-size: 13px; color: var(--leise); }

/* Abschluss-Aufruf für Studiobetreiber */
.inhalt .cta-band {
  margin-top: 2.9em; padding: var(--sp-6) var(--sp-7);
  background: var(--blau-800); border-radius: var(--r-l); color: var(--blau-100);
}
.inhalt .cta-band > h2 { color: #fff; font-size: 1.25rem; margin: 0 0 .5em; }
.inhalt .cta-band p { color: var(--blau-100); margin-bottom: var(--sp-5); }
.inhalt .cta-band .knopf { background: #fff; color: var(--blau-800); }
.inhalt .cta-band .knopf:hover { background: var(--blau-50); color: var(--blau-900); box-shadow: none; }

.knopf-reihe {
  display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: 0 !important;
}

.quellenhinweis {
  margin-top: 2.4em; padding-top: var(--sp-5);
  border-top: 1px solid var(--linie);
  font-size: 13px; line-height: 1.6; color: var(--leise) !important;
}

@media (max-width: 720px) {
  .inhalt ul.stadt-gitter { grid-template-columns: 1fr 1fr; }
  .inhalt .definition { padding: var(--sp-4) var(--sp-5); }
  .inhalt .definition p { font-size: 1.02rem; }
  .inhalt .cta-band { padding: var(--sp-5); }
  .knopf-reihe .knopf { width: 100%; }
}

@media (max-width: 430px) {
  .inhalt ul.stadt-gitter { grid-template-columns: 1fr; }
}
