/* ==========================================================================
   Oldtimergarage C&W Gunkel – Stylesheet
   Vintage-Werkstatt: Papier, Emaille-Grün, Ochsenblut, Chrom & Bus-Blau
   Schriften lokal (DSGVO): DM Serif Display, Lora, Barlow Condensed, Yesteryear
   ========================================================================== */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Yesteryear"; src: url("../fonts/yesteryear-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #2b2118;
  --ink-soft: #5a4a37;
  --paper: #f3e9d0;
  --paper-light: #fbf6e8;
  --paper-dark: #e6d7b4;
  --line: #d4c29b;
  --green: #1f4a2c;
  --green-dark: #12301c;
  --green-light: #2f6a40;
  --red: #8c2b1e;
  --red-dark: #6c1f14;
  --brass: #b08a4f;
  --brass-light: #d8bd86;
  --bus: #4a73a8;
  --bus-dark: #2c4f80;
  --bus-light: #dce6f1;
  --white: #fffdf6;

  --f-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-text: "Lora", Georgia, "Times New Roman", serif;
  --f-label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-script: "Yesteryear", "Brush Script MT", cursive;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 84px;
  --shadow: 0 1px 2px rgba(43, 33, 24, .12), 0 8px 24px -8px rgba(43, 33, 24, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Filmkorn als SVG-Rauschen */
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.13 0 0 0 0 0.09 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.13 0 0 0 0 0.09 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
/* Papierkorn über allem – dezent */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: var(--grain); opacity: .09; mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--green); color: var(--paper-light); padding: 10px 16px; border-radius: var(--radius); font-family: var(--f-label); letter-spacing: .08em; text-transform: uppercase; }
.skip:focus { top: 12px; color: var(--paper-light); }

/* ---------- Typo-Bausteine ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-label); font-weight: 700; font-size: .86rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin: 0 0 1rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--light { color: var(--brass-light); }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); }
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: .01em; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 em { font-style: italic; color: var(--green); }

/* Ornamentlinie */
.rule { display: flex; align-items: center; gap: 14px; color: var(--brass); margin: 1.4rem 0; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.rule svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: var(--paper-light);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.4em; border: 2px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-label); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; line-height: 1; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); color: var(--fg); background: var(--green-light); border-color: var(--green-light); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); }
.btn--red { --bg: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--paper-light); border-color: rgba(251, 246, 232, .7); box-shadow: none; }
.btn--ghost:hover { background: var(--paper-light); color: var(--green-dark); border-color: var(--paper-light); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); box-shadow: none; }
.btn--outline:hover { background: var(--green); color: var(--paper-light); }
.btn--bus { --bg: var(--bus-dark); }
.btn--bus:hover { background: var(--bus); border-color: var(--bus); }

/* ==========================================================================
   Kopfzeile (sticky)
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
  color: var(--paper-light);
}
.site-header::before { /* dunkler Verlauf über dem Hero für Lesbarkeit */
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(18, 14, 9, .65), rgba(18, 14, 9, 0));
  transition: opacity .35s;
}
.site-header.is-solid {
  --header-h: 68px;
  background: rgba(243, 233, 208, .96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(43, 33, 24, .6);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.site-header.is-solid::before { opacity: 0; }
.site-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand__logo { position: relative; height: calc(var(--header-h) - 18px); aspect-ratio: 760 / 509; transition: height .35s; }
.brand__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.brand__logo .logo-dark { opacity: 0; }
.is-solid .brand__logo .logo-dark { opacity: 1; }
.is-solid .brand__logo .logo-light { opacity: 0; }
.brand:hover { color: inherit; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); }
.nav a {
  display: block; padding: .5em .55em; color: inherit; text-decoration: none;
  font-family: var(--f-label); font-weight: 600; font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase;
  position: relative;
}
.nav a::after { content: ""; position: absolute; left: .55em; right: .55em; bottom: .25em; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a:hover { color: inherit; }
.nav .nav__cta {
  margin-left: 6px; padding: .5em 1em; border-radius: 999px; background: var(--red); color: var(--paper-light);
  display: inline-flex; align-items: center; gap: .45em;
}
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--red-dark); color: var(--paper-light); }
.nav .nav__cta svg { width: 1em; height: 1em; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .site-header.is-solid { --header-h: 60px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
    background: transparent; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; position: relative;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -8px; }
  .nav-toggle__bars::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--green-dark) var(--grain); color: var(--paper-light);
    transform: translateY(-100%); transition: transform .45s var(--ease); overflow-y: auto;
    visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(216, 189, 134, .22); }
  .nav a { font-size: 1.5rem; padding: .7em 0; }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: .45em; }
  .nav .nav__cta { margin: 24px 0 0; justify-content: center; font-size: 1.15rem; padding: .9em 1em; }
  .nav li:last-child { border: 0; }
  .menu-open { color: var(--paper-light) !important; background: transparent !important; box-shadow: none !important; }
  .menu-open .brand__logo .logo-light { opacity: 1 !important; }
  .menu-open .brand__logo .logo-dark { opacity: 0 !important; }
  .menu-open .brand { position: relative; z-index: 2; }
}

/* ==========================================================================
   Hero-Slider
   ========================================================================== */
.hero {
  position: relative; min-height: max(620px, 100svh); color: var(--paper-light);
  display: grid; align-items: end; overflow: hidden; isolation: isolate;
  background: #1a140e;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; list-style: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.38) saturate(.78) contrast(1.06) brightness(.82);
  transform: scale(1.04);
}
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
.hero__slide:nth-child(2n).is-active img { animation-name: kenburns-b; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes kenburns-b { from { transform: scale(1.14) translate(1.5%, 0); } to { transform: scale(1.04) translate(0, -1%); } }
/* Vintage-Film-Overlay: Vignette, Lichteinfall, Korn, Flackern */
.hero__film { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__film::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(20, 12, 4, .75) 100%),
    linear-gradient(105deg, rgba(255, 170, 70, .20), transparent 35%, transparent 70%, rgba(140, 43, 30, .18)),
    linear-gradient(0deg, rgba(18, 12, 6, .92) 0%, rgba(18, 12, 6, .35) 38%, rgba(18, 12, 6, .1) 60%, rgba(18, 12, 6, .45) 100%);
}
.hero__film::after {
  content: ""; position: absolute; inset: -50%;
  background-image: var(--grain); opacity: .32; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); }
}
.hero__in { padding: calc(var(--header-h) + 40px) 0 clamp(110px, 16vh, 170px); position: relative; }
.hero__kicker { color: var(--brass-light); }
.hero h1 {
  font-size: clamp(2.8rem, 1.4rem + 6.4vw, 6.6rem); line-height: .95; margin: 0 0 .25em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
  max-width: 13ch;
}
.hero h1 .script { display: block; font-size: .5em; color: var(--brass-light); margin-bottom: .18em; line-height: 1; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); max-width: 34em; color: rgba(251, 246, 232, .92); font-style: italic; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bildunterschrift wie ein beschriftetes Klebeband */
.hero__caption {
  position: absolute; right: var(--gutter); bottom: clamp(110px, 16vh, 170px);
  max-width: min(320px, 40vw); padding: .55em 1.1em .45em;
  background: rgba(243, 233, 208, .92); color: var(--ink);
  font-family: var(--f-script); font-size: 1.45rem; line-height: 1.15;
  transform: rotate(-2.5deg); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6);
  transition: opacity .6s;
}
.hero__caption::before { content: ""; position: absolute; left: 50%; top: -12px; width: 70px; height: 22px; transform: translateX(-50%) rotate(3deg); background: rgba(216, 189, 134, .65); }
.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 74px; z-index: 2;
}
.hero__controls .wrap { display: flex; align-items: center; gap: 18px; }
.hero__dots { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero__dot {
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
}
.hero__dot span { display: block; width: 34px; height: 4px; background: rgba(251, 246, 232, .35); border-radius: 2px; overflow: hidden; position: relative; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--brass-light); transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current="true"] span::after { animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dot[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__arrow, .hero__pause {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(251, 246, 232, .55); background: rgba(18, 12, 6, .25);
  color: var(--paper-light); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s;
}
.hero__arrow:hover, .hero__pause:hover { background: var(--paper-light); color: var(--ink); border-color: var(--paper-light); }
.hero__arrow svg, .hero__pause svg { width: 18px; height: 18px; }
.hero__pause .icon-play { display: none; }
.hero.is-paused .hero__pause .icon-play { display: block; }
.hero.is-paused .hero__pause .icon-pause { display: none; }
.hero__count { font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; font-size: .95rem; color: rgba(251, 246, 232, .8); margin-left: auto; }
/* abgerissene Papierkante am Hero-Ende */
.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 1; color: var(--paper); pointer-events: none; }
.hero__edge svg { width: 100%; height: 100%; display: block; }
@media (max-width: 720px) {
  .hero__caption { display: none; }
  .hero__count { display: none; }
  .hero__controls { bottom: 56px; }
  .hero__in { padding-bottom: 130px; }
  .hero__dot span { width: 22px; }
  .hero__dot { width: 30px; }
}

/* ==========================================================================
   Wichtiger Hinweis
   ========================================================================== */
.notice-wrap { position: relative; z-index: 3; margin-top: -40px; padding-bottom: clamp(48px, 7vw, 90px); }
.notice {
  position: relative; background: var(--paper-light);
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(43, 33, 24, .55), 0 0 0 8px rgba(251, 246, 232, .55);
  padding: clamp(22px, 4vw, 44px);
  background-image: var(--grain-soft);
}
.notice::before { /* doppelte Rahmenlinie wie auf alten Formularen */
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none;
}
.notice__top { display: grid; grid-template-columns: minmax(180px, 290px) 1fr auto; gap: clamp(20px, 4vw, 44px); align-items: center; padding-bottom: clamp(18px, 3vw, 30px); border-bottom: 1px dashed var(--line); }
.notice__stack { position: relative; height: 170px; }
.notice__stack .print { position: absolute; width: 58%; }
.notice__stack .print:nth-child(1) { left: 0; top: 18px; transform: rotate(-8deg); }
.notice__stack .print:nth-child(2) { left: 22%; top: 0; transform: rotate(4deg); z-index: 2; }
.notice__stack .print:nth-child(3) { left: 44%; top: 30px; transform: rotate(-3deg); }
.notice__label { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-label); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .86rem; color: var(--green); margin-bottom: .4rem; }
.notice__label svg { width: 16px; height: 16px; color: var(--red); }
.notice h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-style: italic; margin-bottom: .3em; color: var(--ink); }
.notice__intro { color: var(--ink-soft); margin: 0; max-width: 30em; }
.notice__logo { width: clamp(150px, 16vw, 210px); }
.notice__cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 30px); margin-top: clamp(20px, 3vw, 30px); }
.notice-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: clamp(20px, 2.6vw, 28px); background: var(--white); border: 2px solid var(--paper-dark);
  box-shadow: 5px 5px 0 var(--paper-dark);
}
.notice-card__icon {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: var(--paper-light);
  background: radial-gradient(circle at 35% 30%, var(--green-light), var(--green-dark));
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--green);
}
.notice-card__icon svg { width: 30px; height: 30px; }
.notice-card h3 { font-family: var(--f-label); font-weight: 700; font-size: .9rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin: .2em 0 .35em; }
.notice-card p { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.45; margin: 0; }
.notice-card mark { background: none; color: var(--red); font-weight: 600; }
.stamp {
  display: inline-block; margin-top: 16px; padding: .35em .9em .3em;
  border: 2.5px solid var(--red); border-radius: 4px; color: var(--red);
  font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .95rem;
  transform: rotate(-6deg); opacity: .88;
  background: rgba(140, 43, 30, .04);
  box-shadow: inset 0 0 0 2px rgba(140, 43, 30, .15);
}
.notice-card .stamp { position: absolute; right: 18px; bottom: 16px; margin: 0; }
.notice-card--closed { padding-bottom: 70px; }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; list-style: none; padding: 0; }
.steps li { display: inline-flex; align-items: center; gap: 8px; padding: .3em .9em .3em .35em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper-light); font-family: var(--f-label); font-weight: 600; letter-spacing: .04em; font-size: 1rem; }
.steps li b { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--paper-light); display: grid; place-items: center; font-size: .85rem; }
.steps .steps__arrow { border: 0; background: none; padding: 0; color: var(--brass); }
.notice-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.notice-card__actions .btn { font-size: .92rem; padding: .7em 1.1em; }
.notice__foot { margin: clamp(18px, 3vw, 26px) 0 0; text-align: center; font-style: italic; color: var(--ink-soft); }
@media (max-width: 900px) {
  .notice__top { grid-template-columns: 1fr auto; }
  .notice__stack { display: none; }
  .notice__cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .notice__top { grid-template-columns: 1fr; }
  .notice__logo { width: 150px; order: -1; }
  .notice-card { grid-template-columns: 1fr; }
  .notice-card__icon { width: 52px; height: 52px; }
}

/* ==========================================================================
   Fotoabzug mit Büttenrand (wiederverwendbar)
   ========================================================================== */
.print { margin: 0; filter: drop-shadow(0 1px 1px rgba(43, 33, 24, .25)) drop-shadow(0 10px 14px rgba(43, 33, 24, .28)); }
.print__edge {
  --r: 3.5px;
  -webkit-mask: radial-gradient(var(--r) at 50% 0, #0000 96%, #000) 50% 0 / calc(2 * var(--r)) 51% repeat-x,
                radial-gradient(var(--r) at 50% 100%, #0000 96%, #000) 50% 100% / calc(2 * var(--r)) 51% repeat-x;
          mask: radial-gradient(var(--r) at 50% 0, #0000 96%, #000) 50% 0 / calc(2 * var(--r)) 51% repeat-x,
                radial-gradient(var(--r) at 50% 100%, #0000 96%, #000) 50% 100% / calc(2 * var(--r)) 51% repeat-x;
}
.print__paper {
  --r: 3.5px;
  background: #fbf6e6; padding: 9px 9px 9px;
  -webkit-mask: radial-gradient(var(--r) at 0 50%, #0000 96%, #000) 0 50% / 51% calc(2 * var(--r)) repeat-y,
                radial-gradient(var(--r) at 100% 50%, #0000 96%, #000) 100% 50% / 51% calc(2 * var(--r)) repeat-y;
          mask: radial-gradient(var(--r) at 0 50%, #0000 96%, #000) 0 50% / 51% calc(2 * var(--r)) repeat-y,
                radial-gradient(var(--r) at 100% 50%, #0000 96%, #000) 100% 50% / 51% calc(2 * var(--r)) repeat-y;
}
.print__img { position: relative; overflow: hidden; background: var(--paper-dark); }
.print__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.42) saturate(.72) contrast(1.05) brightness(.97); transition: filter .6s, transform .8s var(--ease); }
.print__img::after { /* Altersspuren */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(80, 50, 20, .35)), var(--grain);
  mix-blend-mode: multiply; opacity: .7;
}
.print figcaption, .print__cap { font-family: var(--f-script); font-size: 1.35rem; line-height: 1.15; color: var(--ink-soft); padding: 10px 4px 2px; text-align: center; }
.print--wide .print__img img { aspect-ratio: 3 / 2; }
.print--color .print__img img, a:hover .print__img img, a:focus-visible .print__img img { filter: none; }

/* ==========================================================================
   Allgemeine Sektionen
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--paper-light { background: var(--paper-light); }
.section--green { background: var(--green-dark); color: var(--paper-light); }
.section--green a:not(.btn) { color: var(--brass-light); }
.section--green .card-visit a { color: var(--ink); }
/* gezackte Papierkanten oben/unten */
.torn-top, .torn-bottom { position: absolute; left: 0; right: 0; height: 28px; pointer-events: none; color: inherit; }
.torn-top { top: -27px; }
.torn-bottom { bottom: -27px; transform: scaleY(-1); }
.torn-top svg, .torn-bottom svg { display: block; width: 100%; height: 100%; }

/* ---------- Willkommen ---------- */
.welcome { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.welcome h2 { margin-bottom: .35em; }
.quote {
  position: relative; margin: 2rem 0 1.6rem; padding: 0 0 0 clamp(52px, 7vw, 74px);
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; color: var(--green);
}
.quote::before { content: "\201E"; position: absolute; left: 0; top: -.55em; font-size: 4.2em; line-height: 1; color: var(--brass); opacity: .7; }
.quote cite { display: block; margin-top: .6em; font-family: var(--f-label); font-style: normal; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .9rem; color: var(--red); }
.signature { font-family: var(--f-script); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); color: var(--ink); line-height: 1; margin: .2em 0 0; }
.signature small { display: block; font-family: var(--f-label); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: .6em; }

/* Gedenkkarte wie eine Albumseite mit Fotoecken */
.memorial {
  position: relative; padding: clamp(30px, 4vw, 46px) clamp(26px, 3.6vw, 42px) clamp(30px, 4vw, 40px);
  background: #241b13 var(--grain); color: var(--paper-light); text-align: center;
  box-shadow: var(--shadow); transform: rotate(1.2deg);
}
.memorial::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(216, 189, 134, .45); pointer-events: none; }
.memorial__corner { position: absolute; width: 34px; height: 34px; background: linear-gradient(135deg, #0c0906 50%, transparent 50%); }
.memorial__corner:nth-of-type(1) { left: 0; top: 0; }
.memorial__corner:nth-of-type(2) { right: 0; top: 0; transform: scaleX(-1); }
.memorial__corner:nth-of-type(3) { left: 0; bottom: 0; transform: scaleY(-1); }
.memorial__corner:nth-of-type(4) { right: 0; bottom: 0; transform: scale(-1); }
.memorial__emblem { width: 74px; height: 74px; margin: 0 auto 14px; color: var(--brass-light); }
.memorial .kicker { color: var(--brass-light); }
.memorial h3 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); margin-bottom: .1em; }
.memorial .memorial__name { font-family: var(--f-script); font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); color: var(--brass-light); line-height: 1.05; margin: 0 0 .4em; }
.memorial p { color: rgba(251, 246, 232, .86); font-size: 1rem; }
.memorial__note { font-style: italic; color: var(--brass-light) !important; margin: 0; }
@media (max-width: 900px) { .welcome { grid-template-columns: 1fr; } .memorial { transform: none; max-width: 560px; } }

/* ---------- Tacho-/Zählwerk-Band ---------- */
.odo { background: var(--green-dark) var(--grain); color: var(--paper-light); padding: clamp(40px, 6vw, 64px) 0; position: relative; }
.odo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.odo__item { padding: 6px 10px; }
.odo__digits { display: inline-flex; gap: 3px; padding: 6px; border-radius: 6px; background: linear-gradient(#0c0a07, #2a2017); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8), 0 0 0 2px var(--brass), 0 0 0 4px #0c0a07; margin-bottom: 14px; }
.odo__digit {
  width: 1.05em; height: 1.4em; overflow: hidden; position: relative;
  font-family: var(--f-label); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.4em;
  background: linear-gradient(#111 0%, #2b2b2b 18%, #3a3a3a 50%, #2b2b2b 82%, #111 100%); color: #f4ead2; border-radius: 2px;
}
.odo__digit--red { background: linear-gradient(#5a120a 0%, #8c2b1e 50%, #5a120a 100%); }
.odo__digit span { display: block; transition: transform 1.8s var(--ease); }
.odo__digit span i { display: block; font-style: normal; height: 1.4em; }
.odo__plus { color: var(--brass-light); font-family: var(--f-label); font-weight: 700; font-size: 2rem; align-self: center; padding: 0 2px; }
.odo__label { font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: rgba(251, 246, 232, .82); line-height: 1.35; }
@media (max-width: 760px) { .odo__grid { grid-template-columns: 1fr 1fr; row-gap: 34px; } }

/* ==========================================================================
   Der Eichsfelder
   ========================================================================== */
.bus { background: var(--bus-dark); color: var(--white); overflow: hidden; }
.bus::before { /* Busblech mit Zierlinie */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%),
    repeating-linear-gradient(90deg, transparent 0 120px, rgba(0, 0, 0, .05) 120px 121px),
    var(--grain);
  opacity: .9;
}
.bus .wrap { position: relative; }
.bus__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: clamp(30px, 5vw, 56px); }
.bus__title { margin: 0; font-size: clamp(3rem, 1.6rem + 6vw, 6.4rem); line-height: .9; font-family: var(--f-script); font-weight: 400; color: var(--white); text-shadow: 3px 3px 0 rgba(0, 0, 0, .18); }
.bus__title small { display: block; font-family: var(--f-label); font-weight: 700; font-size: clamp(.9rem, .8rem + .3vw, 1.05rem); letter-spacing: .26em; text-transform: uppercase; color: var(--bus-light); margin-bottom: 1rem; text-shadow: none; }
.bus__trailer { font-family: var(--f-script); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); color: var(--bus-dark); background: var(--white); padding: .25em .9em .2em; border-radius: 6px 6px 2px 2px; transform: rotate(-2deg); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); white-space: nowrap; }
.bus__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.bus__photo { transform: rotate(-1.2deg); }
.bus__photo .print__img img { aspect-ratio: 4 / 3; }
.bus__story p { color: rgba(255, 253, 246, .9); }
.bus__story .lead { color: var(--white); font-style: italic; }
.bus__story h3 { color: var(--white); margin-top: 1.4em; }
.bus a { color: var(--white); }
.bus a:hover { color: var(--brass-light); }
.bus__quote { margin: 1.4rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--brass-light); background: rgba(0, 0, 0, .14); font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.35; }
.bus__quote span { display: block; font-family: var(--f-label); font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bus-light); margin-top: .6em; }

/* Typenschild (genietetes Blech) */
.plate {
  position: relative; margin-top: clamp(26px, 4vw, 40px); padding: 26px 26px 22px;
  border-radius: 10px; color: #1d1a16;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .25) 55%, rgba(255, 255, 255, 0) 80%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #d9d6cf, #b9b4aa);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), inset 0 0 0 6px rgba(0, 0, 0, .08), 0 18px 30px -18px rgba(0, 0, 0, .7);
}
.plate__rivet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8f8a80 55%, #4c4840); box-shadow: 0 1px 1px rgba(0, 0, 0, .5); }
.plate__rivet:nth-of-type(1) { left: 10px; top: 10px; } .plate__rivet:nth-of-type(2) { right: 10px; top: 10px; }
.plate__rivet:nth-of-type(3) { left: 10px; bottom: 10px; } .plate__rivet:nth-of-type(4) { right: 10px; bottom: 10px; }
.plate h3 { font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 1rem; text-align: center; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid rgba(29, 26, 22, .5); color: #1d1a16; }
.plate dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-family: var(--f-label); font-size: 1.05rem; letter-spacing: .03em; }
.plate dt { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; padding-top: .18em; color: #3c372f; }
.plate dd { margin: 0; font-weight: 600; }

/* Fotostreifen */
.bus__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 28px); margin-top: clamp(40px, 6vw, 70px); }
.bus__strip .print:nth-child(odd) { transform: rotate(-2deg); }
.bus__strip .print:nth-child(even) { transform: rotate(1.8deg) translateY(10px); }
.bus__strip a { text-decoration: none; display: block; }
@media (max-width: 960px) { .bus__grid { grid-template-columns: 1fr; } .bus__strip { grid-template-columns: 1fr 1fr; } .bus__head { grid-template-columns: 1fr; } .bus__trailer { justify-self: start; } }

/* Fahrtenbuch */
.logbook {
  margin-top: clamp(50px, 7vw, 90px); position: relative;
  background: #f7f1df; color: var(--ink);
  background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(74, 115, 168, .28) 35px 36px), linear-gradient(90deg, transparent 0 74px, rgba(140, 43, 30, .45) 74px 76px, transparent 76px);
  padding: 40px clamp(20px, 4vw, 48px) 36px clamp(92px, 9vw, 110px);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7);
  border-radius: 3px;
}
.logbook::before { /* Spiralbindung */
  content: ""; position: absolute; left: 22px; top: 20px; bottom: 20px; width: 18px;
  background: radial-gradient(circle at 50% 50%, #2b2118 4px, transparent 5px) 0 0 / 18px 36px repeat-y;
}
.logbook h3 { font-family: var(--f-script); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); color: var(--bus-dark); margin: 0 0 6px; line-height: 1.1; }
.logbook__sub { font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; color: var(--ink-soft); margin-bottom: 20px; }
.logbook ol { list-style: none; margin: 0; padding: 0; }
.logbook li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 4px 0; line-height: 1.6; font-size: 1.02rem; min-height: 36px; }
.logbook time, .logbook .logbook__date { font-family: var(--f-script); font-size: 1.4rem; color: var(--red); line-height: 1.3; }
@media (max-width: 640px) { .logbook li { grid-template-columns: 1fr; gap: 0; padding: 6px 0 10px; } .logbook { padding-left: 64px; background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(74, 115, 168, .28) 35px 36px), linear-gradient(90deg, transparent 0 48px, rgba(140, 43, 30, .45) 48px 50px, transparent 50px); } .logbook::before { left: 14px; } }

/* ==========================================================================
   Fahrzeuge (DKW & IFA)
   ========================================================================== */
.vehicles__intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-bottom: clamp(44px, 6vw, 70px); }
.ifa-badge { justify-self: center; width: min(320px, 80%); }
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.6vw, 44px) clamp(20px, 3vw, 36px); }
.car { position: relative; }
.car .print { transition: transform .5s var(--ease); }
.car:nth-child(3n+1) .print { transform: rotate(-1.6deg); }
.car:nth-child(3n+2) .print { transform: rotate(1.2deg); }
.car:nth-child(3n) .print { transform: rotate(-.6deg); }
.car:hover .print { transform: rotate(0) translateY(-4px); }
.car:hover .print__img img { filter: none; transform: scale(1.03); }
.car__body { padding: 18px 6px 0; }
.car__tag { font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--red); }
.car h3 { margin: .15em 0 .35em; }
.car p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.car a.car__link { text-decoration: none; color: inherit; display: block; }
.bikes { margin-top: clamp(56px, 8vw, 90px); padding-top: clamp(30px, 4vw, 44px); border-top: 1px dashed var(--line); }
.bikes__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 22px); margin-top: 24px; }
.bikes__grid a { text-decoration: none; color: inherit; }
.bikes__grid .print:nth-child(odd) { transform: rotate(-1.5deg); }
.bikes .print figcaption { font-size: 1.2rem; }
@media (max-width: 980px) { .cars { grid-template-columns: 1fr 1fr; } .bikes__grid { grid-template-columns: repeat(3, 1fr); } .vehicles__intro { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cars { grid-template-columns: 1fr; } .bikes__grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Werkstatt & Technik
   ========================================================================== */
.workshop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 48px); }
.panel {
  position: relative; padding: clamp(26px, 3.6vw, 44px); border-radius: 4px;
  background: var(--paper-light) var(--grain-soft); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.panel--history { background-color: #efe5cb; }
.panel--history > *:not(.stamp--big) { opacity: .92; }
.panel h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
.panel__tag { font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--green); margin-bottom: .4em; display: block; }
.panel__status { display: inline-flex; align-items: center; gap: .5em; padding: .3em .8em; border-radius: 999px; font-family: var(--f-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1rem; }
.panel__status--closed { background: rgba(140, 43, 30, .1); color: var(--red); }
.panel__status--open { background: rgba(31, 74, 44, .12); color: var(--green); }
.panel__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stamp--big { position: absolute; right: clamp(16px, 3vw, 34px); top: clamp(20px, 3vw, 34px); font-size: clamp(1rem, .9rem + .5vw, 1.3rem); transform: rotate(9deg); margin: 0; border-width: 3px; }
.trades { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.trades li { padding: .25em .75em; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-label); font-weight: 600; letter-spacing: .05em; background: rgba(255, 255, 255, .5); font-size: .98rem; }
.services { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: 10px; }
.services li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; background: var(--white); border: 1px solid var(--paper-dark); border-radius: 4px; }
.services svg { width: 30px; height: 30px; color: var(--green); }
.services b { font-weight: 600; }
.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); margin-top: clamp(36px, 5vw, 56px); }
.parts a { text-decoration: none; color: inherit; }
.parts .print:nth-child(even) { transform: rotate(1.4deg); }
.parts .print:nth-child(odd) { transform: rotate(-1.2deg); }
.parts .print figcaption { font-size: 1.2rem; }
@media (max-width: 900px) { .workshop { grid-template-columns: 1fr; } .parts { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Chronik
   ========================================================================== */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--brass) 0 8px, transparent 8px 14px); transform: translateX(-50%); }
.timeline > li { position: relative; width: 50%; padding: 0 clamp(26px, 4vw, 54px) clamp(30px, 4vw, 48px); }
.timeline > li:nth-child(odd) { margin-right: auto; text-align: right; }
.timeline > li:nth-child(even) { margin-left: auto; }
.timeline > li::before { /* Plakette */
  content: ""; position: absolute; top: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--brass-light), var(--brass) 55%, #6e5328);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--brass);
}
.timeline > li:nth-child(odd)::before { right: -11px; }
.timeline > li:nth-child(even)::before { left: -11px; }
.timeline__year { font-family: var(--f-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1; color: var(--green); display: block; }
.timeline__date { font-family: var(--f-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; color: var(--red); display: block; margin: .4em 0 .3em; }
.timeline h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin: .2em 0 .35em; }
.timeline p { color: var(--ink-soft); margin: 0 0 .6em; }
.timeline .print { display: inline-block; width: min(300px, 100%); margin-top: 10px; transform: rotate(-1.5deg); }
.timeline > li:nth-child(even) .print { transform: rotate(1.5deg); }
.timeline .doc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.timeline > li:nth-child(odd) .doc-links { justify-content: flex-end; }
.doc-link { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-label); font-weight: 600; letter-spacing: .06em; font-size: .98rem; padding: .25em .7em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--paper-light); }
.doc-link svg { width: 1em; height: 1em; }
@media (max-width: 760px) {
  .timeline::before { left: 11px; }
  .timeline > li, .timeline > li:nth-child(odd), .timeline > li:nth-child(even) { width: 100%; text-align: left; padding: 0 0 34px 44px; margin: 0; }
  .timeline > li:nth-child(odd)::before, .timeline > li:nth-child(even)::before { left: 0; right: auto; }
  .timeline > li:nth-child(odd) .doc-links { justify-content: flex-start; }
}

/* ==========================================================================
   Galerie
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; list-style: none; }
.filter {
  padding: .55em 1.1em; border: 1.5px solid var(--line); background: var(--paper-light); color: var(--ink); border-radius: 999px; cursor: pointer;
  font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; transition: background .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--green); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper-light); }
.filter small { font-weight: 600; opacity: .7; margin-left: .3em; letter-spacing: 0; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.2vw, 26px); }
.gallery li.is-hidden, .gallery li.is-filtered { display: none; }
.gallery a { display: block; text-decoration: none; color: inherit; }
.gallery .print { transition: transform .45s var(--ease); }
.gallery li:nth-child(4n+1) .print { transform: rotate(-1.4deg); }
.gallery li:nth-child(4n+2) .print { transform: rotate(1deg); }
.gallery li:nth-child(4n+3) .print { transform: rotate(-.6deg); }
.gallery li:nth-child(4n) .print { transform: rotate(1.5deg); }
.gallery a:hover .print, .gallery a:focus-visible .print { transform: rotate(0) scale(1.03); }
.gallery .print figcaption { font-size: 1.12rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(30px, 4vw, 44px); }
.gallery__hint { text-align: center; color: var(--ink-soft); font-style: italic; margin: -10px 0 26px; font-size: .95rem; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .print figcaption { font-size: 1rem; } .print__paper { padding: 6px; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 13, 8, .94); color: var(--paper-light); }
.lightbox::backdrop { background: rgba(18, 13, 8, .7); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox figure { margin: 0; padding: 60px 70px 0; display: grid; place-items: center; max-width: 100%; max-height: 100%; min-height: 0; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; border: 10px solid #fbf6e6; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox__bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px 20px; width: min(1200px, 100%); }
.lightbox__cap { font-family: var(--f-script); font-size: 1.5rem; flex: 1; line-height: 1.2; }
.lightbox__count { font-family: var(--f-label); letter-spacing: .14em; font-weight: 600; opacity: .8; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(251, 246, 232, .5); background: rgba(0, 0, 0, .35); color: var(--paper-light); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--paper-light); color: var(--ink); }
.lightbox button svg { width: 22px; height: 22px; pointer-events: none; }
.lightbox [data-lb="close"] { top: 14px; right: 14px; }
.lightbox [data-lb="prev"] { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox [data-lb="next"] { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox figure { padding: 64px 10px 0; } .lightbox [data-lb="prev"], .lightbox [data-lb="next"] { top: auto; bottom: 70px; transform: none; } .lightbox img { border-width: 6px; max-height: calc(100vh - 210px); } }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.card-visit {
  position: relative; padding: clamp(28px, 4vw, 44px); background: var(--white) var(--grain-soft); color: var(--ink);
  border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transform: rotate(-1.5deg);
}
.card-visit::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid var(--green); border-radius: 3px; pointer-events: none; }
.card-visit__logo { width: 170px; margin: 0 auto 16px; }
.card-visit address { font-style: normal; text-align: center; font-size: 1.08rem; line-height: 1.6; }
.card-visit address strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; display: block; margin-bottom: .2em; }
.card-visit dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 18px auto 0; max-width: 340px; font-size: 1.05rem; }
.card-visit dt { font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--green); padding-top: .2em; }
.card-visit dd { margin: 0; }
.card-visit a { color: var(--ink); }
.contact__text h2 { color: var(--paper-light); }
.contact__text p { color: rgba(251, 246, 232, .86); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.contact__reminder { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px dashed rgba(216, 189, 134, .55); border-radius: 4px; color: rgba(251, 246, 232, .9); font-size: .98rem; }
.contact__reminder svg { width: 26px; height: 26px; flex: none; color: var(--brass-light); margin-top: 2px; }
.contact__reminder p { margin: 0; }
.signpost { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.ortstafel { display: inline-block; padding: 10px 22px 8px; background: #f2c200; color: #111; border: 3px solid #111; border-radius: 6px; box-shadow: 0 0 0 3px #f2c200; text-align: center; font-family: var(--f-label); }
.ortstafel b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.ortstafel small { display: block; font-size: .9rem; font-weight: 600; letter-spacing: .06em; margin-top: 3px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .card-visit { transform: none; max-width: 480px; } }

/* ==========================================================================
   Fußzeile
   ========================================================================== */
.site-footer { background: #17110b var(--grain); color: rgba(251, 246, 232, .78); padding: 56px 0 30px; position: relative; font-size: .98rem; }
.site-footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 30px 44px; align-items: center; }
.site-footer__logo { width: 150px; opacity: .92; }
.site-footer__brand p { margin: 0; }
.site-footer__brand strong { color: var(--paper-light); font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.site-footer__nav a { color: var(--paper-light); text-decoration: none; font-family: var(--f-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__nav a:hover { color: var(--brass-light); }
.site-footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(216, 189, 134, .2); padding-top: 22px; margin: 0; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.site-footer__copy a { color: var(--brass-light); }
@media (max-width: 760px) { .site-footer__in { grid-template-columns: 1fr; text-align: center; } .site-footer__logo { margin: 0 auto; } .site-footer__nav { justify-content: center; } .site-footer__copy { justify-content: center; text-align: center; } }

/* ==========================================================================
   Nach-oben-Button: Chrom-Plakette
   ========================================================================== */
.to-top {
  position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 90;
  width: 68px; height: 68px; border-radius: 50%; display: block;
  opacity: 0; visibility: hidden; transform: translateY(20px) rotate(-90deg) scale(.8);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s, filter .3s;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 100%; height: 100%; display: block; }
.to-top .to-top__shine { transition: transform .9s var(--ease); transform-origin: 50px 50px; }
.to-top:hover .to-top__shine { transform: rotate(160deg); }
.to-top:hover { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.to-top .to-top__arrow { transition: transform .35s var(--ease); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
@media (max-width: 560px) { .to-top { width: 56px; height: 56px; } }

/* ==========================================================================
   Einblenden
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Rechtliche Seiten
   ========================================================================== */
.page-legal .site-header { color: var(--ink); }
.legal-hero { background: var(--green-dark) var(--grain); color: var(--paper-light); padding: calc(var(--header-h) + 60px) 0 70px; position: relative; }
.legal-hero h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 4rem); margin: 0 0 .3em; }
.back-link { color: var(--brass-light) !important; font-family: var(--f-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.legal { padding: 60px 0 100px; }
.legal__paper { max-width: 820px; margin: -110px auto 0; position: relative; background: var(--paper-light) var(--grain-soft); padding: clamp(28px, 5vw, 60px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.legal__paper h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin-top: 1.6em; color: var(--green); }
.legal__paper h2:first-child { margin-top: 0; }
.legal__paper h3 { font-size: 1.2rem; margin-top: 1.3em; }
.legal__paper address { font-style: normal; margin-bottom: 1em; }
.legal__paper ul { padding-left: 1.2em; }
.todo { background: #ffe58a; padding: 0 .3em; border-radius: 2px; font-weight: 600; }

/* Druck */
@media print {
  .site-header, .hero__controls, .to-top, .hero__film, body::after, .nav-toggle { display: none !important; }
  .hero { min-height: auto; color: var(--ink); background: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Hebelstoßdämpfer – Hauptleistung (Werkstatt-Blaupause)
   ========================================================================== */
.shocks {
  background-color: var(--green-dark); color: var(--paper-light);
  background-image:
    linear-gradient(rgba(216, 189, 134, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 134, .07) 1px, transparent 1px),
    linear-gradient(rgba(216, 189, 134, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 134, .035) 1px, transparent 1px),
    var(--grain);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, 180px 180px;
}
.shocks__head { max-width: 860px; margin-bottom: clamp(30px, 5vw, 56px); }
.shocks h2 { color: var(--paper-light); }
.shocks h2 em { color: var(--brass-light); font-style: italic; }
.shocks .lead { color: rgba(251, 246, 232, .88); }
.shocks a:not(.btn) { color: var(--brass-light); }
.shocks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.shocks__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 26px); }
.shocks__photos a { text-decoration: none; }
.shocks__photos a:nth-child(1) .print { transform: rotate(-3deg); }
.shocks__photos a:nth-child(2) .print { transform: rotate(2deg) translateY(14px); }
.shocks__photos a:nth-child(3) .print { transform: rotate(1.5deg); }
.shocks__photos a:nth-child(4) .print { transform: rotate(-2deg) translateY(14px); }
.shocks__photos .print__img img { filter: sepia(.25) saturate(.85); }
.shocks__photos figcaption { font-size: 1.2rem; }
/* Laufzettel */
.ticket {
  position: relative; background: #f6eed6; color: var(--ink); padding: 0 0 22px;
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .8); transform: rotate(.8deg);
  background-image: var(--grain);
}
.ticket::before { /* Lochung oben */
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--green-dark) 5px, transparent 5.5px) 0 0 / 22px 14px repeat-x;
}
.ticket__head { display: flex; justify-content: space-between; gap: 10px; padding: 18px 24px 12px; border-bottom: 2px solid var(--ink); font-family: var(--f-label); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; }
.ticket__head span:last-child { color: var(--red); }
.ticket__steps { list-style: none; margin: 0; padding: 6px 24px 0; }
.ticket__steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.ticket__steps b { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.25rem; font-weight: 400; }
.ticket__steps h3 { font-family: var(--f-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1.08rem; margin: 2px 0 2px; color: var(--green); }
.ticket__steps p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); }
.ticket__foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 24px 0; }
.ticket__foot .btn { font-size: .92rem; padding: .75em 1.1em; }
.shocks__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 28px); margin-top: clamp(44px, 6vw, 70px); }
.shocks__card { border: 1px solid rgba(216, 189, 134, .35); border-radius: 4px; padding: 22px 22px 16px; background: rgba(0, 0, 0, .14); }
.shocks__card h3 { display: flex; align-items: center; gap: .5em; font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; color: var(--brass-light); margin-bottom: 12px; }
.shocks__card h3 svg { width: 22px; height: 22px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 4px 0 4px 26px; color: rgba(251, 246, 232, .9); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 12px; height: 7px; border-left: 2px solid var(--brass-light); border-bottom: 2px solid var(--brass-light); transform: rotate(-45deg); }
.trades--light { margin: 0; }
.trades--light li { background: rgba(251, 246, 232, .08); border-color: rgba(216, 189, 134, .4); color: var(--paper-light); }
.shocks__note { margin: 26px 0 0; font-size: .95rem; font-style: italic; color: rgba(251, 246, 232, .75); }
@media (max-width: 960px) { .shocks__grid { grid-template-columns: 1fr; } .shocks__info { grid-template-columns: 1fr; } .ticket { transform: none; } }

/* ==========================================================================
   FAQ – Karteikarten
   ========================================================================== */
.faq__group { font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 1rem; color: var(--red); margin: 2.4rem auto 1rem; max-width: 900px; display: flex; align-items: center; gap: 12px; }
.faq__group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.faq__group:first-of-type { margin-top: 0; }
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--paper-dark); border-left: 4px solid var(--green); border-radius: 3px; box-shadow: 0 6px 16px -12px rgba(43, 33, 24, .5); background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(74, 115, 168, .12) 31px 32px); }
.faq__item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; font-family: var(--f-display); font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); display: grid; place-items: center; font-family: var(--f-label); font-weight: 700; font-size: 1.2rem; line-height: 1; transition: transform .3s; }
.faq__item[open] summary::after { content: "–"; background: var(--green); color: var(--paper-light); }
.faq__item summary:hover { color: var(--green); }
.faq__a { padding: 0 20px 18px; }
.faq__a p { margin: 0; color: var(--ink-soft); }

/* Grid-Kinder dürfen schrumpfen (verhindert horizontales Scrollen) */
.gallery > li, .cars > *, .bikes__grid > *, .parts > *, .bus__strip > *, .shocks__photos > *, .welcome > *, .workshop > *, .contact > *, .bus__grid > *, .shocks__grid > *, .vehicles__intro > *, .notice__top > *, .notice__cards > * { min-width: 0; }
body { overflow-x: clip; }

/* --- Feinschliff --- */
a[data-lb] { text-decoration: none; color: inherit; display: block; }
.bus .doc-link { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.bus .doc-link:hover { background: var(--white); color: var(--bus-dark); }
.bus__media { display: grid; gap: clamp(26px, 4vw, 40px); align-content: start; }
.bus__media .plate { margin-top: 0; }
@media (min-width: 961px) { .bus__media { position: sticky; top: calc(var(--header-h) + 20px); } }

/* Chronik kompakt: Linie links, Text + Foto nebeneinander */
.timeline::before { left: 11px; transform: none; }
.timeline > li, .timeline > li:nth-child(odd), .timeline > li:nth-child(even) {
  width: 100%; margin: 0; text-align: left; padding: 0 0 clamp(30px, 4vw, 44px) 54px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: clamp(24px, 4vw, 56px); align-items: start;
}
.timeline > li > * { grid-column: 1; }
.timeline > li > a[data-lb] { grid-column: 2; grid-row: 1 / span 6; }
.timeline > li:nth-child(odd)::before, .timeline > li:nth-child(even)::before { left: 0; right: auto; }
.timeline > li:nth-child(odd) .doc-links { justify-content: flex-start; }
.timeline .print, .timeline > li:nth-child(even) .print { width: 100%; margin-top: 4px; }
.timeline > li:nth-child(odd) .print { transform: rotate(-1.5deg); }
.timeline > li:nth-child(even) .print { transform: rotate(1.5deg); }
.timeline { max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) {
  .timeline > li, .timeline > li:nth-child(odd), .timeline > li:nth-child(even) { grid-template-columns: 1fr; padding-left: 44px; }
  .timeline > li > a[data-lb] { grid-column: 1; grid-row: auto; max-width: 300px; margin-top: 10px; }
}

/* Zufallszitat: blendet erst ein, wenn es gut sichtbar ist */
.quote__text, .quote__cite { display: block; }
.quote.is-waiting .quote__text, .quote.is-waiting .quote__cite, .quote.is-waiting::before { opacity: 0; }
.quote.is-waiting .quote__text { filter: blur(6px); transform: translateY(8px); }
.quote.is-shown .quote__text, .quote.is-shown .quote__cite, .quote.is-shown::before { opacity: 1; filter: none; transform: none; }
.quote.is-shown .quote__text { transition: opacity 1.6s ease, filter 1.8s ease, transform 1.6s var(--ease); }
.quote.is-shown::before { transition: opacity 1.2s ease .1s; }
.quote.is-shown .quote__cite { transition: opacity 1s ease 1.3s; }
.quote::before { opacity: .7; }
.quote.is-shown::before { opacity: .7; }
