/* ============================================================
   1st Group SE — „Immersive" Redesign (Variante 2a)
   Gemeinsames Stylesheet für alle Seiten
   ============================================================ */

/* Schriften selbst gehostet (SIL OFL 1.1, Lizenztexte in /fonts) — kein Abruf bei Google.
   Dateien und unicode-range unverändert aus @fontsource-variable/archivo@5.2.8 und
   @fontsource/ibm-plex-mono@5.2.7; latin-ext deckt č, ř, ě, ů ab. */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/archivo-latin-ext-wght-normal.woff2) format('woff2-variations'),
         url(../fonts/archivo-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/archivo-latin-wght-normal.woff2) format('woff2-variations'),
         url(../fonts/archivo-latin-wght-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url(../fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url(../fonts/ibm-plex-mono-latin-ext-600-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url(../fonts/ibm-plex-mono-latin-600-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    --bg: #0A0908;
    --panel: #14120E;
    --glass: rgba(18, 16, 12, 0.62);
    --glass-border: rgba(242, 224, 100, 0.13);
    --text: #F2EEE3;
    --text-2: #B5AEA1;
    --text-3: #9B948A;
    --text-4: #80796E;
    --gold: #C89F23;
    --gold-bright: #E3C54B;
    --hairline: rgba(255, 255, 255, 0.09);
    --hairline-nav: rgba(255, 255, 255, 0.08);
    --gold-hairline: rgba(200, 159, 35, 0.35);
    --band-divider: rgba(20, 17, 12, 0.22);
    --cta-text: #14110C;
    --cloud: #1281FC;
    --cloud-bright: #5EC8FA;
    --syscon: #52C023;
    --syscon-bright: #BFF702;
    --chip-border: rgba(255, 255, 255, 0.14);
    --sans: 'Archivo', -apple-system, sans-serif;
    --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* Tastatur: erscheint beim ersten Tab oben links und springt hinter die Navigation */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    background: var(--gold);
    color: var(--cta-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
#inhalt:focus { outline: none; }

html { scroll-behavior: auto; }

body {
    margin: 0;
    background: var(--bg);
    font-family: var(--sans);
    color: var(--text);
    overflow-x: clip;
}

::selection { background: rgba(200, 159, 35, 0.4); }

img { display: block; }
a { color: inherit; }

/* ---------- Hintergrund-Canvas ---------- */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    display: block;
}

/* Elemente, die per JS choreografiert werden, starten unsichtbar */
.js-fade { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 80px;
}
.nav--sub {
    position: fixed;
    height: 76px;
    background: rgba(10, 9, 8, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline-nav);
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav--sub .nav-logo img { height: 26px; }

.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--gold-bright); font-weight: 600; }
.nav-cta {
    background: var(--gold);
    color: var(--cta-text);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    transition: filter 0.2s;
}
.nav-cta:hover { filter: brightness(1.08); }

.lang-switch {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-4);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.lang-switch a,
.lang-switch button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--text-4);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}
.lang-switch a:hover,
.lang-switch button:hover { color: var(--text-2); }
.lang-switch a.active,
.lang-switch button.active { color: var(--gold-bright); font-weight: 600; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
}

/* ---------- Typografie-Bausteine ---------- */
.kicker {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.26em;
    color: var(--gold);
    margin-bottom: 22px;
}
.gold-b { color: var(--gold-bright); }

.h2 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 0;
}
.h2--40 { font-size: 40px; line-height: 1.08; }
.h2--30 { font-size: 30px; line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gold);
    color: var(--cta-text);
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    transition: filter 0.2s;
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-gold--lg { padding: 17px 36px; font-size: 15px; }
.btn-gold--xl { padding: 18px 40px; font-size: 15.5px; }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid rgba(200, 159, 35, 0.55);
    color: var(--gold-bright);
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold-bright); }

/* ============================================================
   STARTSEITE
   ============================================================ */
.hero {
    position: relative;
    z-index: 1;
    height: 100vh;
}
.hero-text {
    position: absolute;
    left: 0;
    right: 0;
    top: min(57%, calc(100% - 252px));
    text-align: center;
}
.hero-kicker {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.26em;
    color: var(--gold);
    margin-bottom: clamp(14px, 3vh, 26px);
}
.hero h1 {
    font-size: clamp(50px, 12vh, 78px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin: 0 0 clamp(14px, 3vh, 24px);
}
.hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-3);
    max-width: 560px;
    margin: 0 auto clamp(18px, 4vh, 34px);
}
.hero-links { display: flex; justify-content: center; gap: 36px; }
.hero-link-main {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 4px;
    text-decoration: none;
}
.hero-link-ghost {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s;
}
.hero-link-ghost:hover { color: var(--text); }

/* Unten links, bündig mit dem Logo: mittig kollidiert er auf Laptop-Höhen mit den Hero-Links */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.scroll-hint span:first-child {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--text-4);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.scroll-hint span:last-child {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, var(--gold), transparent);
}

/* Sticky-Statement „Die Gruppe" */
.group-wrap {
    position: relative;
    z-index: 1;
    height: 170vh;
}
/* Sprungziel für „Marken": dort ist das Statement voll eingeblendet (prog ≈ 0,43) */
.group-anchor {
    position: absolute;
    top: 30vh;
    left: 0;
}
.group-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.group-text {
    text-align: center;
    max-width: 760px;
    padding: 0 32px;
}
.group-text .kicker { margin-bottom: 28px; }
.group-text h2 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin: 0 0 26px;
}
.group-text p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-3);
    margin: 0;
}
/* Teaser unter dem Statement: zeigt, dass die Markenkarten folgen */
.group-next {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    text-decoration: none;
}
.group-next-logos { display: flex; align-items: center; gap: 32px; }
.group-next-logos img {
    height: 22px;
    width: auto;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.group-next:hover .group-next-logos img { opacity: 1; }
.group-next-arrow {
    width: 12px;
    height: 12px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: rotate(45deg);
    animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 6px; }
}

/* Marken: Die Karten schließen direkt an das Statement an */
.brands {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    /* unten knapp, damit „Über uns“ schon anklingt, während die Karten im Bild sind */
    padding: 40px 48px 60px;
    /* Sprung vom Teaser: Karten landen etwa mittig */
    scroll-margin-top: max(96px, 22vh);
}
.brands-inner { width: 100%; max-width: 1120px; }
.brands-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 40px;
}
.glass-card--cloud { border-top: 2px solid var(--cloud); }
.glass-card--syscon { border-top: 2px solid var(--syscon); }
.glass-card--gold { border-top: 2px solid var(--gold); }

.brand-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.brand-head img { height: 36px; width: auto; }
/* Kopf mit Logo: Passt das Badge auch umbrochen nicht neben das Logo (schmale Handys),
   rückt es in eine eigene Zeile; sonst bleibt es wie bisher rechts bzw. neben dem Logo */
.brand-head:has(> img) { flex-wrap: wrap; row-gap: 14px; }
.brand-head:has(> img) > .brand-badge { flex: 1 1 0%; max-width: max-content; }
.brand-badge {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.brand-badge--cloud { color: var(--cloud-bright); }
.brand-badge--syscon { color: var(--syscon-bright); }
.brand-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-3);
    margin: 0 0 26px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-2);
    border: 1px solid var(--chip-border);
    padding: 5px 10px;
}
.brand-link {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.brand-link--cloud { color: var(--cloud-bright); }
.brand-link--syscon { color: var(--syscon-bright); }

/* Über uns (Zeitachse) & Führung */
.history,
.leaders {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 120px 48px;
}
.leaders { padding-top: 100px; padding-bottom: 40px; }
/* weniger Abstand zu den Marken; scroll-margin gleicht das für den Sprung aus der Navigation aus */
.history { padding-top: 80px; scroll-margin-top: 40px; }
.history-inner,
.leaders-inner { width: 100%; max-width: 1120px; }
.history-head { max-width: 640px; margin-bottom: 72px; }
.history-head h2,
.leaders-head h2 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 0;
}
.history-head h2 { margin-bottom: 22px; }
.history-head p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-3);
    margin: 0;
}
.leaders-head { margin-bottom: 56px; }
.leaders-grid { align-items: center; }

/* --tl (0…1) setzt site.js beim Scrollen; ohne JS bleibt alles sichtbar */
.timeline {
    --tl: 1;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 38px 0 0;
}
.timeline::before,
.timeline::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 1px;
}
.timeline::before { background: linear-gradient(90deg, var(--hairline) 82%, transparent); }
.timeline::after {
    background: linear-gradient(90deg, var(--gold), var(--gold-bright) 82%, transparent);
    transform: scaleX(var(--tl));
    transform-origin: left center;
}
/* Eintrag i erscheint, sobald die Linie ihn erreicht */
.tl-item {
    --show: clamp(0, calc((var(--tl) * 5 - var(--i)) * 2.5), 1);
    position: relative;
    opacity: var(--show);
    transform: translateY(calc((1 - var(--show)) * 18px));
}
.tl-item::before {
    content: '';
    position: absolute;
    top: -39px;
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--gold);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tl-item--now::before {
    top: -41px;
    width: 18px;
    height: 18px;
    background: var(--gold-bright);
}
.tl-year {
    display: block;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--gold-bright);
    margin-bottom: 14px;
}
.tl-title { font-size: 16.5px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.tl-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-3);
    margin: 0;
}

/* Kennzahlen-Goldband */
.goldband {
    position: relative;
    z-index: 1;
    background: var(--gold);
    color: var(--cta-text);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 60px 0;
}
.goldband-cell { padding: 46px 48px; }
.goldband-cell:not(:last-child) { border-right: 1px solid var(--band-divider); }
.goldband-num {
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}
.goldband-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-top: 12px;
    opacity: 0.75;
    text-transform: uppercase;
}

/* Kontakt */
.contact {
    position: relative;
    z-index: 1;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 48px 140px;
}
.contact-inner { width: 100%; max-width: 960px; text-align: center; }
.contact-inner .kicker { margin-bottom: 28px; }
.contact-inner h2 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin: 0 0 30px;
}
.contact-inner > p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--text-3);
    max-width: 520px;
    margin: 0 auto 40px;
}
.contact-cta { margin-bottom: 56px; }

/* Standorte: Europakarte links, Karten rechts (Reihenfolge je Sprache setzt site.js) */
.contact-locations {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 28px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}
.locations-map { position: relative; }
.locations-map img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(ellipse 68% 66% at 52% 50%, #000 45%, transparent 100%);
    mask-image: radial-gradient(ellipse 68% 66% at 52% 50%, #000 45%, transparent 100%);
}
/* Pin = runde Trefferfläche um den Ort; Punkt und Puls-Ring als Pseudo-Elemente, damit das Label nicht mitskaliert */
.map-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border-radius: 50%;
}
.map-pin::before,
.map-pin::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
}
.map-pin::before {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: var(--text);
    box-shadow: 0 0 0 3px rgba(227, 197, 75, 0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}
.map-pin::after {
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 1px solid var(--gold-bright);
    animation: pin-pulse 2.6s ease-out infinite;
    pointer-events: none;   /* pulsierender Ring soll die Trefferfläche nicht verändern */
}
.map-pin--cz::after { animation-delay: 1.3s; }
@keyframes pin-pulse {
    0% { transform: scale(0.5); opacity: 0.9; }
    100% { transform: scale(2.2); opacity: 0; }
}
.map-pin-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--text-2);
    text-transform: uppercase;
    white-space: nowrap;
    /* dunkler Grund, damit das Label auf den goldenen Punkten lesbar bleibt */
    background: rgba(10, 9, 8, 0.85);
    padding: 3px 7px;
    transition: color 0.25s;
}
.map-pin--de .map-pin-label { right: calc(100% + 2px); text-align: right; }
.map-pin--cz .map-pin-label { left: calc(100% + 2px); }
.map-pin-country {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--text-3);
    text-transform: none;
}
/* Hover koppelt Pin und Standortkarte in beide Richtungen */
.map-pin:hover::before,
.contact-locations:has(.location-card[data-site="de"]:hover) .map-pin--de::before,
.contact-locations:has(.location-card[data-site="cz"]:hover) .map-pin--cz::before {
    transform: scale(1.4);
    box-shadow: 0 0 0 3px rgba(227, 197, 75, 0.7), 0 0 18px rgba(227, 197, 75, 0.55);
}
.map-pin:hover .map-pin-label,
.contact-locations:has(.location-card[data-site="de"]:hover) .map-pin--de .map-pin-label,
.contact-locations:has(.location-card[data-site="cz"]:hover) .map-pin--cz .map-pin-label { color: var(--gold-bright); }
.contact-locations:has(.map-pin--de:hover) .location-card[data-site="de"],
.contact-locations:has(.map-pin--cz:hover) .location-card[data-site="cz"] { border-color: var(--gold-hairline); }

.locations { display: grid; gap: 20px; }
.location-card { padding: 32px 36px; transition: border-color 0.25s; }
.location-card:hover { border-color: var(--gold-hairline); }
.location-label {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.location-city { font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.location-addr {
    font-family: var(--mono);
    font-size: 12.5px;
    font-style: normal;
    line-height: 1.9;
    color: var(--text-3);
    margin-bottom: 14px;
}
.location-tel {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.2s;
}
.location-tel:hover { color: var(--gold-bright); }

/* ---------- Footer ---------- */
/* Drei Spalten 1fr·auto·1fr: das Copyright sitzt exakt mittig, egal wie breit Logo und Links sind */
.site-footer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 26px 48px;
    border-top: 1px solid var(--hairline);
}
.site-footer--home {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.site-footer--sub { margin-top: 70px; }
/* Logo-Marke führt wie das Wortlogo in der Navigation zur Startseite */
.footer-mark {
    display: block;
    line-height: 0;
    justify-self: start;
    opacity: 0.8;
    transition: opacity 0.25s;
}
.footer-mark:hover { opacity: 1; }
.footer-mark img { height: 20px; width: auto; display: block; }
.footer-copy {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-4);
}
.footer-links { display: flex; gap: 20px; font-size: 12.5px; font-weight: 500; justify-self: end; }
.footer-links a {
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ============================================================
   UNTERSEITEN
   ============================================================ */
.page-hero {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 190px 48px 96px;
}
.page-hero--narrow { max-width: 1040px; padding-bottom: 80px; }
.page-hero .kicker { margin-bottom: 24px; }
.page-hero h1 {
    font-size: clamp(46px, 6vw, 66px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin: 0 0 22px;
}
.page-hero--narrow h1 { font-size: clamp(46px, 6vw, 62px); }
.page-hero p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-3);
    max-width: 560px;
    margin: 0;
}
.page-hero--narrow p { font-size: 15.5px; max-width: 620px; }
.page-hero--wide p { max-width: 620px; }
/* 404: Wege zurück */
.error-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.page-hero--error { min-height: calc(100vh - 240px); box-sizing: border-box; }

.section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 110px;
    scroll-margin-top: 76px;
}
.section--last { padding-bottom: 40px; }
.section-inner {
    border-top: 1px solid var(--hairline);
    padding-top: 64px;
}
.grid-57 {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
}
.section-head-gap { margin: 0 0 48px; }

.body-text {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-3);
    margin: 0 0 16px;
}
.body-text--15 { font-size: 15px; }
.body-text--145 { font-size: 14.5px; line-height: 1.7; }

/* Zitatblock (Über uns) */
.quote-block {
    border-left: 2px solid var(--gold);
    padding-left: 30px;
}
.quote-block p {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
    margin: 0 0 12px;
}
.quote-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-4);
    text-transform: uppercase;
}

/* Führungs-Karten */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.leader-card { padding: 38px; }
.leader-initials {
    width: 56px;
    height: 56px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 24px;
}
.leader-name { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.leader-role {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.leader-bio {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-3);
    margin: 0;
}

/* Kultur-Raster (Karriere) */
.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px 44px;
}
.culture-item { border-top: 1px solid var(--hairline); padding-top: 22px; }
.culture-index {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 12px;
}
.culture-title { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.culture-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-3);
    margin: 0;
}

/* Stellen-Karten (Karriere) */
.job-card { padding: 38px; }
.job-card img { height: 34px; width: auto; margin-bottom: 22px; }
.job-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-3);
    margin: 0 0 24px;
}
.job-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    color: var(--text-3);
    border: 1px solid var(--chip-border);
    padding: 9px 14px;
    text-transform: uppercase;
}
.job-status-dot { width: 7px; height: 7px; border-radius: 50%; }
.job-apply { display: block; width: fit-content; margin-top: 18px; }
.job-status-dot--cloud { background: var(--cloud-bright); }
.job-status-dot--syscon { background: var(--syscon-bright); }

/* Initiativbewerbung (Karriere) */
.apply-inner {
    border-top: 1px solid var(--hairline);
    padding-top: 80px;
    padding-bottom: 40px;
    text-align: center;
}
.apply-inner .kicker { margin-bottom: 26px; }
.apply-inner h2 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
}
.apply-inner p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-3);
    max-width: 540px;
    margin: 0 auto 38px;
}
/* Einwilligungshinweis für den Bewerberpool unter dem Button */
.apply-inner .apply-consent {
    font-size: 12.5px;
    line-height: 1.6;
    max-width: 460px;
    margin: 22px auto 0;
}
.apply-consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

/* Nummerierte Rechtsquellen-Liste (Transparenz/Impressum) */
.num-list {
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--text-2);
}
.num-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    border-top: 1px solid var(--hairline);
    padding: 12px 0;
}
.num-item:last-child { border-bottom: 1px solid var(--hairline); }
.num-item > span:first-child { color: var(--gold); }
.num-list--tight .num-item { padding: 11px 0; }

/* Dokumenten-Tabelle (Transparenz) */
.doc-table { width: 100%; }
.doc-head,
.doc-row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 0.9fr 1.3fr 0.8fr;
    gap: 16px;
}
.doc-head {
    padding: 0 0 12px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--text-4);
    text-transform: uppercase;
}
.doc-head span:last-child { text-align: right; }
.doc-row {
    align-items: center;
    border-top: 1px solid var(--hairline);
    padding: 17px 0;
}
.doc-row:last-child { border-bottom: 1px solid var(--hairline); }
.doc-title { font-size: 15px; font-weight: 600; }
.doc-type {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
}
.doc-type--fin { color: var(--cloud-bright); }
.doc-type--gold { color: var(--gold-bright); }
.doc-date,
.doc-ref {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-3);
}
.doc-open {
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold-bright);
    text-decoration: none;
    text-align: right;
    white-space: nowrap;
}
.doc-updated {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text-4);
    margin-top: 14px;
}

/* Key-Value-Raster (Impressum) */
.kv { font-size: 14.5px; }
.kv-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    border-top: 1px solid var(--hairline);
    padding: 13px 0;
}
.kv-row:last-child { border-bottom: 1px solid var(--hairline); }
.kv-key {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-4);
    padding-top: 2px;
    text-transform: uppercase;
}
.kv-val { line-height: 1.7; }
.kv-val a { color: var(--gold-bright); text-decoration: none; }
.kv-note { color: var(--text-4); }
.kv-muted { color: var(--text-4); font-style: italic; }
/* Impressum-Sektionen */
.imprint-main {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 48px;
}
.imprint-section {
    border-top: 1px solid var(--hairline);
    padding: 52px 0 64px;
    scroll-margin-top: 76px;
}
.imprint-section:last-child { padding-bottom: 40px; }
.imprint-section .kicker { margin-bottom: 18px; }
.imprint-section h2 { margin: 0 0 32px; }
.imprint-section h2.tight { margin-bottom: 20px; }
.imprint-sub {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
}
.imprint-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-3);
    margin: 0 0 24px;
}
.imprint-text:last-child { margin-bottom: 0; }
.imprint-text a { color: var(--gold-bright); text-decoration: none; }

/* Datenschutz-Seite */
.imprint-text strong { color: var(--text); font-weight: 700; }
code {
    font-family: var(--mono);
    font-size: 0.92em;
    color: var(--gold-bright);
}
.privacy-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}
.privacy-list li {
    position: relative;
    padding: 5px 0 5px 26px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-3);
}
.privacy-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
}
.notice-box {
    border-left: 2px solid var(--gold);
    padding: 4px 0 4px 24px;
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
}
.notice-box strong { color: var(--text); }
.rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}
.right-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 24px;
}
.right-art {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--gold-bright);
    margin-bottom: 10px;
}
.right-title { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.right-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-3);
    margin: 0;
}
.link-gold {
    color: var(--gold-bright);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}
.link-gold:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid-57 { gap: 48px; }
    .timeline { gap: 24px; }
}

@media (max-width: 900px) {
    .nav { padding: 0 24px; }
    .scroll-hint { left: 24px; }
    .nav-right { gap: 18px; }
    .nav-links {
        display: none;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        background: rgba(10, 9, 8, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--hairline);
        padding: 28px 24px 32px;
    }
    .nav--home .nav-links { top: 80px; background: rgba(10, 9, 8, 0.96); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .grid-57 { grid-template-columns: 1fr; gap: 36px; }
    .cards-2 { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: 1fr; }
    .culture-grid { grid-template-columns: 1fr 1fr; }
    .goldband { grid-template-columns: 1fr 1fr; }
    .goldband-cell { padding: 36px 28px; }
    .goldband-cell:nth-child(2) { border-right: 0; }
    .goldband-cell:nth-child(-n+2) { border-bottom: 1px solid var(--band-divider); }
    .goldband-num { font-size: 42px; }
    .contact-locations { grid-template-columns: 1fr; gap: 36px; }
    .locations-map { width: 100%; max-width: 560px; margin: 0 auto; }
    .locations { grid-template-columns: 1fr 1fr; }

    .group-text h2 { font-size: 44px; }
    .history-head h2,
    .leaders-head h2 { font-size: 36px; }
    .history-head { margin-bottom: 56px; }
    .leaders-head { align-items: start; margin-bottom: 40px; }

    /* Zeitachse vertikal */
    .timeline { grid-template-columns: 1fr; gap: 40px; padding: 0 0 0 40px; }
    .timeline::before,
    .timeline::after { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
    .timeline::before { background: linear-gradient(180deg, var(--hairline) 85%, transparent); }
    .timeline::after {
        background: linear-gradient(180deg, var(--gold), var(--gold-bright) 85%, transparent);
        transform: scaleY(var(--tl));
        transform-origin: center top;
    }
    .tl-item::before { top: 8px; left: -40px; }
    .tl-item--now::before { top: 6px; left: -42px; }
    .tl-year { font-size: 30px; margin-bottom: 10px; }
    .tl-text { font-size: 14px; max-width: 520px; }
    .contact-inner h2 { font-size: 44px; }
    .apply-inner h2 { font-size: 38px; }
    .h2 { font-size: 36px; }
    .h2--40 { font-size: 33px; }
    .h2--30 { font-size: 27px; }

    .doc-head { display: none; }
    .doc-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        position: relative;
    }
    .doc-title { padding-right: 90px; }
    .doc-open { position: absolute; top: 17px; right: 0; }

    .kv-row { grid-template-columns: 1fr; gap: 6px; }
    .rights-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav { padding: 0 20px; }
    .page-hero { padding: 150px 24px 72px; }
    .section { padding-left: 24px; padding-right: 24px; padding-bottom: 80px; }
    .imprint-main { padding: 0 24px; }
    .brands { padding: 40px 24px 50px; }
    .history { padding: 60px 24px 90px; scroll-margin-top: 30px; }
    .leaders { padding: 80px 24px 30px; }
    .contact { padding: 60px 24px 150px; }
    .locations { grid-template-columns: 1fr; }
    .location-card { padding: 26px 28px; }
    .map-pin-label { font-size: 9.5px; letter-spacing: 0.12em; }
    .map-pin-country { font-size: 8.5px; }
    .group-next-logos { gap: 24px; }
    .group-next-logos img { height: 18px; }
    .culture-grid { grid-template-columns: 1fr; }
    .goldband { grid-template-columns: 1fr; }
    .goldband-cell { border-right: 0 !important; }
    .goldband-cell:not(:last-child) { border-bottom: 1px solid var(--band-divider); }
    .goldband-num { font-size: 40px; }
    .hero h1 { font-size: clamp(38px, 10vw, 54px); }
    .hero-sub { padding: 0 24px; }
    .hero-kicker { padding: 0 24px; }
    .hero-links { flex-direction: column; align-items: center; gap: 18px; }
    .scroll-hint { display: none !important; }
    .site-footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
        padding: 26px 24px;
        text-align: center;
    }
    .footer-mark,
    .footer-links { justify-self: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .glass-card { padding: 28px; }
    .leader-card, .job-card { padding: 28px; }
    .rights-grid { grid-template-columns: 1fr; }
    .quote-block p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .group-next-arrow,
    .map-pin::after { animation: none; }
    .map-pin::after { opacity: 0; }
}

/* Einstiegsseite 1st.group/ — sichtbar nur ohne JavaScript oder für einen Moment */
.lang-gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.lang-gate-inner { text-align: center; padding: 48px 24px; }
.lang-gate-logo { height: 44px; width: auto; display: block; margin: 0 auto 36px; }
.lang-gate-prompt {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin: 0 0 28px;
}
.lang-gate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lang-gate-links a {
    min-width: 128px;
    padding: 13px 22px;
    border: 1px solid var(--gold-hairline);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}
.lang-gate-links a:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
