/* ==========================================================================
   HERZWERK. — Die Hochzeitsmesse
   Design-System & globale Styles
   Farbwelt & Typografie abgeleitet aus Logo (Anthrazit / Kupfer) und den
   Fotos der Zechenwerkstatt Lohberg (Stahl, Rostorange, warmes Licht).
   ========================================================================== */

/* Schriften – lokal gehostet (keine Verbindung zu Google, DSGVO-freundlich).
   Lizenz: SIL Open Font License, siehe assets/fonts/OFL-*.txt */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-standard-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-standard-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  /* Farbwelt -------------------------------------------------------- */
  --ink: #211d1a;            /* Anthrazit/Schwarz – Fließtext, dunkle Flächen */
  --ink-soft: #3a342f;       /* etwas hellere dunkle Fläche (Karten auf dunkel) */
  --anthracite: #34302c;     /* dunkle Sektionen, Footer */
  --anthracite-line: #4f4740;/* Trennlinien auf dunklem Grund */
  --rust: #a8431c;           /* Rostorange – Hauptakzent, sparsam einsetzen */
  --rust-deep: #7c2f14;      /* dunkleres Rost – Hover/aktive Zustände */
  --rust-soft: #c96a3d;      /* helleres Rost – auf dunklem Grund */
  --copper: #8c6a4f;         /* warmes Kupfer/Bronze – zweiter Akzent */
  --cream: #f7f2ea;          /* Seitenhintergrund, Off-White/Creme */
  --cream-deep: #efe4d3;     /* Karten/Abschnitte auf Creme */
  --stone: #c9bca6;          /* dezente Grauwerte / Trennlinien auf hell */
  --stone-text: #6f6559;     /* gedämpfter Fließtext, Meta-Angaben */
  --white: #fffdf9;          /* warmes Weiß für Karten */
  --line: #e1d5c0;           /* Haarlinie auf hellem Grund */

  /* Typografie -------------------------------------------------------- */
  --font-serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* Abstände (fluid) ---------------------------------------------------- */
  --space-3xs: clamp(0.4rem, 0.4rem, 0.4rem);
  --space-2xs: clamp(0.6rem, 0.55rem + 0.2vw, 0.75rem);
  --space-xs: clamp(0.9rem, 0.8rem + 0.3vw, 1.1rem);
  --space-s: clamp(1.3rem, 1.1rem + 0.6vw, 1.75rem);
  --space-m: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
  --space-l: clamp(3rem, 2.3rem + 2.2vw, 4.5rem);
  --space-xl: clamp(4.5rem, 3.2rem + 4vw, 7rem);
  --space-2xl: clamp(6rem, 4.5rem + 5.5vw, 9.5rem);

  --content-max: 1240px;
  --content-narrow: 780px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; }
svg { display: block; }

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

a.skip-link {
  position: absolute;
  left: 1rem; top: -3.5rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
  font-size: 0.9rem;
}
a.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

/* Typografie --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
/* Überschriften auf dunklem Grund müssen hell bleiben – ohne diese Regel
   gewinnt sonst die Tag-Selektor-Farbe oben gegen die geerbte helle Farbe. */
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3,
.cta-band h1, .cta-band h2, .cta-band h3,
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 {
  color: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--rust-soft); }

.h-display {
  font-size: clamp(2.6rem, 2rem + 3.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-xl { font-size: clamp(2.1rem, 1.7rem + 2vw, 3.4rem); line-height: 1.06; }
.h-l { font-size: clamp(1.7rem, 1.45rem + 1.2vw, 2.4rem); line-height: 1.12; }
.h-m { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); line-height: 1.2; }
.h-s { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}

.text-muted { color: var(--stone-text); }
.on-dark { color: var(--cream); }
.on-dark .text-muted, .on-dark p { color: #d7cdbf; }

p + p { margin-top: 1em; }

/* Layout --------------------------------------------------------------- */
.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.wrap-narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section { padding-block: var(--space-2xl); }
.section-tight { padding-block: var(--space-xl); }
.section.on-dark { background: var(--anthracite); }
.section.on-cream-deep { background: var(--cream-deep); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-l);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head > .eyebrow { margin-bottom: var(--space-xs); display: flex; }
.section-head > h2 { margin-top: var(--space-2xs); }
.section-head > p { margin-top: var(--space-s); }

.grid {
  display: grid;
  gap: var(--space-l);
}
@media (min-width: 780px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.on-dark .divider, .divider.on-dark { background: var(--anthracite-line); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-primary:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost.on-dark {
  color: var(--cream);
  border-color: #746b60;
}
.btn-ghost.on-dark:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: var(--space-s);
  transition: padding 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}
.site-header.is-scrolled {
  padding-block: var(--space-2xs);
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
body.theme-dark-header .site-header:not(.is-scrolled) .brand { color: var(--cream); }
.brand img {
  height: 38px; width: 38px;
  padding: 3px;
  background: var(--cream);
  border-radius: 50%;
  transition: height 0.35s var(--ease), width 0.35s var(--ease);
}
.site-header.is-scrolled .brand img { height: 30px; width: 30px; padding: 2px; }
.brand-word {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.main-nav { display: none; }
@media (min-width: 980px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2vw, 2.1rem);
  }
  .main-nav a {
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink);
    position: relative;
    padding-block: 0.3rem;
  }
  body.theme-dark-header .site-header:not(.is-scrolled) .main-nav a { color: var(--cream); }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 1px;
    background: var(--rust);
    transition: right 0.3s var(--ease);
  }
  .main-nav a:hover::after,
  .main-nav a[aria-current="page"]::after { right: 0; }
  .main-nav a[aria-current="page"] { color: var(--rust); }
  body.theme-dark-header .site-header:not(.is-scrolled) .main-nav a[aria-current="page"] { color: var(--rust-soft); }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid currentColor;
  color: var(--ink);
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
body.theme-dark-header .site-header:not(.is-scrolled) .nav-toggle { color: var(--cream); }
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--cream);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-l);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.mobile-nav.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.45s var(--ease), visibility 0s;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-nav a {
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  padding-block: 0.5rem;
  display: inline-block;
  border-bottom: 1px solid transparent;
}
.mobile-nav a[aria-current="page"] { color: var(--rust-soft); }
.mobile-nav .mobile-meta {
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid var(--anthracite-line);
  font-size: 0.9rem;
  color: #d7cdbf;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
@media (min-width: 980px) { .mobile-nav { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13, 10, 8, 0.94) 0%, rgba(15,11,9,0.8) 30%, rgba(17,12,9,0.6) 55%, rgba(20,14,10,0.42) 78%, rgba(20,14,10,0.3) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(6.5rem, 14vh, 9rem) var(--space-xl);
}
.hero-logo {
  width: clamp(72px, 9vw, 104px);
  height: auto;
  padding: clamp(5px, 0.6vw, 8px);
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: var(--space-m);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.6);
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw + 1rem, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.45), 0 16px 40px rgba(0,0,0,0.35);
}
.hero .hero-sub {
  margin-top: var(--space-s);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1vw + 0.8rem, 1.5rem);
  color: #ecdfcd;
  max-width: 30ch;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-meta {
  margin-top: var(--space-m);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  font-size: 0.95rem;
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-meta .meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-soft);
  font-weight: 600;
}
.hero-meta .meta-value { font-family: var(--font-serif); font-size: 1.15rem; }
.hero .btn-row { margin-top: var(--space-l); }

.scroll-cue {
  position: absolute;
  bottom: var(--space-m);
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ecdfcd;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, currentColor, transparent);
}
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* Page header (Unterseiten) --------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(8rem, 18vh, 11rem) var(--space-xl);
  background: var(--anthracite);
  color: var(--cream);
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: var(--space-xs); }
.page-hero p.lede { margin-top: var(--space-s); color: #e4d9c8; max-width: 56ch; }
.page-hero-texture {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 15% 20%, rgba(168,67,28,0.16), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(140,106,79,0.14), transparent 50%);
}
.page-hero.has-image { padding-block: clamp(10rem, 34vh, 16rem) var(--space-xl); }
.page-hero.has-image .hero-media { z-index: 0; }
.page-hero.has-image .hero-media img { object-position: center 35%; }

/* ==========================================================================
   Komponenten
   ========================================================================== */

/* Intro-Statement */
.statement {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.statement .h-l { font-family: var(--font-serif); }

/* Punkte-Liste (Icon + Text) */
.feature-list {
  display: grid;
  gap: var(--space-m);
  margin-top: var(--space-xl);
}
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feature-list { grid-template-columns: repeat(4, 1fr); } }
.feature-item {
  padding-top: var(--space-s);
  border-top: 1px solid var(--line);
}
.feature-item .num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--rust);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.9rem;
}
.feature-item h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.feature-item p { color: var(--stone-text); font-size: 0.96rem; }

/* Bild + Text Split */
.split {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: var(--space-xl); }
  .split.reverse { grid-template-columns: 1fr 1.1fr; }
  .split.reverse .split-media { order: 2; }
}
.split-media img {
  width: 100%;
  height: auto; /* sonst gewinnt das height-Attribut und das Bild wird extrem hoch */
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split-media.landscape img { aspect-ratio: 16/11; }
.split-body .eyebrow { margin-bottom: var(--space-xs); }
.split-body h2, .split-body h3 { margin-top: var(--space-2xs); }
.split-body p { margin-top: var(--space-s); color: var(--stone-text); }
.split-body p.lede { color: var(--ink); }

/* Karten */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-m);
}
.card-list { display: grid; gap: var(--space-s); }

/* CTA-Band */
.cta-band {
  background: var(--anthracite);
  color: var(--cream);
  padding-block: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(168,67,28,0.25), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--space-m); }

/* Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: #cfc4b3;
  padding-block: var(--space-xl) var(--space-m);
}
.footer-top {
  display: grid;
  gap: var(--space-l);
  padding-bottom: var(--space-l);
  border-bottom: 1px solid var(--anthracite-line);
}
@media (min-width: 860px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-xl); }
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: var(--space-s); }
.footer-brand img { height: 34px; width: 34px; padding: 3px; background: var(--cream); border-radius: 50%; }
.footer-claim { max-width: 34ch; color: #a89b89; font-size: 0.95rem; }
.footer-brand span { font-family: var(--font-serif); color: var(--cream); font-size: 1.2rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-s);
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { text-decoration: none; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--rust-soft); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { text-decoration: none; color: #b3a795; }
.footer-legal a:hover { color: var(--rust-soft); }
.footer-bottom {
  padding-top: var(--space-m);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8d8375;
}

/* ==========================================================================
   Aussteller
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-l);
}
.filter-chip {
  border: 1px solid var(--stone);
  background: transparent;
  color: var(--ink);
  padding: 0.55em 1.15em;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--rust); }
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.exhibitor-count {
  color: var(--stone-text);
  font-size: 0.9rem;
  margin-bottom: var(--space-m);
}

.exhibitor-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .exhibitor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .exhibitor-grid { grid-template-columns: repeat(3, 1fr); } }

.exhibitor-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-s);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.exhibitor-card:hover {
  border-color: var(--rust);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(33,29,26,0.35);
}
.exhibitor-card .ex-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.exhibitor-card .ex-cat {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
}
.exhibitor-card .ex-stand {
  font-size: 0.72rem;
  color: var(--stone-text);
  border: 1px solid var(--line);
  padding: 0.2em 0.6em;
  white-space: nowrap;
  flex-shrink: 0;
}
.exhibitor-card h3 { font-size: 1.15rem; }
.exhibitor-card p { color: var(--stone-text); font-size: 0.93rem; flex-grow: 1; }
.exhibitor-card .ex-links {
  display: flex;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.exhibitor-card .ex-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.exhibitor-card .ex-links a:hover { color: var(--rust); }

.empty-state {
  text-align: center;
  padding: var(--space-xl) var(--space-m);
  border: 1px dashed var(--stone);
  color: var(--stone-text);
}
.empty-state h3 { color: var(--ink); margin-bottom: 0.6rem; }

/* ==========================================================================
   Programm / Timeline
   ========================================================================== */
.timeline { max-width: 760px; }
.timeline-item {
  display: grid;
  grid-template-columns: minmax(90px, 120px) 1fr;
  gap: var(--space-m);
  padding-block: var(--space-m);
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-time {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--rust);
  white-space: nowrap;
}
.timeline-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-body p { color: var(--stone-text); font-size: 0.95rem; }
@media (max-width: 500px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list { max-width: 820px; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: var(--space-s);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.3rem);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--stone);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item .faq-icon::before, .faq-item .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease);
}
.faq-item .faq-icon::before { width: 11px; height: 1.4px; }
.faq-item .faq-icon::after { width: 1.4px; height: 11px; }
.faq-item[open] .faq-icon { background: var(--rust); border-color: var(--rust); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding-bottom: var(--space-m); color: var(--stone-text); max-width: 62ch; }
.faq-answer p + p { margin-top: 0.8em; }

/* ==========================================================================
   Galerie (Location)
   ========================================================================== */
.gallery-grid {
  display: grid;
  gap: var(--space-2xs);
  grid-template-columns: repeat(6, 1fr);
}
.gallery-grid figure { grid-column: span 6; overflow: hidden; }
.gallery-grid figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.04); }
@media (min-width: 700px) {
  .gallery-grid figure:nth-child(1) { grid-column: span 4; aspect-ratio: 4/5; }
  .gallery-grid figure:nth-child(2) { grid-column: span 2; aspect-ratio: 3/5; }
  .gallery-grid figure:nth-child(n+3) { grid-column: span 2; aspect-ratio: 1/1; }
}
.gallery-note {
  margin-top: var(--space-m);
  font-size: 0.9rem;
  color: var(--stone-text);
  text-align: center;
}

/* Info-Liste (Location Details) */
.info-list { display: grid; gap: var(--space-s); }
.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-m);
  padding-block: var(--space-s);
  border-top: 1px solid var(--line);
}
.info-row dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}
.info-row dd { margin: 0; }
@media (max-width: 560px) {
  .info-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ==========================================================================
   Journal
   ========================================================================== */
.journal-grid {
  display: grid;
  gap: var(--space-s);
}
@media (min-width: 700px) { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.journal-tile {
  padding: var(--space-m);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 190px;
}
.journal-tile .tile-index {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--rust);
}
.journal-tile h3 { font-size: 1.1rem; }
.journal-tile p { color: var(--stone-text); font-size: 0.92rem; }
.journal-preview-note {
  margin-top: var(--space-l);
  padding: var(--space-m);
  border: 1px dashed var(--stone);
  color: var(--stone-text);
  text-align: center;
  font-size: 0.92rem;
}

/* ==========================================================================
   Formular (Kontakt)
   ========================================================================== */
.form-grid { display: grid; gap: var(--space-m); }
@media (min-width: 700px) { .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m); } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field textarea {
  font: inherit;
  padding: 0.85em 1em;
  border: 1px solid var(--stone);
  background: var(--white);
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--rust); }
.field textarea { resize: vertical; min-height: 140px; }

/* ==========================================================================
   Scroll-Reveal
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* Breadcrumb-artiges Zurück-Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--stone-text);
  margin-bottom: var(--space-m);
}
.back-link:hover { color: var(--rust); }

/* ==========================================================================
   Aussteller-Logo (optional, Feld "logo" in aussteller.json)
   ========================================================================== */
.exhibitor-card .ex-logo {
  height: 56px;
  display: flex;
  align-items: center;
}
.exhibitor-card .ex-logo img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Karte erst nach Zustimmung laden (DSGVO)
   ========================================================================== */
.consent-embed {
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: var(--cream-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  padding: var(--space-m);
  text-align: center;
}
.consent-embed p { color: var(--stone-text); font-size: 0.9rem; max-width: 40ch; }
.consent-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.consent-embed.is-loaded { padding: 0; }

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================================== */
.legal { max-width: 720px; }
.legal h2 { font-size: 1.35rem; margin-top: var(--space-l); margin-bottom: var(--space-2xs); }
.legal h3 { font-size: 1.05rem; margin-top: var(--space-m); margin-bottom: 0.4rem; }
.legal p, .legal li { color: var(--stone-text); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.6rem; }
.legal a { color: var(--rust); }
.legal .placeholder {
  background: #fbe9dc;
  color: var(--rust-deep);
  padding: 0 0.3em;
  border-radius: 2px;
  font-weight: 600;
}
.legal-note {
  border-left: 3px solid var(--rust);
  background: var(--white);
  padding: var(--space-s);
  font-size: 0.92rem;
  margin-bottom: var(--space-l);
}

/* ==========================================================================
   Vorschau-Schalter: Landingpage vs. vollständige Website (siehe gate.js)
   ========================================================================== */
.landing { display: none; }
html.hw-locked .landing { display: grid; }
html.hw-locked [data-gate-part="site"] { display: none !important; }
html.hw-locked body { background: var(--cream); }

/* Auf öffentlichen Seiten (Impressum usw.) im gesperrten Zustand nur eine
   reduzierte Kopf- und Fußzeile zeigen – die Unterseiten sind noch zu. */
html.hw-locked .main-nav,
html.hw-locked .nav-toggle,
html.hw-locked .mobile-nav,
html.hw-locked .footer-top { display: none !important; }
html.hw-locked .footer-bottom { padding-top: 0; }

/* ==========================================================================
   Landingpage (Save the Date)
   ========================================================================== */
.landing {
  min-height: 100svh;
  grid-template-columns: 1fr;
  background: var(--cream);
}
@media (min-width: 900px) {
  .landing { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.landing-media {
  position: relative;
  min-height: 42svh;
  overflow: hidden;
  background: var(--ink);
}
.landing-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.landing-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,14,10,0.35), rgba(20,14,10,0) 45%);
}
@media (min-width: 900px) {
  .landing-media { order: 2; min-height: 100svh; }
  .landing-media::after { background: linear-gradient(to right, rgba(20,14,10,0.25), rgba(20,14,10,0) 30%); }
}

.landing-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-m) clamp(1.25rem, 5vw, 4.5rem);
}
.landing-logo {
  width: clamp(150px, 20vw, 230px);
  height: auto;
  margin-top: calc(var(--space-m) * -1 - clamp(75px, 10vw, 115px));
  margin-bottom: var(--space-s);
  position: relative;
  z-index: 1;
  padding: clamp(8px, 1vw, 12px);
  background: var(--cream);
  border-radius: 50%;
}
@media (min-width: 900px) {
  .landing-logo { margin-top: 0; padding: 0; background: none; width: clamp(120px, 11vw, 170px); }
}
.landing-kicker { margin-bottom: var(--space-2xs); }
.landing-title {
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.landing-tagline {
  margin-top: var(--space-s);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: var(--stone-text);
}
.landing-facts {
  margin: var(--space-m) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s) var(--space-m);
  padding-top: var(--space-m);
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.landing-facts div { display: flex; flex-direction: column; gap: 0.2rem; }
.landing-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}
.landing-facts dd { margin: 0; font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.35; }
.landing .btn-row { margin-top: var(--space-m); }
.landing-note {
  margin-top: var(--space-m);
  font-size: 0.92rem;
  color: var(--stone-text);
  max-width: 44ch;
}
.landing-footer {
  margin-top: var(--space-m);
  padding-top: var(--space-s);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.82rem;
  color: var(--stone-text);
}
.landing-footer a { color: var(--stone-text); text-decoration: none; }
.landing-footer a:hover { color: var(--rust); }
@media (max-width: 420px) {
  .landing-facts { grid-template-columns: 1fr; }
  .landing .btn { width: 100%; justify-content: center; }
}

/* 404 */
.notfound { min-height: 70svh; display: flex; align-items: center; }

/* Galerie mit nur einem Bild: volle Breite statt verwaistem 2/3-Block */
.gallery-grid figure:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-grid picture { display: contents; }

/* Erzwungene Zeilenumbrüche in großen Überschriften nur auf breiten Screens –
   auf dem Smartphone bricht der Text sonst an unglücklichen Stellen. */
@media (max-width: 640px) {
  .cta-band h2 br, .statement br, .split-body h2 br { display: none; }
}
