@font-face { font-family: 'Petrona'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/petrona-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Petrona'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('fonts/petrona-latin-wght-italic.woff2') format('woff2'); }
/* === LOCAL FONTS === */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-latin-300-normal.woff2') format('woff2'),
       url('fonts/inter-latin-300-normal.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400-normal.woff2') format('woff2'),
       url('fonts/inter-latin-400-normal.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500-normal.woff2') format('woff2'),
       url('fonts/inter-latin-500-normal.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600-normal.woff2') format('woff2'),
       url('fonts/inter-latin-600-normal.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-latin-700-normal.woff2') format('woff2'),
       url('fonts/inter-latin-700-normal.woff') format('woff');
}

/* ==========================================================================
   ELF80 styles.css
   Geteiltes Stylesheet für alle Unterseiten (Sub-Pages, Legal, Danke, 404).
   Die Startseite (index.html) hat ihr eigenes, größeres Layout-System inline.
   Änderungen hier wirken auf alle obigen Seiten.
   ========================================================================== */

/* === Tokens (Farben, Spacing, identisch zur Hauptseite) === */
:root {
  /* Core palette */
  --ink:         #002d24;
  --ink-soft:    rgba(0, 45, 36, 0.75);
  --ink-mute:    rgba(0, 45, 36, 0.45);
  --paper:       #F6F8F8;
  --paper-2:     #EBF2F1;
  --line:        rgba(0, 45, 36, 0.1);
  --sage:        rgba(0, 45, 36, 0.15);
  --sage-deep:   #EBF2F1;
  --sage-light:  rgba(13, 109, 95, 0.1);
  --clay:        #0d6d5f;
  --clay-light:  #1c8e7d;

  /* Accent tints — change these when rebranding */
  --nav-bg:      rgba(0, 45, 36, 0.93);
  --clay-wash:   rgba(13, 109, 95, 0.08);
  --clay-tint:   rgba(13, 109, 95, 0.1);
  --clay-glow:   rgba(13, 109, 95, 0.18);
  --clay-border: rgba(13, 109, 95, 0.2);
  --clay-strong: rgba(13, 109, 95, 0.25);
}

/* === Reset & Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* === Container (überschreibbar pro Page-Type) === */
.container { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ==========================================================================
   SUB-PAGES (Implantate, Aligner, Veneers)
   ========================================================================== */

/* === Hauptnav (identisch zur Homepage) === */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
nav.top .grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
nav.top .logomark { justify-self: start; }
nav.top .nav-links { justify-self: center; }
nav.top .nav-actions { justify-self: end; }
.logomark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--clay);
  text-decoration: none;
  flex-shrink: 0;
}
.logomark .logo-svg {
  height: 22px;
  width: auto;
  display: block;
  color: var(--clay);
  transition: color 0.3s;
}
.logomark:hover .logo-svg { color: var(--clay-light); }

/* Nav ist immer dunkel — Text und Logo müssen hell sein */
nav.top .logomark,
nav.top .logomark .logo-svg        { color: var(--paper); }
nav.top .logomark:hover .logo-svg  { color: rgba(246, 248, 248, 0.75); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(246, 248, 248, 0.72);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--paper);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-current { color: var(--paper); }
.nav-links a.is-current::after { width: 100%; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 8px 18px;
  background: var(--clay);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}
.nav-btn:hover { background: var(--clay-light); transform: translateY(-1px); }
.nav-btn .arrow { display: inline-block; transition: transform 0.3s; }
.nav-btn:hover .arrow { transform: translateX(3px); }
@media (max-width: 1100px) {
  nav.top .grid {
    display: flex;
    justify-content: space-between;
    grid-template-columns: none;
  }
  .nav-links { display: none; }
  .nav-btn { padding: 6px 14px; font-size: 12px; margin-left: 0; }
  .nav-btn-extra { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* === Mobile Hamburger + Drawer === */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  margin-left: 6px;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 360px;
  background: var(--paper);
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 90px 32px 40px;
  border-left: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.mobile-drawer-close:hover {
  color: var(--clay);
  border-color: var(--clay);
  background: var(--clay-wash);
}
.mobile-drawer-close svg { width: 18px; height: 18px; }
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-drawer-nav a {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.005em;
  transition: color 0.2s;
}
.mobile-drawer-nav a:hover { color: var(--clay); }
.mobile-drawer-nav a:last-child { border-bottom: none; }
/* Body-Offset für fixed Nav auf Sub-Pages */
body.has-fixed-nav { padding-top: 72px; }

/* === Scroll-to-Top Button === */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--clay);
  color: var(--paper);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 80;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--clay-light); }
.scroll-top svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
  .logomark .logo-svg { height: 20px; }
}

/* === Breadcrumb === */
.breadcrumb {
  padding: 24px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb-sep { margin: 0 8px; color: var(--line); }

/* === Sub Hero === */
.sub-hero { padding: 56px 0 80px; border-bottom: 1px solid var(--line); }.sub-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
h1 em {
  font-style: normal;
  color: inherit;
  font-family: inherit;
}
.sub-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 40px;
  max-width: 62ch;
}
.sub-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--clay);
  color: var(--paper);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}
.sub-hero-cta:hover { background: var(--clay-light); }

/* Sub-Hero Ergänzungs-Klassen */
.sub-hero-title { }  /* H1 in sub-hero, styled via .sub-hero h1 */
.sub-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 60ch;
}
.sub-hero-hint {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.sub-breadcrumb {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sub-breadcrumb a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s;
}
.sub-breadcrumb a:hover { color: var(--clay); }

/* Mikro-Hint unter Hero-CTAs ("Kostenlos · Antwort binnen 2 Werktagen") */
.cta-hint {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

/* === Sub Sections === */
section.sub-section { padding: 80px 0; border-bottom: 1px solid var(--line); }.sub-section h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 22ch;
}
h2 em {
  font-style: normal;
  color: inherit;
  font-family: inherit;
}
.sub-section h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.sub-section p { color: var(--ink-soft); margin-bottom: 18px; max-width: 65ch; }
.sub-lead-text {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 65ch;
}
.sub-lead-text:last-of-type { margin-bottom: 40px; }

/* Inline CTA-Link ("Alle Pakete ansehen →") */
.sub-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clay);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s, gap 0.2s;
}
.sub-cta-link:hover { color: var(--clay-light); gap: 10px; }

/* Booking CTA Block */
.booking-cta-text {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}
.booking-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--clay);
  color: var(--paper);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
}
.booking-btn:hover { background: var(--clay-light); }

/* === Pillar-Grid (3 Spalten) === */
.sub-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.sub-pillar { border-top: 1px solid var(--clay); padding-top: 20px; }
.sub-pillar-num {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--clay);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  margin-bottom: 12px;
  line-height: 1;
}
.sub-pillar p { font-size: 15px; line-height: 1.6; color: var(--ink-mute); margin: 0; }

/* === Bausteine-Grid (2 Spalten) === */
.sub-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
  margin-top: 40px;
}
.sub-step h3 { color: var(--ink); }
.sub-step-tag {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--clay);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  font-variation-settings: "SOFT" 80;
}
.sub-step p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* === Example-Box === */
.sub-example {
  background: var(--paper-2);
  padding: 36px 40px;
  border-radius: 6px;
  margin-top: 40px;
  border-left: 3px solid var(--clay);
}
.sub-example .lbl {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--clay-light);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
  font-variation-settings: "SOFT" 80;
}
.sub-example p { color: var(--ink); font-size: 16px; max-width: 60ch; margin-bottom: 12px; }
.sub-example p:last-child { margin-bottom: 0; }

/* === FAQ Accordion (Sub-Pages — matches index.html style) === */
.sub-faq { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.sub-faq-list { display: flex; flex-direction: column; gap: 0; }
.sub-faq-item {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.4s ease;
  margin-bottom: 8px;
}
.sub-faq-item[open] { background: var(--paper-2); }
.sub-faq-item summary {
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.3s;
  line-height: 1.35;
}
.sub-faq-item summary::-webkit-details-marker { display: none; }
.sub-faq-item summary::marker { content: ""; }
.sub-faq-item summary:hover { color: var(--clay-light); }
.sub-faq-item .faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.sub-faq-item .faq-icon::before,
.sub-faq-item .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--clay);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sub-faq-item .faq-icon::before { width: 14px; height: 1.5px; }
.sub-faq-item .faq-icon::after { width: 1.5px; height: 14px; }
.sub-faq-item[open] .faq-icon::after { transform: scaleY(0); }
.sub-faq-item[open] .faq-icon::before { transform: rotate(180deg); }
.sub-faq-answer {
  padding: 0 32px 28px 32px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
  animation: faqFadeIn 0.4s ease-out;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .sub-faq-item summary { padding: 20px 22px; font-size: 16px; gap: 16px; }
  .sub-faq-answer { padding: 0 22px 22px 22px; font-size: 14.5px; }
}

/* === Inline Mini-Form (Sub-Pages) === */
.sub-form-wrap {
  background: var(--paper-2);
  padding: 48px 44px;
  border-radius: 8px;
  margin-top: 40px;
}
.sub-form .form-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-light);
  margin-bottom: 24px;
  display: block;
}
.sub-form .field { margin-bottom: 16px; }
.sub-form label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.sub-form input,
.sub-form select,
.sub-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}
.sub-form input:focus,
.sub-form select:focus,
.sub-form textarea:focus {
  outline: none;
  border-color: var(--clay);
}
.sub-form textarea { resize: vertical; min-height: 80px; }
.sub-form button {
  margin-top: 12px;
  width: 100%;
  padding: 16px 24px;
  background: var(--clay);
  color: var(--paper);
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.sub-form button:hover { background: var(--clay-light); }
.sub-form-privacy {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-mute);
}

/* === Cross-Links zu anderen Sub-Pages === */
.sub-related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.sub-related a {
  display: block;
  padding: 24px 28px;
  background: var(--paper-2);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s;
}
.sub-related a:hover { background: var(--clay-wash); }
.sub-related .lbl {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--clay);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
  font-variation-settings: "SOFT" 80;
}
.sub-related .title { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.sub-related .arrow { color: var(--clay); margin-left: 6px; }

/* === Sub-Pages Responsive === */
@media (max-width: 720px) {
  .sub-pillars { grid-template-columns: 1fr; gap: 28px; }
  .sub-steps { grid-template-columns: 1fr; gap: 32px; }
  .sub-related { grid-template-columns: 1fr; }
  .sub-form-wrap { padding: 32px 24px; }
  .sub-example { padding: 28px 24px; }
  section.sub-section { padding: 56px 0; }
  .sub-hero { padding: 32px 0 56px; }
}

/* ==========================================================================
   LEGAL-PAGES (Impressum, Datenschutz, AGB)
   ========================================================================== */

.legal-main { padding: 80px 0 120px; }
.legal-main h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.legal-lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 56px;
  max-width: 60ch;
}
.legal-main h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.legal-main h2 .num {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--clay);
  margin-right: 10px;
  font-variation-settings: "SOFT" 80;
}
.legal-main h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
  margin: 28px 0 10px;
  letter-spacing: 0.01em;
}
.legal-main p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.legal-main ul, .legal-main ol {
  color: var(--ink-soft);
  margin: 0 0 16px 20px;
  padding-left: 8px;
}
.legal-main li { margin-bottom: 6px; }
.legal-main a {
  color: var(--clay-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-main a:hover { color: var(--clay); }
.legal-main strong { color: var(--ink); font-weight: 600; }

.placeholder {
  background: var(--clay-tint);
  border-left: 2px solid var(--clay);
  padding: 4px 10px;
  color: var(--clay);
  font-style: italic;
  font-size: 0.95em;
  display: inline-block;
}

.legal-dl {
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.legal-dl-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.legal-dl-label {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--clay-light);
  font-variation-settings: "SOFT" 80;
  padding-top: 2px;
}
.legal-dl-value {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   GLOBAL SITE FOOTER (identisch mit Startseite)
   ========================================================================== */

footer {
  background: var(--paper-2);
  color: var(--ink-mute);
  padding: 80px 0 40px;
  margin-top: 80px;
}
.footer-main { padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.footer-brand {
  display: inline-block;
  width: max-content;
  max-width: 100%;
}
.footer-mark {
  width: 150px;
  color: var(--clay);
  margin-bottom: 14px;
  line-height: 0;
}
.footer-mark .logo-svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--clay);
}
.footer-sub {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.footer-bottom {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.footer-bottom a {
  color: var(--ink-mute);
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .legal-dl-row { grid-template-columns: 1fr; gap: 4px; }
  .legal-dl-label { font-size: 13px; }
  .legal-main { padding: 56px 0 80px; }
  footer { margin-top: 56px; padding: 56px 0 32px; }
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    padding-top: 28px;
  }
  .footer-bottom div:first-child {
    color: var(--ink-mute);
    font-size: 12px;
  }
  .footer-bottom div:last-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom a {
    margin-left: 0;
  }
}
.danke-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.danke-main h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.danke-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 48px;
  max-width: 56ch;
}
.danke-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.danke-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: baseline;
}
.danke-step-num {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--clay);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.danke-step-body strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.danke-step-body span {
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.danke-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--clay);
  color: var(--clay);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.danke-back:hover {
  background: var(--clay);
  color: var(--paper);
}
.notfound-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.notfound-code {
  font-family: 'Petrona', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(140px, 22vw, 240px);
  line-height: 0.9;
  color: var(--clay);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}
.notfound-main h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.notfound-lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 40px;
  max-width: 50ch;
}
.notfound-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.notfound-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.notfound-btn-primary {
  background: var(--clay);
  color: var(--paper);
  border: 1px solid var(--clay);
}
.notfound-btn-primary:hover {
  background: var(--clay-light);
  border-color: var(--clay-light);
}
.notfound-btn-ghost {
  background: transparent;
  color: var(--clay);
  border: 1px solid var(--clay);
}
.notfound-btn-ghost:hover {
  background: var(--clay);
  color: var(--paper);
}


/* === COOKIE CONSENT === */
#elf-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 24px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
}
.consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.consent-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  min-width: 220px;
}
.consent-text a { color: var(--clay-light); text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.consent-btn:hover { opacity: 0.82; }
.consent-btn-accept { background: var(--clay); color: var(--paper); }
.consent-btn-decline { background: transparent; color: var(--paper); border: 1px solid rgba(246,248,248,0.3); }
@media (max-width: 600px) {
  #elf-consent { padding: 16px; }
  .consent-inner { gap: 16px; }
  .consent-btns { width: 100%; }
  .consent-btn { flex: 1; text-align: center; }
}
