/* =============================================
   Michael Beer – Anhängerverleih & Brennholz
   ============================================= */

:root {
  color-scheme: dark;
  --bg:         #101010;
  --surface:    #1B1B1D;
  --sand:       #151516;
  --ink:        #F1F1F3;
  --muted:      #BDBDC3;
  --line:       #3C3C40;
  --accent:      #FF9D21;
  --accent-dark: #FFB64F;
  --accent-soft: #382814;
  --ember:       #FFB34D;
  --ember-dark:  #FFC576;
  --ember-soft:  #36251B;
  --error:      #FF9990;
  --radius:     4px;
  --font-head:  'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --font-body:  'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 132px; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { display: block; max-width: 100%; }
a   { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---- TYPOGRAFIE ---- */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #17110A; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--wood { background: var(--ember); color: #17110A; }
.btn--wood:hover { background: var(--ember-dark); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #101010; }
.btn--lg   { padding: 14px 26px; font-size: 1.05rem; }
.btn--full { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #101010;
  border-bottom: 1px solid #FFFFFF14;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
}
.nav__logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}
.nav__logo strong { font-family: var(--font-head); font-size: 1.3rem; }
.nav__logo-image { width: 120px; height: auto; }
.nav__logo span   { font-size: .82rem; color: var(--muted); }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.nav__links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
}
.nav__mobile a:not(.btn) {
  padding: 10px 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__mobile .btn { margin-top: 12px; }

/* ---- INFOLEISTE ---- */
.topbar { background: #101010; color: #ABABB2; font-size: .8rem; border-bottom: 1px solid #FFFFFF0D; }
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

/* ---- SECTIONS ---- */
.section { padding: 88px 0; }
.section--sand { background: var(--sand); }
.section__header { max-width: 640px; margin-bottom: 40px; }
.section__header--tight { margin-bottom: 28px; }
.section__eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section__header h2 { margin-bottom: 12px; }
.section__header p:not(.section__eyebrow) { color: var(--muted); font-size: 1.1rem; }

.terms {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
  font-size: .98rem;
}
.terms strong { color: var(--ink); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

/* ---- ANHÄNGER ---- */
.trailer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.trailer-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.trailer-card__img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--sand);
}
.trailer-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trailer-card__thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.trailer-card__thumb {
  width: 56px; height: 42px; padding: 0;
  border: 2px solid #fff; border-radius: 2px;
  overflow: hidden; cursor: pointer; background: none;
  opacity: .75;
}
.trailer-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.trailer-card__thumb:hover,
.trailer-card__thumb.is-active { opacity: 1; }
.trailer-card__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px #fff; }
.trailer-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 28px;
}
.trailer-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 2px;
  margin-bottom: 8px;
}
.trailer-card__price { white-space: nowrap; color: var(--muted); }
.trailer-card__price strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--accent); }
.trailer-card__desc { color: var(--muted); margin-bottom: 18px; }
.trailer-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.trailer-specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.trailer-specs dt { color: var(--muted); }
.trailer-specs dd { font-weight: 700; white-space: nowrap; }
.trailer-card .btn { margin-top: auto; }

/* ---- FORMULARE ---- */
.booking-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 18px; }
.form-row--2 { flex-direction: row; }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.form-group label,
.form-label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid #67676E;
  border-radius: var(--radius);
  color: var(--ink);
  padding: 11px 14px;
  font: 1rem var(--font-body);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.form-group select:disabled { background: var(--bg); color: var(--muted); }
.form-group textarea { resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); }

/* ---- BUCHUNG ---- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}
.booking-layout__col { display: flex; flex-direction: column; gap: 18px; }
.booking-summary {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 12px 16px;
}

/* ---- KALENDER ---- */
.booking-demo-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px clamp(20px, 4vw, 56px); background: #292216; border-bottom: 1px solid var(--accent);
}
.booking-demo-banner > div:first-child { max-width: 740px; min-width: 0; }
.booking-demo-banner strong { color: var(--accent); font-size: 1.15rem; }
.booking-demo-banner p { margin: 4px 0; font-size: 1rem; }
.booking-demo-banner small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.booking-demo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.booking-demo-actions .btn { white-space: normal; }
.booking-demo-note { padding: 12px 16px; margin-bottom: 22px; border-left: 3px solid var(--accent); background: var(--accent-soft); font-size: .95rem; }
.form-success .btn { margin-top: 16px; }
.cancellation-dialog [hidden] { display: none; }
.cancellation-dialog .booking-summary { white-space: pre-line; overflow-wrap: anywhere; }
.admin-booking--highlight { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
@media (max-width: 960px) {
  .booking-demo-banner { flex-direction: column; align-items: stretch; gap: 16px; }
}

.calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar__month { font-family: var(--font-head); font-size: 1.1rem; text-transform: capitalize; }
.calendar__nav {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; font-size: 1.1rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
}
.calendar__nav:hover:not(:disabled) { border-color: var(--ink); }
.calendar__nav:disabled { opacity: .35; cursor: default; }
.calendar__weekdays,
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.calendar__weekdays span {
  text-align: center; font-size: .8rem; font-weight: 700;
  color: var(--muted); padding-bottom: 6px;
}
.calendar__day {
  height: 42px;
  background: transparent; color: var(--ink);
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .98rem var(--font-body);
  cursor: pointer;
}
.calendar__day:hover:not(:disabled) { border-color: var(--accent); }
.calendar__day:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.calendar__day:disabled { color: #898990; font-weight: 400; cursor: not-allowed; }
.calendar__day.is-today { border-color: var(--line); }
.calendar__day.is-booked {
  color: #ABABB2;
  background: repeating-linear-gradient(135deg, #343438 0 4px, transparent 4px 8px);
  text-decoration: line-through;
}
.calendar__day.is-range { background: var(--accent-soft); }
.calendar__day.is-start,
.calendar__day.is-end { background: var(--accent); color: #17110A; }
.calendar__legend {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px;
  font-size: .85rem; color: var(--muted);
}
.calendar__legend span { display: flex; align-items: center; gap: 6px; }
.calendar__dot { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.calendar__dot--free     { border: 1px solid #A89F90; }
.calendar__dot--booked   { background: repeating-linear-gradient(135deg, #C9B8A4 0 2px, transparent 2px 4px); border: 1px solid #C9B8A4; }
.calendar__dot--selected { background: var(--accent); }
.calendar__hint { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.calendar__hint.is-error { color: var(--error); font-weight: 600; }

/* ---- BRENNHOLZ ---- */
.wood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.wood-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ember);
  border-radius: var(--radius);
  padding: 28px;
}
.wood-card__species { font-weight: 600; color: var(--ember); margin: 2px 0 10px; }
.wood-card__desc { color: var(--muted); margin-bottom: 14px; }
.wood-card__lengths { margin-bottom: 18px; }
.wood-card__lengths span { font-weight: 700; margin-right: 6px; }
.wood-prices { border-top: 1px solid var(--line); margin-bottom: 24px; }
.wood-prices div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.wood-prices dt small { color: var(--muted); font-size: .88rem; margin-left: 4px; }
.wood-prices dd { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--ember); white-space: nowrap; }
.wood-card .btn { margin-top: auto; }
#holz .terms { border-left-color: var(--ember); }
.modal--wood .form-group input:focus,
.modal--wood .form-group select:focus,
.modal--wood .form-group textarea:focus { outline-color: var(--ember); border-color: var(--ember); }
.modal--wood .modal__eyebrow { color: var(--ember); }
.wood-estimate {
  background: var(--ember-soft);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.wood-estimate strong { font-size: 1.1rem; }

/* ---- ABHOLUNG UND LIEFERUNG ---- */
.handover { padding: 72px 0; background: #D9D6CF; color: #252421; }
.handover__inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
.handover__photo { margin: 0; }
.handover__photo img { width: 100%; height: auto; }
.handover__photo figcaption { margin-top: 10px; font-size: .8rem; color: #56534D; }
.handover__text h2 { color: #252421; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.025em; margin-bottom: 22px; }
.handover__text p { margin-bottom: 16px; }
.handover__note { font-size: .92rem; color: #56534D; }
.handover__phone { display: block; width: fit-content; color: #252421; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 6px; margin-top: 26px; }
.handover__phone-note { display: block; margin-top: 8px; font-size: .85rem; color: #56534D; }

/* ---- KONTAKT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.contact-list { border-top: 1px solid var(--line); }
.contact-list div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list dt { font-weight: 700; }
.contact-list a { color: var(--accent); font-weight: 600; }

/* ---- FOOTER ---- */
.footer { background: #080808; color: #BDBDC3; padding: 40px 0 0; border-top: 1px solid #704017; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
}
.footer__brand strong { font-family: var(--font-head); color: #fff; font-size: 1.2rem; }
.footer__brand p { font-size: .95rem; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: #fff; }
.footer__copy {
  border-top: 1px solid #3A3631;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: .88rem;
}
.footer__copy a { color: #fff; }

/* ---- FORMULAR GESENDET ---- */
.form-success {
  text-align: center;
  padding: 40px 20px;
  background: var(--accent-soft);
  border-radius: var(--radius);
}
.form-success .success-icon { font-size: 2.6rem; color: var(--accent); display: flex; justify-content: center; margin-bottom: 10px; }
.form-success h4 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 6px; }
.form-success p { color: var(--muted); }

/* ---- FENSTER (BUCHUNG / BESTELLUNG) ---- */
.modal {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
.modal--narrow { width: min(720px, calc(100% - 32px)); }
.modal::backdrop { background: rgba(31,29,26,.6); }
body:has(.modal[open]) { overflow: hidden; }
.modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.modal__eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.modal__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.modal__close {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  font-size: 1.3rem; color: var(--ink);
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
}
.modal__close:hover { border-color: var(--ink); }
.modal__body { padding: 24px 28px 28px; }

/* ---- SCHNELLKONTAKT ---- */
.quick-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
}
.quick-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.quick-contact .icon { font-size: 1.25rem; }
.quick-contact__wa { background: #1F8F4E; }
.quick-contact__wa:hover { background: #18733E; }
.quick-contact__call { display: none !important; background: #29292D; }

/* ---- RECHTLICHES ---- */
.legal-page { padding: 56px 24px 88px; max-width: 760px; }
.legal-page h1 { margin-bottom: 28px; }
.legal-page h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal-page p,
.legal-page address { color: var(--muted); margin-bottom: 12px; font-style: normal; }
.legal-back { display: inline-block; margin-bottom: 28px; color: var(--accent); font-weight: 600; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .handover__inner { gap: 32px; }
  .nav__inner { gap: 20px; }
  .nav__links { gap: 18px; }
  .booking-layout { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .handover { padding: 40px 0; }
  .handover__inner { grid-template-columns: 1fr; gap: 28px; }
  html { scroll-padding-top: 108px; }
  .nav__inner { height: 88px; }
  .nav__logo-image { width: 108px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.open { display: flex; }

  .section        { padding: 64px 0; }
  .topbar__inner  { flex-direction: column; gap: 0; text-align: center; }
  .trailer-grid,
  .wood-grid     { grid-template-columns: 1fr; }
  .form-row--2    { flex-direction: column; }
  .panel          { padding: 22px; }
  .trailer-card__body, .wood-card { padding: 22px; }
  .calendar       { padding: 10px; }
  .calendar__day  { height: 40px; font-size: .9rem; }

  .modal,
  .modal--narrow  { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .modal__head    { padding: 14px 18px 12px; }
  .modal__body    { padding: 18px; }

  /* Schnellkontakt als feste Leiste unten – die Seite bekommt darunter Platz */
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
  .quick-contact  { left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom); background: #080808; }
  .quick-contact a { flex: 1; justify-content: center; height: 54px; padding: 0 12px; border-radius: 0; box-shadow: none; }
  .quick-contact__call { display: flex !important; }
}

@media (max-width: 480px) {
  .trailer-specs { grid-template-columns: 1fr; }
}

/* Lichtstreifen direkt an der sichtbaren Menüleiste. */
.nav__links { align-items: center; }
.nav__links a { position: relative; padding: 14px 0; white-space: nowrap; transition: color .2s; }
.nav__links a::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #E9650D, #FFD583 70%, #FF8A17); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 3px 12px #FF8A1755; }
.nav__links a::before { content: ''; position: absolute; bottom: 1px; left: 0; width: 5px; height: 7px; border-radius: 50%; background: #FFE3A0; box-shadow: 0 0 12px #FF9D21; opacity: 0; pointer-events: none; }
.nav__links a:hover, .nav__links a:focus-visible, .nav__links a[aria-current] { color: var(--accent); text-decoration: none; }
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__links a:hover::before, .nav__links a:focus-visible::before { animation: menu-spark .4s ease-out both; }
.nav__links a:focus-visible, .nav__burger:focus-visible, .nav__mobile a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@keyframes menu-spark { 0% { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.nav__mobile { display: flex; max-height: 0; overflow: hidden; visibility: hidden; padding: 0 24px; border-top: 0; opacity: 0; transition: max-height .35s ease, opacity .25s, padding .35s, visibility .35s; }
.nav__mobile.open { max-height: 340px; padding: 8px 24px 20px; opacity: 1; visibility: visible; border-top: 1px solid var(--line); }
.nav__mobile a { transition: color .2s, transform .25s; }
.nav__mobile a:hover, .nav__mobile a[aria-current] { color: var(--accent); transform: translateX(6px); }
.nav__burger {
  position: relative;
  transition: background-color .2s, border-color .2s, scale .15s;
}
.nav__burger:is(:hover, :focus-visible, :active, [aria-expanded="true"]) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.nav__burger:active { scale: .92; }
.nav__burger::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 2px solid var(--accent);
  pointer-events: none;
  opacity: 0;
}
.nav__burger[aria-expanded="true"]::after { animation: menu-button-pulse .45s ease-out; }
.nav__burger span { transition: transform .25s, opacity .2s, background-color .2s; }
.nav__burger[aria-expanded="true"] span { background: var(--accent); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
@keyframes menu-button-pulse {
  from { opacity: .75; transform: scale(1); }
  to { opacity: 0; transform: scale(1.4); }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav__links a, .nav__links a::after, .nav__mobile, .nav__mobile a, .nav__burger, .nav__burger span { transition: none; }
  .nav__burger:active { scale: 1; }
  .nav__burger[aria-expanded="true"]::after { animation: none; }
  .nav__links a::before { animation: none !important; display: none; }
}
/* Kleine Angebots-Szenen direkt über den Menüpunkten. */
.menu-offer { position: relative; }
.menu-art { position: absolute; left: 50%; bottom: calc(100% - 6px); width: 86px; height: 42px; pointer-events: none; opacity: 0; transform: translateX(-50%); overflow: visible; }
.menu-art--fire { width: 54px; height: 46px; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art { opacity: 1; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art--trailer { animation: trailer-arrive 1.5s both; }
.menu-art__bed { transform-origin: 15px 30px; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art__bed { animation: trailer-tip 1.5s both; }
.menu-art__wheel { transform-box: fill-box; transform-origin: center; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art__wheel { animation: trailer-wheel .55s ease-out; }
.menu-art__flame, .menu-art__flame-core { transform-origin: 35px 43px; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art__flame { animation: wood-fire .55s ease-in-out 4 alternate; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art__flame-core { animation: wood-fire .35s ease-in-out 6 alternate-reverse; }
.menu-art__ember { opacity: 0; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art__ember { animation: wood-ember .9s .15s 2; }
.menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art__ember--second { animation-delay: .4s; }
@keyframes trailer-arrive { 0% { opacity: 0; transform: translateX(calc(-50% - 50px)); } 30% { opacity: 1; transform: translateX(-50%); } 38% { transform: translate(-50%, 2px); } 46%,100% { transform: translate(-50%, 0); } }
@keyframes trailer-tip { 0%,40%,100% { transform: rotate(0); } 65%,78% { transform: rotate(-23deg); } }
@keyframes trailer-wheel { from { transform: rotate(-220deg); } to { transform: rotate(0); } }
@keyframes wood-fire { from { transform: scale(.95, .9) skewX(-3deg); } to { transform: scale(1.03, 1.07) skewX(3deg); } }
@keyframes wood-ember { 0% { opacity: 0; transform: translateY(6px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(5px, -12px); } }
.nav__mobile .menu-art { left: auto; right: 4px; bottom: 4px; transform: none; }
.nav__mobile .menu-offer:is(:hover, :focus-visible, .is-playing) .menu-art--trailer { animation: trailer-arrive-mobile .65s both; }
.nav__mobile .menu-offer.is-playing .menu-art__bed { animation: trailer-tip .65s both; }
@keyframes trailer-arrive-mobile { from { opacity: 0; transform: translateX(-35px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .menu-art, .menu-art * { animation: none !important; }
}
