/* ============================================================
   TI Group — Design-System nach Corporate Design
   Schwarz auf Weiß, Gold nur als Akzent (Linien, Kennzahlen auf
   Schwarz, Button-Rahmen). Gold nie als Textfarbe auf Weiß.
   ============================================================ */
:root {
  /* CI-Farben */
  --capital-black: #000000;   /* Text, dunkle Flächen, Footer */
  --basic-white:   #FFFFFF;   /* Hintergrund */
  --iconic-gold:   #F8D24F;   /* Linien, Kennzahlen, Button-Rahmen */
  --gold-deep:     #E3B93A;   /* Hover, dezenter Verlauf */
  --grey-soft:     #F5F5F5;   /* abgesetzte Sektionen */
  --grey-text:     #666666;   /* Sekundärtext */

  /* Arbeitsnamen (auf die CI-Farben gemappt) */
  --ink:   var(--capital-black);
  --ink-2: var(--grey-text);
  --ink-3: var(--grey-text);
  --bg:    var(--basic-white);
  --bg-2:  var(--grey-soft);
  --line:  #E5E5E5;
  --gold:  var(--iconic-gold);

  --head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --sans: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --header-h: 72px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--head); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; }
.pad { padding: clamp(64px, 9vh, 112px) clamp(24px, 5vw, 64px); }

/* shared text components */
.label { font-family: var(--head); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2); margin-bottom: 14px; }

.heading { font-family: var(--head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; font-size: clamp(1.9rem, 3.4vw, 3rem); color: var(--ink); margin-bottom: 24px; max-width: 18ch; }
.text { font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--ink); }
.text-btn { display: inline-block; margin-top: 30px; font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink); background: none; border: none; border-bottom: 2px solid var(--gold); padding: 8px 0 5px; cursor: pointer; transition: border-color .2s; }
.text-btn:hover { border-color: var(--ink); }

/* buttons: Primär schwarz mit weißer Schrift und Goldkante, Sekundär weiß mit schwarzer Kante */
.btn { display: inline-block; font-family: var(--head); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em; padding: 1rem 1.8rem; border-radius: 0; cursor: pointer; border: 1px solid transparent; transition: background-color .22s, color .22s, border-color .22s; }
.btn-primary { background: var(--capital-black); color: var(--basic-white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold); color: var(--capital-black); border-color: var(--gold); }
.btn-ghost { background: var(--basic-white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--basic-white); }

/* ───────── MAP (Startseite) ───────── */
#scene, #map { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
#map { background: var(--bg); opacity: 0; transition: opacity 1.2s ease; }
#map.ready { opacity: 1; }
.hero { pointer-events: none; }
.hero-meta, .scroll-hint, .hero-eyebrow, .hero h1 { pointer-events: none; }
.maplibregl-ctrl-attrib { font-family: var(--sans); font-size: 10px; background: rgba(255,255,255,0.8) !important; }
.maplibregl-ctrl-attrib a { color: var(--ink-2); }
@media (max-width: 900px) { #map .maplibregl-ctrl-top-right { top: calc(var(--header-h) + 4px); } }
.maplibregl-ctrl-group { box-shadow: 0 2px 10px -4px rgba(0,0,0,0.3) !important; border: 1px solid var(--line) !important; border-radius: 0 !important; }

/* ───────── HEADER ───────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 clamp(24px, 5vw, 64px); height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
header.scrolled, header.solid { background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo-wrap { cursor: pointer; display: inline-flex; align-items: center; }
.logo-img { display: block; height: 40px; width: auto; }
.logo-row { display: flex; align-items: baseline; gap: 3px; }
.logo-ti { font-family: var(--head); font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: 0.1em; }
.logo-dot { color: var(--gold-deep); font-family: var(--head); font-size: 1.35rem; font-weight: 700; }
.logo-group { font-family: var(--head); font-size: 1.1rem; font-weight: 400; color: var(--ink); letter-spacing: 0.1em; }
.logo-tag { font-family: var(--sans); font-size: 9px; font-weight: 400; color: var(--ink-2); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 3px; }

.nav-desktop { display: flex; gap: 30px; align-items: center; }
.nav-btn { background: none; border: none; cursor: pointer; color: var(--ink-2); font-family: var(--head); font-size: 14px; font-weight: 600; letter-spacing: 0; padding: 4px 0; position: relative; transition: color .2s; }
.nav-btn::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav-btn:hover::after, .nav-btn.active::after { width: 100%; }
.nav-btn:hover, .nav-btn.active { color: var(--ink); }
.nav-cta { border: 1px solid var(--ink); padding: 9px 20px; color: var(--ink); }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--basic-white); }

/* burger + mobile menu */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1100; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 1050; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  transform: translateX(100%); transition: transform .4s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--head); font-weight: 600; font-size: 1.5rem; color: var(--ink); padding: 12px; transition: color .2s; }
.mobile-menu a:hover { color: var(--ink-2); }

@media (max-width: 900px) {
  .logo-img { height: 34px; }
  .brand-list { gap: 24px 34px; }
  .nav-desktop { display: none; }
  .burger { display: flex; }
}

/* ───────── HERO (Startseite) ───────── */
.hero { position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 560px; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 26%, transparent 55%, rgba(0,0,0,0.06) 100%); }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; z-index: 1; background:
  linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.55) 10%, rgba(255,255,255,0) 20%),
  linear-gradient(to right, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 30%, rgba(255,255,255,0.35) 52%, rgba(255,255,255,0) 68%),
  linear-gradient(to top, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.4) 22%, rgba(255,255,255,0) 40%); }
@media (max-width: 760px) {
  .hero-scrim { background:
    linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 8%, rgba(255,255,255,0) 18%),
    linear-gradient(to top, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0.45) 68%, rgba(255,255,255,0) 85%); }
}
.hero-inner { position: absolute; z-index: 2; left: clamp(24px, 5vw, 72px); right: clamp(24px, 5vw, 72px); bottom: clamp(40px, 8vh, 90px); max-width: 46rem; pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.8rem; font-family: var(--head); font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 1.3rem; opacity: 0; animation: fadeUp 0.9s ease 0.3s forwards; }
.hero-eyebrow::before { content: ""; width: 2.6rem; height: 2px; background: var(--gold); }
.hero h1 { font-family: var(--head); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; font-size: clamp(2.6rem, 7.4vw, 5.8rem); color: var(--ink); margin-bottom: 1.6rem; }
.hero h1 .line { display: block; opacity: 0; transform: translateY(44px); animation: rise 1.1s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero h1 .line:nth-child(1) { animation-delay: 0.4s; }
/* „Für die Zukunft.“ schwarz, darunter eine goldene Linie (Gold auf Weiß ist nicht lesbar) */
.hero h1 .line.gold { animation-delay: 0.55s; color: var(--ink); }
.hero h1 .line.gold::after { content: ""; display: block; width: 96px; height: 3px; background: var(--gold); margin-top: 0.35em; }
.hero p { font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 300; line-height: 1.65; color: var(--ink); max-width: 36rem; margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.9s ease 0.8s forwards; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; pointer-events: auto; opacity: 0; animation: fadeUp 0.9s ease 1s forwards; }
.hero-meta { display: none; }
.hero-meta b { color: var(--ink); font-weight: 700; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); opacity: 0; animation: fadeUp 0.9s ease 1.4s forwards; pointer-events: none; }
.scroll-hint::after { content: ""; display: block; width: 2px; height: 28px; margin: 8px auto 0; background: var(--gold); }
@media (max-width: 760px) { .hero-meta { display: none; } }

/* ───────── page hero (Unterseiten) ───────── */
.page-hero { position: relative; z-index: 1; padding: calc(var(--header-h) + clamp(48px,9vh,96px)) clamp(24px,5vw,64px) clamp(48px,7vh,80px); background: var(--bg); border-bottom: 1px solid var(--line); }
.page-hero .crumb { font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2); margin-bottom: 14px; }
.page-hero .crumb a { display: inline-block; padding: 6px 0; }
.page-hero .crumb a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.page-hero h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
.page-hero h1::after { content: ""; display: block; width: 72px; height: 3px; background: var(--gold); margin-top: 22px; }
.page-hero .lead { margin-top: 22px; max-width: 640px; font-size: clamp(1.06rem,1.8vw,1.22rem); font-weight: 300; line-height: 1.7; color: var(--ink); }
.page-hero .label { position: relative; z-index: 1; }

/* Sektionen liegen über der fixierten Karte */
main, footer { position: relative; z-index: 1; }
.sec-light { background: var(--bg); }
.sec-tint  { background: var(--bg-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* GESCHÄFTSFELDER / Karten */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.pillar { display: block; border-top: 1px solid var(--ink); padding: 28px 0 0; transition: border-color .2s; }
.pillar:hover { border-top-color: var(--gold); }
.pillar-num { display: none; }
.pillar-roman { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.pillar-title { font-family: var(--head); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 14px; }
.pillar-text { font-size: 15.5px; font-weight: 300; line-height: 1.8; color: var(--ink); }
.pillar-link { display: inline-block; margin-top: 20px; font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }

/* ZITAT */
.quote { background: var(--capital-black); text-align: center; }
.quote-text { font-family: var(--head); font-size: clamp(1.25rem, 2.3vw, 1.9rem); font-weight: 400; color: #fff; max-width: 840px; margin: 0 auto; line-height: 1.5; }
.quote-dash { display: block; width: 56px; height: 3px; background: var(--gold); margin: 32px auto 0; }

/* KENNZAHLEN: Montserrat Bold auf Schwarz in Gold */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--capital-black); }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stat-item { background: transparent; padding: 30px 28px 28px; border-left: 1px solid rgba(255,255,255,0.16); }
.stat-item:first-child { border-left: none; }
.stats-band { position: relative; z-index: 1; background: var(--capital-black); padding: 10px clamp(24px,5vw,64px); }
.stats-band .stat-item:first-child { padding-left: 0; }
.stat-item.lg { text-align: left; }
.stat-value { font-family: var(--head); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--gold); margin-bottom: 6px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.75); line-height: 1.45; }

/* FEATURES (Wir sind …) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; }
.feature-item { display: flex; gap: 16px; }
.feature-arrow { width: 3px; background: var(--gold); flex-shrink: 0; font-size: 0; align-self: stretch; }
.feature-title { font-family: var(--head); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.feature-desc { font-size: 15.5px; font-weight: 300; line-height: 1.75; color: var(--ink); }

/* BILDKACHELN */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.img-card { position: relative; overflow: hidden; height: 320px; cursor: pointer; border: 1px solid var(--line); }
.img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; }
.img-card:hover .img-bg { transform: scale(1.05); }
.img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.15) 60%, transparent 100%); }
.img-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.brand-tile .img-label { color: var(--ink-2); }
.img-label { font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.img-title { font-family: var(--head); font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.img-loc { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.img-btn { font-family: var(--head); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; transition: color .2s; }
.img-card:hover .img-btn { color: #fff; }

/* PROJEKT-VORSCHAU (Startseite) */
.pv-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 40px; margin-top: 48px; }
.pv-card { display: flex; flex-direction: column; }
.pv-card--lg { grid-row: 1 / span 2; }
.pv-img { display: block; overflow: hidden; background: var(--bg-2); }
.pv-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.pv-card:not(.pv-card--lg) .pv-img img { aspect-ratio: 16 / 10; }
.pv-card:hover .pv-img img { transform: scale(1.03); }
.pv-meta { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.pv-cat { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pv-title { font-family: var(--head); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.pv-card--lg .pv-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pv-facts { font-size: 16px; color: var(--ink); }
.pv-card:hover .pv-title { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* FILTER (Projekte) */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { font-family: var(--head); font-size: 13px; font-weight: 600; padding: 10px 18px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.img-card.hide { display: none; }

/* Referenz-Karten (Format der Expo-Karte) */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; margin-top: 40px; align-items: start; }
.proj-card { display: flex; flex-direction: column; }
.proj-card.hide { display: none; }
.proj-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.proj-body { padding: 22px 0 0; max-width: 560px; }
.proj-cat { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.proj-title { font-family: var(--head); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 6px 0 6px; line-height: 1.25; }
.proj-facts { font-size: 14.5px; color: var(--ink); font-weight: 400; padding-bottom: 14px; border-bottom: 2px solid var(--gold); }
.proj-dl { margin: 14px 0 0; display: grid; gap: 4px; }
.proj-dl dt { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 10px; }
.proj-dl dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.proj-card--brand { background: var(--bg-2); align-self: stretch; justify-content: center; padding: 40px; border-top: 3px solid var(--gold); }
.proj-card--brand .proj-cat { color: var(--ink-2); }
.proj-brands { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 16px; font-family: var(--head); font-weight: 600; font-size: 1.8rem; color: var(--ink); line-height: 1.2; }
.proj-brand-text { font-size: 16px; line-height: 1.65; color: var(--ink); }
@media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }

.brand-tile { background: var(--bg-2); border: none; border-top: 3px solid var(--gold); }
.brand-names { display: flex; flex-direction: column; gap: 4px; font-family: var(--head); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--ink); line-height: 1.15; }
/* Passepartout: weißer Rand mit feiner Linie */
.photo-frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; padding: 14px; background: #fff; border: 1px solid var(--line); }
.kontakt-grid .photo-frame { margin-top: 40px; }

/* GESCHÄFTSFÜHRUNG + FÜHRUNGSTEAM */
.gf-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.gf-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-bottom: 3px solid var(--gold); }
.gf-name { font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; margin: 4px 0 8px; }
.gf-role { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 24px; }
.gf-quote { margin: 28px 0 32px; padding-left: 20px; border-left: 3px solid var(--gold); font-family: var(--head); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 400; line-height: 1.55; color: var(--ink); }
.gf-quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--ink-2); }
.gf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gf-li { display: inline-flex; align-items: center; gap: 10px; }
.team { margin-top: 72px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 28px; margin-top: 8px; }
.team-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.team-name { font-family: var(--head); font-weight: 600; font-size: 1.05rem; margin-top: 16px; }
.team-role { font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
@media (max-width: 900px) {
  .gf-grid { grid-template-columns: 1fr; gap: 32px; }
  .gf-photo { max-width: 420px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* SUCHPROFIL: drei gleich große Karten, gleiche fünf Zeilen auf einer Höhe */
.crit-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 0; margin-top: 8px; }
.crit-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; background: #fff; border: 1px solid var(--line); }
.crit-head { background: #fff; color: var(--ink); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; padding: 26px 24px 18px; border-bottom: 3px solid var(--gold); }
.crit-dl { display: grid; grid-template-rows: repeat(5, auto); margin: 0; }
@supports (grid-template-rows: subgrid) {
  .crit-grid { grid-template-rows: auto repeat(5, auto); }
  .crit-card { grid-row: span 6; }
  .crit-dl { grid-row: 2 / span 5; grid-template-rows: subgrid; }
}
.crit-row { padding: 16px 24px 17px; border-bottom: 1px solid var(--line); }
.crit-row:last-child { border-bottom: none; }
.crit-row dt { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.crit-row dd { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.55; color: var(--ink); }
@media (max-width: 900px) {
  .crit-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .crit-card, .crit-dl { grid-template-rows: none; grid-row: auto; }
  .crit-card { display: block; }
  .crit-dl { display: block; }
}

/* MARKENLEISTE: einheitlich 32 px hoch, in Graustufen, farbig beim Darüberfahren */
.brand-bar { position: relative; z-index: 1; background: var(--bg); padding: clamp(48px, 7vh, 72px) clamp(24px,5vw,64px); border-top: 1px solid var(--line); }
.brand-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; justify-content: space-between; }
.brand-list img { display: block; height: 32px; width: auto; filter: grayscale(1) brightness(0.72) contrast(1.15); opacity: 0.85; transition: filter .3s, opacity .3s; }
.brand-list li:hover img { filter: none; opacity: 1; }
.gastro-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin: 18px 0 18px; }
.gastro-logos img { display: block; height: 52px; width: auto; }
.brand-tile .gastro-logos img { height: 64px; }

/* PARTNER */
.partner-card { border-top: 1px solid var(--ink); padding: 26px 0 0; }

.partner-title { font-family: var(--head); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.35; }
.partner-text { font-size: 15.5px; font-weight: 300; line-height: 1.75; color: var(--ink); }

/* KONTAKT */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.kontakt-info { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.kontakt-info .lbl { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
.kontakt-info .val { font-size: 16.5px; font-weight: 400; color: var(--ink); line-height: 1.6; }
.kontakt-info-item .val a, .cta-band p a { border-bottom: 1px solid var(--gold); }
.form-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid #BDBDBD; padding: 14px 0; font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--ink); outline: none; margin-bottom: 22px; transition: border-color .2s; border-radius: 0; }
.form-input::placeholder { color: #8C8C8C; }
.form-input:focus { border-bottom: 2px solid var(--ink); padding-bottom: 13px; }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-btn { background: var(--ink); color: #fff; border: 1px solid var(--gold); font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 38px; cursor: pointer; transition: background .22s, color .22s; }
.form-btn:hover { background: var(--gold); color: var(--ink); }
.form-success { text-align: center; padding: 56px 0; }
.form-success-title { font-family: var(--head); font-weight: 600; font-size: 1.5rem; color: var(--ink); margin-bottom: 14px; }
.form-success-title::after { content: ""; display: block; width: 48px; height: 3px; background: var(--gold); margin: 16px auto 0; }
.form-success-text { color: var(--ink-2); font-size: 15.5px; }
.form-lbl { display: block; margin-bottom: -6px; font-family: var(--head); font-weight: 600; color: var(--ink-2); font-size: 14px; }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-select:invalid { color: #8C8C8C; }
.form-check { display: flex; gap: 12px; align-items: flex-start; padding: 4px 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 4px 0 22px; cursor: pointer; }
.form-check input { margin-top: 1px; width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.form-check a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.form-check.is-invalid span { color: var(--ink); font-weight: 600; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* Fehlermeldung ohne Zusatzfarbe: schwarzer Balken + graue Fläche, Text sagt, was zu tun ist */
.form-error { background: var(--bg-2); color: var(--ink); border-left: 4px solid var(--ink); padding: 12px 14px; font-size: 14px; font-weight: 400; line-height: 1.55; margin: 0 0 18px; }
.form-error a { color: inherit; text-decoration: underline; }
#kontakt-form.hidden, .form-success.hidden, .form-error.hidden, .form-fallback.hidden { display: none; }
.form-input.is-invalid { border-bottom: 2px solid var(--ink); background: var(--bg-2); padding-left: 8px; }
.form-btn[disabled] { opacity: .65; cursor: wait; }
.form-note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.form-fallback { padding: 8px 0; }
.form-fallback .text { margin-bottom: 18px; }
.form-fallback-big { display: block; font-family: var(--head); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); word-break: break-word; }
.form-fallback-big:hover { border-bottom-color: var(--gold); }

/* CTA-Block: Schwarz mit 3 px Goldlinie oben, oben eine Diagonale als Formmotiv */
.cta-band { position: relative; background: var(--capital-black); color: #fff; text-align: left; border-top: 3px solid var(--gold); }
.cta-band.pad { padding-top: clamp(56px, 8vh, 88px); padding-bottom: clamp(48px, 7vh, 72px); }
.cta-band .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 64px; align-items: start; }
.cta-band .wrap > * { grid-column: 1; }
.cta-band .wrap > p, .cta-band .wrap > div { grid-column: 2; }
.cta-band .wrap > p { grid-row: 1; padding-top: 6px; }
.cta-band .wrap > div { grid-row: 2; }
.cta-band h2 { grid-row: 1 / span 2; align-self: start; font-family: var(--head); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 16ch; margin: 0; }
.cta-band p { color: rgba(255,255,255,0.8); font-weight: 300; font-size: 17px; max-width: 46ch; margin: 0; line-height: 1.7; }

/* FOOTER: Schwarz mit 3 px Goldlinie oben */
footer { background: var(--capital-black); color: #fff; padding: 56px clamp(24px,5vw,64px) 36px; border-top: 3px solid var(--gold); }
.cta-band + footer, main:has(> .cta-band:last-child) + footer { border-top: none; padding-top: 8px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 44px; flex-wrap: wrap; gap: 24px; }
.footer-logo-img { display: block; height: 38px; width: auto; }
.footer-logo { font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: #fff; letter-spacing: 0.08em; }
.footer-logo span { color: var(--gold); }
.footer-tag { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-link { font-family: var(--head); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.72); background: none; border: none; cursor: pointer; transition: color .2s; }
.footer-link:hover { color: var(--gold); }
.footer-social { display: inline-flex; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.55); }

/* RECHTSTEXTE */
.legal-block { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 26px; font-size: 15.5px; line-height: 1.8; color: var(--ink); max-width: 820px; }
.legal-block strong { color: var(--ink); font-weight: 600; }
.legal-block a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.legal-sub { font-family: var(--head); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.legal-h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .8s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* Fokus sichtbar (Gold allein wäre auf Weiß zu kontrastarm) */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--gold); }
footer :focus-visible, .cta-band :focus-visible, .quote :focus-visible { outline-color: #fff; }

@keyframes rise   { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide { 0% { transform: translateX(-120%);} 100% { transform: translateX(320%);} }

@media (max-width: 900px) {
  .split, .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-2, .features-grid, .card-grid { grid-template-columns: 1fr; }
  .stats-grid, .stats-4 { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .pillar { padding: 34px 24px; }
  .pillar-title { font-size: 1.2rem; }
  .pillar-num { font-size: 42px; top: 16px; right: 20px; }
  .partner-card { padding: 34px 24px; }
  .stat-item.lg { padding: 28px 16px; }
  .stat-value { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 6px 22px; }
  .footer-link { display: inline-block; padding: 8px 0; }
  .mobile-menu a { padding: 14px 24px; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .wrap > *, .cta-band .wrap > p, .cta-band .wrap > div { grid-column: 1; grid-row: auto; }
  .pv-grid { grid-template-columns: 1fr; }
  .pv-card--lg { grid-row: auto; }
  .proj-grid { grid-template-columns: 1fr; gap: 44px; }
  .stats-band .stat-item { padding: 22px 16px 20px; }
  .stats-band .stat-item:nth-child(odd) { padding-left: 0; border-left: none; }
  .stats-band .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.16); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-delay: 0s !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
