/* ==========================================================================
   style.css – gemeinsames Stylesheet für index.html und rechtliches.html
   Ausgelagert aus den bisherigen Inline-<style>-Blöcken (Stand: 29.09.2026)
   ========================================================================== */

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

:root {
  --orange: #F39325;
  --orange-dark: #d97d10;
  --orange-text: #a85700; /* dunklere Variante für Text/Icons auf hellem Grund (WCAG AA) */
  --black: #111111;
  --text-heading: var(--black);
  --gray-dark: #34302c;
  --gray-mid: #665f58;
  --gray-light: #f7f5f2;
  --white: #ffffff;
  --on-accent: #111111; /* dunkle Schrift auf Orange: Kontrast ca. 8:1 statt 2,3:1 */
  --border: #ebe7e2;
  --border-soft: #f0ece7;
  --text-muted: #767676;
  --shadow: rgba(0,0,0,0.06);
  color-scheme: light;
  --hover-tint: #fef3e3;
  --max-w: 720px;
  --radius: 6px;
  --font-heading: 'Trebuchet MS', 'Segoe UI', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
  --text-heading: #f5f5f5;
  --gray-dark: #d6d6d6;
  --gray-mid: #a3a3a3;
  --gray-light: #1d1b19;
  --white: #121212;
  --border: #2d2a26;
  --border-soft: #272421;
  --text-muted: #8f8f8f;
  --orange-text: var(--orange);
  color-scheme: dark;
  --shadow: rgba(0,0,0,0.5);
  --hover-tint: rgba(243, 147, 37, 0.12);
}

html { scroll-behavior: smooth; }

/* Sichtbarer Tastaturfokus (bisher nur beim Skip-Link vorhanden) */
:focus-visible {
  outline: 2px solid var(--orange-text);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-dark);
  background: var(--white);
}

/* ── NAV ── */
#top {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
#top.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 4px 16px var(--shadow);
}
[data-theme="dark"] #top.scrolled {
  background: #1a1a1a;
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo span { color: var(--orange); } /* Logo: Marken-Orange (von Kontrastregeln ausgenommen) */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--orange-text); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── DARK-MODE-TOGGLE ── */
.theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-heading);
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, transform 0.3s;
}
.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange-text);
  transform: rotate(20deg);
}
.theme-toggle svg {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: opacity 0.3s ease, transform 0.4s ease;
}
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* Kreis-Wipe-Animation beim Umschalten (Browser mit View-Transitions-Support) */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-new(root) {
  animation: theme-reveal 0.6s ease;
}
@keyframes theme-reveal {
  from { clip-path: circle(0% at var(--theme-x, 90%) var(--theme-y, 5%)); }
  to   { clip-path: circle(150% at var(--theme-x, 90%) var(--theme-y, 5%)); }
}

/* ── SKIP-LINK (Tastaturnavigation) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: var(--on-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid var(--black);
  outline-offset: 2px;
}
main:focus { outline: none; }

/* ── HAMBURGER (mobil) ── */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── SECTIONS ── */
section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* ── HERO ── */
/* Animierte Gradient-Orbs statt statischem Punktraster: reines CSS, kein
   zusätzlicher Datei-Request, passt sich automatisch an den Dark Mode an.
   Respektiert prefers-reduced-motion. */
.hero-bg {
  position: relative;
  overflow: hidden;
  --hb-orb1: rgba(243, 147, 37, 0.42);
  --hb-orb2: rgba(243, 147, 37, 0.28);
  --hb-grid: rgba(17, 17, 17, 0.045);
  background-image: radial-gradient(var(--hb-grid) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  /* Schimmer und Punktraster laufen unten weich aus statt an einer harten Kante zu enden */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent 100%);
}
[data-theme="dark"] .hero-bg {
  --hb-orb1: rgba(255, 168, 64, 0.32);
  --hb-orb2: rgba(255, 168, 64, 0.18);
  --hb-grid: rgba(255, 255, 255, 0.05);
}
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.hero-bg::before {
  width: 420px;
  height: 420px;
  background: var(--hb-orb1);
  top: -160px;
  right: -120px;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-bg::after {
  width: 300px;
  height: 300px;
  background: var(--hb-orb2);
  bottom: -140px;
  left: -80px;
  animation: orbFloat 18s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-20px, 25px) scale(1.08); }
}
.hero {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-main { flex: 1; min-width: 260px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 520px;
  margin-bottom: 1.25rem;
}
/* ── AVATAR ── */
.hero-avatar {
  position: relative;
  flex-shrink: 0;
  margin-right: 1.5rem;
}
.avatar-ring {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(243, 147, 37, 0.25);
  border: 4px solid var(--orange);
}
.avatar-ring picture {
  display: block;
  width: 100%;
  height: 100%;
}
.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Sanftes Einblenden beim Laden */
.hero-eyebrow, .hero h1, .hero-sub, .hero-avatar {
  animation: heroIn 0.6s ease both;
}
.hero h1 { animation-delay: 0.05s; }
.hero-sub { animation-delay: 0.1s; }
.hero-avatar { animation-delay: 0.1s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg::before, .hero-bg::after { animation: none; }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-avatar { animation: none; }
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── ÜBER MICH ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}
.about-text {
  color: var(--gray-mid);
  font-size: 15px;
}
.about-text p + p { margin-top: 0.75rem; }

/* ── PROFIL-LISTE: Punkte mit Verbindungslinie (Mini-Zeitleiste), ── */
/* gleiches Motiv wie die Linie bei "Berufliches" ── */
.about-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-list::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border);
}
.about-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.about-marker {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 0.6rem;
  flex-shrink: 0;
}
.about-item p {
  color: var(--gray-mid);
  font-size: 15px;
  line-height: 1.6;
}

/* ── SANFTES EINBLENDEN BEIM SCROLLEN (Profil & Stationen) ── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.about-list .reveal:nth-child(1) { transition-delay: 0s; }
.about-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.about-list .reveal:nth-child(3) { transition-delay: 0.16s; }
.about-list .reveal:nth-child(4) { transition-delay: 0.24s; }
.job-list .reveal:nth-child(1) { transition-delay: 0s; }
.job-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.job-list .reveal:nth-child(3) { transition-delay: 0.16s; }
.job-list .reveal:nth-child(4) { transition-delay: 0.24s; }
.contact-list .reveal:nth-child(1) { transition-delay: 0s; }
.contact-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.contact-list .reveal:nth-child(3) { transition-delay: 0.16s; }
.contact-list .reveal:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  border-left: 3px solid var(--orange);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px var(--shadow);
}
.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.card h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}
.card p {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* ── BERUFLICHES ── */
.job-list {
  position: relative;
}
.job-list::before {
  content: '';
  position: absolute;
  left: 134px;
  top: 1.85rem;
  bottom: 1.85rem;
  width: 2px;
  background: var(--border);
}
.job {
  position: relative;
  display: grid;
  grid-template-columns: 112px 20px minmax(0, 1fr);
  column-gap: 0.75rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.job:last-child { border-bottom: none; }
.job-year {
  padding-top: 0.05rem;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gray-mid);
  text-align: right;
  white-space: nowrap;
}
.job:first-child .job-year { color: var(--orange-text); }
.job-marker {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin: 0.3rem auto 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--gray-mid);
  box-shadow: 0 0 0 2px var(--border);
}
.job:first-child .job-marker {
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(243, 147, 37, 0.28);
}
@media (max-width: 560px) {
  .job-list::before { left: 7px; }
  .job {
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 0.85rem;
    padding: 1.1rem 0;
  }
  .job-year {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
    margin-bottom: 0.25rem;
    text-align: left;
  }
  .job-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 0.25rem;
  }
  .job-info {
    grid-column: 2;
    grid-row: 2;
  }
}
.job-info h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
}
.job-info .role {
  font-size: 13px;
  color: var(--gray-mid);
}
.job-info .period {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.period-link {
  color: var(--orange-text);
  text-decoration: none;
}

/* ── KONTAKT / ONLINE ──
   Kompakte Liste statt Kachel-Grid, aber mit dezentem Hintergrund je
   Zeile: ruhiger als volltonige Kacheln, bleibt aber auch ohne
   Hover-Zustand (Smartphone!) klar als klickbares Element erkennbar. */
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  margin-top: 1.25rem;
}
.contact-list--3 {
  grid-template-columns: repeat(3, 1fr);
}
.contact-subheading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.contact-subheading--tight { margin-top: 1.75rem; }
@media (max-width: 560px) {
  .contact-list, .contact-list--3 { grid-template-columns: 1fr; }
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  background: var(--gray-light);
  text-decoration: none;
  color: var(--gray-dark);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.6s ease, transform 0.6s ease;
}
.contact-row:hover {
  background: var(--hover-tint);
  color: var(--orange-text);
}
.contact-row-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--orange-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.contact-row-icon svg { width: 22px; height: 22px; }

/* ── FOOTER ── */
footer {
  background: var(--gray-light);
  border-top: 1px solid var(--border);
  color: var(--gray-mid);
  font-size: 12px;
  text-align: center;
  padding: 1.25rem 1.5rem;
}
footer a { color: var(--gray-dark); text-decoration: none; }
footer a:hover { color: var(--orange-text); text-decoration: underline; }

/* ── ACCENT LINE ── */
.accent-bar {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ── BACK TO TOP ── */
.back-to-top {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.back-to-top a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.back-to-top a:hover {
  background: var(--orange);
  color: var(--on-accent);
}
.back-to-top svg { width: 16px; height: 16px; }

/* ── TRENNLINIE MIT INTEGRIERTEM "NACH OBEN"-LINK ──
   Ersetzt Text-Abstand + separate Linie durch einen Kreis, der die
   Trennlinie selbst unterbricht: weniger Leerraum, ein Element statt zwei. */
.section-divider {
  position: relative;
}
.section-divider .divider-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.section-divider .divider-btn svg { width: 15px; height: 15px; }
.section-divider .divider-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-accent);
  transform: translate(-50%, -50%) translateY(-2px);
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--orange);
  z-index: 200;
  transition: width 0.1s ease-out;
}

@media (max-width: 700px) {
  .hero { padding-top: 3rem; }
  .hero-flex { flex-direction: column-reverse; align-items: flex-start; }
  .hero-avatar { margin-right: 0; margin-bottom: 0.5rem; }
  .avatar-ring { width: 120px; height: 120px; }

  .nav-toggle { display: flex; }
  .nav-controls { gap: 0.5rem; }
  .theme-toggle { width: 34px; height: 34px; }

  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px var(--shadow);
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
    overflow-y: auto;

    /* verborgen, aber immer im DOM erreichbar (auch beim Scrollen) */
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--border-soft); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 15px;
  }
}

/* ── RECHTLICHES-SEITE (Impressum & Datenschutz) ── */
#impressum, #datenschutz { scroll-margin-top: 72px; }
.legal-page address { font-style: normal; }
.legal-page a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { text-decoration-thickness: 2px; }
.legal-page h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-heading);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal-page h3:first-child { margin-top: 0; }
.legal-page .legal-stand {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.legal-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.legal-jump a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.legal-jump a:hover {
  background: var(--hover-tint);
  color: var(--orange-text);
}
.legal-page-heading { margin-top: 1.5rem; }

/* ── NAVIGATION: aktiver Abschnitt ── */
.nav-links a.is-active {
  color: var(--orange-text);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* ── FOOTER: zweite Zeile ── */
footer p + p { margin-top: 0.4rem; }

/* ── DRUCKANSICHT ── */
@media print {
  :root, [data-theme="dark"] {
    --white: #ffffff;
    --text-heading: #111111;
    --gray-dark: #222222;
    --gray-mid: #444444;
    --gray-light: #f7f5f2;
    --border: #cccccc;
    --border-soft: #dddddd;
    --text-muted: #555555;
    --orange-text: #a85700;
  }
  #top, #scroll-progress, .skip-link, .section-divider, .hero-avatar { display: none !important; }
  .hero-bg { background: none; }
  .hero-bg::before, .hero-bg::after { display: none; }
  .reveal, .hero-eyebrow, .hero h1, .hero-sub { opacity: 1 !important; transform: none !important; animation: none !important; }
  section { padding: 1.25rem 1.5rem; break-inside: avoid; }
  .hero { padding-top: 1rem; padding-bottom: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; word-break: break-all; }
  footer { background: none; color: #444; border-top: 1px solid #ccc; }
  footer a { color: #444; }
}