/* ---------- 0. Fonts — self-hosted (no requests to Google) ---------- */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/archivo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/archivo-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/archivo-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/archivo-latin-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'UnifrakturMaguntia'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/unifrakturmaguntia-latin-400-normal.woff2') format('woff2'); }

/* ============================================================
   LOS CHINITOS — tacos sin filtros
   Shared stylesheet for index.html / danke.html / impressum.html
   Rebuilt to match the approved component-prototype mockup 1:1.
   ============================================================ */

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, form { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea, button { font-family: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --red: #E4000A;
  --red-dark: #c40009;
  --yellow: #FFD400;
  --yellow-alt: #FFC700;
  --ink: #111111;
  --grey: #555555;
  --grey-mute: #9A9A9A;
  --grid-line: #E4E4E4;
  --divider-line: #EAEAEA;
  --cream: #EFEFEC;

  --font-display: 'Anton', sans-serif;
  --font-script: 'UnifrakturMaguntia', cursive;
  --font-body: 'Archivo', sans-serif;

  /* Fixed edge spacing — must look identical in a small window and in
     fullscreen, so it neither scales with the viewport nor gets extra
     centering slack from a capped container width. */
  --container: none;
  --gutter: 48px;
  --nav-h: 74px;

  /* every chapter headline uses this one size */
  --h-section: clamp(34px, 4.6vw, 60px);
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

/* ---------- 3. Base type & page ---------- */
/* overflow-x lives on <html>, not <body> — putting it on body forces the UA
   to resolve body's overflow-y to 'auto', turning body into its own
   independent scroll container and decoupling window.scrollY (which the
   story-pin scroll listener relies on) from the actual visible scroll. */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--grey);
  background-color: #fff;
  background-image:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a:not(.btn) { color: var(--red); transition: color .18s ease; }
a:not(.btn):hover { color: var(--red-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }
.section-pad { padding: 96px 0; }

.lead { font-size: 18px; line-height: 1.6; color: var(--grey); }

.script-tag {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.quoted::before { content: '\201C'; }
.quoted::after { content: '\201D'; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-dark:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* the page-transition wall is a brief, deliberate brand moment — keep it animating */
  *:not(.loading-wall):not(.loading-wall *),
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 4. Divider (checkerboard strip) ---------- */
.divider {
  height: 24px;
  width: 100%;
  background-image: conic-gradient(var(--red) 25%, #fff 0 50%, var(--red) 0 75%, #fff 0);
  background-size: 24px 24px;
}

/* ---------- 5. Diagonal-stripe placeholder (unreleased media) ---------- */
.placeholder-fill {
  background-color: #E4E4E4;
  background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 11px);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}
.btn:active { transform: translateY(-1px); }

.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { color: #fff; }

.btn-white { background: #fff; color: var(--red); }

.btn[disabled] { opacity: .7; cursor: default; transform: none; box-shadow: none; }
.btn-success { background: #1B7F3B !important; color: #fff !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .26s ease, box-shadow .26s ease;
}
.nav--solid { background: var(--red); }
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  column-gap: 24px;
}

/* nav-links + nav-cta form one visual group, mathematically centered between
   brand and tagline/toggle because the two flanking grid tracks are equal 1fr */
.nav-center {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch button {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 6px 6px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--red);
  opacity: .55;
  cursor: pointer;
  transition: opacity .2s ease, color .26s ease, border-color .2s ease;
}
.lang-switch button:hover,
.lang-switch button[aria-pressed="true"] { opacity: 1; }
.lang-switch button[aria-pressed="true"] { border-bottom-color: currentColor; }
.nav--solid .lang-switch button { color: #fff; }

.nav-brand {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-brand .logo-icon { height: 34px; width: 34px; }
.nav-brand .logo-wordmark { height: 20px; width: auto; aspect-ratio: 845 / 71; }

/* logo art is red-on-transparent by default; invert to white on solid nav */
.nav--solid .logo-icon,
.nav--solid .logo-wordmark { filter: brightness(0) invert(1); }
.logo-icon, .logo-wordmark { transition: filter .26s ease; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  position: relative;
}
.nav-links li { display: flex; }
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--red);
  border-radius: 999px;
  transition: color .26s ease, transform .15s ease;
  transform-origin: center bottom;
  will-change: transform;
}
.nav--solid .nav-links a { color: #fff; }
.nav-links a:hover { color: var(--ink); }
.nav--solid .nav-links a:hover { color: var(--yellow); }

.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 11px 22px; font-size: 11px; }

.btn-anfragen { background: var(--red); color: #fff; }
.nav--solid .btn-anfragen { background: #fff; color: var(--red); }

.nav-tagline {
  font-family: var(--font-script);
  font-size: 18px;
  color: var(--red);
  text-transform: none;
  white-space: nowrap;
  transition: color .26s ease;
  flex-shrink: 0;
}
.nav--solid .nav-tagline { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--red);
  transition: background-color .26s ease, transform .2s ease, opacity .2s ease;
}
.nav--solid .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--red);
  z-index: 499;
  padding: 12px var(--gutter) 28px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.nav-mobile-panel.is-open { display: flex; }
.nav-mobile-panel a {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.nav-mobile-panel .btn { margin-top: 14px; align-self: flex-start; border-bottom: none; }
.nav-mobile-panel a.btn-white { color: var(--red); }
.nav-mobile-panel a.btn-white:hover { color: var(--red); }

@media (max-width: 1080px) {
  .nav-tagline { display: none; }
}
@media (max-width: 900px) {
  .nav-inner { gap: 10px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 10px 10px; font-size: 10px; }
  .nav-cta .btn { padding: 9px 16px; font-size: 10px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hide-on-mobile { display: none !important; }
  .nav-brand { gap: 8px; }
  .nav-brand .logo-icon { height: 30px; width: 30px; }
  .nav-brand .logo-wordmark { height: 16px; }
  .lang-switch button { padding: 6px 4px 4px; }
  .nav-mobile-panel .lang-switch { margin-top: 18px; gap: 10px; }
  .nav-mobile-panel .lang-switch button { color: #fff; font-size: 12px; }
}
@media (max-width: 400px) {
  /* sub-pages keep the language switch in the bar (no menu panel there) */
  .nav-brand .logo-wordmark { height: 14px; }
  .nav-inner { column-gap: 6px; }
}
@media (min-width: 641px) {
  .nav-mobile-panel { display: none !important; }
}

/* ============================================================
   LOADING WALL — page-transition overlay
   ============================================================ */
.loading-wall {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  display: none;
}
.loading-wall.is-active,
.loading-wall.is-closed { display: block; pointer-events: auto; }

.loading-wall .panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: var(--red);
  transition: transform .55s cubic-bezier(.65,0,.35,1);
}
.loading-wall .panel-left { left: 0; transform: translateX(-100%); }
.loading-wall .panel-right { right: 0; transform: translateX(100%); }
.loading-wall.is-active .panel,
.loading-wall.is-closed .panel { transform: translateX(0); }

.loading-wall .loading-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(160px, 22vw, 280px);
  height: clamp(160px, 22vw, 280px);
  filter: brightness(0) invert(1);
  opacity: 0;
  transition: opacity .3s ease;
}
.loading-wall.show-logo .loading-logo,
.loading-wall.is-closed .loading-logo { opacity: 1; }

.loading-wall.is-revealing { opacity: 0; transition: opacity .45s ease; }
.loading-wall.is-revealing .panel { transition: none; }
.loading-wall.is-closed .panel,
.loading-wall.is-closed .loading-logo { transition: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0) 60%),
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.05) 70%);
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}
.hero-card {
  position: relative;
  z-index: 2;
  max-width: 620px;
  width: 100%;
  margin: 0 0 56px;
}
.hero-card .hero-title { font-size: inherit; line-height: normal; }
.hero-card .hero-title-main {
  display: block;
  font-size: clamp(56px, 11vw, 118px);
  color: var(--red);
  line-height: 0.86;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.45));
}
.hero-card .hero-wordmark {
  height: 42px;
  width: auto;
  aspect-ratio: 845 / 71;
  margin-top: 10px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}
.hero-card .hero-tagline {
  font-family: var(--font-script);
  color: var(--red);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-size: 26px;
  margin-top: 8px;
  display: block;
}
.hero-card p {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 18px;
  max-width: 46ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-card .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-red { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline-white:hover { background: #fff; color: var(--ink); }

@media (max-width: 640px) {
  .hero-card { margin: 0 0 32px; }
}

/* ============================================================
   STORY (scroll-pinned) — verbatim from handoff-story-and-socialwall.html
   ============================================================ */
@keyframes lc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes lc-roll-cw { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes lc-roll-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

#story-container { position: relative; width: 100%; height: 320vh; }
#story-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; width: 100%; overflow: hidden; display: flex; align-items: center; box-sizing: border-box; }
.story-inner { max-width: var(--container); margin: 0 auto; width: 100%; padding: 0 var(--gutter); box-sizing: border-box; }
.story-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr); gap: 44px; align-items: center; }
.story-badge-slot { position: relative; height: clamp(280px, 44vh, 520px); max-width: 420px; margin: 0 auto 0 0; display: flex; align-items: center; justify-content: center; }
/* right-hand slot hugs the outer edge so both texts line up with the nav */
.story-grid > .story-badge-slot:last-child { margin: 0 0 0 auto; }
.story-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; }
.story-badge-inner { width: clamp(140px, 70%, 230px); aspect-ratio: 1/1; position: relative; }
.story-badge-pulse { position: absolute; inset: 0; animation: lc-pulse 8s ease-in-out infinite; transform-origin: 50% 50%; }
.story-badge-pulse img { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; will-change: transform; }
.story-badge-ring.cw { animation: lc-roll-cw 8s linear infinite; }
.story-badge-ring.ccw { animation: lc-roll-ccw 8s linear infinite; }

.story-text { display: flex; flex-direction: column; gap: clamp(6px, 1.6vh, 16px); opacity: 1; transform: translateY(100vh); will-change: transform; width: 100%; max-height: 88vh; overflow: visible; }
.story-text h2 { font-family: Anton, sans-serif; font-size: var(--h-section); line-height: 1.02; letter-spacing: -0.01em; color: #E4000A; }
.story-text p { margin: 0; font-size: clamp(13px, 1.8vh, 15px); line-height: 1.4; color: #555; }

.story-img-block { display: flex; flex-direction: column; gap: 10px; opacity: 1; transform: translateY(100vh); will-change: transform; max-height: 82vh; }
.story-img-block img { width: 100%; max-height: 74vh; object-fit: contain; }
.story-names { display: flex; justify-content: space-between; padding: 0 4px; }
.story-names span { font-family: Anton, sans-serif; font-size: 22px; letter-spacing: -0.02em; text-transform: uppercase; color: #E4000A; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
}
@media (max-width: 768px) {
  #story-container { height: auto !important; }
  #story-sticky { position: static !important; height: auto !important; overflow: visible !important; padding: 56px 0 !important; }
  .story-grid { grid-auto-flow: row !important; }
  /* .story-text lives inside .story-badge-slot in the markup, so only hide the
     badge itself here — hiding the whole slot would also hide the text block. */
  .story-badge-slot { display: block !important; height: auto !important; max-width: none !important; }
  .story-badge { display: none !important; }
  .story-img-block { order: -1 !important; }
}

/* ============================================================
   DIVIDER BLOCK — red logo lockup
   ============================================================ */
.brand-band {
  background: var(--red);
  padding: 44px 0;
}
/* emblem is the auto track, so each 1fr side column spans exactly from the
   page edge to the emblem — centering inside it puts wordmark/tagline in the
   middle between edge and logo */
.brand-band .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 0;
  row-gap: 24px;
}
.brand-band-item { display: flex; justify-content: center; }
.brand-band img { filter: brightness(0) invert(1); }
.brand-band .wordmark img { height: 30px; width: auto; aspect-ratio: 845 / 71; }
.brand-band .emblem img { height: 150px; width: auto; aspect-ratio: 1216 / 1294; }
.brand-band .tagline-item span {
  font-family: var(--font-script);
  color: #fff;
  font-size: 30px;
}
@media (max-width: 768px) {
  .brand-band .container { grid-template-columns: 1fr; text-align: center; }
}

/* ============================================================
   PRODUKTE
   ============================================================ */
.produkte-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.produkte-intro h2 { font-size: var(--h-section); line-height: 1.02; color: var(--red); }
.produkte-intro p { font-size: 16px; line-height: 1.7; }

/* Accordion gallery — vanilla port of reactbits.dev AccordionGallery.
   Layout/tilt/parallax are driven by js/main.js; CSS transitions replace GSAP. */
.accordion-gallery {
  --ag-accent: var(--yellow);
  --ag-overlay: 17, 17, 17;
  --ag-text: #ffffff;
  --ag-gap: 10px;
  --ag-radius: 16px;
  --ag-media-size: 320px;
  --ag-duration: .6s;
  --ag-stagger: .06s;
  --ag-ease: cubic-bezier(.215, .61, .355, 1);
  display: flex;
  flex-direction: row;
  gap: var(--ag-gap);
  width: 100%;
  /* with expandRatio .42 the open panel lands close to square on common widths */
  height: clamp(420px, 34vw, 640px);
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.accordion-gallery--vertical { flex-direction: column; height: 560px; }
.accordion-gallery.ag-no-transition * { transition: none !important; }

.ag-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--ag-radius);
  cursor: pointer;
  display: block;
  outline: none;
  transform-origin: center center;
  /* light background: the anti-aliased rim of the rounded, tilted clip
     blends towards this colour, so a dark value shows as dark corners */
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.8);
  transition: flex-grow var(--ag-duration) var(--ag-ease), transform var(--ag-duration) var(--ag-ease);
  will-change: flex-grow, transform;
  -webkit-tap-highlight-color: transparent;
}
.ag-panel:focus-visible { box-shadow: 0 0 0 2px var(--ag-accent), 0 10px 30px -18px rgba(0,0,0,0.8); }

.ag-panel__frame { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #fff; isolation: isolate; transform: translateZ(0); }
.ag-panel__media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ag-media-size);
  height: 100%;
  transform: translate(-50%, -50%);
  filter: grayscale(1);
  transition: transform var(--ag-duration) var(--ag-ease), filter var(--ag-duration) var(--ag-ease);
  will-change: transform, filter;
}
.accordion-gallery--vertical .ag-panel__media { width: 100%; height: var(--ag-media-size); }
.ag-panel__media img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.ag-panel--placeholder .ag-panel__media { filter: none; }
.ag-panel__soon {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap; pointer-events: none;
  background: var(--red); color: #fff;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(14px, 1.2vw, 18px); letter-spacing: .04em;
  padding: 8px 16px; border-radius: 999px;
  transition: transform var(--ag-duration) var(--ag-ease);
}
.ag-panel--active .ag-panel__soon { transform: translate(-50%, -50%) rotate(0deg); }
.accordion-gallery--vertical .ag-panel__soon { transform: translate(-50%, -50%); }

.ag-panel__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(var(--ag-overlay), 0.78) 100%);
}
.ag-panel__dim {
  position: absolute; inset: 0; pointer-events: none;
  background: rgb(var(--ag-overlay));
  opacity: .35;
  transition: opacity var(--ag-duration) var(--ag-ease);
}
.ag-panel--active .ag-panel__media { filter: grayscale(0); }
.ag-panel--active .ag-panel__dim { opacity: 0; }

.ag-panel__label {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: flex; align-items: center; gap: 12px;
  pointer-events: none; z-index: 2;
}
.ag-panel__text {
  color: var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(18px, 1.6vw, 28px);
  letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity calc(var(--ag-duration) * .6) var(--ag-ease), transform calc(var(--ag-duration) * .6) var(--ag-ease);
}
.ag-panel--active .ag-panel__text {
  opacity: 1;
  transform: translateX(0);
  transition-duration: var(--ag-duration);
  transition-delay: var(--ag-stagger);
}

@media (max-width: 900px) {
  .produkte-intro { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-section { background: var(--red); color: #fff; }
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.events-left h2 { color: #fff; font-size: var(--h-section); line-height: 1.02; margin-bottom: 16px; }
.events-left p { color: rgba(255,255,255,0.88); font-size: 16px; line-height: 1.6; margin-bottom: 26px; }

.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.event-row:first-child { border-top: 1px solid rgba(255,255,255,0.3); }
.event-kind { color: var(--yellow); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.event-row--tba .event-loc { opacity: .75; }
.event-loc { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.01em; }
.event-time { color: rgba(255,255,255,0.8); font-size: 13px; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.events-empty { margin: 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.3); border-bottom: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.6; max-width: 46ch; }
a.event-details { color: var(--yellow); text-decoration: none; }
a.event-details:hover { text-decoration: underline; }
.event-details { color: var(--yellow); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.events-caption { margin-top: 18px; font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   ANFRAGEN / CONTACT FORM
   ============================================================ */
.anfragen-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.anfragen-left h2 { color: var(--red); font-size: var(--h-section); line-height: 1.02; margin-bottom: 16px; }
.anfragen-left p { font-size: 16px; line-height: 1.7; }

.form-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 2px solid transparent;
  background: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .18s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-error {
  color: var(--red);
  font-size: 13px;
  min-height: 16px;
  display: none;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--red); }
.form-field.has-error .form-error { display: block; }

.form-summary {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}
.form-summary.is-visible { display: block; }

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.form-footer .btn { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; }
.form-status { font-size: 14px; font-weight: 700; }
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: #1B7F3B; }

@media (max-width: 900px) {
  .anfragen-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

/* ============================================================
   SOCIAL WALL — verbatim from handoff-story-and-socialwall.html
   ============================================================ */
@keyframes lc-scroll-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes lc-scroll-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.social-wall-section { background: #E4000A; padding: 48px 0 56px; overflow: hidden; position: relative; min-height: 440px; }
.social-wall { position: absolute; top: -80px; bottom: -80px; left: -10%; right: -10%; transform: rotate(-7deg); transform-origin: center center; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; z-index: 0; }
.social-col { height: 100%; overflow: hidden; position: relative; }
.social-track { display: flex; flex-direction: column; gap: 24px; }
.social-tile { aspect-ratio: 4/5; border-radius: 16px; background: #1C1C1C; position: relative; flex-shrink: 0; transform: perspective(700px) rotateX(10deg); transform-origin: center bottom; box-shadow: 0 14px 30px -10px rgba(0,0,0,0.35); }
.social-tile--brand { background: var(--red-dark, #B8000A); display: grid; place-items: center; text-decoration: none; }
.social-tile--brand img { position: static !important; width: 46% !important; height: auto !important; filter: brightness(0) invert(1); opacity: .95; }
.social-tile--brand .social-tile-label { position: absolute; left: 14px; bottom: 14px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.social-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
a.social-tile { display: block; }
.social-tile span { position: absolute; left: 14px; bottom: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8A8A8A; }
.social-wall-section::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(228,0,10,0.92) 0%, rgba(228,0,10,0.75) 30%, rgba(228,0,10,0) 55%); }
.social-wall-copy { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 12px; }
.social-wall-copy h2 { font-family: Anton, sans-serif; font-size: var(--h-section); line-height: 1.02; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.social-wall-copy p { margin: 0; max-width: 44ch; font-size: 15px; line-height: 1.6; color: #fff; text-wrap: pretty; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }

@media (max-width: 640px) {
  .social-wall { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #fff; }
/* brand at the left edge, links at the right edge, emblem exactly centered —
   and vertically centered in the band between the checkerboard divider above
   and the hairline below, so the big badge reads as the middle of the footer */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand .logo-wordmark { height: 22px; width: auto; aspect-ratio: 845 / 71; }
.footer-brand .script-tag { color: var(--red); font-size: 16px; }
.footer-emblem { display: flex; justify-content: center; }
.footer-emblem .logo-icon { height: clamp(160px, 16vw, 240px); width: clamp(160px, 16vw, 240px); }

.footer-cols { display: flex; gap: 48px; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 13px; font-weight: 600; }
.footer-col a { color: var(--ink); transition: color .18s ease; }
.footer-col a:hover { color: var(--yellow-alt); }
.footer-col span { font-weight: 400; color: var(--grey); }
.footer-col a.is-accent { color: var(--red); }
.footer-col a.is-accent:hover { color: var(--red-dark); }
.footer-social { display: inline-flex; align-items: center; color: var(--red); margin-top: 4px; transition: color .18s ease; }
.footer-social:hover { color: var(--yellow-alt); }
.footer-social svg { width: 22px; height: 22px; }

.footer-divider { border-top: 1px solid var(--divider-line); padding-top: 20px; }
.footer-bottom { font-size: 12px; color: var(--grey-mute); padding-bottom: 24px; }

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .footer-emblem .logo-icon { height: 160px; width: 160px; }
  .footer-cols { gap: 32px; justify-content: flex-start; }
}

/* ============================================================
   FAQ
   ============================================================ */
/* Numbered accordion (right) next to heading, lead text and contact
   channels (left). Stacks on small screens: intro and contacts first. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-intro h2 { color: var(--red); font-size: var(--h-section); line-height: 1.02; }
.faq-lead { margin: 20px 0 0; max-width: 38ch; font-size: 16px; line-height: 1.65; color: var(--grey); text-wrap: pretty; }

.faq-contacts { margin-top: 32px; max-width: 440px; border: 1px solid var(--divider-line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-contact { display: grid; grid-template-columns: 40px 1fr 16px; align-items: center; gap: 16px; padding: 18px 20px; color: var(--ink); text-decoration: none; transition: background .18s ease; }
a.faq-contact { color: var(--ink); }
.faq-contact + .faq-contact { border-top: 1px solid var(--divider-line); }
.faq-contact:hover { background: #FAF7F2; }
.faq-contact-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.faq-contact-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.faq-contact-text strong { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.faq-contact-text span { font-size: 13px; color: var(--grey-mute); }
.faq-contact-arrow { color: var(--grey-mute); transition: transform .2s ease, color .2s ease; }
.faq-contact:hover .faq-contact-arrow { color: var(--red); transform: translate(2px, -2px); }

.faq-list { background: #fff; border: 1px solid var(--divider-line); border-radius: 16px; padding: 6px 36px; }
.faq-item + .faq-item { border-top: 1px solid var(--divider-line); }
.faq-q { margin: 0; font: inherit; }
.faq-q button {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 36px; align-items: center; gap: 12px;
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--font-body); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; line-height: 1.3;
}
.faq-num { font-size: 13px; font-weight: 600; color: #8A8A8A; font-variant-numeric: tabular-nums; letter-spacing: .04em; transition: color .2s ease; }
.faq-toggle {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #F1EEE9; color: var(--ink); transition: background .25s ease, color .25s ease, transform .3s ease;
}
.faq-q button:hover .faq-q-text { color: var(--red); }
.faq-q button:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 6px; }
.faq-item.is-open .faq-num { color: var(--red); }
.faq-item.is-open .faq-toggle { background: var(--red); color: #fff; transform: rotate(180deg); }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 48px 28px 56px; max-width: 62ch; font-size: 16px; line-height: 1.7; color: #444; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-intro { position: static; }
  .faq-contacts { max-width: none; }
}
@media (max-width: 640px) {
  .faq-list { padding: 4px 20px; }
  .faq-q button { grid-template-columns: 28px 1fr 32px; gap: 10px; padding: 20px 0; font-size: 17px; }
  .faq-toggle { width: 32px; height: 32px; }
  .faq-a p { padding: 0 0 20px 38px; font-size: 15px; color: #444; }
  .faq-contact { padding: 16px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-a, .faq-toggle { transition: none; }
}

/* mailto links also copy the address — this is the visible confirmation */
@keyframes lc-hint {
  0% { opacity: 0; transform: translateY(4px); }
  15%, 80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}
.copy-hint {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  animation: lc-hint 1.8s ease forwards;
}

/* ============================================================
   DANKE PAGE
   ============================================================ */
.danke-main {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gutter);
}
.danke-main h1 {
  color: var(--red);
  font-size: clamp(52px, 10vw, 88px);
}
.danke-main p { margin-top: 18px; font-size: 18px; color: var(--grey); max-width: 46ch; margin-left: auto; margin-right: auto; }
.danke-main .btn { margin-top: 34px; font-family: var(--font-display); letter-spacing: 0.04em; font-size: 15px; }

/* ============================================================
   IMPRESSUM PAGE
   ============================================================ */
.legal-main { padding: calc(var(--nav-h) + 22px) 0 clamp(48px, 6vw, 96px); }
/* back button sits centered in the band between nav and heading; the band's
   min-height equals the former top padding so the heading keeps its position */
.legal-back-row { display: flex; justify-content: center; align-items: center; min-height: clamp(24px, 4vw, 72px); padding: 8px 0; }
.legal-back-row .btn { padding: 12px 24px; font-size: 12px; }
.legal-main h1 { color: var(--red); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.01em; margin-bottom: clamp(28px, 4vw, 44px); }
.legal-content { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); max-width: 720px; }
.legal-block p + p { margin-top: 14px; }
.legal-block h2 {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 12px;
}
.legal-block p { font-size: 16px; line-height: 1.7; color: var(--grey); }

/* ============================================================
   CONSENT BANNER (off until a tool needs consent — see js/consent.js)
   ============================================================ */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; padding: 0 var(--gutter) 24px; pointer-events: none; display: none; }
.consent.is-open { display: block; }
.consent-card {
  pointer-events: auto; max-width: 560px; margin-left: auto;
  background: #fff; border: 1px solid var(--divider-line); border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.35); padding: 24px;
  max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  animation: consent-in .35s ease both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.consent-title { font-family: var(--font-display); font-size: 26px; line-height: 1.05; color: var(--red); text-transform: uppercase; margin: 0 0 10px; }
.consent-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--grey); }
.consent-text a { color: var(--red); }
.consent-options { margin-top: 16px; display: grid; gap: 10px; }
.consent-options[hidden] { display: none; }
.consent-opt { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: #F7F5F1; cursor: pointer; }
.consent-opt.is-locked { cursor: default; opacity: .8; }
.consent-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.consent-opt strong { display: block; font-size: 14px; color: var(--ink); }
.consent-opt small { display: block; font-size: 12.5px; line-height: 1.5; color: var(--grey); margin-top: 2px; }
.consent-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent-actions .btn { padding: 12px 20px; font-size: 13px; }
.consent-actions [hidden] { display: none; }
.consent-link { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .consent { padding: 0 12px 12px; }
  .consent-card { padding: 20px; }
  .consent-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .consent-card { animation: none; } }
