/* BENarena B2B (benarena.staidium.org) – Entwurf im Familien-Look
   Grundlage: Stylesheet von bencoach.de (Kopfzeile, Buttons, Formular, Rechtsseiten), ergänzt um die B2B-Bausteine am Ende.
   Ohne externe Inhalte. */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #0f1112;
    --ink-soft: #1b1e20;
    --paper: #f3f2ef;
    --white: #ffffff;
    --muted: #a9aeb1;
    --muted-dark: #5d6367;
    --text-dark: #2b2f31;
    --line: rgba(255, 255, 255, 0.16);
    --line-dark: rgba(15, 17, 18, 0.12);
    --red: #dd0b2f;
    --red-dark: #c60929;
    --font: "Inter", Arial, Helvetica, sans-serif;
    --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Hinweis-Leiste: nur im Entwurf */
.draft-bar { padding: 7px 16px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 600; text-align: center; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 17, 18, 0.94); border-bottom: 1px solid var(--line); color: var(--white); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--white); }

/* Schaltflächen */
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; background: var(--red); color: var(--white); font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s ease; }
.button:hover, .button:focus-visible { background: var(--red-dark); }
.button-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.button-ghost:hover, .button-ghost:focus-visible { background: rgba(255, 255, 255, 0.08); }
.site-header .button { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Store-Hinweise, solange die Apps nicht veröffentlicht sind */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 18px; border: 1px solid var(--line); color: var(--white); text-decoration: none; }
.store small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.store strong { font-size: 16px; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12px; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 26px; height: 2px; background: var(--red); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 13, 0.95) 0%, rgba(10, 12, 13, 0.82) 45%, rgba(10, 12, 13, 0.45) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 48px; padding-block: 88px 96px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.hero .lead { max-width: 560px; margin-top: 22px; color: #dfe2e3; font-size: 19px; }

/* App-Darstellung (Illustration bis Screenshots vorliegen) */
.phone-figure { justify-self: center; width: min(100%, 520px); margin: 0; }
.phone { width: 100%; width: min(100%, 520px); padding: 12px; border-radius: 30px; background: #050606; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.phone-screen { overflow: hidden; border-radius: 20px; background: var(--ink-soft); }
.phone-video { position: relative; aspect-ratio: 16 / 9; }
.phone-video img { width: 100%; height: 100%; object-fit: cover; }
.live-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; background: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--white); }
.view-switch { position: absolute; top: 10px; right: 10px; display: flex; background: rgba(10, 12, 13, 0.75); font-size: 11px; font-weight: 700; }
.view-switch span { padding: 4px 9px; color: var(--muted); }
.view-switch span:first-child { background: var(--white); color: var(--ink); }
.phone-timeline { position: relative; height: 6px; margin: 16px 14px 6px; background: rgba(255, 255, 255, 0.14); }
.phone-timeline::before { content: ""; position: absolute; inset: 0 22% 0 0; background: var(--red); }
.phone-timeline i { position: absolute; top: -5px; width: 3px; height: 16px; background: var(--white); }
.phone-times { display: flex; justify-content: space-between; padding: 0 14px; color: var(--muted); font-size: 11px; }
.phone-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.phone-tags span { padding: 9px 4px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; text-align: center; }
.figure-note { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }

/* Abschnitte */
.section { padding-block: 96px; }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--muted-dark); font-size: 18px; }
.section-dark .section-head p { color: var(--muted); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 26px 24px 28px; background: var(--white); border-top: 3px solid var(--red); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 14px; color: var(--red); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; }
.steps h3 { margin-bottom: 8px; font-size: 20px; }
.steps p { color: var(--text-dark); font-size: 16px; }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.feature { padding: 28px 24px 30px; background: var(--ink); }
.feature h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 19px; }
.feature p { color: #c9cdcf; font-size: 15px; }
.pro { padding: 2px 7px; background: var(--red); color: var(--white); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* Daten bleiben in der Halle */
.privacy-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.privacy-band h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.privacy-band > div > p { margin-top: 16px; color: var(--muted-dark); font-size: 18px; }
.facts { display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px; background: var(--white); }
.fact b { color: var(--red); font-size: 34px; font-weight: 800; line-height: 1; }
.fact h3 { margin-bottom: 4px; font-size: 18px; }
.fact p { color: var(--text-dark); font-size: 15px; }

/* Zielgruppen */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.audience { padding: 28px 26px; border: 1px solid var(--line); }
.audience h3 { margin-bottom: 10px; font-size: 20px; }
.audience p { color: #c9cdcf; font-size: 15px; }
.sports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.sports span { padding: 7px 14px; background: var(--ink-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 30px 28px; background: var(--white); border-top: 3px solid var(--line-dark); }
.plan-pro { border-top-color: var(--red); box-shadow: 0 18px 50px rgba(15, 17, 18, 0.12); }
.plan h3 { font-size: 22px; }
.price { margin: 14px 0 4px; font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.price small { color: var(--muted-dark); font-size: 16px; font-weight: 600; }
.price-alt { color: var(--muted-dark); font-size: 14px; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; }
.plan li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--line-dark); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.plan li.no { color: #9aa0a3; }
.plan li.no::before { content: "–"; color: #9aa0a3; }
.price-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.price-extra { padding: 24px 26px; background: var(--ink); color: var(--white); }
.price-extra h3 { margin-bottom: 8px; font-size: 18px; }
.price-extra p { color: #c9cdcf; font-size: 15px; }
.small-print { margin-top: 18px; color: var(--muted-dark); font-size: 14px; }

/* Für Betreiber */
.operator { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.operator figure { margin: 0; background: #111513; }
.operator img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 24px; }
.operator h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.operator p { margin-top: 16px; color: #c9cdcf; font-size: 17px; }
.operator ul { margin: 20px 0 0; padding-left: 20px; color: #c9cdcf; }
.operator li + li { margin-top: 6px; }
.operator .button { margin-top: 28px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq summary { position: relative; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 16px; right: 4px; color: var(--red); font-size: 24px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; color: var(--text-dark); }

.placeholder-note { margin-top: 26px; padding: 12px 16px; border-left: 3px solid var(--red); background: rgba(221, 11, 47, 0.06); color: var(--text-dark); font-size: 14px; }
.section-dark .placeholder-note { background: rgba(255, 255, 255, 0.05); color: #c9cdcf; }

/* Fußzeile */
.site-footer { padding-block: 44px 30px; background: var(--ink); color: var(--muted); font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-top .brand { color: var(--white); }
.footer-top p { max-width: 380px; margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; }

/* Rechtliche Seiten */
.page-hero { padding-block: 72px 56px; background: var(--ink); color: var(--white); }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.legal { padding-block: 56px 80px; }
.legal .wrap > * { max-width: 760px; }
.legal h2 { margin: 34px 0 10px; font-size: 20px; }
.legal p, .legal li { color: var(--text-dark); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 8px 0 0; padding-left: 20px; }
.legal a { color: var(--red-dark); overflow-wrap: anywhere; }

@media (max-width: 1020px) {
    .nav { display: none; }
    .site-header .lang-switch { margin-left: auto; }
    .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 64px 72px; }
    .steps, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .privacy-band, .operator { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .audiences, .plans { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    .brand small { display: none; }
    .site-header .wrap { gap: 14px; }
    .site-header .button { padding: 0 12px; font-size: 13px; }
    .hero .lead { font-size: 17px; }
    .section { padding-block: 64px; }
    .steps, .features, .price-extras { grid-template-columns: minmax(0, 1fr); }
    .fact { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px; }
    .fact b { font-size: 26px; }
    .phone { padding: 8px; border-radius: 22px; }
    .phone-screen { border-radius: 15px; }
    .footer-top, .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}

/* Sprachumschalter DE | EN */
.lang-switch { display: flex; gap: 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.lang-switch a { padding: 6px 8px; color: var(--muted); text-decoration: none; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: var(--white); }
.lang-switch a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--red); }
button.button { border: 0; font-family: inherit; cursor: pointer; }

/* Kontaktformular (Modal, eingefügt von script/js/contact-form.js) */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(10, 12, 13, 0.72); backdrop-filter: blur(5px); }
.modal-backdrop.open { display: flex; }
.modal { position: relative; width: min(620px, 100%); max-height: min(92vh, 860px); overflow: auto; padding: 34px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35); }
.modal [hidden] { display: none !important; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); font-size: 26px; cursor: pointer; }
.modal h2 { max-width: 480px; margin-bottom: 8px; font-size: 32px; font-weight: 800; }
.modal-intro { color: var(--muted-dark); font-size: 15px; }
.form-switcher { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.form-switcher button { padding: 9px 13px; border: 1px solid transparent; background: transparent; color: var(--muted-dark); font-family: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.form-switcher button[aria-pressed="true"] { border-color: var(--red); background: var(--white); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field.is-hidden { display: none; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c5c9cb; border-radius: 0; background: var(--white); color: var(--ink); font-family: inherit; font-size: 15px; }
.form-field textarea { min-height: 104px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 16px 0 14px; color: var(--muted-dark); font-size: 12px; }
.form-privacy a, .form-alternative a { color: var(--red-dark); }
.form-submit { width: 100%; justify-content: center; }
.form-status { min-height: 1em; margin-top: 10px; color: var(--text-dark); font-size: 14px; }
.form-status.is-error { color: var(--red-dark); font-weight: 700; }
.form-success { padding: 8px 0 4px; }
.form-success h3 { margin-bottom: 8px; font-size: 24px; }
.form-success p { margin-bottom: 18px; color: var(--text-dark); }
.form-alternative { margin-top: 14px; color: var(--muted-dark); font-size: 13px; }
@media (max-width: 640px) {
    .modal-backdrop { padding: 10px; }
    .modal { max-height: 94dvh; padding: 28px 18px 22px; }
    .modal h2 { font-size: 26px; }
    .form-switcher { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
    .form-switcher button { min-height: 46px; padding: 6px 4px; font-size: 12px; line-height: 1.2; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .lang-switch a { padding: 6px 5px; }
}

/* Text-Schaltflächen, die das Formular öffnen */
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer .link-button { color: var(--muted); text-decoration: none; }
.site-footer .link-button:hover, .site-footer .link-button:focus-visible { color: var(--white); }
.faq-more { margin-top: 26px; color: var(--text-dark); }
.faq-more .link-button { color: var(--red-dark); font-weight: 700; }
.stores .button { min-height: 52px; }
.site-header .button { white-space: nowrap; }
@media (max-width: 400px) {
    .brand img { width: 30px; height: 30px; }
    .brand span { font-size: 17px; }
    .site-header .wrap { gap: 8px; }
}

/* BEN-Logo (images/svg/bencoach-logo-v2-white.svg: BEN-Schriftzug, darunter "by STAIDIUM") */
.brand .brand-logo { width: auto; height: 62px; object-fit: contain; }
.site-footer .brand .brand-logo { height: 84px; }
@media (max-width: 640px) {
    .brand .brand-logo { height: 52px; }
}
@media (max-width: 400px) {
    .brand .brand-logo { height: 46px; }
}

/* ===================== B2B-Bausteine (benarena.staidium.org) ===================== */

/* Hero: Produktbild statt Foto-Hintergrund, leichter roter Schein */
.hero { background: radial-gradient(ellipse 60% 70% at 78% 40%, rgba(221, 11, 47, 0.18), rgba(221, 11, 47, 0) 70%), var(--ink); }
.hero::after { display: none; }
.hero .wrap.hero-grid { padding-block: 80px 56px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-image { margin: 0; justify-self: center; }
.hero-image img { width: min(100%, 520px); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }

/* Kennzahlen unter dem Hero */
.hero .wrap.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; gap: 2px; padding-block: 0 72px; background: none; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-top: 2px solid var(--red); background: rgba(255, 255, 255, 0.04); }
.fact strong { font-size: 17px; }
.fact span { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* Liste mit roten Haken */
.check-list { margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 6px 0 6px 24px; font-size: 15px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

/* Lösungen */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.solution { padding: 32px 30px; background: var(--white); border-top: 3px solid var(--red); }
.solution h3 { margin-bottom: 10px; font-size: 24px; }
.solution p { color: var(--text-dark); }
.solution .check-list li { color: var(--text-dark); border-top: 1px solid var(--line-dark); }

/* Produkte */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; background: var(--ink-soft); border: 1px solid var(--line); }
.product-image { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f1f1; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 26px; }
.product h3 { font-size: 22px; }
.product-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.product .check-list li { color: #dfe2e3; border-top: 1px solid var(--line); }
.price { margin: auto 0 16px; padding-top: 20px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.price small { color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.price-request { font-size: 22px; }
.button-outline { justify-content: center; background: transparent; box-shadow: inset 0 0 0 1px var(--red); }
.button-outline:hover, .button-outline:focus-visible { background: var(--red); }
.section-dark .small-print { color: var(--muted); }
.small-print a { color: inherit; }

/* Technologie */
#technologie .features, #technology .features { grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--line-dark); border-color: var(--line-dark); }
#technologie .feature, #technology .feature { background: var(--white); }
#technologie .feature p, #technology .feature p { color: var(--text-dark); }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.partners p { color: var(--muted-dark); font-size: 12px; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; }
.partners div { display: flex; flex-wrap: wrap; gap: 8px; }
.partners span { padding: 8px 16px; border: 1px solid var(--line-dark); background: var(--white); font-weight: 800; letter-spacing: 0.04em; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-grid h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.contact-grid .lead { margin: 16px 0 28px; color: #c9cdcf; font-size: 18px; }
.contact-boxes { display: grid; gap: 14px; }
.contact-box { padding: 24px 26px; border: 1px solid var(--line); }
.contact-box h3 { margin-bottom: 8px; font-size: 17px; }
.contact-box p, .contact-box li { color: #c9cdcf; font-size: 15px; }
.contact-box a { color: var(--white); }

/* Fußzeile mit Spalten */
.footer-brand { max-width: 380px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 160px; }
.footer-col h2 { margin-bottom: 4px; color: var(--white); font-size: 13px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col p { margin: 0; }

/* Rechtsseiten: übernommene Inhalte */
.legal h3 { margin: 34px 0 10px; font-size: 21px; }
.legal h4 { margin: 24px 0 8px; font-size: 17px; }
.legal-contact { margin: 8px 0 0; color: var(--text-dark); }
.legal .modal-close { display: none; }

@media (max-width: 1020px) {
    .hero .wrap.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .products { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
    #technologie .features, #technology .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
    .hero .wrap.hero-grid { padding-block: 48px 40px; }
    .hero .wrap.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0 48px; }
    .solutions, #technologie .features, #technology .features { grid-template-columns: minmax(0, 1fr); }
    .solution { padding: 26px 22px; }
    .hero-actions .button { flex: 1 1 100%; justify-content: center; }
}

/* Lange deutsche Woerter in Ueberschriften sauber trennen (z. B. "Sonderkonstruktionen" auf dem Handy) */
h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* STAIDIUM Group: Rücksprung zur Holding ganz rechts in der Kopfzeile */
.brand-group { display: contents; }
.group-link { order: 99; display: flex; flex: 0 0 auto; align-items: center; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.group-link img { display: block; width: auto; height: 28px; opacity: 0.9; transition: opacity 0.2s ease; }
.group-link:hover img, .group-link:focus-visible img { opacity: 1; }
@media (max-width: 640px) {
    .group-link { padding-left: 10px; }
    .group-link img { height: 20px; }
}
@media (max-width: 480px) {
    /* Platz für das Group-Logo: Anfrage-Button steht direkt darunter im Startbereich */
    .site-header .wrap > .button { display: none; }
}

/* Markennamen in Überschriften nie automatisch trennen (z. B. nicht „STAI-DIUM“) */
.nohyph { -webkit-hyphens: manual; hyphens: manual; }
