/* ==========================================================================
   PA-Verleih – „Ladeliste & Bühnentape“
   Schriften liegen lokal in /fonts (keine Verbindung zu Google, DSGVO-freundlich).
   Gelb (--tape) nur für Preis-Tape und Haupt-Button. Schablonenschrift nur für
   Hero, Preise und Sektionstitel.
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Stencil";
  src: url("fonts/big-shoulders-stencil-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Stencil";
  src: url("fonts/big-shoulders-stencil-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --alu: #d8dadb;
  --case: #000000;
  --graphite: #45484b;
  --paper: #ffffff;
  --tape: #ffd100;
  --on-case: #d8dadb;
  --on-case-muted: #a9acae;
  --rule: rgba(0, 0, 0, 0.28);
  --rule-on-case: rgba(216, 218, 219, 0.3);

  --stencil: "Big Shoulders Stencil", "Arial Narrow", sans-serif;
  --text: "Atkinson Hyperlegible", Verdana, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --corner: 3px;
  color-scheme: light;
}

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

html { scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--alu);
  color: var(--case);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible { outline: 3px solid var(--case); outline-offset: 3px; }
.on-case :focus-visible { outline-color: var(--paper); }

h1, h2, h3, p { margin: 0; }
h2 {
  font-family: var(--stencil);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip-link {
  position: absolute; left: var(--gutter); top: -80px; z-index: 100;
  background: var(--case); color: var(--paper); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--alu);
  border-bottom: 2px solid var(--case);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { font-weight: 700; text-decoration: none; }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 960px) { .nav { display: flex; } }
@media (max-width: 767px) { .header-inner .btn { display: none; } }

/* ---------- Buttons (keine Animation, aber klare Zustände) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 2px solid var(--case); border-radius: var(--corner);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  touch-action: manipulation;
}
.btn-main { background: var(--tape); color: var(--case); }
.btn-main:hover { box-shadow: inset 0 0 0 2px var(--case); text-decoration: underline; }
.btn-dark { background: var(--case); color: var(--paper); }
.btn-dark:hover { background: var(--paper); color: var(--case); }
.btn-line { background: transparent; color: inherit; }
.btn-line:hover { background: var(--case); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 14px; }

/* ---------- Hero: Ladeliste ---------- */
.hero { padding: 40px 0 72px; }
@media (min-width: 960px) { .hero { padding: 64px 0 120px; } }
.hero h1 {
  font-family: var(--stencil);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 28px;
}
.loadlist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--case); }
.loadlist li {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 14px 0 12px; border-bottom: 1px solid var(--rule);
}
.loadlist .item {
  font-family: var(--stencil); font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 7.5rem); line-height: 0.88; letter-spacing: 0.005em;
}
.loadlist .spec { color: var(--graphite); font-size: 1rem; }
@media (min-width: 768px) {
  .loadlist li { grid-template-columns: 1fr 14rem; align-items: end; }
  .loadlist .spec { text-align: right; padding-bottom: 10px; font-size: 1.25rem; color: var(--case); }
}
.loadlist li:last-child .item { font-size: clamp(1.9rem, 6vw, 3.75rem); }

.hero-foot { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 960px) {
  .hero-foot { grid-template-columns: auto 1fr; gap: 56px; align-items: center; margin-top: 40px; }
}
.tape {
  justify-self: start;
  background: var(--tape); color: var(--case);
  padding: 14px 34px 12px 30px;
  transform: rotate(-2deg);
  clip-path: polygon(0 6%, 3% 0, 97% 4%, 100% 0, 99% 50%, 100% 96%, 96% 100%, 4% 96%, 0 100%, 1% 50%);
}
.tape .big { display: block; font-family: var(--stencil); font-weight: 800; font-size: clamp(2.6rem, 8vw, 4rem); line-height: 0.95; }
.tape .small { display: block; font-weight: 700; }
.hero-text p { max-width: 44ch; margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-actions a:not(.btn) { font-weight: 700; }

/* ---------- Schwarze Case-Flächen ---------- */
.on-case { background: var(--case); color: var(--on-case); }
.on-case a { color: var(--paper); }

/* ---------- Anlage / Datenblatt ---------- */
.anlage { padding: 72px 0 88px; }
.anlage-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .anlage-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; } }
.anlage h2 { margin-bottom: 20px; }
.anlage .intro { max-width: 52ch; margin-bottom: 32px; }
.sheet { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--rule-on-case); }
.sheet th { width: 38%; padding-right: 16px; color: var(--on-case-muted); font-weight: 400; }
.sheet td { color: var(--paper); font-weight: 700; }
.anlage .uses { margin-top: 28px; color: var(--on-case-muted); max-width: 52ch; }

/* ---------- Fotoplätze ---------- */
.photo { margin: 0; }
.photo-slot {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center; padding: 24px; text-align: center;
  border: 2px dashed currentColor; color: var(--graphite);
}
.on-case .photo-slot { color: var(--on-case-muted); }
.photo figcaption { font-size: 0.9375rem; margin-top: 8px; color: var(--graphite); }
.on-case .photo figcaption { color: var(--on-case-muted); }
.photo-wide .photo-slot { aspect-ratio: 3 / 2; }

/* ---------- Preise ---------- */
.preise { padding: 56px 0 48px; }
.preise h2 { margin-bottom: 24px; }
.pricelist { margin: 0; border-top: 3px solid var(--case); }
.pricelist > div {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.pricelist dt { font-weight: 700; font-size: 1.125rem; }
.pricelist dt span { display: block; font-weight: 400; font-size: 0.9375rem; color: var(--graphite); }
.pricelist dd { margin: 0; text-align: right; font-family: var(--stencil); font-weight: 800; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pricelist dd small { display: block; font-family: var(--text); font-weight: 700; font-size: 0.9375rem; line-height: 1.4; }
.pricelist .minor dd { font-size: clamp(1.6rem, 4vw, 2.25rem); }
.preise .terms { margin-top: 16px; max-width: 60ch; color: var(--graphite); }
.preise .more { margin-top: 40px; max-width: 60ch; border-top: 1px solid var(--rule); padding-top: 20px; }
.preise .more h3 { font-size: 1.25rem; margin: 0 0 8px; }
@media (min-width: 960px) { .preise .pricelist, .preise .terms, .preise .more { margin-left: 25%; } }

/* ---------- Lieferung ---------- */
.lieferung { padding: 40px 0 80px; }
.lieferung-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .lieferung-grid { grid-template-columns: 1fr 2fr; gap: 64px; } }
.lieferung h2 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 16px; }
.zones { width: 100%; border-collapse: collapse; }
.zones th, .zones td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.zones thead th { font-weight: 400; color: var(--graphite); border-bottom: 2px solid var(--case); }
.zones td + td, .zones th + th { text-align: right; padding-left: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zones td:last-child, .zones th:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 16px; }
.zones thead th, .zones thead th:last-child { white-space: normal; vertical-align: bottom; font-weight: 400; }
.zones td + td { font-weight: 700; }
.zones td:nth-child(3) { font-weight: 400; color: var(--graphite); }
.lieferung .area { margin-top: 16px; color: var(--graphite); }

/* ---------- Ablauf ---------- */
.ablauf { padding: 80px 0 96px; border-top: 2px solid var(--case); }
.ablauf h2 { margin-bottom: 32px; max-width: 14ch; }
.ablauf-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .ablauf-grid { grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; } }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li {
  counter-increment: step; position: relative;
  padding: 0 0 28px 56px; border-left: 2px solid var(--case); margin-left: 15px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: counter(step);
  position: absolute; left: -17px; top: -2px;
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--case); color: var(--paper); font-weight: 700;
}
.timeline h3 { margin-bottom: 4px; }
.timeline p { max-width: 52ch; color: var(--graphite); }

/* ---------- Anfrage ---------- */
.anfrage { background: var(--paper); padding: 88px 0 112px; }
.anfrage h2 { margin-bottom: 12px; }
.anfrage .intro { max-width: 56ch; margin-bottom: 40px; color: var(--graphite); }
.form-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .form-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; } }
.fields { display: grid; gap: 20px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .error { color: #a10000; font-weight: 700; font-size: 0.9375rem; margin-top: 6px; }
input[type="text"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  background: var(--paper); color: var(--case);
  border: 2px solid var(--graphite); border-radius: var(--corner);
  font: inherit;
}
textarea { min-height: 112px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--case); background: #f3f4f4; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--case); outline-offset: 2px; border-color: var(--case); }
input[aria-invalid="true"] { border-color: #a10000; }
fieldset { border: 0; padding: 0; margin: 0; }
.checkbox { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.checkbox input { width: 22px; height: 22px; accent-color: var(--case); cursor: pointer; flex: none; }
.checkbox:hover { text-decoration: underline; }
.checkbox:has(input:disabled) { color: var(--graphite); cursor: not-allowed; text-decoration: none; }

.receipt { border-top: 3px solid var(--case); padding-top: 16px; }
@media (min-width: 960px) { .receipt { position: sticky; top: 84px; } }
.receipt dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 16px; }
.receipt dt { color: var(--graphite); }
.receipt dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.receipt .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule); padding-top: 12px; margin-bottom: 20px; font-weight: 700; }
.receipt .total span:last-child { font-size: 2rem; font-variant-numeric: tabular-nums; }
.receipt .btn { width: 100%; }
.receipt .btn + .btn { margin-top: 10px; }
.receipt .small { color: var(--graphite); font-size: 0.9375rem; margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-sec { padding: 72px 0 64px; }
.faq-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 2fr; gap: 64px; } }
.faq { border-top: 2px solid var(--case); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700;
  display: flex; justify-content: space-between; gap: 16px; min-height: 56px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { text-decoration: underline; }
.faq details p { padding: 0 0 18px; max-width: 64ch; color: var(--graphite); }

/* ---------- Kontakt ---------- */
.kontakt { padding: 64px 0 72px; }
.kontakt h2 { margin-bottom: 24px; }
.phone { display: inline-block; max-width: 100%; font-weight: 700; font-size: clamp(1.4rem, 6vw, 2.75rem); line-height: 1.15; overflow-wrap: anywhere; text-decoration: none; margin-bottom: 24px; }
.phone:hover { text-decoration: underline; }
.kontakt .ways { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 24px; font-weight: 700; }
.kontakt .where { max-width: 56ch; color: var(--on-case-muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 24px 0 32px; font-size: 0.9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 24px; }

/* ---------- Mobile Leiste ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--alu); border-top: 2px solid var(--case);
}
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { body.has-bar { padding-bottom: 72px; } }

/* ---------- Rechtstexte ---------- */
.legal { padding: 48px 0 72px; max-width: 760px; }
.legal h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; margin-bottom: 24px; }
.legal h2 { font-family: var(--text); font-size: 1.25rem; line-height: 1.3; font-weight: 700; margin: 32px 0 8px; }
.legal p { color: var(--graphite); margin-bottom: 12px; }
