/* =========================================
   NATURHEILPRAXIS – Design System
   Palette: Elfenbein, Salbei, Erde, Weiß
   ========================================= */

:root {
  --weiss:     #FAFAF8;
  --elfenbein: #F4F0E8;
  --beige:     #E8E0D0;
  --salbei:    #7A9E87;
  --salbei-hell: #A8C5B0;
  --salbei-dunkel: #4E7A5E;
  --erde:      #8B7355;
  --dunkel:    #2C2C2C;
  --text:      #3D3D3D;
  --text-leicht: #7A7A72;

  --font-display: Georgia, 'Times New Roman', serif;
  --font-body:    'Segoe UI', Arial, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;

  --shadow-sm:  0 2px 12px rgba(122,158,135,.10);
  --shadow-md:  0 8px 32px rgba(44,44,44,.08);
  --shadow-lg:  0 24px 60px rgba(44,44,44,.12);

  --max-w:      1200px;
  --spacing:    clamp(48px, 8vw, 96px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--weiss);
  font-weight: 300;
}
body.privacy-consent-open {
  overflow: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dunkel);
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

.label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--salbei-dunkel);
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section { padding: var(--spacing) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .05em;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
}
.btn-primary {
  background: var(--salbei);
  color: #fff;
  box-shadow: 0 4px 20px rgba(122,158,135,.35);
}
.btn-primary:hover {
  background: var(--salbei-dunkel);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(122,158,135,.45);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--salbei);
  color: var(--salbei-dunkel);
}
.btn-outline:hover {
  background: var(--salbei);
  color: #fff;
  transform: translateY(-2px);
}
.btn-weiss {
  background: #fff;
  color: var(--salbei-dunkel);
  box-shadow: var(--shadow-md);
}
.btn-weiss:hover {
  background: var(--elfenbein);
  transform: translateY(-2px);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 48px);
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,224,208,.6);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dunkel);
  line-height: 1.02;
}
.nav-logo span { color: var(--dunkel); }
.nav-logo span:first-child { color: var(--salbei-dunkel); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: .03em;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--salbei);
  transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--salbei-dunkel); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.mobile-nav-icon {
  display: none;
}
.mobile-drawer-logo {
  display: none;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--dunkel);
  transition: all .3s;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(44,44,44,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Hero ── */
.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 80px);
  padding-left: clamp(24px, 8vw, 120px);
}
.hero-content .label { margin-bottom: 24px; }
.hero-content h1 {
  margin-bottom: 24px;
  font-weight: 300;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--salbei);
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-leicht);
  max-width: 44ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  min-height: clamp(520px, 44vw, 700px);
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122,158,135,.15), transparent);
  z-index: 1;
}
/* Hintergrundbild-Fallback ohne echtes Bild */
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--elfenbein) 0%, var(--beige) 40%, var(--salbei-hell) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-placeholder svg {
  width: 40%;
  opacity: .25;
}

/* ── Abschnitt-Kopf ── */
.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-header.center { text-align: center; }
.section-header .label { margin-bottom: 16px; }
.section-header p {
  margin-top: 16px;
  color: var(--text-leicht);
  font-size: 1.05rem;
  max-width: 52ch;
}
.section-header.center p { margin: 16px auto 0; }

/* ── Leistungs-Cards ── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.leistung-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.leistung-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.leistung-card-img {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--elfenbein), var(--beige));
  display: flex;
  align-items: center;
  justify-content: center;
}
.leistung-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.leistung-card:hover .leistung-card-img img { transform: scale(1.06); }
.leistung-card-img-placeholder {
  font-size: 3rem;
  opacity: .4;
}
.leistung-icon-panel {
  background: linear-gradient(135deg, var(--elfenbein), var(--beige));
}
.leistung-icon-mark,
.leistung-list-icon {
  display: inline-block;
  background: var(--leistung-icon) center / contain no-repeat;
}
.leistung-icon-mark {
  width: 82px;
  height: 82px;
  opacity: .78;
}
.leistung-list-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  opacity: .82;
}
.leistung-detail-icon {
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leistung-card-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.leistung-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.leistung-card-body p {
  color: var(--text-leicht);
  font-size: .95rem;
  flex: 1;
  margin-bottom: 24px;
}
.leistung-card-richtext {
  color: var(--text-leicht);
  font-size: .95rem;
  line-height: 1.65;
  min-height: 5em;
  margin-bottom: 24px;
}
.leistung-card-richtext p {
  margin-bottom: 12px;
}
.leistung-card-body .btn {
  margin-top: auto;
}

/* ── Über mich ── */
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.ueber-bild-wrap {
  position: relative;
}
.ueber-bild-wrap img,
.ueber-bild-placeholder {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.ueber-bild-placeholder {
  background: linear-gradient(160deg, var(--beige), var(--salbei-hell));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ueber-bild-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: calc(var(--radius-xl) + 16px);
  border: 1.5px solid var(--beige);
  z-index: -1;
}
.ueber-text .label { margin-bottom: 20px; }
.ueber-text h2 { margin-bottom: 24px; }
.ueber-text p {
  color: var(--text-leicht);
  margin-bottom: 16px;
}
.ueber-text p:last-of-type { margin-bottom: 32px; }

/* ── CTA-Bereich ── */
.cta-section {
  background: linear-gradient(135deg, var(--salbei-dunkel), var(--salbei));
  border-radius: var(--radius-xl);
  margin: 0 clamp(20px, 5vw, 48px);
  padding: clamp(60px, 8vw, 96px) clamp(40px, 6vw, 80px);
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  max-width: min(18ch, 100%);
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.cta-section p {
  opacity: .88;
  max-width: 65ch;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ── Blog-Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--elfenbein), var(--beige));
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: .8rem; color: var(--text-leicht); margin-bottom: 10px; letter-spacing: .05em; }
.blog-card-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.blog-card-body p { color: var(--text-leicht); font-size: .93rem; flex: 1; margin-bottom: 20px; }

/* ── Kontakt ── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.kontakt-form { background: #fff; border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 300;
  color: var(--text);
  background: var(--weiss);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--salbei);
  box-shadow: 0 0 0 3px rgba(122,158,135,.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.kontakt-info { padding: 32px 0; }
.kontakt-info h3 { font-size: 1.8rem; margin-bottom: 32px; }
.kontakt-only {
  max-width: 720px;
  margin: 0 auto;
}
.kontakt-only .kontakt-info {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 48px);
}
.kontakt-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.info-icon {
  width: 44px; height: 44px;
  background: var(--elfenbein);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--salbei-dunkel);
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 500;
}
.info-item-text strong { display: block; font-weight: 500; font-size: .85rem; color: var(--dunkel); letter-spacing: .04em; }
.info-item-text p { color: var(--text-leicht); font-size: .93rem; white-space: pre-line; }

/* Terminbuchung */
.termine-page {
  padding-top: 120px;
  padding-bottom: var(--spacing);
}
.termin-widget-wrap {
  max-width: min(100%, 620px);
  margin: 0 auto;
  position: relative;
}
.termin-widget-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: opacity .4s ease;
}
.termin-widget-content {
  min-height: 0;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  overflow: visible;
  transition: opacity .5s ease;
}
.termin-widget-backup {
  margin: 0 auto;
}
.termin-widget-consent-placeholder {
  min-height: 320px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.termin-widget-consent-placeholder[hidden] {
  display: none;
}
.termin-widget-consent-placeholder h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.termin-widget-consent-placeholder p {
  max-width: 62ch;
  color: var(--text-leicht);
}
.termin-widget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.termin-widget-consent-placeholder.is-loading .termin-widget-actions {
  pointer-events: none;
  opacity: .55;
}
.termin-widget-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: var(--salbei-dunkel);
  font-size: .95rem;
  font-weight: 600;
}
.termin-widget-loading[hidden] {
  display: none;
}
.termin-widget-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--beige);
  border-top-color: var(--salbei);
  animation: spin .8s linear infinite;
}
.privacy-script-embed.loaded .termin-widget-content {
  opacity: 1;
  width: 100%;
  margin: 0 auto;
  padding: 18px !important;
  overflow: visible !important;
}
.privacy-script-embed.loaded {
  max-width: min(100%, 720px);
}
.privacy-script-embed.loaded .termin-widget-content > *,
.privacy-script-embed.loaded .termin-widget-content iframe {
  max-width: 100% !important;
}
.privacy-script-embed.loaded .termin-widget-content iframe {
  display: block;
  width: 100% !important;
  min-height: 760px;
  border: 0;
}
.termin-external-link .termin-widget-content {
  min-height: auto;
  opacity: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: clamp(28px, 5vw, 48px);
}
.termin-external-link h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.termin-external-link p {
  max-width: 58ch;
  color: var(--text-leicht);
}
.termin-widget-error {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.termin-widget-error[hidden] {
  display: none;
}
.termin-widget-error h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}
.termin-widget-error p {
  max-width: 58ch;
  color: var(--text-leicht);
}
.termin-contact-note {
  max-width: 680px;
  margin: 28px auto 0;
  background: var(--elfenbein);
  border-radius: var(--radius-md);
  padding: 24px 32px;
}
.termin-contact-note strong {
  font-size: .9rem;
  color: var(--dunkel);
  display: block;
  margin-bottom: 4px;
}
.termin-contact-note p {
  font-size: .88rem;
  color: var(--text-leicht);
  margin: 0;
}
.termin-contact-note a {
  color: var(--salbei-dunkel);
  font-weight: 500;
}
.termin-widget-consent {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Success / Error Messages */
.messages { list-style: none; margin-bottom: 24px; }
.messages li {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
}
.messages .success { background: rgba(122,158,135,.12); color: var(--salbei-dunkel); border: 1px solid rgba(122,158,135,.3); }
.messages .error   { background: rgba(180,80,80,.08); color: #a04040; border: 1px solid rgba(180,80,80,.2); }

/* ── Leistungen Seite (Accordion) ── */
.leistung-full {
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .32s ease, transform .32s ease, background-color .32s ease;
}
/* Fix für Scroll-Position beim Öffnen */
.leistung-full {
  scroll-margin-top: 100px;
}

.leistung-full-header {
  scroll-margin-top: 100px;
}

@media (max-width: 640px) {
  .leistung-full,
  .leistung-full-header {
    scroll-margin-top: 92px;
  }

  .cta-section h2 {
    font-size: 1.42rem;
    max-width: 100%;
  }
}
.leistung-full-header {
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: background .28s ease, color .28s ease;
}
.leistung-full-header h3 {
  flex: 1;
}
.leistung-full-header:hover,
.leistung-full-header:focus-visible {
  background: var(--weiss);
}
.leistung-full.open {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.leistung-full-header h3 { font-size: 1.4rem; }
.accordion-icon {
  width: 32px; height: 32px;
  border: 1.5px solid var(--beige);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
  color: var(--salbei);
  flex-shrink: 0;
}
.leistung-full.open .accordion-icon {
  background: var(--salbei);
  border-color: var(--salbei);
  color: #fff;
  transform: rotate(45deg);
}
.leistung-full-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .34s cubic-bezier(.22, .75, .24, 1);
  will-change: max-height;
}
.leistung-full-body > * {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .26s ease, transform .34s cubic-bezier(.22, .75, .24, 1);
}
.leistung-full.open .leistung-full-body > * {
  opacity: 1;
  transform: translateY(0);
}
.leistung-full-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 36px 36px;
}
.leistung-full-body-inner img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.leistung-full-body-inner .text-content p { color: var(--text-leicht); }
.leistung-summary-text {
  color: var(--text-leicht);
  font-size: .95rem;
  margin-bottom: 20px;
}
.leistung-description-text {
  color: var(--text-leicht);
  font-size: .93rem;
  line-height: 1.8;
}
.leistung-summary-text p,
.leistung-description-text p {
  margin-bottom: 14px;
}
.leistung-blocks {
  display: flex;
  flex-direction: column;
  padding: 0 36px 36px;
}
.leistung-block {
  padding: 28px 0;
}
.leistung-block + .leistung-block {
  border-top: 1px solid var(--beige);
}
.leistung-block-text h4 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.leistung-block-text p {
  color: var(--text-leicht);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.leistung-block-image {
  margin: 0;
}
.leistung-block-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--elfenbein);
}
.leistung-block-image figcaption {
  margin-top: 10px;
  color: var(--text-leicht);
  font-size: .88rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .leistung-full,
  .leistung-full-header,
  .leistung-full-body,
  .leistung-full-body > *,
  .accordion-icon {
    transition: none !important;
  }
}

/* ── Blog Detail ── */
.blog-detail-hero {
  height: clamp(280px, 40vw, 480px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--elfenbein), var(--beige));
}
.blog-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-detail-content { max-width: 68ch; margin: 0 auto; }
.blog-detail-content p { color: var(--text-leicht); margin-bottom: 20px; }
.blog-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--salbei-dunkel);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 40px;
  transition: gap .2s;
}
.blog-back:hover { gap: 14px; }

/* ── Inhaltsseiten ── */
.page-wrap {
  padding-top: 120px;
  padding-bottom: var(--spacing);
}
.page-wrap .section-header h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.about-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}
.about-page-media img,
.about-page-media .ueber-bild-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.about-page-text h2 {
  margin-bottom: 24px;
}
.about-page-text p {
  color: var(--text-leicht);
  margin-bottom: 18px;
  max-width: 62ch;
}
.about-actions,
.anfahrt-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.page-blocks {
  max-width: 900px;
  margin: 0 auto;
}
.page-block {
  padding: clamp(28px, 5vw, 56px) 0;
}
.page-block + .page-block {
  border-top: 1px solid var(--beige);
}
.page-block-text {
  max-width: 72ch;
  margin: 0 auto;
}
.page-block-text h2 {
  margin-bottom: 20px;
}
.page-block-text p {
  color: var(--text-leicht);
  margin-bottom: 18px;
}
.page-block-image {
  margin: 0 auto;
  max-width: 720px;
}
.page-block-image img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--elfenbein);
}
.page-block-image figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--text-leicht);
  font-size: .9rem;
}
.anfahrt-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.anfahrt-info {
  background: var(--elfenbein);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.anfahrt-info h2 {
  margin-bottom: 20px;
}
.anfahrt-info p {
  color: var(--text-leicht);
  font-size: 1.05rem;
  line-height: 1.8;
}
.anfahrt-map {
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--elfenbein);
}
.anfahrt-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.privacy-embed-placeholder {
  width: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: #fff;
}
.privacy-embed-placeholder h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.privacy-embed-placeholder p {
  max-width: 48ch;
  color: var(--text-leicht);
}

/* ── Footer ── */
footer {
  background: var(--dunkel);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--salbei-hell); }
.footer-grid p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 500; margin-bottom: 20px; letter-spacing: .05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: .9rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--salbei-hell); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--salbei-hell); }
.footer-privacy-button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color .2s;
}
.footer-privacy-button:hover { color: var(--salbei-hell); }

/* Datenschutz-Hinweis */
.privacy-consent[hidden] { display: none; }
.privacy-consent {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}
.privacy-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44,44,44,.42);
}
.privacy-consent-dialog {
  position: relative;
  width: min(100%, 860px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 5vw, 42px);
}
.privacy-consent-dialog h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
}
.privacy-consent-dialog p {
  color: var(--text-leicht);
  max-width: 72ch;
  margin-bottom: 12px;
}
.privacy-consent-details {
  display: grid;
  gap: 12px;
  margin: 24px 0 4px;
}
.privacy-consent-details[hidden] { display: none; }
.privacy-consent-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  background: var(--elfenbein);
}
.privacy-consent-category strong,
.privacy-consent-category span {
  display: block;
}
.privacy-consent-category strong {
  margin-bottom: 4px;
  color: var(--dunkel);
}
.privacy-consent-category span {
  color: var(--text-leicht);
  font-size: .92rem;
  line-height: 1.55;
}
.privacy-consent-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}
.privacy-consent-category input[type="checkbox"] {
  appearance: none;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(88,110,86,.45);
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.privacy-consent-category input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-leicht);
  transition: transform .2s, background .2s;
}
.privacy-consent-category input[type="checkbox"]:checked {
  background: var(--salbei);
  border-color: var(--salbei);
}
.privacy-consent-category input[type="checkbox"]:checked::after {
  transform: translateX(22px);
  background: #fff;
}
.privacy-consent-state {
  white-space: nowrap;
  align-self: start;
  margin-top: 2px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--dunkel) !important;
  font-size: .78rem !important;
  font-weight: 600;
}
.privacy-link-button {
  border: 0;
  background: transparent;
  color: var(--salbei-dunkel);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 2px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.privacy-link-button:hover {
  color: var(--dunkel);
}
@media (max-width: 640px) {
  .privacy-consent {
    align-items: stretch;
    padding: 10px;
  }
  .privacy-consent-dialog {
    max-height: calc(100svh - 20px);
    border-radius: 18px;
  }
  .privacy-consent-category {
    grid-template-columns: 1fr;
  }
  .privacy-consent-state {
    justify-self: start;
  }
  .privacy-consent-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.privacy-consent-text {
  margin-top: 24px;
  max-height: min(46svh, 460px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  background: var(--weiss);
}
.privacy-consent-text[hidden] { display: none; }
.privacy-consent-text h2 {
  font-size: 1.18rem;
  margin: 26px 0 10px;
}
.privacy-consent-text h2:first-of-type {
  margin-top: 0;
}
.privacy-consent-text p {
  font-size: .9rem;
  line-height: 1.65;
  max-width: none;
  margin-bottom: 14px;
}
.privacy-consent-dialog.showing-privacy-text,
.privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) {
  height: min(92svh, 820px);
  display: flex;
  flex-direction: column;
}
.privacy-consent-dialog.showing-privacy-text .privacy-consent-text,
.privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) .privacy-consent-text {
  flex: 1;
  max-height: none;
}

/* ── Rechtliche Seiten ── */
.legal-content {
  max-width: 75ch;
  margin: 0 auto;
  padding-top: 120px;
}
.legal-content h1 { margin-bottom: 40px; }
.legal-content h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal-content p { color: var(--text-leicht); margin-bottom: 16px; }
.legal-content strong,
.legal-content b {
  color: var(--dunkel);
  font-weight: 650;
}
.legal-content .text-heavy,
.leistung-card-richtext .text-heavy,
.leistung-summary-text .text-heavy,
.leistung-description-text .text-heavy,
.page-block-text .text-heavy {
  color: var(--dunkel);
  font-weight: 900;
}

/* ── Animationen ── */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0;
  }
  .hero-image {
    height: auto;
    min-height: 0;
    order: -1;
  }
  .hero-image img {
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: center;
  }
  .hero-content { padding: 48px clamp(24px, 5vw, 48px) 64px; }
  .ueber-grid { grid-template-columns: 1fr; }
  .ueber-bild-wrap { max-width: 380px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leistung-full-body-inner { grid-template-columns: 1fr; }
  .about-page-grid,
  .anfahrt-layout { grid-template-columns: 1fr; }
  .about-page-media { max-width: 420px; }
}

@media (max-width: 1024px) {
  .navbar {
    position: sticky;
    padding: 0 20px;
  }
  .nav-inner {
    height: 82px;
    justify-content: flex-start;
    gap: 18px;
  }
  .nav-logo {
    font-size: clamp(1.05rem, 5.6vw, 1.42rem);
    max-width: calc(100vw - 108px);
  }
  .nav-logo span { white-space: nowrap; }
  .nav-burger {
    display: flex;
    order: -1;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  body.nav-menu-open .navbar {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }
  body.nav-menu-open .nav-logo,
  body.nav-menu-open .nav-burger {
    opacity: 0;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(78vw, 300px);
    background: var(--weiss);
    padding: 34px 28px 32px;
    gap: 4px;
    z-index: 101;
    box-shadow: 16px 0 48px rgba(44,44,44,.16);
    transform: translateX(-105%);
    transition: transform .28s ease;
    pointer-events: auto;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    width: 100%;
  }
  .mobile-drawer-logo {
    display: flex;
    justify-content: center;
    padding: 0 0 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--beige);
  }
  .mobile-drawer-logo img {
    width: min(100%, 210px);
    max-height: 120px;
    object-fit: contain;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 13px 4px;
    font-size: 1.05rem;
    line-height: 1.25;
  }
  .mobile-nav-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: .86;
  }
  .icon-start {
    background-image: url("../icons/nav/start.png");
  }
  .icon-leistungen {
    background-image: url("../icons/nav/leistungen.png");
  }
  .icon-kontakt {
    background-image: url("../icons/nav/kontakt.png");
  }
  .icon-ueber-mich {
    background-image: url("../icons/nav/ueber-mich.png");
  }
  .icon-termine {
    background-image: url("../icons/nav/termine.png");
  }
  .icon-anfahrt {
    background-image: url("../icons/nav/anfahrt.png");
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a.active {
    color: var(--salbei-dunkel);
    font-weight: 500;
  }
  .nav-links .btn {
    justify-content: center;
    margin-top: 10px;
    padding: 13px 18px !important;
  }
  .hero-content h1 {
    max-width: 10.5ch;
  }
  .hero-content p {
    max-width: 33ch;
  }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .privacy-consent {
    align-items: flex-end;
    padding: 8px;
  }
  .privacy-consent-dialog {
    border-radius: 18px;
    max-height: calc(100svh - 16px);
    padding: 22px 18px;
  }
  .privacy-consent-dialog.showing-privacy-text,
  .privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) {
    height: calc(100svh - 16px);
    padding: 16px 14px;
  }
  .privacy-consent-dialog.showing-privacy-text > .label,
  .privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) > .label {
    display: none;
  }
  .privacy-consent-dialog.showing-privacy-text > h2,
  .privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) > h2 {
    font-size: 1.25rem;
    margin: 0 0 8px;
  }
  .privacy-consent-dialog.showing-privacy-text > p,
  .privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) > p,
  .privacy-consent-dialog.showing-privacy-text .privacy-consent-details,
  .privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) .privacy-consent-details {
    display: none;
  }
  .privacy-consent-dialog.showing-privacy-text .privacy-consent-actions,
  .privacy-consent-dialog:has(.privacy-consent-text:not([hidden])) .privacy-consent-actions {
    order: 3;
    margin-top: 10px;
  }
  .privacy-consent-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }
  .privacy-consent-text {
    order: 2;
    min-height: 0;
    max-height: none;
    padding: 14px;
    margin-top: 8px;
  }
  .cta-section { margin: 0 12px; }
  .kontakt-form { padding: 28px 24px; }
  .kontakt-only .kontakt-info {
    padding: 28px 22px;
  }
  .kontakt-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .termine-page {
    padding-top: 104px;
    padding-bottom: 180px;
  }
  .termine-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .termin-widget-wrap {
    width: 100%;
    max-width: none;
    min-height: 0;
  }
  .termin-widget-consent {
    border-radius: 18px;
    padding: 26px 18px;
    min-height: 300px;
  }
  .termin-widget-content,
  #widget-content {
    border-radius: 18px !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 14px !important;
    min-height: 0 !important;
    overflow: visible !important;
    width: 100% !important;
  }
  .termin-widget-content iframe,
  #widget-content iframe {
    width: 100% !important;
    min-height: 760px;
  }
  .leistung-full {
    border-radius: 32px;
    margin-bottom: 22px;
  }
  .leistung-full-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 42px;
    gap: 14px;
    min-height: 108px;
    padding: 22px 22px;
  }
  .leistung-list-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    justify-self: center;
  }
  .leistung-full-header h3 {
    min-width: 0;
    font-size: clamp(1.12rem, 5.25vw, 1.85rem);
    line-height: 1.28;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    hyphens: none;
  }
  .accordion-icon {
    width: 38px;
    height: 38px;
    justify-self: center;
  }
  .leistung-full-body-inner {
    padding: 0 22px 28px;
  }
  .leistung-blocks {
    padding: 0 22px 28px;
  }
  .leistung-block {
    padding: 22px 0;
  }
  .leistung-block-image img {
    max-height: 380px;
  }
  @media (max-width: 390px) {
    .leistung-full-header {
      grid-template-columns: 46px minmax(0, 1fr) 36px;
      gap: 10px;
      padding: 20px 18px;
    }
    .leistung-list-icon {
      width: 38px;
      height: 38px;
      flex-basis: 38px;
    }
    .leistung-full-header h3 {
      font-size: clamp(.98rem, 4.85vw, 1.38rem);
      line-height: 1.3;
    }
    .accordion-icon {
      width: 34px;
      height: 34px;
    }
  }
  .hero {
    padding-top: 0;
    gap: 0;
  }
  .hero-content {
    padding: 34px clamp(28px, 7vw, 44px) 42px;
  }
  .hero-content .label {
    font-size: clamp(.72rem, 3.15vw, .88rem);
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .hero-content h1 {
    font-size: clamp(2.25rem, 12.4vw, 3.9rem);
    line-height: 1.06;
    margin-bottom: 24px;
    max-width: 9.5ch;
  }
  .hero-content p {
    font-size: clamp(1rem, 4.35vw, 1.22rem);
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 31ch;
  }
  .hero-actions {
    display: grid;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 58px;
    justify-content: center;
    padding: 15px 22px;
    font-size: clamp(.98rem, 4.2vw, 1.14rem);
  }
  .hero-image {
    width: 100%;
    height: clamp(340px, 92vw, 520px);
    background: var(--weiss);
    padding: 0;
    overflow: hidden;
  }
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-image::before { display: none; }
  .page-wrap {
    padding-top: 112px;
  }
  .about-actions .btn,
  .anfahrt-actions .btn,
  .termin-widget-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .anfahrt-info {
    padding: 28px 24px;
  }
  .anfahrt-map,
  .anfahrt-map iframe {
    min-height: 340px;
  }
}

/* Seitenübergang */
main { animation: fadeUp .5s ease; }

.termin-external-link,
.termin-external-link .termin-widget-content {
  min-height: auto !important;
}

@media (max-width: 640px) {
  .termine-page .container {
    padding-left: 0;
    padding-right: 0;
  }
  .termine-page .section-header,
  .termin-contact-note {
    margin-left: 10px;
    margin-right: 10px;
  }
  .termin-widget-wrap,
  .privacy-script-embed.loaded {
    width: 100%;
    max-width: none;
  }
  .privacy-script-embed.loaded .termin-widget-content {
    width: calc(100vw - 20px) !important;
    max-width: none;
    padding: 10px !important;
    border-radius: 16px !important;
    overflow: visible !important;
  }
}
