/* =========================================================
   Class.Ing – Stylesheet
   Farben aus dem Logo: Rot #E30613, Graphit #2A2A29, Grau #9D9D9C
   ========================================================= */

/* Schriften lokal (keine externen Server, DSGVO-freundlich)
   Fließtext: Source Sans 3 · Überschriften/Zahlen: Barlow · Überzeilen/Labels: Barlow Semi Condensed */
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --red: #E30613;
  --red-dark: #B8050F;
  --red-soft: #FDECEC;
  --ink: #1F1F1E;
  --ink-2: #2A2A29;
  --text: #3A3A39;
  --muted: #6B6B6A;
  --line: #E4E3E0;
  --grey: #9D9D9C;
  --paper: #FFFFFF;
  --paper-2: #F6F5F2;
  --paper-3: #EEEDE9;
  --radius: 4px;
  --wrap: 1180px;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head: "Barlow", "Source Sans 3", system-ui, "Segoe UI", Arial, sans-serif;
  /* früher Schreibmaschinenschrift – jetzt schmale Barlow für Überzeilen, Daten und Schilder */
  --mono: "Barlow Semi Condensed", "Barlow", "Source Sans 3", "Arial Narrow", sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .6em; font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin: .25em 0; }
.dot { color: var(--red); }
.mono { font-family: var(--mono); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #D8D8D6; }
.section--ink h2, .section--ink h3 { color: #fff; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Kicker / Labels ---------- */
.kicker {
  display: inline-flex; align-items: baseline; gap: 10px;
  font: 600 .86rem/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--red-dark); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); flex: none; transform: translateY(-3px); }
.section--ink .kicker { color: #FF6B73; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.section--ink .lead { color: #B9B9B6; }

/* ---------- Punktraster-Motiv (aus dem Logo) ---------- */
.dots {
  background-image: radial-gradient(circle, var(--paper-3) 2.2px, transparent 2.6px);
  background-size: 18px 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 170px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 1.02rem;
  padding: 10px 12px; border-radius: var(--radius); position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red);
}
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav .btn { margin: 14px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--head); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: var(--radius); border: 1.5px solid transparent; transition: .15s;
}
.btn--red { background: var(--red); color: #fff !important; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { color: var(--red); }
.btn--light { border-color: rgba(255,255,255,.6); color: #fff !important; }
.btn--light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow::after { content: " →"; color: var(--red); }
.link-arrow:hover { color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: #111; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture img { filter: grayscale(1) contrast(1.05); opacity: .55; transition: opacity 1s ease; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.25) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 9vw, 110px); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: #D6D6D3; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-claims { margin-top: 56px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero-claims button {
  font: 600 .86rem/1 var(--mono); color: #CFCFCB; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18); padding: 9px 12px; border-radius: 99px; cursor: pointer;
}
.hero-claims button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.page-hero { background: var(--ink); color: #D8D8D6; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 72px); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { color: #BDBDBA; }
.page-hero::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 420px; height: 420px; opacity: .22;
  background-image: radial-gradient(circle, #9D9D9C 3px, transparent 3.6px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}
.crumbs { font: 400 .8rem var(--mono); color: #9D9D9C; margin-bottom: 18px; }
.crumbs a { color: #CFCFCB; text-decoration: none; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.eclass-badge { max-width: min(340px, 100%); }
.stat b { display: block; font: 700 clamp(2rem, 3.4vw, 2.8rem)/1 var(--head); color: var(--ink); letter-spacing: -0.02em; }
.stat b i { font-style: normal; color: var(--red); }
.stat span { display: block; margin-top: 10px; font-size: .92rem; color: var(--muted); }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split > *, .grid > *, .contact-grid > *, .event-detail > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .num { font: 500 .84rem/1 var(--mono); color: var(--red-dark); letter-spacing: .06em; margin-bottom: 22px; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { margin: 0 0 1em; padding-left: 1.1em; font-size: .95rem; color: var(--muted); }
.card .link-arrow { margin-top: auto; font-size: .95rem; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; padding: 0; list-style: none; }
.tags li { margin: 0; font: 500 .84rem/1 var(--mono); padding: 6px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-2); background: var(--paper-2); }
.section--ink .tags li { background: transparent; border-color: #444; color: #D0D0CC; }

/* ---------- Feature (DPP) ---------- */
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.countdown { display: flex; gap: 14px; margin: 26px 0 28px; flex-wrap: wrap; }
.countdown div { min-width: 92px; padding: 14px 16px; border: 1px solid #3B3B3A; border-radius: var(--radius); }
.countdown b { display: block; font: 700 2.2rem/1 var(--head); color: #fff; }
.countdown span { font: 400 .84rem var(--mono); color: #9D9D9C; text-transform: uppercase; letter-spacing: .06em; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid #3B3B3A; }
.timeline li { position: relative; padding: 0 0 22px 24px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--red); }
.timeline b { display: block; font: 500 .85rem var(--mono); color: #FF6B73; }
.section:not(.section--ink) .timeline { border-color: var(--line); }
.section:not(.section--ink) .timeline li::before { background: #fff; }
.section:not(.section--ink) .timeline b { color: var(--red-dark); }

/* ---------- Bildband ---------- */
.photo-band { position: relative; min-height: 380px; display: flex; align-items: center; color: #fff; overflow: hidden; background: #111; }
.photo-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .5; }
.photo-band .wrap { position: relative; z-index: 2; padding: 72px 0; }
.photo-band h2 { color: #fff; max-width: 20ch; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }

/* ---------- Events ---------- */
.events { display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px;
}
.event-date { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.event-date b { display: block; font: 700 2.2rem/1 var(--head); color: var(--ink); }
.event-date span { display: block; font: 500 .84rem var(--mono); text-transform: uppercase; color: var(--red-dark); margin-top: 6px; letter-spacing: .05em; }
.event-type { font: 500 .84rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.event h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.event p { margin: 0; color: var(--muted); font-size: .95rem; }
.event-meta { font-size: .88rem; color: var(--muted); margin-top: 6px !important; }
.event-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.event--past { opacity: .8; }
.event--past .event-date b { color: var(--muted); }
@media (max-width: 760px) {
  .event { grid-template-columns: 64px 1fr; padding: 18px; gap: 16px; align-items: start; }
  .event-date { padding-right: 14px; }
  .event-date b { font-size: 1.7rem; }
  .event-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
.event-detail { display: grid; grid-template-columns: 1fr 340px; gap: 48px; }
.event-detail aside { position: sticky; top: 100px; align-self: start; background: var(--paper-2); padding: 24px; border-radius: var(--radius); }
.event-detail aside dl { margin: 0 0 20px; }
.event-detail aside dt { font: 500 .84rem var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .06em; margin-top: 14px; }
.event-detail aside dd { margin: 4px 0 0; color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .event-detail { grid-template-columns: 1fr; } .event-detail aside { position: static; } }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter button { font: 500 .88rem var(--sans); padding: 9px 14px; border: 1px solid var(--line); background: #fff; border-radius: 99px; cursor: pointer; color: var(--ink-2); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---------- Leistungsseiten ---------- */
.service-block { padding: 48px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: 1.7rem; }
.service-block .side p { color: var(--muted); font-size: .97rem; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.service-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { font-size: 1.05rem; margin-bottom: .35em; }
.service-list p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .service-block { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }
.subnav { position: sticky; top: 76px; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 99px; }
.subnav a:hover { background: var(--paper-2); color: var(--red); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.legal { font-size: .96rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.6em; }

.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; }

.quote { border-left: 3px solid var(--red); padding: 6px 0 6px 22px; margin: 28px 0; font-size: 1.2rem; color: var(--ink); }
.quote cite { display: block; margin-top: 10px; font: 400 .85rem var(--mono); color: var(--muted); font-style: normal; }

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; }
.logos img { max-height: 70px; width: auto; }

/* ---------- Kontakt / Formulare ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--paper-2); border-radius: var(--radius); padding: 28px; }
.contact-card dl { margin: 0; }
.contact-card dt { font: 500 .84rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 18px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; color: var(--ink); }
.contact-card a { color: var(--ink); }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid #D5D4D0; border-radius: var(--radius); padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227,6,19,.12); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; }
.notice--ok { background: #E8F5EC; color: #135C2B; border: 1px solid #BFE3CB; }
.notice--err { background: var(--red-soft); color: #8A0A12; border: 1px solid #F5C2C5; }
.event-box { background: var(--red-soft); border: 1px solid #F5C2C5; border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; color: var(--ink); }
.event-box b { display: block; }

/* ---------- CTA & Footer ---------- */
.cta { background: var(--red); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 52px 0; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 26ch; }
.cta .btn { background: #fff; color: var(--red-dark) !important; }
.cta .btn:hover { background: var(--ink); color: #fff !important; }

.site-footer { background: #161615; color: #A9A9A6; font-size: .93rem; }
.site-footer .wrap { padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font: 500 .84rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { color: #D6D6D3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.foot-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 18px; }
.foot-logo img { width: 150px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #2E2E2D; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Reveal-Animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media print { .site-header, .cta, .site-footer, .hero-claims { display: none; } }

/* ---------- metaparts ---------- */
.mp-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.mp-logo { background: #fff; border-radius: 6px; padding: 26px 30px; justify-self: end; max-width: 100%; }
.mp-logo img { width: 360px; max-width: 100%; }
@media (max-width: 900px) { .mp-hero .wrap { grid-template-columns: 1fr; } .mp-logo { justify-self: start; } }
.mp-blue { color: #1F7FC4; }
.bausteine { counter-reset: b; list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.bausteine li { counter-increment: b; position: relative; padding: 18px 20px 18px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.bausteine li::before { content: counter(b, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font: 500 .85rem var(--mono); color: var(--red-dark); }
.bausteine b { color: var(--ink); }
.principle { font-size: 1.25rem; color: var(--ink); border-left: 3px solid #1F7FC4; padding: 4px 0 4px 20px; margin: 28px 0; }
.principle em { font-style: normal; font-weight: 600; }
.vmid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.vmid { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.vmid img { width: 110px; margin: 0 auto 16px; }
.vmid p { font-size: .92rem; color: var(--muted); text-align: left; margin: 0 0 .6em; }
.vmid p b { color: var(--ink); }
@media (max-width: 960px) { .vmid-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vmid-grid { grid-template-columns: 1fr; } }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid #3B3B3A; border-radius: var(--radius); margin-top: 36px; }
.steps3 > div { padding: 26px; border-left: 1px solid #3B3B3A; }
.steps3 > div:first-child { border-left: 0; }
.steps3 .num { font: 500 .84rem var(--mono); color: #FF6B73; letter-spacing: .06em; display: block; margin-bottom: 14px; }
.steps3 p { color: #BDBDBA; font-size: .95rem; }
.steps3 .res { color: #fff; font-size: .9rem; border-top: 1px solid #3B3B3A; padding-top: 12px; margin: 0; }
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; } .steps3 > div { border-left: 0; border-top: 1px solid #3B3B3A; } .steps3 > div:first-child { border-top: 0; } }

/* ---------- Seite „Termine“ ---------- */
.t-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border: 1px solid #3B3B3A; border-radius: var(--radius); margin-top: 36px; }
.t-strip a { display: block; padding: 16px 18px; color: #D8D8D6; text-decoration: none; border-left: 1px solid #3B3B3A; font-size: .93rem; line-height: 1.4; transition: background .15s; }
.t-strip a:first-child { border-left: 0; }
.t-strip a:hover { background: rgba(255,255,255,.05); color: #fff; }
.t-strip b { display: block; font: 700 1.45rem/1.1 var(--head); color: #fff; }
.t-strip span { display: block; font: 500 .84rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: #FF6B73; margin: 6px 0 4px; }
@media (max-width: 900px) { .t-strip a { border-left: 0; border-top: 1px solid #3B3B3A; } .t-strip a:first-child { border-top: 0; } }
.t-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.t-item { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; scroll-margin-top: 100px; }
.t-item:nth-child(even) .t-media { order: 2; }
.t-item h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.t-item .lead { font-size: 1.08rem; }
.t-media { position: relative; }
.t-media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); }
.t-date { position: absolute; left: 18px; top: 18px; background: var(--red); color: #fff; padding: 10px 14px; border-radius: var(--radius); text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.t-date b { display: block; font: 700 1.9rem/1 var(--head); }
.t-date span { font: 500 .84rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.t-tile {
  aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--ink); color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.t-tile::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(circle, #9D9D9C 3px, transparent 3.6px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 65%); mask-image: linear-gradient(200deg, #000 10%, transparent 65%);
}
.t-tile > * { position: relative; }
.t-tile-type { font: 500 .84rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #FF6B73; }
.t-tile b { font: 700 clamp(2.4rem, 5vw, 3.8rem)/1.05 var(--head); letter-spacing: -0.02em; margin: 8px 0 10px; }
.t-tile-date { font: 400 .9rem var(--mono); color: #BDBDBA; }
.t-hl { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.t-hl li { position: relative; padding-left: 26px; margin: 0; color: var(--ink); }
.t-hl li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.t-item .event-meta { color: var(--muted); font-size: .92rem; margin-bottom: 4px; }
.t-item .hero-actions { margin-top: 18px; }
button.btn { font-family: var(--sans); }
@media (max-width: 900px) { .t-item { grid-template-columns: 1fr; } .t-item:nth-child(even) .t-media { order: 0; } }

/* ---------- Logo-Feld ---------- */
.logo-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden; }
.logo-panel::after { content: ""; position: absolute; right: -30px; top: -30px; width: 220px; height: 220px; opacity: .5;
  background-image: radial-gradient(circle, var(--paper-3) 2.6px, transparent 3px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.logo-panel > * { position: relative; z-index: 1; }
.lp-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.lp-main img { height: 54px; width: auto; }
.lp-main span { font: 600 1.6rem/1 var(--head); color: var(--ink); letter-spacing: -0.01em; }
.lp-label { font: 500 .84rem var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 20px 0 14px; }
.lp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-row figure { margin: 0; }
.lp-box { height: 84px; display: flex; align-items: center; justify-content: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lp-box img { max-height: 48px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.lp-row figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
@media (max-width: 520px) { .lp-row { grid-template-columns: 1fr 1fr; } .lp-main img { height: 42px; } }
/* Logos-Feld in der Termine-Liste darf nicht wie ein Foto beschnitten werden */
.t-media .logo-panel img { border: 0; aspect-ratio: auto; max-height: none; background: none; border-radius: 0; }
.t-media .lp-main img { height: 54px; width: auto; }
.t-media .lp-box img { max-height: 48px; width: auto; }

/* ---------- Sprungmarken: Abstand für Kopfleiste (+ Sprungmarken-Leiste) ---------- */
[id] { scroll-margin-top: 96px; }
.subnav ~ [id], .subnav ~ * [id] { scroll-margin-top: calc(76px + var(--subnav-h, 58px) + 20px); }
/* Abschnitte mit eigenem Innenabstand: Überschrift landet knapp unter der Sprungmarken-Leiste */
.subnav ~ section[id] { scroll-margin-top: calc(76px + var(--subnav-h, 58px) + 20px - clamp(56px, 8vw, 104px)); }
.subnav ~ * .service-block[id]:not(:first-of-type) { scroll-margin-top: calc(76px + var(--subnav-h, 58px) + 20px - 48px); }

/* ---------- Kunden-Laufleiste ---------- */
.clients { padding: 44px 0 8px; }
.clients-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 28px; flex-wrap: wrap; margin-bottom: 22px; }
.clients-head .kicker { margin: 0; }
.clients-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.clients-areas li { margin: 0; }
.clients-areas button { font: 500 .84rem/1 var(--mono); padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); background: #fff; cursor: pointer; transition: .15s; }
.clients-areas button:hover { border-color: var(--red); color: var(--red-dark); }
.clients-areas button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.mq-label { transition: background .3s, color .3s; }
.mq-label.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.marquee {
  overflow: hidden; position: relative; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mq-scroll 140s linear infinite; }
.mq-group { display: flex; align-items: center; gap: 52px; padding-right: 52px; flex: none; }
.mq-group img { flex: none; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; mix-blend-mode: multiply; }
.mq-group img:hover { filter: none; opacity: 1; }
.mq-label {
  flex: none; font: 500 .84rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark);
  padding: 8px 12px; border: 1px solid #F5C2C5; background: var(--red-soft); border-radius: 99px; margin-left: 12px;
}
.marquee:hover .mq-track, .clients.paused .mq-track, .clients.hold .mq-track { animation-play-state: paused; }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-toggle { margin-top: 10px; background: none; border: 0; padding: 4px 0; font: 400 .8rem var(--sans); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mq-toggle:hover { color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .mq-group[aria-hidden="true"], .mq-toggle { display: none; }
}
@media (max-width: 640px) { .mq-group { gap: 36px; padding-right: 36px; } .mq-track { animation-duration: 110s; } }

/* ---------- metaparts-Farbwelt (nur Seiteninhalt, Kopf/Fuß bleiben Class.Ing-Rot) ---------- */
.theme-mp {
  --red: #1F7FC4;        /* metaparts-Blau als Akzent */
  --red-dark: #17649C;   /* dunkleres Blau für Text/Links (besserer Kontrast) */
  --red-soft: #E8F2FA;
  --mp-light: #9FD0F2;   /* helles Blau für Akzente auf dunklem Grund */
}
.theme-mp .page-hero { background: #1F7FC4; color: #fff; }
.theme-mp .page-hero::before { background-image: radial-gradient(circle, #FFFFFF 3px, transparent 3.6px); opacity: .18; }
.theme-mp .page-hero .kicker { color: #fff; }
.theme-mp .page-hero .kicker::before { background: #fff; }
.theme-mp .page-hero .lead { color: #E3F0FA; }
.theme-mp .page-hero .crumbs, .theme-mp .page-hero .crumbs a { color: #D2E7F7; }
.theme-mp .page-hero .btn--red { background: #fff; color: #17649C !important; }
.theme-mp .page-hero .btn--red:hover { background: #10466E; color: #fff !important; }
.theme-mp .page-hero .btn--light { border-color: rgba(255,255,255,.75); }
.theme-mp .mp-logo { box-shadow: 0 18px 50px rgba(8,40,70,.28); }
.theme-mp .section--ink .kicker, .theme-mp .steps3 .num, .theme-mp .timeline b { color: var(--mp-light); }
.theme-mp .principle { border-left-color: var(--red); }
.theme-mp .bausteine li::before { color: var(--red-dark); }
.theme-mp .btn--ghost:hover, .theme-mp .link-arrow:hover { color: var(--red-dark); }
.theme-mp a:not(.btn) { color: var(--red-dark); }
.theme-mp .cta { background: #1F7FC4; }
.theme-mp .cta .btn { color: #17649C !important; }
.theme-mp .cta .btn:hover { background: #10466E; color: #fff !important; }

/* ---------- AAS Gummibärchen / Viewer ---------- */
.gb-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.gb-live { font-style: italic; color: var(--ink) !important; margin-top: auto; }
.card .gb-live + .link-arrow { margin-top: 12px; }
.viewer-section { padding-top: 40px; }
.viewer-section #aasv-host { min-height: 480px; }

/* ---------- Sprachumschalter ---------- */
.lang-switch { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 3px; flex: none; }
.lang-switch a { font: 600 .84rem/1 var(--mono); letter-spacing: .06em; color: var(--muted); text-decoration: none; padding: 7px 10px; border-radius: 99px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.site-header .nav { margin-left: auto; }
@media (max-width: 1100px) {
  .lang-switch { margin-left: auto; }
  .lang-switch + .nav-toggle { margin-left: 4px; }
}
/* Partner ohne Logo-Datei: Namenszug als Platzhalter-Logo */
.partner-wordmark { font: 700 1.9rem/1 var(--head); letter-spacing: -0.01em; color: var(--ink-2); height: 60px; display: flex; align-items: center; margin-bottom: 18px; }
/* Logos in Karten nicht auf Kartenbreite strecken */
.card > img, .card > picture { align-self: flex-start; max-width: 100%; height: auto; object-fit: contain; }
