/* ==========================================================================
   Lokal gehostete Schriften - DSGVO-konform, keine Google-Server.
   Archivo + Inter als Variable Fonts (wght 100-900), latin + latin-ext.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   P7 Physiotherapie - Designsystem
   Farbpalette (Kundenvorgabe): #F7F7F4 / #ECECEA / #1F2328 / #C9A86A
   Eine Quelle fuer alle Seiten. Farben in :root anpassbar.
   ========================================================================== */

:root {
  /* Dunkle Basis (warmes Anthrazit, abgeleitet aus #1F2328) */
  --bg: #1f2328;
  --bg-rgb: 31 35 40;
  --bg-soft: #262b31;
  --bg-soft-rgb: 38 43 49;
  --bg-panel: #2d333a;
  --bg-deep: #191d21;

  /* Helle Flaechen */
  --cream: #f7f7f4;       /* Off-White */
  --cream-2: #ececea;     /* helles Grau */

  /* Text */
  --ink: #f7f7f4;
  --ink-rgb: 247 247 244;
  --muted: #aab2b8;
  --dark-text: #1f2328;
  --muted-dark: #5b6166;

  /* Akzent: warmes Gold/Holz */
  --gold: #c9a86a;
  --gold-rgb: 201 168 106;
  --gold-deep: #9e7c3c;
  --gold-soft: rgb(201 168 106 / 0.22);

  /* Linien */
  --line: rgb(255 255 255 / 0.12);
  --line-dark: rgb(31 35 40 / 0.14);
  --header-h: 88px;
  --container: min(1180px, 100% - 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  overflow-x: clip;
  background:
    linear-gradient(180deg, #1f2328 0%, #262b31 42%, #1b1f24 100%);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--gold);
  color: #1f2328;
  font-weight: 700;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

.label {
  color: var(--gold);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-title,
.hero-title {
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.hi {
  color: var(--gold);
}

.section-title {
  max-width: 780px;
  min-width: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.3rem);
  overflow-wrap: break-word;
}

.section-copy {
  max-width: 630px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, #d6b87f 0%, var(--gold) 100%);
  color: #1f2328;
  box-shadow: 0 18px 40px rgb(201 168 106 / 0.2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ddc08c 0%, #b8995a 100%);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.04);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgb(201 168 106 / 0.6);
  color: var(--gold);
}

.btn-dark {
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--dark-text);
}

.btn-dark:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgb(201 168 106 / 0.45);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--gold);
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* --------------------------------------------------------------------------
   Header + Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background 240ms var(--ease),
    border-color 240ms var(--ease),
    backdrop-filter 240ms var(--ease);
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgb(var(--bg-rgb) / 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Unterseiten: Header dauerhaft solide, Logo immer sichtbar */
.site-header.solid {
  border-bottom: 1px solid var(--line);
  background: rgb(var(--bg-rgb) / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: var(--container);
  margin-inline: auto;
  align-items: center;
  gap: 1.35rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  opacity: var(--header-logo-opacity, 0);
  pointer-events: none;
  transform: translateY(var(--header-logo-y, -8px)) scale(var(--header-logo-scale, 0.72));
  transform-origin: left center;
  will-change: opacity, transform;
}

.logo-link img {
  width: auto;
  height: 58px;
  filter: drop-shadow(0 6px 16px rgb(0 0 0 / 0.22));
  transition: transform 180ms var(--ease);
}

.site-header.logo-ready .logo-link {
  pointer-events: auto;
}

.site-header.logo-ready .logo-link:hover img {
  transform: scale(1.05);
}

/* Solide Unterseiten-Header: Logo statisch sichtbar */
.site-header.solid .logo-link {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: rgb(var(--ink-rgb) / 0.72);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--gold);
}

.header-cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  padding: 2rem;
  background: rgb(var(--bg-rgb) / 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a:not(.btn) {
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1.5rem, 8vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-nav a:not(.btn):hover {
  color: var(--gold);
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  color: var(--muted);
  font-size: 1.35rem;
}

/* --------------------------------------------------------------------------
   Hero (Startseite)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(55% 65% at 80% 38%, rgb(var(--gold-rgb) / 0.14) 0%, transparent 70%),
    radial-gradient(120% 80% at 12% 105%, rgb(var(--bg-rgb) / 0.55) 0%, transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-areas: "brand" "copy";
  align-items: center;
  justify-items: center;
  gap: clamp(2rem, 5vw, 3rem);
  width: var(--container);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 5vw, 4.6rem) clamp(3rem, 7vw, 6rem);
}

.hero-copy {
  grid-area: copy;
  display: grid;
  max-width: min(45rem, 100%);
  justify-items: start;
  justify-self: start;
}

.hero-brand {
  grid-area: brand;
  justify-self: center;
  width: fit-content;
  filter: drop-shadow(0 14px 26px rgb(0 0 0 / 0.24));
  opacity: var(--hero-logo-opacity, 1);
  transform: translateY(var(--hero-logo-y, 0px)) scale(var(--hero-logo-scale, 1));
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-brand img {
  display: block;
  width: min(46vw, 200px);
  height: auto;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgb(201 168 106 / 0.36);
  border-radius: 999px;
  background: rgb(var(--bg-soft-rgb) / 0.56);
  color: var(--cream-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft);
  content: "";
}

.hero-title {
  max-width: 900px;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
}

.hero-title span {
  display: block;
}

.hero-title-kicker {
  margin-bottom: 0.85rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-sub {
  max-width: 540px;
  margin-bottom: 1.5rem;
  color: rgb(var(--ink-rgb) / 0.78);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   Page-Hero (Unterseiten)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(340px, 52svh, 520px);
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(50% 70% at 85% 0%, rgb(var(--gold-rgb) / 0.12) 0%, transparent 70%),
    radial-gradient(120% 80% at 10% 110%, rgb(var(--bg-rgb) / 0.55) 0%, transparent 55%);
}

.page-hero-inner {
  width: var(--container);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page-hero .label {
  margin-bottom: 0.9rem;
}

.page-hero-title {
  max-width: 18ch;
  min-width: 0;
  margin-bottom: 1rem;
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  overflow-wrap: break-word;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.page-hero-sub {
  max-width: 44rem;
  color: rgb(var(--ink-rgb) / 0.8);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: rgb(var(--ink-rgb) / 0.6);
  font-size: 0.82rem;
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Trust-Band (Startseite)
   -------------------------------------------------------------------------- */

.trust-band {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  margin-bottom: 0;
}

.trust-panel {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.32);
}

.trust-item {
  display: grid;
  min-height: 158px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--dark-text);
}

.trust-item h2 {
  margin-bottom: 0.3rem;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
}

.trust-item p {
  color: var(--muted-dark);
  max-width: 78ch;
  font-size: 0.93rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(4.7rem, 9vw, 8rem);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section--light {
  background: var(--cream);
  color: var(--dark-text);
}

.section--light .section-title {
  color: var(--dark-text);
}

.section--light .label {
  color: var(--gold-deep);
}

.section--light .section-copy {
  color: var(--muted-dark);
}

.section--grey {
  background: var(--cream-2);
  color: var(--dark-text);
}

.section--grey .section-title {
  color: var(--dark-text);
}

.section--grey .label {
  color: var(--gold-deep);
}

.section--grey .section-copy {
  color: var(--muted-dark);
}

.services {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 28%),
    var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-card {
  min-height: 250px;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: linear-gradient(180deg, #2d333a 0%, #262b31 100%);
  transition:
    background 220ms var(--ease),
    transform 220ms var(--ease);
}

.service-card:hover {
  background: #333a41;
  transform: translateY(-2px);
}

.service-number {
  display: block;
  margin-bottom: 1.4rem;
  color: rgb(201 168 106 / 0.78);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Praxis / Bild-Text-Layout
   -------------------------------------------------------------------------- */

.practice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.practice-layout.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.practice-copy {
  display: grid;
  gap: 1.1rem;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #353c41;
  font-weight: 600;
}

.check-list li::before {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  color: #1f2328;
  font-size: 0.72rem;
  line-height: 1;
  content: "\2713";
}

/* Check-Liste mit Titel ueber dem Text - alles linksbuendig untereinander */
.check-list--split {
  gap: 1.1rem;
}

.check-list--split .ci {
  display: grid;
  gap: 0.2rem;
}

.check-list--split .ci-head {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.check-list--split .ci-text {
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.image-stack {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-soft);
  box-shadow: 0 18px 50px rgb(var(--bg-rgb) / 0.2);
}

.image-card:first-child {
  grid-row: 1 / 3;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
  will-change: transform;
}

.image-card:hover img {
  transform: scale(1.035);
}

.single-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px rgb(var(--bg-rgb) / 0.16);
}

.single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--bg-soft);
  border: 1px dashed rgb(var(--ink-rgb) / 0.2);
}

.photo-placeholder svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold-deep);
  fill: none;
  stroke-width: 1.4;
  opacity: 0.8;
}

.photo-placeholder span {
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.62);
}

/* --------------------------------------------------------------------------
   Prosa / Textbloecke
   -------------------------------------------------------------------------- */

.prose {
  max-width: 46rem;
  display: grid;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.section--light .prose,
.section--grey .prose {
  color: #45494d;
}

.prose strong {
  color: inherit;
  font-weight: 700;
}

.prose h2,
.prose h3 {
  margin-top: 0.6rem;
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.prose h3 {
  font-size: 1.12rem;
}

.section--light .prose h2,
.section--light .prose h3,
.section--grey .prose h2,
.section--grey .prose h3 {
  color: var(--dark-text);
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section--light .prose a,
.section--grey .prose a {
  color: var(--gold-deep);
}

.prose ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.3rem;
  list-style: disc;
}

.prose li {
  line-height: 1.6;
}

.prose li::marker {
  color: var(--gold-deep);
}

.page-hero.slim {
  min-height: 0;
  align-items: end;
}

.page-hero.slim .page-hero-inner {
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 2.5rem));
}

.quote {
  margin-top: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  background: rgb(var(--bg-soft-rgb) / 0.55);
  color: rgb(var(--ink-rgb) / 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.section--light .quote,
.section--grey .quote {
  background: rgb(255 255 255 / 0.6);
  color: #353c41;
}

.quote cite {
  display: block;
  margin-top: 0.9rem;
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Behandlungen (Bild + Text, ausklappbare Fachbeschreibung)
   -------------------------------------------------------------------------- */

.treatment-list {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.treatment {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.treatment-index {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold-deep);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.treatment-body h3 {
  margin-bottom: 0.85rem;
  color: var(--dark-text);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.treatment-short {
  color: #45494d;
  font-size: 1.02rem;
  line-height: 1.7;
}

.treatment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  color: var(--gold-deep);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.treatment-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.treatment-toggle .tg-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  transition: transform 260ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}

.treatment-toggle .tg-icon::before {
  content: "+";
  font-size: 1.05rem;
  line-height: 1;
}

.treatment.open .treatment-toggle .tg-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #1f2328;
  border-color: var(--gold);
}

.treatment-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 340ms var(--ease);
}

.treatment.open .treatment-detail {
  grid-template-rows: 1fr;
}

.treatment-detail-inner {
  overflow: hidden;
}

.treatment-detail-pad {
  margin-top: 1.25rem;
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.62);
}

.treatment-detail h4 {
  margin: 1.05rem 0 0.45rem;
  color: var(--gold-deep);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.treatment-detail h4:first-child {
  margin-top: 0;
}

.treatment-detail p {
  color: #45494d;
  font-size: 0.95rem;
  line-height: 1.7;
}

.treatment-detail ul {
  display: grid;
  gap: 0.4rem;
}

.treatment-detail li {
  position: relative;
  padding-left: 1.15rem;
  color: #45494d;
  font-size: 0.95rem;
  line-height: 1.55;
}

.treatment-detail li::before {
  position: absolute;
  left: 0;
  content: "\2014";
  color: var(--gold);
}

.treatment-source {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-dark);
  color: #6b7176;
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .treatment {
    gap: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Preisliste
   -------------------------------------------------------------------------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-table caption {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  overflow-wrap: anywhere;
}

.price-table thead th {
  background: rgb(255 255 255 / 0.04);
  color: var(--gold);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:hover {
  background: rgb(255 255 255 / 0.03);
}

.price-table .price-value {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.note-box {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgb(var(--bg-soft-rgb) / 0.5);
}

.note-box strong {
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.note-box p,
.note-box li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.note-box ul {
  display: grid;
  gap: 0.4rem;
}

.note-box li {
  position: relative;
  padding-left: 1.1rem;
}

.note-box li::before {
  position: absolute;
  left: 0;
  content: "\2022";
  color: var(--gold);
}

/* Note-Box auf hellem Grund */
.section--light .note-box,
.section--grey .note-box {
  background: rgb(255 255 255 / 0.55);
}

.section--light .note-box strong,
.section--grey .note-box strong {
  color: var(--gold-deep);
}

.section--light .note-box p,
.section--light .note-box li,
.section--grey .note-box p,
.section--grey .note-box li {
  color: var(--muted-dark);
}

.section--light .note-box li::before,
.section--grey .note-box li::before {
  color: var(--gold-deep);
}


/* --------------------------------------------------------------------------
   Kontakt / Oeffnungszeiten / Formular
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(var(--bg-soft-rgb) / 0.6);
}

.contact-card h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--gold);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table caption {
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

.hours-table th,
.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.95rem;
}

.hours-table th {
  color: var(--muted);
  font-weight: 600;
}

.hours-table td {
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(var(--bg-soft-rgb) / 0.55);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgb(var(--bg-rgb) / 0.6);
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgb(var(--ink-rgb) / 0.4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.field-check input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.field-check a {
  color: var(--gold);
}

.form-note {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Opening / Kontakt-Teaser (Startseite)
   -------------------------------------------------------------------------- */

.opening {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.opening-bg {
  position: absolute;
  inset: -10% 0;
  z-index: -2;
  will-change: transform;
}

.opening::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(var(--bg-rgb) / 0.96) 0%, rgb(var(--bg-rgb) / 0.82) 46%, rgb(var(--bg-rgb) / 0.32) 100%);
}

.opening-panel {
  display: grid;
  max-width: 760px;
  gap: 1.35rem;
}

.opening-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.85rem;
}

.mini-card {
  min-height: 138px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(var(--bg-soft-rgb) / 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mini-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mini-card small {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Anfahrt / Karte
   -------------------------------------------------------------------------- */

.route {
  background: var(--cream);
  color: var(--dark-text);
}

.route .label {
  color: var(--gold-deep);
}

.route .section-title {
  max-width: 12ch;
  color: var(--dark-text);
}

.route .section-copy {
  max-width: 34rem;
  color: var(--muted-dark);
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.route-info {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.route-card {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.48);
}

.route-card strong {
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.route-card span {
  color: var(--muted-dark);
  line-height: 1.55;
}

.map-frame {
  position: relative;
  align-self: start;
  aspect-ratio: 1.22 / 1;
  width: 100%;
  margin-top: 1.85rem;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--bg-soft);
  box-shadow: 0 18px 50px rgb(var(--bg-rgb) / 0.16);
}

.map-consent {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, rgb(var(--bg-rgb) / 0.88), rgb(var(--bg-soft-rgb) / 0.92));
  color: var(--ink);
  text-align: center;
}

.map-consent-inner {
  display: grid;
  max-width: 430px;
  gap: 0.9rem;
  justify-items: center;
}

.map-consent strong {
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.map-consent p {
  color: rgb(var(--ink-rgb) / 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.24) contrast(0.94) saturate(0.78);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.closing {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--bg-deep);
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.closing-logo img {
  width: auto;
  height: 84px;
  opacity: 0.92;
}

.closing-text {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1rem;
}

.footer-nav a {
  color: rgb(var(--ink-rgb) / 0.7);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.15rem;
  color: rgb(var(--ink-rgb) / 0.66);
  font-size: 0.88rem;
}

.legal-links a:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Cookie-Banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 80;
  display: grid;
  width: min(560px, calc(100vw - 1.5rem));
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(var(--bg-rgb) / 0.96);
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-copy {
  display: grid;
  gap: 0.4rem;
}

.cookie-title {
  font-family: "Archivo", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cookie-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-text a {
  color: var(--gold);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   Reveal-Animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms var(--ease),
    transform 620ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .treatment-detail {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .opening-card-row {
    grid-template-columns: 1fr;
  }

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

  .practice-layout,
  .practice-layout.reverse,
  .route-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-frame {
    margin-top: 0;
  }

  .closing-inner {
    grid-template-columns: 1fr;
  }

  .legal-links {
    justify-content: flex-start;
  }
}

@media (min-width: 761px) and (max-height: 760px) {
  .hero {
    min-height: 76svh;
  }

  .hero-inner {
    padding-block: 2rem 3.25rem;
  }

  .trust-band {
    margin-top: -34px;
  }
}

@media (min-width: 1040px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "copy brand";
    justify-items: initial;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-brand {
    justify-self: end;
  }

  .hero-brand img {
    width: min(26vw, 340px);
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 24px, 1180px);
    --header-h: 82px;
  }

  .logo-link img {
    height: 52px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    padding-block: 3rem 4rem;
  }

  .hero-title {
    max-width: 100%;
    overflow-wrap: normal;
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .hero-sub {
    max-width: 31rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    white-space: normal;
  }

  .trust-band {
    margin-top: -38px;
  }

  .trust-item {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .section {
    padding-block: 4.25rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .image-stack {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 220px 340px;
  }

  .image-card:nth-child(3) img {
    object-position: center 35%;
  }

  .map-frame,
  .map-frame iframe,
  .map-consent {
    min-height: 340px;
  }

  .image-card:first-child {
    grid-row: auto;
  }

  .opening {
    background: var(--bg);
  }

  .opening::after {
    background:
      linear-gradient(180deg, rgb(var(--bg-rgb) / 0.96) 0%, rgb(var(--bg-rgb) / 0.88) 64%, rgb(var(--bg-rgb) / 0.74) 100%);
  }

  .price-table {
    font-size: 0.9rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem 0.7rem;
  }
}

@media (max-width: 460px) {
  .hero-brand img {
    width: clamp(120px, 34vw, 160px);
  }

  .hero-kicker {
    align-items: flex-start;
    border-radius: 8px;
    line-height: 1.35;
  }

  .section-title {
    font-size: clamp(1.75rem, 9.5vw, 2.7rem);
  }

  .page-hero-title {
    font-size: clamp(1.95rem, 8.5vw, 2.6rem);
  }

  .image-stack {
    grid-template-rows: 300px 190px 330px;
  }

  .closing-logo img {
    height: 70px;
  }
}
