/* ============================================================
   Michael Mars – DJ-Website
   Elegantes Design: dunkler Foto-Hero, helle Sektionen, Gold-Akzente
   Farben & Schriften zentral über die Variablen unten anpassbar
   ============================================================ */

:root {
  color-scheme: light;

  /* Farben */
  --bg: #faf7f1;            /* warmes Creme */
  --bg-alt: #f2ecdf;        /* Sektionswechsel */
  --surface: #fffdf9;       /* Karten / Formularfelder */
  --dark: #1d1b18;          /* Anthrazit (Hero, Footer) */
  --text: #2b2825;
  --muted: #6e675c;
  --line: #e2dac9;
  --gold: #b08a3e;          /* Champagner-Gold, Akzent */
  --gold-deep: #8f6f30;
  --gold-soft: #d9c08a;
  --cream: #f6f1e6;         /* helle Schrift auf dunklem Grund */

  /* Schriften */
  --font-serif: 'Playfair Display', 'Didot', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --nav-height: 5rem;
  --radius: 6px;
  --shadow: 0 18px 45px -18px rgba(29, 27, 24, 0.18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 0.5rem);
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(176, 138, 62, 0.3);
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

ul,
ol {
  list-style: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 68.75rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  top: -3.5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--dark);
  color: var(--cream);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ===== Logo (MM-Monogramm) ===== */
.logo-mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--gold-deep);
}

/* Auf dunklem Grund (Impressum/Datenschutz) hellere Goldlinien */
.subpage-header .logo-mark {
  color: var(--gold-soft);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: #fffdf7;
  border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-deep);
  border-color: rgba(176, 138, 62, 0.5);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(176, 138, 62, 0.08);
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  transform: translateY(-2px);
}

/* Auf dem dunklen Hero-Foto heller Rahmen statt Gold */
.hero .btn-ghost {
  color: var(--cream);
  border-color: rgba(246, 241, 230, 0.45);
}

.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible {
  background: rgba(246, 241, 230, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

/* ===== Navigation ===== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  color: var(--text);
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease,
    box-shadow 0.3s ease, height 0.3s ease;
}

.site-nav.scrolled {
  height: 4.25rem;
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}

/* Hintergrund + Milchglas liegen auf einem Pseudo-Element:
   backdrop-filter direkt auf .site-nav würde das fixierte
   Vollbild-Menü (Mobile) auf die Höhe der Leiste einsperren. */
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background-color 0.3s ease;
}

.site-nav.scrolled::before {
  background: rgba(250, 247, 241, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Oben über dem dunklen Hero-Foto ist die Navigation hell,
   beim Scrollen wechselt sie auf den hellen Hintergrund oben */
.site-nav:not(.scrolled) {
  color: var(--cream);
}

.site-nav:not(.scrolled) .logo-mark {
  color: var(--gold-soft);
}

.site-nav:not(.scrolled) .nav-cta {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.site-nav:not(.scrolled) .nav-cta:hover,
.site-nav:not(.scrolled) .nav-cta:focus-visible {
  background: var(--gold-soft);
  color: var(--dark);
  border-bottom-color: var(--gold-soft);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.9rem);
}

.nav-menu a {
  color: inherit;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-menu .nav-cta {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  background: var(--gold);
  color: #fffdf7;
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--cream);
  background: var(--dark);
}

/* Hintergrundfoto; die dunkle Blende darüber sorgt für gute Lesbarkeit */
.hero-photo {
  position: absolute;
  inset: 0;
  background: url('../assets/img/hero.jpg') center 35% / cover no-repeat;
  opacity: 0.55;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70rem 48rem at 50% 45%, transparent 0%, rgba(29, 27, 24, 0.6) 80%),
    linear-gradient(180deg, rgba(29, 27, 24, 0.55) 0%, rgba(29, 27, 24, 0.12) 42%, rgba(29, 27, 24, 0.75) 100%);
}

.hero-inner {
  position: relative;
  padding-block: 8rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Beim Laden der Seite fahren Logo, Zeilen und Knöpfe nacheinander hoch,
   das Foto blendet weich ein */
.hero-photo {
  animation: hero-fade 1.4s ease backwards;
}

.hero-inner > * {
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-inner > :nth-child(1) { animation-delay: 0.15s; }
.hero-inner > :nth-child(2) { animation-delay: 0.3s; }
.hero-inner > :nth-child(3) { animation-delay: 0.45s; }
.hero-inner > :nth-child(4) { animation-delay: 0.6s; }
.hero-inner > :nth-child(5) { animation-delay: 0.75s; }

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.75rem);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }
}

.hero-mark {
  width: clamp(5rem, 11vw, 6.5rem);
  height: clamp(5rem, 11vw, 6.5rem);
  margin-bottom: 2rem;
  color: var(--gold-soft);
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.5));
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.75rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3rem, 9.5vw, 6.25rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.6;
  color: rgba(246, 241, 230, 0.85);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 2.75rem;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ===== Sektionen ===== */
.section {
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.2;
  color: var(--dark);
}

.section-intro {
  margin-top: 1.1rem;
  color: var(--muted);
}

/* ===== Über mich ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  z-index: -1;
}

.about-text p + p {
  margin-top: 1.1rem;
}

.about-text .section-title {
  margin-bottom: 1.4rem;
}

.about-genres {
  margin-top: 2.1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-genres-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge-list li {
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-deep);
  background: var(--surface);
}

.about-genres-note {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.stat dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.stat dd {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.1;
  color: var(--gold-deep);
}

.stat dd .stat-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  margin-top: 0.35rem;
}

/* ===== Werdegang / Timeline mit Fotos ===== */
.timeline {
  position: relative;
  max-width: 56rem;
  padding-left: clamp(1.75rem, 5vw, 2.75rem);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.32rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-soft));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(10rem, 20vw, 13rem);
  column-gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(1.75rem, 5vw, 2.75rem));
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--gold);
}

.timeline-year {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--dark);
  margin-bottom: 0.55rem;
}

.timeline-content p:last-child {
  color: var(--muted);
}

.timeline-photo {
  margin: 0;
  position: relative;
}

.timeline-photo img {
  border-radius: var(--radius);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 12px 30px -14px rgba(29, 27, 24, 0.3);
  background: var(--surface);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline-item:hover .timeline-photo img {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 42px -16px rgba(29, 27, 24, 0.4);
}

/* ===== Leistungen & Technik (Karten) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 26px 55px -22px rgba(29, 27, 24, 0.3);
}

.card:hover .card-icon {
  background: var(--gold);
  color: #fffdf7;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 1.4rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.98rem;
  color: var(--muted);
}

.tech-list {
  margin-top: 0.25rem;
}

.tech-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.tech-list li + li {
  margin-top: 0.55rem;
}

.tech-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== Kontakt / Formular ===== */
.contact-container {
  max-width: 46rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
  color: var(--dark);
}

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

.optional {
  font-weight: 400;
  color: var(--muted);
}

.form-field input:not([type='checkbox']),
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field ::placeholder {
  color: rgba(110, 103, 92, 0.6);
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 62, 0.18);
}

.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
  border-color: #b3532f;
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.form-consent input {
  margin-top: 0.35rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--gold);
}

.form-consent label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  margin: 0;
}

.botcheck {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-hint {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  color: #7a3417;
  background: #f8e7dc;
  border: 1px solid #e5c2ab;
  border-radius: var(--radius);
}

.form-success {
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow);
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(246, 241, 230, 0.75);
  padding-block: 2.25rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--gold-soft);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

/* ===== Scroll-Reveal =====
   Elemente fahren beim Scrollen von unten herein. Als Animation (statt
   Transition) umgesetzt, damit Hover-Effekte danach sofort reagieren. */
[data-reveal] {
  --reveal-distance: 2.75rem;
  opacity: 0;
}

/* Werdegang-Kacheln fahren deutlicher von unten herein */
.timeline-item[data-reveal] {
  --reveal-distance: 4.5rem;
}

[data-reveal].visible {
  opacity: 1;
  animation: reveal-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
  }
}

/* Innerhalb eines Abschnitts erscheinen die Zeilen kurz nacheinander */
.section-head [data-reveal]:nth-child(2),
.about-text [data-reveal]:nth-child(2) {
  animation-delay: 0.1s;
}

.section-head [data-reveal]:nth-child(3),
.about-text [data-reveal]:nth-child(3) {
  animation-delay: 0.2s;
}

.about-text [data-reveal]:nth-child(4) {
  animation-delay: 0.3s;
}

.about-text [data-reveal]:nth-child(5) {
  animation-delay: 0.4s;
}

.cards .card:nth-child(2) {
  animation-delay: 0.12s;
}

.cards .card:nth-child(3) {
  animation-delay: 0.24s;
}

/* ===== Unterseiten (Impressum / Datenschutz) ===== */
.subpage-header {
  background: var(--dark);
  color: var(--cream);
  padding-block: 1.1rem;
}

.subpage-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.subpage-back {
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.subpage-back:hover,
.subpage-back:focus-visible {
  text-decoration: underline;
}

.legal {
  max-width: 46rem;
}

.legal h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 2.9rem);
  color: var(--dark);
  margin-bottom: 1.75rem;
}

.legal h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--dark);
  margin-top: 2.25rem;
  margin-bottom: 0.7rem;
}

.legal p + p {
  margin-top: 0.9rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-block: 0.7rem;
}

.legal ul li + li {
  margin-top: 0.3rem;
}

.note-box {
  background: #fdf3dd;
  border: 1px solid var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

mark.todo {
  background: #f5e3b8;
  color: var(--dark);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

/* ===== Mobile & Tablet ===== */
@media (max-width: 55.9rem) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 120;
  }

  .site-nav.menu-open {
    color: var(--cream);
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(29, 27, 24, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    color: var(--cream);
  }

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

  .about-photo {
    max-width: 21rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-photo {
    max-width: 18rem;
    margin-top: 1rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Reduzierte Bewegung ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  .timeline-item[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .hero-photo,
  .hero-inner > * {
    animation: none;
  }

  .btn,
  .card,
  .card-icon,
  .timeline-photo img {
    transition: none;
  }

  .card:hover,
  .timeline-item:hover .timeline-photo img {
    transform: none;
  }
}
