/* ==========================================================
   Evex Eventtechnik · Design-System
   Farben, Schriften und Bausteine für alle Seiten
   ========================================================== */

/* ---------- Schriften (lokal gehostet) ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-700.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-800.woff") format("woff");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-500.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-600.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Farben und Maße ---------- */
:root {
  --schwarz: #0E0D10;     /* Bühnenschwarz, Hintergrund */
  --graphit: #19181C;     /* Flächen und Karten */
  --linie: #2B2930;       /* feine Linien */
  --orange: #EA4E1B;      /* Logo-Orange, Akzent */
  --orange-hell: #FF6A38;
  --weiss: #F2EEE8;       /* Warmweiß, Text */
  --grau: #9A958E;        /* gedämpfter Text */

  --font-head: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-text: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;

  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(72px, 10vw, 140px);
  --schnitt: 22px;        /* schräge Ecke wie im Logo */
  --kopf-hoehe: 76px;
  color-scheme: dark;
}
/* Die Seite ist bewusst immer dunkel. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --schwarz: #0E0D10; } }
:root[data-theme="dark"] { --schwarz: #0E0D10; }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: var(--font-text);
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--schwarz); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(54px, 8.6vw, 128px); }
h2 { font-size: clamp(40px, 5.4vw, 76px); }
h3 { font-size: clamp(27px, 2.4vw, 34px); font-weight: 700; line-height: 1.05; }

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.section { padding: var(--abstand) 0; }
.section + .section { padding-top: 0; }
.lead { font-size: clamp(19px, 1.3vw + 12px, 23px); color: var(--weiss); max-width: 36em; }
.muted { color: var(--grau); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--schwarz); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* Kleine Überschrift über großen Überschriften, mit Chevron wie im Logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-text); font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 11px; height: 14px; flex: none;
  background: var(--orange);
  clip-path: polygon(45% 0, 100% 0, 55% 50%, 100% 100%, 45% 100%, 0 50%);
}

/* ---------- Knöpfe ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 30px 0 28px;
  font-family: var(--font-text); font-weight: 600; font-size: 17px; letter-spacing: 0.02em;
  text-decoration: none; border: 0; cursor: pointer;
  background: var(--orange); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background-color .25s ease, transform .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover { background: var(--orange-hell); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--klein { --h: 44px; padding: 0 20px; font-size: 15px; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--weiss); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid var(--linie);
  transition: border-color .25s ease, color .25s ease;
}
.textlink::after { content: "→"; color: var(--orange); transition: transform .25s ease; }
.textlink:hover { border-color: var(--orange); }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--kopf-hoehe);
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.kopf.ist-gescrollt, .kopf--fest {
  background: rgba(14, 13, 16, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-color: var(--linie);
}
.kopf__innen { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: block; flex: none; }
.logo img { width: 132px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 30px; }
.nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: 16px;
  color: var(--weiss); padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }
.menue-knopf {
  display: none; width: 46px; height: 46px; margin-left: 4px;
  background: none; border: 1px solid var(--linie); color: var(--weiss); cursor: pointer;
  align-items: center; justify-content: center;
}
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  transition: transform .3s ease, background-color .3s ease;
}
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -6px; }
.menue-knopf span::after { top: 6px; }
.menue-offen .menue-knopf span { background: transparent; }
.menue-offen .menue-knopf span::before { transform: translateY(6px) rotate(45deg); }
.menue-offen .menue-knopf span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Startseite: Kopfbereich ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  padding: calc(var(--kopf-hoehe) + 60px) 0 clamp(56px, 8vw, 110px);
  isolation: isolate; overflow: hidden;
}
.hero__bild { position: absolute; inset: 0; z-index: -2; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; filter: saturate(1.05); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,16,.94) 0%, rgba(14,13,16,.72) 45%, rgba(14,13,16,.25) 100%),
    linear-gradient(0deg, var(--schwarz) 0%, rgba(14,13,16,0) 40%);
}
.hero h1 { max-width: 9em; margin-bottom: 0.3em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { margin-bottom: 36px; }
.hero__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero__fakten {
  display: flex; gap: 34px; margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--linie); max-width: 640px;
  font-size: 15px; color: var(--grau);
}
.hero__fakten strong { display: block; color: var(--weiss); font-weight: 600; font-size: 16px; }

/* ---------- Unterseiten: Kopfbereich ---------- */
.seitenkopf {
  position: relative;
  padding: calc(var(--kopf-hoehe) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--linie);
  overflow: hidden;
}
.seitenkopf::after {
  /* ein schmaler Lichtkegel von oben, dezent */
  content: ""; position: absolute; top: -10%; right: 12%; width: 340px; height: 120%;
  background: linear-gradient(180deg, rgba(234,78,27,.22), rgba(234,78,27,0) 80%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  pointer-events: none; filter: blur(2px);
}
.seitenkopf h1 { font-size: clamp(50px, 7.4vw, 108px); max-width: 11em; }
.seitenkopf .lead { color: var(--grau); }

/* ---------- Kacheln: Leistungen kurz ---------- */
.kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(36px, 5vw, 60px); }
.kopfzeile h2 { margin: 0; }
.kopfzeile p { max-width: 26em; margin: 0; color: var(--grau); }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--linie); border: 1px solid var(--linie); }
.kachel {
  position: relative; background: var(--schwarz); padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; min-height: 320px; text-decoration: none;
  transition: background-color .35s ease;
}
.kachel:hover { background: var(--graphit); }
.kachel__nr { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--grau); letter-spacing: .1em; }
.kachel__icon { width: 44px; height: 44px; color: var(--orange); margin: 26px 0 auto; }
.kachel h3 { margin: 40px 0 10px; }
.kachel p { color: var(--grau); margin: 0; }
.kachel::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.kachel:hover::after { transform: scaleX(1); }

/* ---------- Für wen ---------- */
.zielgruppen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--linie); }
.zielgruppe { padding: 30px 26px 10px 0; border-right: 1px solid var(--linie); }
.zielgruppe + .zielgruppe { padding-left: 26px; }
.zielgruppe:last-child { border-right: 0; }
.zielgruppe h3 { font-size: clamp(24px, 2vw, 30px); margin-bottom: 8px; }
.zielgruppe p { color: var(--grau); font-size: 16px; }

/* ---------- Bilder mit schräger Ecke ---------- */
.bild {
  position: relative; overflow: hidden; background: var(--graphit);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--schnitt)), calc(100% - var(--schnitt)) 100%, 0 100%);
}
.bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.bild--43 { aspect-ratio: 4 / 3; }
.bild--32 { aspect-ratio: 3 / 2; }
.bild--45 { aspect-ratio: 4 / 5; }
.bild--11 { aspect-ratio: 1 / 1; }

/* ---------- Projektkarten ---------- */
.projekte { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.projekt { text-decoration: none; display: block; }
.projekt .bild { aspect-ratio: 4 / 5; }
.projekt:first-child .bild { aspect-ratio: auto; height: 100%; min-height: 100%; }
.projekt:first-child { display: grid; grid-template-rows: 1fr auto; }
.projekt:hover .bild img { transform: scale(1.045); }
.projekt__text { padding-top: 18px; }
.projekt__text h3 { margin: 0 0 4px; transition: color .25s ease; }
.projekt:hover h3 { color: var(--orange); }
.projekt__text p { margin: 0; color: var(--grau); font-size: 16px; }

/* ---------- Zweispaltig: Text und Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--umgekehrt .split__bild { order: 2; }
.split__text h2 { font-size: clamp(38px, 4.6vw, 64px); }
.split__text .lead { margin-bottom: 28px; color: var(--grau); }
.punkte { margin: 0 0 30px; display: grid; gap: 12px; }
.punkte li { position: relative; padding-left: 28px; }
.punkte li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 12px; height: 12px;
  background: var(--orange);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}

/* ---------- Leistungs-Abschnitte ---------- */
.leistung { padding: var(--abstand) 0 0; }
.leistung__nr {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(80px, 11vw, 160px);
  line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--linie);
  margin-bottom: -0.3em; user-select: none;
}

/* ---------- Drei Spalten mit Linie ---------- */
.dreier { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.dreier__item { border-top: 2px solid var(--orange); padding-top: 24px; }
.dreier__item h3 { margin-bottom: 10px; }
.dreier__item p { color: var(--grau); }
.dreier__schritt { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 18px; letter-spacing: .12em; margin-bottom: 14px; }

.flaeche { background: var(--graphit); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.flaeche.section + .section { padding-top: var(--abstand); }

/* ---------- Verleih: Geräteliste ---------- */
.kategorie { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--linie); }
.kategorie:first-of-type { border-top: 0; }
.kategorie__kopf h2 { font-size: clamp(38px, 4.4vw, 60px); }
.kategorie__kopf p { color: var(--grau); }
.kategorie__kopf .bild { margin-top: 28px; }
.geraete { display: grid; gap: 0; align-content: start; }
.geraet {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--linie);
  transition: padding-left .3s ease;
}
.geraet:first-child { border-top: 1px solid var(--linie); }
.geraet:hover { padding-left: 10px; }
.geraet h3 { margin: 0; font-size: clamp(25px, 2.2vw, 32px); }
.geraet__art { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-weight: 600; white-space: nowrap; }
.geraet p { grid-column: 1 / -1; margin: 0; color: var(--grau); font-size: 16.5px; }

/* ---------- Referenzen ---------- */
.referenz { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(48px, 6vw, 84px) 0; border-bottom: 1px solid var(--linie); }
.referenz:nth-child(even) .referenz__bild { order: 2; }
.referenz:last-child { border-bottom: 0; }
.referenz__bild:hover img { transform: scale(1.035); }
.referenz h2 { font-size: clamp(38px, 4.6vw, 64px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 14px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--linie); color: var(--grau); }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.galerie .bild { aspect-ratio: 1 / 1; }
.galerie .bild:hover img { transform: scale(1.05); }
.galerie figure { margin: 0; min-width: 0; }
.galerie figcaption { margin-top: 10px; font-size: 14.5px; color: var(--grau); }

/* ---------- Platzhalter für fehlende Fotos ---------- */
.platzhalter {
  position: relative; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(234,78,27,.28), rgba(234,78,27,0) 58%),
    linear-gradient(160deg, #221F25, var(--graphit) 60%);
}
.platzhalter svg { width: 30%; max-width: 120px; color: var(--orange); opacity: .9; }
.platzhalter::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(242,238,232,.08);
}

/* ---------- Abschluss-Band mit Handlungsaufforderung ---------- */
.aufruf { position: relative; overflow: hidden; padding: var(--abstand) 0; border-top: 1px solid var(--linie); isolation: isolate; }
.aufruf::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -40%; width: 900px; height: 180%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(234,78,27,.30), rgba(234,78,27,0) 62%);
  pointer-events: none;
}
.aufruf__innen { text-align: center; max-width: 820px; margin: 0 auto; }
.aufruf h2 { font-size: clamp(44px, 6.4vw, 92px); }
.aufruf p { color: var(--grau); max-width: 32em; margin: 0 auto 36px; }

/* ---------- Anfrage-Formular ---------- */
.anfrage { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.feld { display: grid; gap: 8px; }
.feld--breit, .formular fieldset, .formular .zustimmung, .formular .absenden, .formular .meldung { grid-column: 1 / -1; }
.feld label, .formular legend { font-size: 15px; font-weight: 600; color: var(--weiss); }
.feld label small { color: var(--grau); font-weight: 400; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font: inherit; font-size: 17px; color: var(--weiss);
  background: var(--graphit); border: 1px solid var(--linie); border-radius: 0;
  transition: border-color .2s ease, background-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.feld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23EA4E1B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: #3a3740; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--orange); background: #1E1C21; }
.feld input::placeholder, .feld textarea::placeholder { color: #6E6A66; }
.feld input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); }
.formular fieldset { border: 0; padding: 0; margin: 0; }
.formular legend { margin-bottom: 10px; }
.auswahl { display: flex; flex-wrap: wrap; gap: 10px; }
.auswahl label { position: relative; cursor: pointer; }
.auswahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.auswahl span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--linie); background: var(--graphit); font-size: 16px; font-weight: 500;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.auswahl span::before { content: "+"; color: var(--orange); font-weight: 600; transition: transform .2s ease; }
.auswahl input:checked + span { border-color: var(--orange); background: rgba(234,78,27,.12); }
.auswahl input:checked + span::before { content: "✓"; }
.auswahl input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--grau); }
.zustimmung input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.zustimmung a { color: var(--weiss); }
.honig { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.absenden { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.absenden small { color: var(--grau); font-size: 14.5px; }
.meldung { display: none; padding: 18px 20px; border-left: 3px solid var(--orange); background: var(--graphit); }
.meldung.ist-sichtbar { display: block; }
.meldung--ok { border-color: #58B36A; }

.seitenleiste { display: grid; gap: 36px; position: sticky; top: calc(var(--kopf-hoehe) + 30px); }
.kasten { border: 1px solid var(--linie); padding: 28px; }
.kasten h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.kasten a { color: var(--orange); font-weight: 600; text-decoration: none; word-break: break-word; }
.kasten a:hover { text-decoration: underline; }
.schritte { counter-reset: s; display: grid; gap: 18px; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--grau); font-size: 16px; }
.schritte li::before { content: "0" counter(s); font-family: var(--font-head); font-weight: 800; color: var(--orange); font-size: 22px; line-height: 1.1; }
.schritte strong { color: var(--weiss); display: block; font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 760px; }
.rechtstext h2 { font-size: clamp(30px, 3vw, 40px); margin-top: 1.6em; }
.rechtstext h3 { font-size: 24px; margin-top: 1.4em; }
.rechtstext p, .rechtstext li { color: #CFCAC3; }
.rechtstext ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.rechtstext a { color: var(--orange); }
.hinweis { border-left: 3px solid var(--orange); background: var(--graphit); padding: 18px 22px; margin-bottom: 2em; color: var(--weiss); }
.luecke { color: var(--orange); }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--linie); padding: 64px 0 34px; font-size: 16px; color: var(--grau); }
.fuss__oben { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.fuss .logo img { width: 150px; }
.fuss__marke p { margin-top: 18px; max-width: 22em; }
.fuss h2 { font-family: var(--font-text); font-weight: 600; font-size: 14px; letter-spacing: .2em; color: var(--weiss); margin-bottom: 16px; }
.fuss ul { display: grid; gap: 8px; }
.fuss a { text-decoration: none; transition: color .2s ease; }
.fuss a:hover { color: var(--orange); }
.fuss__unten { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--linie); font-size: 14.5px; }
.fuss__unten ul { display: flex; gap: 22px; }

/* ---------- Sanftes Einblenden beim Scrollen ---------- */
.js .einblenden { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .einblenden.ist-da { opacity: 1; transform: none; }
.js .einblenden[data-verzug="1"] { transition-delay: .1s; }
.js .einblenden[data-verzug="2"] { transition-delay: .2s; }
.js .einblenden[data-verzug="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .einblenden { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================
   Tablet
   ========================================================== */
@media (max-width: 1020px) {
  .nav ul { gap: 22px; }
  .kopf__innen > .btn { display: none; }
  .zielgruppen { grid-template-columns: 1fr 1fr; }
  .zielgruppe:nth-child(2) { border-right: 0; }
  .zielgruppe:nth-child(3) { padding-left: 0; border-top: 1px solid var(--linie); }
  .zielgruppe:nth-child(4) { border-top: 1px solid var(--linie); }
  .projekte { grid-template-columns: 1fr 1fr; }
  .projekt:first-child { grid-column: 1 / -1; }
  .projekt:first-child .bild { aspect-ratio: 16 / 9; height: auto; }
  .kategorie { grid-template-columns: 1fr; }
  .kategorie__kopf .bild { max-width: 520px; }
  .anfrage { grid-template-columns: 1fr; }
  .seitenleiste { position: static; grid-template-columns: 1fr 1fr; gap: 20px; }
  .fuss__oben { grid-template-columns: 1fr 1fr; }
  .fuss__marke { grid-column: 1 / -1; }
}

/* ==========================================================
   Handy: eigener Durchgang
   ========================================================== */
@media (max-width: 760px) {
  :root { --kopf-hoehe: 66px; --schnitt: 16px; }
  .logo img { width: 112px; }
  .kopf { background: rgba(14, 13, 16, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--linie); }

  /* Menü klappt als Vollfläche auf, Handlungsaufforderung sitzt darin unten */
  .menue-knopf { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--kopf-hoehe) 0 0 0; background: var(--schwarz);
    padding: 28px var(--rand) 40px; display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .menue-offen .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--linie); }
  .nav a { display: block; padding: 18px 0; font-family: var(--font-head); font-weight: 800; font-size: 40px; text-transform: uppercase; line-height: 1; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--orange); }
  .nav__cta { display: flex; margin-top: auto; width: 100%; }
  .menue-offen { overflow: hidden; }

  /* Kopfbereich kompakter, Faktenleiste fällt weg */
  .hero { min-height: 88svh; padding-bottom: 44px; }
  .hero__bild img { object-position: 70% 30%; }
  .hero::before { background: linear-gradient(0deg, var(--schwarz) 8%, rgba(14,13,16,.78) 55%, rgba(14,13,16,.45) 100%); }
  .hero__fakten { display: none; }
  .hero__aktionen .btn { width: 100%; }
  .hero__aktionen { gap: 14px; }

  .kopfzeile { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Kacheln werden zu kompakten Zeilen */
  .kacheln { grid-template-columns: 1fr; }
  .kachel { min-height: 0; display: grid; grid-template-columns: 40px 1fr; gap: 4px 18px; padding: 26px 22px; }
  .kachel__nr { display: none; }
  .kachel__icon { width: 36px; height: 36px; margin: 2px 0 0; grid-row: span 2; }
  .kachel h3 { margin: 0; }

  .zielgruppen { grid-template-columns: 1fr 1fr; }
  .zielgruppe, .zielgruppe + .zielgruppe { padding: 22px 14px 18px 0; }
  .zielgruppe:nth-child(even) { padding-left: 14px; }
  .zielgruppe p { font-size: 15px; }

  /* Projekte: nur Bild und Titel, untereinander */
  .projekte { grid-template-columns: 1fr; gap: 30px; }
  .projekt .bild, .projekt:first-child .bild { aspect-ratio: 3 / 2; }

  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--umgekehrt .split__bild { order: 0; }
  .leistung__nr { display: none; }

  .dreier { grid-template-columns: 1fr; gap: 30px; }

  .geraet { grid-template-columns: 1fr; gap: 4px; }
  .geraet__art { order: -1; }
  .geraet:hover { padding-left: 0; }

  .referenz { grid-template-columns: 1fr; gap: 24px; }
  .referenz:nth-child(even) .referenz__bild { order: 0; }
  .galerie { grid-template-columns: 1fr 1fr; }

  .formular { grid-template-columns: 1fr; gap: 20px; }
  .absenden .btn { width: 100%; }
  .seitenleiste { grid-template-columns: 1fr; }
  .kasten { padding: 22px; }

  .seitenkopf::after { right: -60px; width: 240px; }
  .aufruf__innen { text-align: left; }
  .aufruf p { margin-left: 0; }
  .aufruf .btn { width: 100%; }

  .fuss__oben { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fuss__unten { flex-direction: column; }
}

@media (max-width: 380px) {
  .zielgruppen { grid-template-columns: 1fr; }
  .zielgruppe, .zielgruppe + .zielgruppe, .zielgruppe:nth-child(even) { padding-left: 0; border-right: 0; border-top: 1px solid var(--linie); }
  .fuss__oben { grid-template-columns: 1fr; }
}

/* ---------- Social-Media-Links in der Fußzeile ---------- */
.fuss .sozial { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sozial a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--linie); color: var(--weiss); font-weight: 500; font-size: 15px;
  transition: border-color .2s ease, color .2s ease;
}
.sozial a span[aria-hidden] { color: var(--orange); transition: transform .2s ease; }
.sozial a:hover { border-color: var(--orange); color: var(--weiss); }
.sozial a:hover span[aria-hidden] { transform: translate(2px, -2px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .geraet__art { white-space: normal; } }

/* ---------- Handy-Menü: Korrekturen ---------- */
@media (max-width: 760px) {
  /* Der Unschärfe-Effekt würde das Menü in der Kopfzeile einsperren. Bei offenem Menü abschalten. */
  .menue-offen .kopf { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--schwarz); }
  .nav { overflow-y: auto; }
  /* Knopf im Menü behält seine normale Knopf-Schrift */
  .nav a.nav__cta {
    font-family: var(--font-text); font-weight: 600; font-size: 17px; text-transform: none;
    line-height: 1.2; padding: 0 28px; margin-top: 28px; min-height: 56px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
  }
  .menue-knopf { margin-left: auto; }
}
