/* ============================================================
   GLOBAL STYLESHEET — herbertschmidt.at
   Enthält: Fonts, Design Tokens, Base Reset, Nav, Footer
   Seiten-spezifische Styles bleiben inline in den HTML-Dateien
   ============================================================ */

/* Selbst gehostete Schriften (ersetzt den render-blockierenden Google-Fonts-@import) */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'PT Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ptserif-400.woff2') format('woff2'); }
@font-face { font-family: 'PT Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/ptserif-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'PT Serif'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/ptserif-700.woff2') format('woff2'); }


/* ---- DESIGN TOKENS ---- */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-contrast: #1d1d1f;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-inverse: #ffffff;
  --ink-inverse-2: rgba(255,255,255,0.7);
  --line: #d2d2d7;
  --line-light: #e5e5ea;
  --accent: #c8a882 !important;
  --accent-dark: #b09070 !important;
  --accent-on-dark: #c8a882 !important;
  --accent-ink: #1a1714 !important;
}

/* ---- DARK MODE TOKENS ---- */
html[data-theme="dark"] {
  --bg: #1c1c1e;
  --bg-2: #2c2c2e;
  --bg-contrast: #f5f5f7;
  --ink: #f5f5f7;
  --ink-2: #aeaeb2;
  --ink-3: #8e8e93;
  --ink-inverse: #1c1c1e;
  --ink-inverse-2: rgba(28,28,30,0.7);
  --line: #38383a;
  --line-light: #3a3a3c;
  --accent: #c8a882 !important;
  --accent-dark: #b09070 !important;
  --accent-on-dark: #c8a882 !important;
  --accent-ink: #1a1714 !important;
}

/* ---- BASE RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'CursorGothic', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

/* ============================================================
   NAV — Pill-Style, fixed oben rechts
   Quelle: blog-progression.html (vollständigste Version)
   ============================================================ */

.nav {
  position: fixed; top: 10px; left: 24px; right: 24px; width: auto; z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
.nav:hover { background: transparent; }
.nav.scrolled {
  background: oklch(0.99 0.006 74 / 0.3);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.25);
}
.nav.scrolled .nav-item-js__bg { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.35); }

/* Nav auf hellem Hintergrund → dunkle Texte */
.nav.nav-on-light .nav-item-js__text { color: var(--ink); }
.nav.nav-on-light .nav-item-js__text--clone { color: var(--ink); }
.nav.nav-on-light .nav-item-js.active .nav-item-js__text { color: var(--ink); }
.nav.nav-on-light .hamburger span { background: var(--ink); }
.nav.nav-on-light .nav-back { color: var(--ink-2); }
.nav.nav-on-light .nav-back:hover { background: var(--bg-2); color: var(--ink); }
.nav.nav-on-light .nav-item-js__bg { background: rgba(0,0,0,0.07); border-color: rgba(0,0,0,0.12); }
.nav.nav-on-light.scrolled { background: oklch(0.99 0.006 74 / 0.6); border: 1px solid rgba(0,0,0,0.08); }

.nav-inner {
  display: flex; align-items: center;
  padding: 14px 20px;
}

.nav-brand {
  flex: 1;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px; font-weight: 400; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85); text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-brand:hover { color: #fff; }
.nav.nav-on-light .nav-brand { color: var(--ink); }
.nav.nav-on-light .nav-brand:hover { color: var(--ink); }

/* Zurück-Link — nur sichtbar auf /blog/ Seiten (wird per JS gesteuert) */
.nav-back {
  display: none; /* JS zeigt ihn bei Bedarf */
  align-items: center; gap: 5px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 6px 12px; border-radius: 0;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}
.nav-back:hover { color: #fff; background: rgba(255,255,255,0.18); }

.nav-links { flex: 1; display: flex; gap: 20px; align-items: center; justify-content: center; }
.nav-links .nav-item-js::after { display: none !important; }
.nav-links .nav-item-js:hover { color: inherit; }

.nav-item-js {
  position: relative; display: inline-flex; align-items: center;
  text-decoration: none; padding: 0 13px;
  border-radius: 5px; overflow: hidden;
}
.nav-item-js__label {
  position: relative; overflow: hidden;
  height: 20px;
}
.nav-item-js__text {
  display: block; font-size: 14px; font-weight: 400; letter-spacing: 0.01em;
  line-height: 20px;
  color: rgba(255,255,255,0.85); white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.35s;
}
.nav-item-js__text--clone {
  position: absolute; top: 100%; left: 0; color: #fff;
}
.nav-item-js:hover .nav-item-js__text { transform: translateY(-100%); }
.nav-item-js__bg {
  position: absolute; inset: 0; border-radius: 5px;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4);
  transform: scaleY(0); transform-origin: bottom center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}
.nav-item-js:hover .nav-item-js__bg,
.nav-item-js.active .nav-item-js__bg { transform: scaleY(1); }
.nav-item-js.active .nav-item-js__text { color: #fff; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 7px; border: none; background: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; transition: background 0.2s;
}
.hamburger:hover { background: var(--bg-2); }
.hamburger span {
  display: block; height: 1.5px; background: #fff; border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}
.hamburger span:nth-child(1) { width: 18px; }
.hamburger span:nth-child(2) { width: 12px; align-self: flex-start; }
.hamburger span:nth-child(3) { width: 18px; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 18px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 18px; }

/* Mobile Overlay */
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0; z-index: 40;
  background: oklch(0 0 0 / 0.3);
}
.mobile-menu-overlay.open { display: block; }

/* Mobile Panel */
.mobile-menu {
  display: none; position: fixed; top: 57px; left: 12px; right: 12px;
  background: var(--bg); z-index: 90; flex-direction: column;
  overflow-y: auto; max-height: calc(100vh - 57px);
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.12);
  border-radius: 0 0 14px 14px;
  padding-top: 0;
}
.mobile-menu.open { display: flex; animation: slideDown 0.3s ease-out; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu a {
  display: block; padding: 16px 28px;
  font-size: 1rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line); transition: color .2s, background .2s;
}
.mobile-menu a:hover { color: var(--accent); background: var(--bg-2); }
.mobile-menu a.active { color: var(--accent); font-weight: 500; background: var(--bg-2); }
.mobile-back {
  display: none; /* JS zeigt ihn bei Bedarf */
  border-bottom: 2px solid var(--line) !important;
  color: var(--ink-3) !important;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px; letter-spacing: 0.06em;
}
.mobile-back:hover { color: var(--accent) !important; background: var(--bg-2) !important; }

.mobile-theme-row {
  display: flex;
  justify-content: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}

.mobile-theme-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 4px 4px 4px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  height: 52px; min-width: 190px;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 10px; letter-spacing: 0.12em; font-weight: 600;
  color: var(--ink);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease, color 0.3s ease;
  touch-action: manipulation;
}
html[data-theme="dark"] .mobile-theme-pill {
  background: #0d0b09;
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 4px 20px 4px 4px;
}

.mtp-thumb {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  color: #1a1714;
}

.mtp-label { flex: 1; text-align: center; }

/* Light mode: Sonne rechts, DAYMODE links */
.mtp-thumb--moon { display: none; }
.mtp-label--night { display: none; }

/* Dark mode: Mond links, NIGHTMODE rechts */
html[data-theme="dark"] .mtp-thumb--moon { display: flex; }
html[data-theme="dark"] .mtp-label--night { display: flex; }
html[data-theme="dark"] .mtp-thumb--sun { display: none; }
html[data-theme="dark"] .mtp-label--day { display: none; }

/* Mobiler Sprachschalter DE | EN */
.mobile-lang-switch {
  display: flex;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
}
.mobile-lang-switch:hover { background: var(--bg-2); }
.mobile-lang-switch .nav-lang-de,
.mobile-lang-switch .nav-lang-en { color: var(--ink); transition: opacity 0.2s ease; }
.mobile-lang-switch .nav-lang-sep { color: var(--ink-3); margin: 0 3px; }
.mobile-lang-switch .nav-lang-de.lang-active,
.mobile-lang-switch .nav-lang-en.lang-active { opacity: 1; }
.mobile-lang-switch .nav-lang-de:not(.lang-active),
.mobile-lang-switch .nav-lang-en:not(.lang-active) { opacity: 0.38; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-brand { display: none; }
  .nav-controls { display: none; }
  .nav-inner { justify-content: flex-end; }
  .hamburger { display: flex; }
}

/* ---- Eulerpool-Style: Theme-Toggle-Gruppe + Sprach-Switch ---- */

/* Äußerer Wrapper: Toggle-Gruppe + Divider + Flagge */
.nav-controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Sonne + Pill + Mond */
.nav-theme-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Sonne- und Mond-Icons: immer sichtbar, Opazität zeigt aktiven Modus */
.nav-theme-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.85);
  transition: opacity 0.2s ease;
}
.nav-theme-icon--sun  { opacity: 0.65; }
.nav-theme-icon--moon { opacity: 0.25; }
html[data-theme="dark"] .nav-theme-icon--sun  { opacity: 0.25; }
html[data-theme="dark"] .nav-theme-icon--moon { opacity: 0.65; }

/* Pill-Toggle */
.theme-toggle-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 32px; height: 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  outline: none;
  touch-action: manipulation;
}
.theme-toggle-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Thumb */
.theme-toggle-thumb {
  position: absolute;
  left: 2px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(14px);
}

/* Vertikaler Trennstrich */
.nav-divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* Text-Sprachschalter DE | EN */
.nav-lang-switch {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  user-select: none;
}
.nav-lang-switch:hover { opacity: 0.75; }
.nav-lang-de,
.nav-lang-en {
  color: rgba(255,255,255,0.85);
  transition: opacity 0.2s ease;
}
.nav-lang-sep {
  color: rgba(255,255,255,0.3);
  margin: 0 2px;
}
.nav-lang-de.lang-active,
.nav-lang-en.lang-active { opacity: 1; }
.nav-lang-de:not(.lang-active),
.nav-lang-en:not(.lang-active) { opacity: 0.38; }

/* ---- Anpassung auf hellem Hintergrund (nav-on-light) ---- */
.nav.nav-on-light .nav-theme-icon { color: var(--ink); }
.nav.nav-on-light .theme-toggle-pill {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.14);
}
.nav.nav-on-light .theme-toggle-thumb { background: var(--ink); }
.nav.nav-on-light .nav-divider { background: rgba(0,0,0,0.1); }
.nav.nav-on-light .nav-lang-de,
.nav.nav-on-light .nav-lang-en { color: var(--ink-2); }
.nav.nav-on-light .nav-lang-sep { color: rgba(0,0,0,0.2); }

html[data-theme="dark"] .nav.nav-on-light .nav-lang-de,
html[data-theme="dark"] .nav.nav-on-light .nav-lang-en { color: rgba(255,255,255,0.85); }
html[data-theme="dark"] .nav.nav-on-light .nav-lang-sep { color: rgba(255,255,255,0.25); }
html[data-theme="dark"] .nav.nav-on-light .nav-brand { color: rgba(255,255,255,0.85); }
html[data-theme="dark"] .nav.nav-on-light .nav-brand:hover { color: #fff; }

/* ---- Dark Mode auf hellem Hintergrund ---- */
html[data-theme="dark"] .nav.nav-on-light .nav-theme-icon { color: rgba(255,255,255,0.9); }
html[data-theme="dark"] .nav.nav-on-light .theme-toggle-pill {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}
html[data-theme="dark"] .nav.nav-on-light .theme-toggle-thumb { background: #fff; }
html[data-theme="dark"] .nav.nav-on-light .nav-divider { background: rgba(255,255,255,0.15); }

/* Nav im Dark Mode: frosted glass dunkel statt hell */
html[data-theme="dark"] .nav.scrolled {
  background: oklch(0.16 0.022 245 / 0.75);
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .nav.scrolled .nav-item-js__bg {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
/* Im Dark Mode sind alle Sektionen dunkel → nav-on-light-Klasse ignorieren */
html[data-theme="dark"] .nav.nav-on-light .nav-item-js__text { color: rgba(255,255,255,0.85); }
html[data-theme="dark"] .nav.nav-on-light .nav-item-js__text--clone { color: #fff; }
html[data-theme="dark"] .nav.nav-on-light .nav-back { color: rgba(255,255,255,0.7); }
html[data-theme="dark"] .nav.nav-on-light .nav-back:hover { background: rgba(255,255,255,0.1); color: #fff; }
html[data-theme="dark"] .nav.nav-on-light .hamburger span { background: rgba(255,255,255,0.9); }
html[data-theme="dark"] .nav.nav-on-light .nav-item-js__bg { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
html[data-theme="dark"] .nav.nav-on-light.scrolled { background: oklch(0.16 0.022 245 / 0.75); border-color: rgba(255,255,255,0.08); }

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
.nav-dropdown-group {
  position: relative;
  display: flex;
  align-items: center;
}
/* Transparente Brücke: überbrückt die Lücke zwischen Trigger und Dropdown */
.nav-dropdown-group::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-chevron {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-left: 2px;
}
.nav-dropdown-group.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 0.85;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: oklch(0.14 0.018 245 / 0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
.nav-dropdown-group.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: 'CursorGothic', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.09);
  color: #fff;
}
.nav-dropdown-item.active {
  color: var(--accent);
}
/* nav-on-light: heller Dropdown-Hintergrund */
.nav.nav-on-light .nav-dropdown {
  background: oklch(0.99 0.006 74 / 0.97);
  border-color: rgba(0,0,0,0.1);
}
.nav.nav-on-light .nav-dropdown-item {
  color: var(--ink-2);
}
.nav.nav-on-light .nav-dropdown-item:hover {
  background: rgba(0,0,0,0.05);
  color: var(--ink);
}
.nav.nav-on-light .nav-dropdown-chevron {
  color: var(--ink);
}
/* Dark Mode: immer dunkler Dropdown */
html[data-theme="dark"] .nav.nav-on-light .nav-dropdown {
  background: oklch(0.14 0.018 245 / 0.97);
  border-color: rgba(255,255,255,0.1);
}
html[data-theme="dark"] .nav.nav-on-light .nav-dropdown-item {
  color: rgba(255,255,255,0.78);
}
html[data-theme="dark"] .nav.nav-on-light .nav-dropdown-item:hover {
  background: rgba(255,255,255,0.09);
  color: #fff;
}

/* ============================================================
   FOOTER — Multi-Column mit Gold-Akzenten
   Quelle: blog-progression.html (aktuellster Stand)
   ============================================================ */

footer {
  background: var(--bg);
  color: var(--ink);
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
}
.footer-content {
  padding: 0 0 60px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.footer-column {
  display: flex;
  flex-direction: column;
}
.footer-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin: 0 0 20px;
  font-weight: 600;
  opacity: 0.95;
}
.footer-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-list li a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.footer-list li a::before {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #d4af37;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-list li a:hover { color: #d4af37; }
.footer-list li a:hover::before { width: 100%; }

/* Kontakt-Spalte */
.footer-contact {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-link {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-link:hover { color: #d4af37; }
.contact-button {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  border: 1.5px solid #d4af37;
  color: #d4af37;
  text-decoration: none; text-align: center;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer; margin-top: 8px;
}
.contact-button:hover {
  background: #d4af37; color: #0a0e27;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

/* Footer Divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(245,242,236,0), rgba(212,175,55,0.5), rgba(245,242,236,0));
  margin: 40px 0;
}

/* Social Icons */
.footer-social-section {
  display: flex; justify-content: center; padding: 40px 0;
}
.footer-socials {
  display: flex; gap: 24px; justify-content: center;
}
.social-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}
.social-icon:hover {
  color: #d4af37; border-color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 30px; text-align: center;
}
.copyright {
  font-size: 12px; color: var(--ink-3);
  margin: 0; letter-spacing: 0.03em;
}

/* Footer Responsive */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
  footer { padding: 30px 0 0; }
  .footer-content { padding: 0 0 40px 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; margin-bottom: 40px; }
  .footer-title { font-size: 10px; margin: 0 0 16px; }
  .footer-list { gap: 10px; }
  .footer-list li a { font-size: 12px; }
  .footer-socials { gap: 16px; }
  .social-icon { width: 40px; height: 40px; }
  .footer-divider { margin: 30px 0; }
  .footer-social-section { padding: 30px 0; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-title { margin: 0 0 12px; }
  .footer-list { gap: 8px; }
  .footer-list li a { font-size: 13px; }
  .footer-socials { gap: 12px; }
  .social-icon { width: 36px; height: 36px; }
  .contact-button { padding: 10px 20px; font-size: 10px; }
}

/* ============================================================
   FONT SYSTEM: Manrope (Heading) · CursorGothic (Body) · PT Serif (Caption)
   !important nötig, weil manche Seiten style.css synchron vor ihrem inline <style> laden.
   ============================================================ */

/* Keine Kursivschrift site-weit */
em, i { font-style: normal; }

/* Heading-Schrift: Manrope */
h1, h2, h3, h4,
.serif, .stat-n, .brand,
.sec-headline, .h2-muted,
.t-quote, .t-mark,
.testimonial-name, .author-name,
.bundle-price, .module-price, .variant-price,
.faq-q, .faq-q-text,
.cta-primary-btn, .modul-select-link,
.exercise-card__name, .info-card__name, .value-card__name {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
}

/* Blockquote */
.ansatz-body blockquote {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
}

/* Button: Body-Schrift (CursorGothic) */
.btn {
  font-family: 'CursorGothic', 'SF Pro Display', system-ui, -apple-system, sans-serif !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sektions-spezifische --accent Overrides auf Gold */
.speaking { --accent: #c8a882 !important; }
.kontakt  { --accent: #c8a882 !important; }

/* Hero: Hintergrund-Fallback dunkel */
.hero { background: #1a1714; }

/* Hero Überschrift: hell */
.hero h1 {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: #f0ece6;
}

/* Hero Subheading: Gold */
.hero-h1-muted { color: #c8a882; }

/* Hero Fließtext + Meta */
.hero .lead { color: rgba(240,236,230,0.75); }
.hero .hero-meta { color: rgba(240,236,230,0.45); }

/* Hero Primary Button: warmer Sand-Fill */
.hero .btn-primary {
  background: #c8a882;
  color: #1a1714;
}
.hero .btn-primary:hover { background: #b09070; opacity: 1; }
.hero .btn-primary span { display: none; }

/* Hero Ghost Button: heller Rahmen */
.hero .btn-ghost {
  color: #f0ece6;
  border-color: rgba(240,236,230,0.35);
}
.hero .btn-ghost:hover {
  color: #f0ece6;
  border-color: rgba(240,236,230,0.8);
  opacity: 1;
}

/* ── Sweep-Hover-Effekt ────────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 100%;
  background: var(--btn-fill, #1a1714);
  transform: translate(150%, 150%) scale(2.5);
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.btn:hover::before {
  transform: translate(0%, 0%) scale(2.5);
}

.btn-primary       { --btn-fill: #1a1714; }
.btn-primary:hover { color: #f0ece6 !important; opacity: 1 !important; }

.btn-ghost         { --btn-fill: var(--accent); }
.btn-ghost:hover   { color: var(--accent-ink) !important; opacity: 1 !important; }

.btn-ghost-dark         { --btn-fill: #c8a882; }
.btn-ghost-dark:hover   { color: #1a1714 !important; opacity: 1 !important; }

.btn-ghost-light        { --btn-fill: var(--ink); }
.btn-ghost-light:hover  { color: var(--bg) !important; opacity: 1 !important; }
