/* =========================================================
   RuTiG Bau GmbH – Stylesheet
   Farben und Schriften aus der Visitenkarte / dem Flyer
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --schwarz: #161415;       /* Grund der Visitenkarte */
  --schwarz-2: #232122;
  --schwarz-3: #333132;
  --gold: #D9A030;          /* Gold aus dem Flyer */
  --gold-hell: #EDBE55;
  --gold-tief: #8A6414;     /* Gold für Text auf hellem Grund */
  --silber: #B8BBBF;
  --beton: #EDEDEB;
  --beton-2: #DCDCD9;
  --weiss: #FFFFFF;
  --tinte: #1E1C1D;
  --grau: #5E5B5C;
  --gruen: #2F7A3E;
  --rot: #A3261B;

  --f-titel: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --f-text: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--weiss);
  font-feature-settings: "kern", "calt";
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titel); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-weight: 500; font-size: 1.2rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--schwarz); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

mark.platzhalter { background: #FFE45C; color: #000; padding: 0 .25em; font-weight: 600; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .7em 1.4em;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--f-text); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-gold { background: var(--gold); color: var(--schwarz); }
.btn-gold:hover { background: var(--gold-hell); }
.btn-rahmen { border-color: rgba(255,255,255,.4); color: var(--weiss); }
.btn-rahmen:hover { border-color: var(--gold); color: var(--gold-hell); }
.btn-dunkel { background: var(--schwarz); color: var(--weiss); }
.btn-dunkel:hover { background: var(--schwarz-3); }
.btn-hell { background: var(--weiss); color: var(--schwarz); }
.btn-hell:hover { background: var(--beton); }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- CI-Streifen (Visitenkarte unten: Gold | Schräge | Silber) ---------- */
.ci-streifen {
  height: 12px;
  background:
    linear-gradient(104deg,
      #B07B1C 0%, #E8B84D 30%, #D9A030 54%,
      transparent 54%, transparent 55.4%,
      #8E9195 55.4%, #D9DBDD 78%, #A2A5A9 100%);
}

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--schwarz); color: var(--weiss); border-bottom: 1px solid #000; }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); height: var(--kopf-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marke img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current] { border-color: var(--gold); }
.nav-anruf { min-height: 44px; padding: .5em 1em; }
.nav-toggle { display: none; background: none; border: 0; color: var(--weiss); padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  :root { --kopf-h: 64px; }
  .marke img { height: 38px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--kopf-h) 0 0 0; z-index: 49; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--schwarz); padding: 8px var(--rand) 24px;
    border-top: 1px solid var(--schwarz-3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s, transform .18s, visibility 0s .18s;
  }
  .nav.offen { opacity: 1; transform: none; visibility: visible; transition: opacity .18s, transform .18s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font-size: 1.2rem; border-bottom: 1px solid var(--schwarz-3); }
  .nav ul a:hover, .nav ul a[aria-current] { border-color: var(--schwarz-3); color: var(--gold-hell); }
  .nav-anruf { margin-top: 20px; min-height: 54px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  background: var(--schwarz); color: var(--weiss);
  min-height: min(calc(100svh - var(--kopf-h)), 820px);
}
.hero-text {
  align-self: center;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 72px) clamp(64px, 8vw, 110px) max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: .98; letter-spacing: -0.035em; margin-bottom: .45em;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 46%, #E2E3E5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #D6D3D4; max-width: 34em; margin-bottom: 2em; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-bild { position: relative; overflow: hidden; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-bild::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, var(--schwarz), transparent); z-index: 1; }
.hero > .ci-streifen { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 44px var(--rand) 40px; }
  .hero-bild { height: 46vh; min-height: 280px; }
  .hero-bild img { object-position: 60% 55%; }
  .hero-bild::before { inset: 0 0 auto 0; width: auto; height: 30%; background: linear-gradient(180deg, var(--schwarz), transparent); }
  .hero-knoepfe .btn { flex: 1 1 220px; }
}

/* ---------- Sektionen ---------- */
.sektion { padding: clamp(64px, 9vw, 120px) 0; }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.kopfzeile h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 0; }
.kopfzeile p { margin: 0; color: var(--grau); max-width: 36em; }
@media (max-width: 760px) { .kopfzeile { grid-template-columns: 1fr; } }

/* ---------- Leistungen ---------- */
.leistungs-raster {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--beton-2);
}
.leistung { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--beton-2); }
.leistung:not(:nth-child(4n+1)) { padding-left: 28px; border-left: 1px solid var(--beton-2); }
.leistung-icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px;
  border: 1.5px solid var(--gold); border-radius: 10px; color: var(--gold-tief);
  background: linear-gradient(160deg, #FFFBF0, #FFFFFF);
}
.leistung-icon .icon { width: 40px; height: 40px; }
.leistung h3 { margin-bottom: .4em; }
.leistung p { color: var(--grau); font-size: .98rem; margin: 0; }
@media (max-width: 1020px) {
  .leistungs-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leistung, .leistung:not(:nth-child(4n+1)) { padding: 28px 24px 30px 0; border-left: 0; }
  .leistung:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--beton-2); }
}
@media (max-width: 560px) {
  .leistungs-raster { grid-template-columns: 1fr; }
  .leistung, .leistung:not(:nth-child(4n+1)), .leistung:nth-child(even) {
    display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 22px 0; border-left: 0;
  }
  .leistung-icon { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .leistung-icon .icon { width: 32px; height: 32px; }
}

/* ---------- Projekte ---------- */
.projekte-sektion { background: var(--beton); }
.projekt-raster {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px);
}
.seite-home .projekt-raster .projekt:first-child { grid-column: span 2; grid-row: span 2; }
.seite-home .projekt-raster .projekt:first-child .projekt-bild { aspect-ratio: auto; flex: 1; min-height: 320px; }
.seite-home .projekt-raster .projekt:first-child .projekt-titel { font-size: 1.5rem; }
.projekt[hidden] { display: none; }
.projekt-btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left;
  background: var(--weiss); border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; color: inherit;
}
.projekt-bild { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--schwarz-2); overflow: hidden; }
.projekt-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.projekt-btn:hover .projekt-bild img { transform: scale(1.03); }
.projekt-play {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(22,20,21,.82);
}
.projekt-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--gold); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.projekt-text { display: block; padding: 16px 18px 20px; border-top: 3px solid var(--gold); }
.projekt-kat { display: block; font-size: .85rem; font-weight: 600; color: var(--gold-tief); margin-bottom: 2px; }
.projekt-titel { display: block; font-family: var(--f-titel); font-weight: 500; font-size: 1.15rem; line-height: 1.25; }
.projekt-info { display: block; font-size: .88rem; color: var(--grau); margin-top: 6px; }
.mehr { margin: clamp(28px, 4vw, 44px) 0 0; }
@media (max-width: 900px) {
  .projekt-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seite-home .projekt-raster .projekt:first-child { grid-row: auto; }
  .seite-home .projekt-raster .projekt:first-child .projekt-bild { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 560px) {
  .projekt-raster { grid-template-columns: 1fr; }
  .seite-home .projekt-raster .projekt:first-child { grid-column: auto; }
  .seite-home .projekt-raster .projekt:first-child .projekt-titel { font-size: 1.25rem; }
}

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 42px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: var(--weiss); border: 1.5px solid var(--beton-2); color: var(--tinte); font-weight: 500; font-size: .95rem;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }

.cta-box {
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px);
  background: var(--schwarz); color: var(--weiss); border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center;
}
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.cta-box p { margin: 0; color: #CFCCCD; grid-column: 1; }
.cta-box .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 700px) { .cta-box { grid-template-columns: 1fr; } .cta-box .btn { grid-column: 1; grid-row: auto; margin-top: 16px; } }

/* ---------- Werte ---------- */
.werte { background: var(--schwarz); color: var(--weiss); padding: clamp(56px, 7vw, 96px) 0; }
.werte-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.wert .icon { width: 48px; height: 48px; color: var(--gold); margin-bottom: 18px; }
.wert h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: .35em; }
.wert p { color: #CFCCCD; margin: 0; max-width: 26em; }
@media (max-width: 760px) { .werte-raster { grid-template-columns: 1fr; gap: 36px; } .wert { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; } .wert .icon { grid-row: span 2; margin: 0; } }

/* ---------- Ablauf ---------- */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: schritt; }
.schritte li { position: relative; counter-increment: schritt; padding-top: 72px; }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--schwarz); color: var(--gold); font-family: var(--f-titel); font-weight: 700; font-size: 1.2rem;
}
.schritte li::after { content: ""; position: absolute; left: 60px; right: -16px; top: 23px; height: 2px; background: var(--gold); }
.schritte li:last-child::after { display: none; }
.schritte p { color: var(--grau); font-size: .98rem; margin: 0; }
@media (max-width: 960px) {
  .schritte { grid-template-columns: 1fr; gap: 0; }
  .schritte li { padding: 0 0 28px 72px; }
  .schritte li::after { left: 23px; right: auto; top: 56px; bottom: 6px; width: 2px; height: auto; }
}

/* ---------- Kontakt ---------- */
.kontakt { background: var(--beton); }
.kontakt-raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.kontakt-info h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.kontakt-info > p { color: var(--grau); }
.kontakt-wege { list-style: none; margin: 28px 0; padding: 0; }
.kontakt-wege li { border-top: 1px solid var(--beton-2); }
.kontakt-wege li:last-child { border-bottom: 1px solid var(--beton-2); }
.kontakt-wege a, .kontakt-adresse { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; font-weight: 500; font-size: 1.08rem; }
.kontakt-wege a:hover { color: var(--gold-tief); }
.kontakt-wege .icon { width: 26px; height: 26px; color: var(--gold-tief); }
.kontakt-wege small { display: block; font-size: .82rem; font-weight: 500; color: var(--grau); }
.karte { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--beton-2); }
.karte iframe { width: 100%; height: 100%; border: 0; }
.karte-hinweis { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 24px; font-size: .95rem; color: var(--grau);
  background: repeating-linear-gradient(135deg, #E3E3E0 0 14px, #DDDDDA 14px 28px); }
.karte-hinweis p { max-width: 30em; margin: 0; background: var(--beton); padding: 10px 12px; border-radius: 4px; }
.karte-hinweis a { font-size: .9rem; }

.formular { background: var(--weiss); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border-top: 4px solid var(--gold); }
.formular h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1em; }
.feld { margin-bottom: 18px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .feld-paar { grid-template-columns: 1fr; } }
.feld label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--grau); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--tinte);
  background: var(--weiss); border: 1.5px solid #BDBBB8; border-radius: var(--radius);
}
.feld textarea { resize: vertical; min-height: 150px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--gold-tief); box-shadow: 0 0 0 3px rgba(217,160,48,.35); }
.feld [aria-invalid="true"] { border-color: var(--rot); }
.form-hinweis { font-size: .88rem; color: var(--grau); }
.formular .btn { width: 100%; }
.form-meldung p { padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-meldung .ok { background: #E5F2E7; color: #1D5A29; }
.form-meldung .fehler { background: #F8E4E1; color: #7E1D14; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.seitenkopf { position: relative; background: var(--schwarz); color: var(--weiss); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); }
.seitenkopf h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.03em; }
.seitenkopf p { color: #CFCCCD; max-width: 40em; margin: 0; }
.seitenkopf > .ci-streifen { position: absolute; left: 0; right: 0; bottom: 0; }

.rechtstext { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.rechtstext .rahmen { max-width: 820px; }
.rechtstext h2 { font-size: 1.6rem; margin-top: 2em; }
.rechtstext h3 { font-size: 1.15rem; font-weight: 700; margin-top: 1.6em; }
.rechtstext a { color: var(--gold-tief); text-underline-offset: 3px; }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext li { margin-bottom: .4em; }
.rechtstext address { font-style: normal; }
.rechtstext .stand { color: var(--grau); font-size: .95rem; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--schwarz); color: #D6D3D4; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--rand) 32px; display: grid; grid-template-columns: 1.2fr 1fr .8fr .8fr; gap: 36px; }
.fuss-marke img { width: 190px; }
.fuss h2 { font-family: var(--f-text); font-size: .95rem; font-weight: 600; color: var(--gold); letter-spacing: 0; margin-bottom: 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 8px; }
.fuss a, .fuss .linkbtn { text-decoration: none; color: #D6D3D4; }
.fuss a:hover, .fuss .linkbtn:hover { color: var(--weiss); text-decoration: underline; }
.fuss-copy { max-width: var(--breite); margin: 0 auto; padding: 20px var(--rand) 28px; border-top: 1px solid var(--schwarz-3); font-size: .88rem; color: #9B9798; }
@media (max-width: 860px) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss-innen { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.wa-float .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.cookie-offen .wa-float { display: none; }

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: 460px; width: calc(100% - 32px); }
.cookie-innen { background: var(--schwarz); color: #E2DFE0; padding: 22px 22px 20px; border-radius: 10px; border-top: 4px solid var(--gold); box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.cookie h2 { font-size: 1.15rem; color: var(--weiss); margin-bottom: .5em; }
.cookie p { font-size: .9rem; line-height: 1.5; }
.cookie a { color: var(--gold-hell); }
.cookie-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-knoepfe .btn { min-height: 46px; padding: .6em .8em; font-size: .95rem; }
@media (max-width: 480px) { .cookie { right: 8px; bottom: 8px; width: calc(100% - 16px); } .cookie-innen { padding: 16px; } .cookie h2 { font-size: 1rem; } .cookie p { font-size: .85rem; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: #0E0D0D; color: var(--weiss); display: grid; grid-template-rows: auto 1fr auto; }
.lightbox[hidden] { display: none; }
.lb-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px clamp(16px, 3vw, 32px) 8px; }
.lb-kopf h2 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); margin: 0; }
.lb-zaehler { margin: 2px 0 0; color: #AAA6A7; font-size: .9rem; }
.lb-zu { background: none; border: 0; color: var(--weiss); padding: 8px; margin: -8px -8px 0 0; cursor: pointer; }
.lb-zu .icon { width: 30px; height: 30px; }
.lb-buehne { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 96px); touch-action: pan-y; }
.lb-buehne img, .lb-buehne video { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lb-text { margin: 0 auto; padding: 12px clamp(16px, 3vw, 32px) 20px; max-width: 72ch; color: #CFCCCD; font-size: .95rem; text-align: center; }
.lb-text:empty { padding: 8px; }
.lb-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; background: rgba(35,33,34,.85); border: 0; border-radius: 50%; color: var(--weiss); cursor: pointer; }
.lb-pfeil:hover { background: var(--gold); color: var(--schwarz); }
.lb-pfeil .icon { width: 24px; height: 24px; }
.lb-zurueck { left: clamp(8px, 2vw, 24px); }
.lb-weiter { right: clamp(8px, 2vw, 24px); }
.lb-pfeil[hidden] { display: none; }
@media (max-width: 700px) { .lb-pfeil { top: auto; bottom: 14px; transform: none; } .lb-text { padding-bottom: 80px; } .lb-buehne img, .lb-buehne video { max-height: calc(100dvh - 240px); } }
body.lb-offen { overflow: hidden; }

/* Vorschau-Hinweis (nur wenn 'vorschau' => true) */
.vorschau-hinweis { background: #FFE45C; color: #000; text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 16px; }
