/* ============================================================
   messe-fotograf.com — Designsystem A (Messe-Dialekt)

   Token sind aus light-hunters.com uebernommen, NICHT neu erfunden:
   beide Seiten sollen sichtbar zur selben Firma gehoeren. Was sich
   aendert, ist der Dialekt — B2B statt Vertrauen-durch-Waerme:

   - Serif nur in H1 und Zitaten; H2/H3 in Inter 600
   - Akzentfarbe nur als Signal (aktiv, Preis, CTA), nie flaechig
   - Struktur ueber Linien statt Schatten
   - tabular-nums fuer Hallennummern, Termine, Preise, Laufzeiten
   - dunkle Abschnitte fest eingeplant (Messehallen sind dunkel)
   ============================================================ */

:root {
  --flaeche: #fafafa;
  --weiss: #ffffff;
  --dunkel: #1a1a1a;
  --dunkel-2: #2d2d2d;

  --text: #3a3a3a;
  --text-hell: #595959;
  --text-gedaempft: #636363;

  --linie: #e8e8e8;
  --linie-hell: #f0f0f0;

  --akzent: #c97a50;
  --akzent-dunkel: #b5612e;
  --akzent-hell: #f5ede5;

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 12px;
  --r-xl: 16px;
  --r-voll: 9999px;

  --max: 1200px;
  --sektion: clamp(60px, 8vw, 120px);
  --kopf: 72px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Zahlen laufen in Tabellen und Preisen sonst optisch auseinander. */
table, .zahl, .preis, time, .kennzahl__wert { font-variant-numeric: tabular-nums; }

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

a { color: var(--akzent-dunkel); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--dunkel); }

:focus-visible { outline: 2px solid var(--akzent-dunkel); outline-offset: 2px; border-radius: var(--r-s); }

.container { max-width: var(--max); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.sektion { padding-block: var(--sektion); }
.sektion--flaeche { background: var(--flaeche); }
.sektion--dunkel { background: var(--dunkel); color: #e9e9e9; }
.sektion--dunkel h2, .sektion--dunkel h3 { color: #fff; }

/* --- Typografie ------------------------------------------------ */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dunkel);
  margin: 0 0 1rem;
}
h2 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dunkel);
  margin: 0 0 1rem;
}
h3 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--dunkel);
  margin: 0 0 .5rem;
}
p { margin: 0 0 1rem; max-width: 68ch; }
.vorspann { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-hell); }
blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  color: var(--dunkel);
  border-left: 3px solid var(--akzent);
  margin: 2rem 0; padding: .25rem 0 .25rem 1.25rem;
}

.augenbraue {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--akzent-dunkel);
  margin: 0 0 .65rem;
}

/* --- Schaltflaechen -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: var(--r-voll);
  font: 600 .95rem/1 var(--font-text);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primaer { background: var(--akzent-dunkel); color: #fff; }
.btn--primaer:hover { background: var(--dunkel); color: #fff; }
.btn--linie { background: transparent; color: var(--dunkel); border-color: var(--linie); }
.btn--linie:hover { border-color: var(--dunkel); color: var(--dunkel); }
.sektion--dunkel .btn--linie, .hero .btn--linie { color: #fff; border-color: rgba(255,255,255,.4); }
.sektion--dunkel .btn--linie:hover, .hero .btn--linie:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }

/* --- Hero ------------------------------------------------------ */
.hero { position: relative; background: var(--dunkel); color: #fff; overflow: hidden; }
.hero__bild { position: absolute; inset: 0; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero__schleier {
  position: absolute; inset: 0;
  background:
    linear-gradient(97deg, rgba(14,14,16,.88) 0%, rgba(14,14,16,.74) 42%, rgba(14,14,16,.44) 74%, rgba(14,14,16,.32) 100%),
    linear-gradient(180deg, rgba(14,14,16,.34) 0%, rgba(14,14,16,.06) 48%, rgba(14,14,16,.38) 100%);
}
.hero__inhalt {
  position: relative; z-index: 2;
  padding-block: calc(var(--kopf) + clamp(3rem, 6vw, 5.5rem)) clamp(3rem, 5vw, 4.5rem);
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero .vorspann { color: rgba(255,255,255,.9); max-width: 58ch; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Zwei Kennzahlen im Hero — nuechtern, ohne Siegeloptik. */
.kennzahlen { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.25rem; }
.kennzahl__wert { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1; color: #fff; }
.kennzahl__text { font-size: .875rem; color: rgba(255,255,255,.75); margin-top: .3rem; }

/* --- Leistungsraster: Linie statt Schatten --------------------- */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--r-l); overflow: hidden; }
.karte { background: var(--weiss); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.karte__ab { display: block; margin-top: .75rem; font-weight: 600; color: var(--akzent-dunkel); }

/* --- Ablauf-Zeitstrahl ----------------------------------------- */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--linie); border-block: 1px solid var(--linie); }
.ablauf li { background: var(--weiss); display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem clamp(.25rem, 2vw, 1rem); }
.sektion--dunkel .ablauf { background: #3a3a3a; border-color: #3a3a3a; }
.sektion--dunkel .ablauf li { background: var(--dunkel); }
.ablauf__nr { font-family: var(--font-display); font-size: 1.5rem; color: var(--akzent); line-height: 1.2; }
.ablauf__zeit { font-size: .85rem; color: var(--text-gedaempft); }
.sektion--dunkel .ablauf__zeit { color: rgba(255,255,255,.65); }

/* --- Datenreihen (Messetermine, Preise) ------------------------ */
.tabellenhuelle { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--linie); border-radius: var(--r-l); }
table.daten { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
table.daten th, table.daten td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--linie-hell); }
table.daten th { font-weight: 600; color: var(--dunkel); background: var(--flaeche); white-space: nowrap; }
table.daten tr:last-child td { border-bottom: 0; }
table.daten td.preis { font-weight: 600; color: var(--akzent-dunkel); white-space: nowrap; }

/* --- Vertrauensleiste ------------------------------------------ */
.vertrauen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.25rem 2rem; padding: 0; margin: 0; list-style: none; }
.vertrauen li { font-size: .92rem; color: var(--text-hell); padding-left: 1.4rem; position: relative; }
.vertrauen li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--akzent); }

/* --- FAQ -------------------------------------------------------- */
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; color: var(--dunkel); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--akzent-dunkel); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding-bottom: 1.1rem; margin: 0; color: var(--text-hell); }

/* --- Kopf ------------------------------------------------ */
.kopf { position: fixed; inset: 0 0 auto; height: var(--kopf); z-index: 100; display: flex; align-items: center; background: rgba(26,26,26,.82); backdrop-filter: blur(8px); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.kopf__wort { font-weight: 700; letter-spacing: .02em; color: #fff; text-decoration: none; font-size: .95rem; }
.kopf__nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem); }
.kopf__nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; }
.kopf__nav a:hover, .kopf__nav a[aria-current="page"] { color: #fff; }
.kopf__nav .btn, .kopf__nav .btn:hover { color: #fff; }
@media (max-width: 860px) { .kopf__nav a:not(.btn) { display: none; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: #fff; color: var(--dunkel); padding: .6rem 1rem; border-radius: var(--r-s); }

/* --- Fuss ------------------------------------------------------
   1:1 aus light-hunters.com (public/css/style.css, .footer*). Nur die
   Token-Namen sind uebersetzt, die Werte sind identisch:
   --color-border = --linie, --color-text-muted = --text-gedaempft usw.
   Bei Aenderungen an einer Seite die andere nachziehen. */
.footer { background: var(--weiss); border-top: 1px solid var(--linie); padding: 3.5rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer__brand-row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--linie-hell); }
.footer__brand { max-width: 560px; }
.footer__logo { font-size: 1.3rem; font-weight: 800; color: var(--dunkel); letter-spacing: -0.02em; }
.footer__logo strong { font-weight: 800; }
.footer__brand p { margin-top: .75rem; font-size: .875rem; color: var(--text-gedaempft); line-height: 1.55; }
.footer__badge { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.25rem; background: var(--akzent-hell); border: 1px solid var(--linie); border-radius: var(--r-m); margin-top: 1.25rem; text-decoration: none; transition: all .3s ease; }
.footer__badge:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); border-color: var(--akzent); }
.footer__badge-text { font-size: .875rem; color: var(--text-gedaempft); line-height: 1.4; }
.footer__badge-text strong { display: block; color: var(--dunkel); font-size: .875rem; font-weight: 700; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; margin-bottom: 2.5rem; }
.footer__title { display: block; font-size: .8125rem; font-weight: 700; color: var(--dunkel); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.footer__link { display: block; font-size: .875rem; color: var(--text-gedaempft); padding: .3rem 0; line-height: 1.45; text-decoration: none; transition: color .15s ease; }
.footer__link:hover { color: var(--akzent-dunkel); }
.footer__link--address { font-size: .8125rem; line-height: 1.4; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-hell); font-size: .875rem; color: var(--text-gedaempft); }
.footer__bottom a { text-decoration: underline; text-decoration-color: var(--akzent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
.footer__bottom > span a { color: var(--akzent-dunkel); }
.footer__ki-note { display: block; margin-top: .45rem; opacity: .72; line-height: 1.5; font-size: .78rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer__social-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; min-height: 44px; border: 1px solid var(--linie); border-radius: var(--r-voll); font-size: .8rem; font-weight: 500; color: var(--text-gedaempft); text-decoration: none; transition: all .15s ease; }
.footer__social-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer__social-pill:hover, .footer__social-pill:focus-visible { border-color: var(--akzent); color: var(--akzent-dunkel); background: var(--akzent-hell); }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .footer { padding: 3rem 1.25rem calc(2rem + env(safe-area-inset-bottom)); }
  .footer__brand-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer__link { font-size: .85rem; }
  .footer__title { margin-bottom: .5rem; font-size: .75rem; }
  .footer__bottom { flex-direction: column; gap: .75rem; text-align: center; }
}

/* --- Unterseiten-Kopf ----------------------------------------- */
.hero--seite .hero__inhalt { padding-block: calc(var(--kopf) + clamp(2.5rem, 5vw, 4rem)) clamp(2.5rem, 4.5vw, 3.75rem); }
.hero--seite h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 20ch; }
.brotkrumen { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.brotkrumen a { color: rgba(255,255,255,.85); text-decoration: none; }
.brotkrumen a:hover { color: #fff; text-decoration: underline; }
.brotkrumen [aria-current] { color: rgba(255,255,255,.65); }

/* --- Inhaltsbausteine ------------------------------------------ */
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zweispaltig--umgekehrt > :first-child { order: 2; }
.zweispaltig picture img { width: 100%; border-radius: var(--r-l); }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; } .zweispaltig--umgekehrt > :first-child { order: 0; } }

.haken { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.haken li { position: relative; padding-left: 1.6rem; color: var(--text); }
.haken li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .55rem; height: .3rem; border-left: 2px solid var(--akzent-dunkel); border-bottom: 2px solid var(--akzent-dunkel); transform: rotate(-45deg); }

.preisbox { border: 1px solid var(--linie); border-radius: var(--r-l); padding: 1.5rem 1.75rem; background: var(--weiss); }
.preisbox__wert { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--dunkel); line-height: 1.1; }
.preisbox__hinweis { font-size: .88rem; color: var(--text-gedaempft); margin: .5rem 0 0; }

.hinweis { border-left: 3px solid var(--akzent); background: var(--akzent-hell); border-radius: 0 var(--r-m) var(--r-m) 0; padding: 1rem 1.25rem; color: var(--text); font-size: .95rem; }
.hinweis p:last-child { margin-bottom: 0; }

/* Referenzkarten */
.fallraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.fall { border: 1px solid var(--linie); border-radius: var(--r-l); overflow: hidden; background: var(--weiss); display: flex; flex-direction: column; }
.fall picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fall__text { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.fall__ort { font-size: .82rem; color: var(--text-gedaempft); }
.fall__link { margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .92rem; }

/* Messeplatz-Tabelle / Fakten */
.fakten { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
.fakten dt { font-weight: 600; color: var(--dunkel); }
.fakten dd { margin: 0; color: var(--text-hell); }
@media (max-width: 560px) { .fakten { grid-template-columns: 1fr; } .fakten dd { margin-bottom: .6rem; } }

/* Formular */
.formular { display: grid; gap: 1rem; max-width: 680px; }
.formular__zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .formular__zeile { grid-template-columns: 1fr; } }
.formular label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--dunkel); }
.formular input, .formular select, .formular textarea {
  font: 400 1rem/1.4 var(--font-text); color: var(--dunkel);
  border: 1px solid var(--linie); border-radius: var(--r-m); padding: .7rem .85rem; background: var(--weiss);
}
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--akzent-dunkel); outline-offset: 1px; border-color: transparent; }
.formular textarea { min-height: 8rem; resize: vertical; }
.formular__hinweis { font-size: .85rem; color: var(--text-gedaempft); margin: 0; }

/* ============================================================
   RECHTSSEITEN — 1:1 aus light-hunters.com (.legal*), Token-Namen
   uebersetzt, Werte identisch. Bei Aenderungen beide Seiten anfassen.
   ============================================================ */
.legal { max-width: 760px; }
.legal__intro { color: var(--text-gedaempft); font-size: 1.02rem; line-height: 1.7; padding-bottom: 1.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--linie-hell); }
.legal__section { margin-bottom: 2.75rem; }
.legal__section:last-child { margin-bottom: 0; }
.legal__section h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -0.01em; margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--akzent-hell); }
.legal__section h3 { font-family: var(--font-text); font-size: 1.02rem; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--dunkel); margin: 1.75rem 0 .55rem; }
.legal__section h4 { font-family: var(--font-text); font-size: .95rem; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--text-hell); margin: 1.3rem 0 .4rem; }
.legal__section > h3:first-child, .legal__section > h4:first-child { margin-top: 0; }
.legal__section p { line-height: 1.75; color: var(--text); margin: 0 0 .9rem; max-width: none; }
.legal__section p:last-child { margin-bottom: 0; }
.legal__section ul, .legal__section ol { margin: 0 0 .9rem; padding-left: 1.25rem; line-height: 1.75; color: var(--text); font-size: .95rem; }
.legal__section li { margin-bottom: .4rem; }
.legal__address { background: #f7f6f4; border-left: 3px solid var(--akzent); border-radius: 0 var(--r-m) var(--r-m) 0; padding: .95rem 1.15rem; margin: 0 0 .9rem; line-height: 1.75; font-style: normal; }
.legal__address strong { color: var(--dunkel); }
.legal__note { color: var(--text-gedaempft); font-size: .9rem; line-height: 1.65; margin: 0 0 .9rem; }
.legal__num { display: inline-block; min-width: 2.6rem; font-weight: 700; color: var(--akzent-dunkel); font-variant-numeric: tabular-nums; }
.legal__list { margin: 0 0 .9rem 2.6rem; padding-left: 1.1rem; line-height: 1.75; color: var(--text); }
.legal__list li { margin-bottom: .4rem; }
.legal__list--schedule li { margin-bottom: .55rem; }
.legal__section--highlight { background: var(--akzent-hell); border-radius: var(--r-l); padding: 1.5rem 1.5rem .75rem; }
.legal__section--highlight h2 { border-bottom-color: var(--akzent); }
.legal a { color: var(--akzent-dunkel); text-decoration: underline; text-underline-offset: 2px; }
.legal__meta { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-hell); color: var(--text-gedaempft); font-size: .92rem; line-height: 1.7; }
.legal__meta em { color: var(--text-hell); }
.legal .fade-in { opacity: 1; transform: none; transition: none; }
@media (max-width: 600px) {
  .legal__section { margin-bottom: 2.25rem; }
  .legal__num { min-width: 2.2rem; }
  .legal__list { margin-left: 0; }
  .legal__section--highlight { padding: 1.25rem 1rem .5rem; }
  .legal__address { padding: .85rem 1rem; }
}

/* Rechtsseiten-Kopf: ohne Bild, unter dem festen Kopf */
.rechtskopf { background: var(--flaeche); border-bottom: 1px solid var(--linie-hell); padding: calc(var(--kopf) + clamp(2.5rem, 5vw, 4rem)) 0 clamp(1.75rem, 3vw, 2.5rem); }
.rechtskopf h1 { font-size: clamp(2rem, 4.2vw, 2.8rem); margin-bottom: .5rem; }

/* Lange deutsche Komposita ("Datenschutzerklärung", "Geschäftsbedingungen")
   passen bei 320 px nicht in eine Zeile und liefen über den Rand.
   <html lang="de"> ist gesetzt, der Browser trennt also nach deutschen Regeln. */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Sehr schmale Geräte (≤ 380 px): Wortmarke und Knopf passten nicht
   nebeneinander, der Anfrage-Knopf wurde am Rand abgeschnitten. */
@media (max-width: 380px) {
  .kopf__wort { font-size: .85rem; }
  .kopf__wort span { display: none; }
  .kopf__nav .btn { padding: .6rem 1rem; font-size: .85rem; }
}
