@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,600;0,700;0,800;1,700&family=Barlow:wght@300;400;500&display=swap');

:root {
  --bg:       #f5f3ef;
  --bg2:      #edeae4;
  --white:    #ffffff;
  --ink:      #0f0f0d;
  --ink2:     #2a2a26;
  --muted:    #6b6966; /* WCAG-FIX: war #8a8880 → Kontrast 3.4:1, jetzt 4.6:1 ✓ */
  --accent:   #000000;
  --accent2:  #000000;
  --border:   rgba(15,15,13,0.1);
  --cond:     'Barlow Condensed', sans-serif;
  --body:     'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── GRAIN ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9998;
}


/* ── NAV ────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: var(--bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: fadeIn 0.6s ease 0.1s forwards;
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted); /* profitiert automatisch vom Fix an --muted */
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover   { color: var(--ink); }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent2) !important; }


/* ── HERO ───────────────────────────────────── */

.hero-bg-img {
  position: absolute;
  inset: 0;           /* oben, unten, links, rechts = 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;  /* füllt die Section ohne zu verzerren */
  z-index: 0;         /* liegt hinter allem */
}

#hero {
  position: relative; /* Anker für das absolute Bild */
  min-height: 0vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.hero-bg-col { height: 100%; border-right: 1px solid rgba(255,255,255,0.04); }
.hero-bg-col:nth-child(1) { background: linear-gradient(160deg, #1a1208 0%, #0f0f0d 60%, #1a0808 100%); }
.hero-bg-col:nth-child(2) { background: linear-gradient(200deg, #0d1a0d 0%, #0f0f0d 50%, #0a0d1a 100%); }
.hero-bg-col:nth-child(3) { background: linear-gradient(140deg, #1a0d08 0%, #0f0f0d 60%, #1a1208 100%); }

.hero-bg-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  opacity: 0.04;
  pointer-events: none;
  filter: brightness(0) invert(1);
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 1s cubic-bezier(.22,1,.36,1) 0.5s forwards;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--ink);
}

h1 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2rem;
}

h1 .line-accent { color: var(--white); display: block; }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.hero-desc {
  color: var(--ink2);
  font-size: 1rem;
  max-width: 38ch;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; flex-shrink: 0; }

.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.2);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

.scroll-hint::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
}


/* ── BUTTONS ────────────────────────────────── */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-red:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-outline-w {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.btn-outline-w:hover { color: white; border-color: rgba(255,255,255,0.4); }


/* ── SECTION COMMONS ────────────────────────── */
section { padding: 8rem 4rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
}

h2 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h2 em {
  color: var(--white);
  font-style: normal;
  display: block;
}


/* ── LEISTUNGEN ─────────────────────────────── */
#leistungen {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.leistungen-inner { max-width: 1200px; margin: 0 auto; }

.leistungen-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}

.leistungen-intro {
  color: var(--muted); /* profitiert automatisch vom Fix an --muted */
  font-size: 1.05rem;
  line-height: 1.8;
  padding-top: 0.5rem;
}

.leistungen-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bg2);
}

.leistung-item {
  background: var(--bg);
  padding: 1.5rem 2rem;
  transition: background 0.2s;
}

.leistung-item:hover { background: var(--bg); }

.leistung-icon { font-size: 2rem; margin-bottom: 1.2rem;   filter: brightness(0);}

.leistung-item h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.leistung-item p {
  color: var(--muted); /* profitiert automatisch vom Fix an --muted */
  font-size: 0.9rem;
  line-height: 1.7;
}

.leistung-item img {
  width: 28px; height: 28px;
  display: block;
}

/* ── REFERENZEN ─────────────────────────────── */
#referenzen {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.ref-inner { max-width: 1300px; margin: 0 auto; }

.ref-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.ref-filter { display: flex; gap: 0.5rem; }

.filter-btn {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: transparent;
  color: var(--muted); /* profitiert automatisch vom Fix an --muted */
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active { background: var(--ink); color: white; border-color: var(--ink); }

.ref-grid {
  list-style: none;
  column-count: 3;
  column-gap: 20px;
}

.ref-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  break-inside: avoid;   /* Kachel wird nie zwischen zwei Spalten zerschnitten */
  margin-bottom: 20px;
}

.ref-item img {
  width: 100%;
  height: auto;          /* Originalformat */
  display: block;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}

@media (max-width: 1024px) { .ref-grid { column-count: 2; } }
@media (max-width: 600px)  { .ref-grid { column-count: 1; } }

.ref-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}

.ref-item:hover img { transform: scale(1.05); }

.ref-item .thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}

.ref-item:hover .thumb { transform: scale(1.05); }

.t1 { background: linear-gradient(135deg,#2a1a0d,#1a0d0d); }
.t2 { background: linear-gradient(160deg,#0d1a1a,#0d0d2a); }
.t3 { background: linear-gradient(120deg,#1a0d1a,#2a0d1a); }
.t4 { background: linear-gradient(145deg,#0d1a0d,#1a1a0d); }
.t5 { background: linear-gradient(135deg,#1a1a0d,#1a0d0d); }
.t6 { background: linear-gradient(160deg,#0d0d1a,#1a0d1a); }
.t7 { background: linear-gradient(120deg,#1a0d0d,#2a1a0d); }
.t8 { background: linear-gradient(145deg,#0d1a1a,#0d1a0d); }
.t9 { background: linear-gradient(135deg,#2a0d1a,#1a0d2a); }

.ref-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.ref-item:hover .ref-overlay { opacity: 1; }

.ref-overlay h4 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.2rem;
}

.ref-overlay span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.img-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}


/* ── ÜBER UNS ───────────────────────────────── */
#ueber {
  background: var(--bg);
  color: black;
}

.ueber-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.ueber-logo {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(0);
  margin-bottom: 2rem;
  display: block;
}

.ueber-text h2 { color: black; margin-bottom: 1.5rem; }
.ueber-text h2 em { color: var(--ink); }

.ueber-text p {
  color: black;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.ueber-text p strong {
  color: black;
  font-weight: 500;
}

.artists { display: flex; flex-direction: column; gap: 1.5rem; }

.artist-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 1.8rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: background 0.25s;
}

.artist-card:hover { background: rgba(255,255,255,0.07); }

.artist-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 1.6rem;
  color: white;
}

.avatar-a { background: linear-gradient(135deg, var(--accent), #8b0000); }
.avatar-b { background: linear-gradient(135deg, #1a4a8a, #0a1f3a); }

.artist-info h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.3rem;
}

.artist-role {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.artist-info p {
  color: rgba(255,255,255,0.6); /* WCAG-FIX: war 0.4 → Kontrast 3.0:1, jetzt 4.6:1 ✓ */
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}
.Schilksee-gif {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.Schilksee-gif:hover img { transform: scale(1.05); }

.Gif-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.Gif-overlay h4 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.2rem;
}
.Gif-overlay span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

/* ── ZAHLEN ─────────────────────────────────── */
/* ── KUNDEN ─────────────────────────────────── */
#kunden {
  background: var(--bg2);
  color: var(--black);
}

#kunden-titel { 
  color: var(--black);
  font-size: 2.5rem;
  padding-bottom: 2rem;
}

.kunden-inner { max-width: 1200px; margin: 0 auto; }

.kunden-head { margin-bottom: 2rem; }

.kunden-logos {
  --logo-min: 160px;   /* Mindestbreite pro Zelle */
  --logo-h: 128px;      /* maximale Logo-Höhe */
  --gap: 2rem;

  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--logo-min), 1fr));
  gap: var(--gap);
  align-items: center;
  justify-items: center;
}

.kunden-logos li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kunden-logos img {
  max-width: 100%;
  max-height: var(--logo-h);
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.kunden-logos img:hover {
  filter: none;
  opacity: 1;
}

/* Automatisch kleiner, sobald es mehr Logos werden */
.kunden-logos:has(li:nth-child(n+9)) {
  --logo-min: 130px;
  --logo-h: 52px;
  --gap: 1.5rem;
}
.kunden-logos:has(li:nth-child(n+17)) {
  --logo-min: 100px;
  --logo-h: 40px;
  --gap: 1.25rem;
}
.kunden-logos:has(li:nth-child(n+31)) {
  --logo-min: 80px;
  --logo-h: 32px;
  --gap: 1rem;
}

@media (max-width: 600px) {
  .kunden-logos { --logo-min: 110px; --logo-h: 48px; }
}

.kunde:hover { background: var(--ink2); }

.kunde-name {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kunde-meta {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.2rem;
}

.kunden-zahlen {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 1024px) {
  .kunden-grid   { grid-template-columns: 1fr; }
  .kunden-zahlen { grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
}

.zahlen-bar {
  background: var(--accent);
  padding: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.zahl { text-align: center; }

.zahl-num {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  color: white;
  letter-spacing: -0.03em;
}

.zahl-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9); /* WCAG-FIX: war 0.65 → Kontrast 2.8:1, jetzt 4.5:1 ✓ */
  margin-top: 0.4rem;
}

/* ── KONTAKT ────────────────────────────────── */
#kontakt {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.kontakt-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.kontakt-left h2 { margin-bottom: 1.2rem; }

.kontakt-left p {
  color: var(--muted); /* profitiert automatisch vom Fix an --muted */
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.kontakt-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.2s;
}

.kontakt-info-item:hover { color: var(--accent); }
.kontakt-info-item:first-of-type { border-top: 1px solid var(--border); }

.ki-icon {
  width: 28px; height: 28px;
  filter: brightness(0);
  border-radius: 70%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ki-icon img{
 height: 18px; width: 18px; 
}

.ki-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted); /* profitiert automatisch vom Fix an --muted */
}

.ki-value {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* Formular */
.kontakt-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted); /* profitiert automatisch vom Fix an --muted */
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: white;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.form-submit:hover { background: var(--accent); transform: translateY(-2px); }

#form-success {
  display: none;
  color: #2a7a2a;
  font-size: 0.9rem;
  padding-top: 0.5rem;
}


/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

footer p {
  color: rgba(255,255,255,0.55); /* WCAG-FIX: war 0.25 → Kontrast 1.9:1, jetzt 4.5:1 ✓ */
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.footer-back {
  font-family: var(--cond);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55); /* WCAG-FIX: war 0.3 → Kontrast 2.2:1, jetzt 4.5:1 ✓ */
  text-decoration: none;
  transition: color 0.2s;
}

.footer-back:hover { color: var(--accent); }


/* ── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(.22,1,.36,1), transform 0.85s cubic-bezier(.22,1,.36,1);
}

.reveal.visible       { opacity: 1; transform: none; }
.reveal-delay-1       { transition-delay: 0.1s; }
.reveal-delay-2       { transition-delay: 0.2s; }
.reveal-delay-3       { transition-delay: 0.3s; }


/* ── KEYFRAMES ──────────────────────────────── */
@keyframes fadeIn  { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bounce  {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  nav                         { padding: 1.3rem 2rem; }
  section                     { padding: 6rem 2rem; }
  #hero                       { padding: 0 2rem 4rem; }
  .leistungen-head            { grid-template-columns: 1fr; gap: 1.5rem; }
  .leistungen-grid            { grid-template-columns: 1fr; }
  .ueber-inner                { grid-template-columns: 1fr; gap: 4rem; }
  .kontakt-inner              { grid-template-columns: 1fr; gap: 4rem; }
  footer                      { padding: 2rem; flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
  h1                          { font-size: clamp(3.5rem, 14vw, 6rem); }
  .hero-bottom                { flex-direction: column; align-items: flex-start; }
  .nav-links                  { display: none; }
  .ref-item:nth-child(n)      { grid-column: span 12; grid-row: span 4; }
  .form-row                   { grid-template-columns: 1fr; }
}


/* ============================================================
   WCAG-ERGÄNZUNGEN
   ============================================================ */

/* ── 1. SKIP-LINK (WCAG 2.4.1 – A) ─────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: #e63322;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── 2. FOKUS-STILE (WCAG 2.4.7 – AA) ──────── */
:focus-visible {
  outline: 3px solid #e63322;
  outline-offset: 3px;
  border-radius: 4px;
}

nav a:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid #e63322;
  outline-offset: 4px;
  border-radius: 4px;
}

button:focus-visible,
.filter-btn:focus-visible,
.form-submit:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid #e63322;
  outline-offset: 3px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e63322;
  outline-offset: 0;
  border-color: #e63322;
  box-shadow: 0 0 0 4px rgba(230, 51, 34, 0.2);
}

a:focus-visible {
  outline: 3px solid #e63322;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── 3. FORMULAR-FEHLERMELDUNGEN (WCAG 3.3.1 – A) ── */
.form-error {
  display: block;
  min-height: 1.2em;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #e63322;
  font-weight: 500;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #e63322 !important;
  box-shadow: 0 0 0 3px rgba(230, 51, 34, 0.25);
}

/* ── 4. PFLICHTFELD-HINWEIS (WCAG 3.3.2 – A) ── */
.form-hint {
  font-size: 0.8rem;
  color: var(--ink2);
  margin-bottom: 0.5rem;
}

/* ── 5. HAMBURGER / NAV-TOGGLE (WCAG 4.1.2 – A) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    padding: 1rem 2rem 1.5rem;
    gap: 0.25rem;
    z-index: 100;
  }
  .nav-links.is-open {
    display: flex;
  }
}

/* ── 6. MINDEST-TREFFERZONE (WCAG 2.5.8 – AA) ── */
.filter-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 1rem;
}

.footer-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
}

.form-submit {
  min-height: 48px;
}

/* ── 7. REDUCED MOTION (WCAG 2.2.2 – A) ────── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none !important;
  }
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .cursor,
  .cursor-ring {
    transition: none !important;
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 8. CUSTOM CURSOR bei Tastaturnavigation ausblenden ── */
body:not(.using-mouse) .cursor,
body:not(.using-mouse) .cursor-ring {
  opacity: 0;
  pointer-events: none;
}

/* Bilder-Referenzen PopUp */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  opacity: 0.7;
}

/* ── FAQ ─────────────────────────────────────
   Ans Ende von style.css anhängen.
   section { padding: 8rem 4rem; } und h2/.section-label
   kommen schon aus den globalen Regeln weiter oben.
   ============================================ */

#faq {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-inner { max-width: 900px; margin: 0 auto; }

.faq-head { margin-bottom: 3.5rem; text-align: center; }
.faq-head h2 em { color: var(--ink); }

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item:hover { background: var(--white); }

/* Summary = klickbare Frage */
.faq-question {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.4rem 3rem 1.4rem 0.5rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }

/* Plus/Minus-Icon */
.faq-question::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-image:
    linear-gradient(var(--accent), var(--accent)),
    linear-gradient(var(--accent), var(--accent));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 2px, 2px 100%;
  transition: transform 0.25s cubic-bezier(.22,1,.36,1), background-size 0.25s;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(90deg);
  background-size: 100% 2px, 0 100%;
}

.faq-answer {
  padding: 0 3rem 1.6rem 0.5rem;
  font-family: var(--body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

.faq-answer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .faq-question::after,
  .faq-item { transition: none; }
}

@media (max-width: 768px) {
  .faq-question { font-size: 1.02rem; padding-right: 2.5rem; }
  .faq-answer { padding-right: 2.5rem; }
}