/* =========================================================
   Hoffmann Twins – Stylesheet
   Dunkles Sportdesign in den Logofarben Gelb und Blau.
   Mobile-first, ohne externe Abhängigkeiten.
   ========================================================= */

@font-face {
    font-family: "Barlow Condensed";
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800.woff2") format("woff2");
}

:root {
    --bg: #0b0d12;
    --panel: #12161e;
    --panel-2: #1a202b;
    --line: rgba(255, 255, 255, 0.12);
    --text: #e9ecf1;
    --muted: #a7b0be;
    --yellow: #f2cf00;
    --yellow-dark: #c9ab00;
    --blue: #0a5cb4;
    --blue-light: #5aa6f5;
    --ink: #0b0d12;
    --error: #ff8a80;
    --success: #7be0a4;
    --radius: 4px;
    --max: 76rem;
    --narrow: 48rem;
    --gutter: 1.1rem;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --header-h: 4.25rem;
    --slant: 1.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: var(--font);
    font-size: 100%;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: #fff;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.6rem, 1.4rem + 5.6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

p {
    margin: 0 0 1.1rem;
}

a {
    color: var(--yellow);
    text-underline-offset: 0.2em;
}

a:hover {
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow {
    max-width: var(--narrow);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--yellow);
    color: var(--ink);
    padding: 0.5rem 1rem;
    z-index: 100;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.icon {
    width: 1.35rem;
    height: 1.35rem;
    flex: none;
}

.center {
    text-align: center;
}

.note {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Kleine Überzeile mit gelbem Balken */
.kicker {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 0.9rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
}

.kicker::before {
    content: "";
    width: 2.25rem;
    height: 4px;
    background: var(--yellow);
    transform: skewX(-20deg);
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    clip-path: polygon(0.7rem 0, 100% 0, calc(100% - 0.7rem) 100%, 0 100%);
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--yellow);
    color: var(--ink);
}

.button--primary:hover {
    background: #fff;
    color: var(--ink);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.button--ghost:hover {
    background: #fff;
    color: var(--ink);
}

.button--dark {
    background: var(--ink);
    color: #fff;
}

.button--dark:hover {
    background: var(--blue);
    color: #fff;
}

.button--outline-dark {
    background: rgba(11, 13, 18, 0.12);
    color: var(--ink);
}

.button--outline-dark:hover {
    background: var(--ink);
    color: #fff;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 13, 18, 0.94);
    border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(8px)) {
    .site-header {
        background: rgba(11, 13, 18, 0.8);
        backdrop-filter: blur(10px);
    }
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 0 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #fff;
}

.brand img {
    display: block;
    height: 2.6rem;
    width: auto;
}

.brand__name {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.brand__name > span:first-of-type {
    color: var(--yellow);
}

.nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    background: transparent;
    border: 1px solid var(--line);
    color: #fff;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 1.3rem;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -0.4rem;
}

.nav-toggle__bars::after {
    top: 0.4rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(0.4rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-0.4rem) rotate(-45deg);
}

.site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    padding: 0.5rem 0 1.25rem;
}

.site-nav.is-open {
    display: flex;
}

.site-nav a {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--yellow);
}

.site-nav__cta {
    margin-top: 1rem;
    background: var(--yellow);
    color: var(--ink) !important;
    text-align: center;
    border-bottom: 0 !important;
    clip-path: polygon(0.6rem 0, 100% 0, calc(100% - 0.6rem) 100%, 0 100%);
}

.site-nav__cta:hover {
    background: #fff;
}

/* ---------- Hero (Startseite) ---------- */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(46rem, 100vh);
    padding: 16rem 0 clamp(5rem, 10vw, 7rem);
    overflow: hidden;
    background: var(--bg);
}

.hero__media {
    position: absolute;
    inset: 0 0 auto;
    height: 58%;
    z-index: -1;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 13, 18, 0.45) 0%, rgba(11, 13, 18, 0) 25%, rgba(11, 13, 18, 0.35) 62%, var(--bg) 100%);
}

.hero h1 {
    font-size: clamp(3.9rem, 1.6rem + 12vw, 10.5rem);
    line-height: 0.86;
    letter-spacing: -0.005em;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero h1 span {
    display: block;
    color: var(--yellow);
}

.hero__lead {
    max-width: 34rem;
    font-size: 1.15rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

/* ---------- Kennzahlen ---------- */

.stats {
    position: relative;
    z-index: 1;
    margin-top: -3rem;
}

.stats__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.stats__list li {
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.1rem;
    background: var(--panel);
}

.stats__value {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.8rem, 2rem + 3vw, 4.25rem);
    line-height: 0.95;
    color: var(--yellow);
}

.stats__label {
    margin-top: 0.4rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
    color: #fff;
}

.stats__note {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ---------- Abschnitte ---------- */

.section {
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section--panel {
    background: var(--panel);
}

.section__head {
    max-width: 46rem;
    margin-bottom: 2.5rem;
}

.section__intro {
    color: var(--muted);
    font-size: 1.08rem;
}

/* ---------- Alex & Rudi ---------- */

.twins {
    display: grid;
    gap: 1.5rem;
}

.twin {
    background: var(--panel);
    border: 1px solid var(--line);
    overflow: hidden;
}

.twin__media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.twin__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.twin:hover .twin__media img {
    transform: scale(1.04);
}

.twin__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--yellow) 0 50%, var(--blue) 50% 100%);
}

.twin__body {
    padding: 1.6rem 1.4rem 1.75rem;
}

.twin__nick {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow);
}

.twin h3 {
    font-size: 2.1rem;
    font-weight: 800;
}

.record {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin: 0;
    background: var(--line);
    border: 1px solid var(--line);
}

.record div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding: 0.7rem 0.35rem 0.6rem;
    background: var(--bg);
    text-align: center;
}

.record dd {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--yellow);
}

.record dt {
    margin-top: 0.3rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--muted);
    hyphens: auto;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.check-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.check-list .icon {
    color: var(--yellow);
    margin-top: 0.2rem;
}

/* ---------- Bild und Text nebeneinander ---------- */

.feature {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.feature__media {
    position: relative;
    max-width: 30rem;
    margin: 0 auto;
    width: 100%;
}

.feature__media img {
    display: block;
    width: 100%;
    max-height: 34rem;
    object-fit: cover;
    clip-path: polygon(0 0, calc(100% - var(--slant)) 0, 100% var(--slant), 100% 100%, var(--slant) 100%, 0 calc(100% - var(--slant)));
}

.feature__media::before {
    content: "";
    position: absolute;
    inset: 0.9rem -0.9rem -0.9rem 0.9rem;
    border: 3px solid var(--yellow);
    z-index: 0;
    clip-path: polygon(0 0, calc(100% - var(--slant)) 0, 100% var(--slant), 100% 100%, var(--slant) 100%, 0 calc(100% - var(--slant)));
    opacity: 0.85;
}

.feature__media img {
    position: relative;
    z-index: 1;
}

.feature__media--video {
    max-width: 21rem;
}

.feature__media--video::before {
    clip-path: none;
}

.feature__media video {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    background: #000;
}

.feature__text p {
    color: #d5dae2;
}

.feature__text h2 {
    font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
}

/* ---------- Gelbes Aktionsband ---------- */

.cta {
    position: relative;
    background: var(--yellow);
    color: var(--ink);
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -6rem;
    width: 22rem;
    background: var(--blue);
    transform: skewX(-18deg);
    opacity: 0.95;
}

.cta__inner {
    position: relative;
    display: grid;
    gap: 2rem;
    align-items: center;
}

.cta__inner--single {
    max-width: 52rem;
    margin-left: 0;
}

.cta h2 {
    color: var(--ink);
}

.cta p {
    max-width: 40rem;
    font-size: 1.05rem;
}

.cta__media img {
    display: block;
    width: 100%;
    max-width: 22rem;
    border: 5px solid var(--ink);
}

/* ---------- Social Media ---------- */

.follow {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: var(--bg);
}

.follow__inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.follow p:not(.kicker) {
    color: var(--muted);
    max-width: 40rem;
    margin: 0;
}

.social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.social a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--line);
    background: var(--panel);
    color: #fff;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.social a:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink);
}

/* ---------- Sponsoren ---------- */

.sponsors {
    background: #f4f5f7;
    color: var(--ink);
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.sponsors h2 {
    color: var(--ink);
}

.sponsors .kicker {
    color: var(--blue);
}

.sponsors .kicker::before {
    background: var(--blue);
}

.sponsors__main {
    display: grid;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
    max-width: 34rem;
}

.sponsors__main p,
.sponsors__label {
    margin: 0 0 0.75rem;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4a5261;
}

.sponsor {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 6.5rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e1e4ea;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.sponsor:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(11, 13, 18, 0.12);
}

.sponsor img {
    display: block;
    max-height: 4.25rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.sponsor--main {
    min-height: 8rem;
    border-top: 5px solid var(--yellow);
}

.sponsor--main img {
    max-height: 6rem;
}

.sponsors__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* ---------- Kopf der Unterseiten ---------- */

.page-hero {
    position: relative;
    padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
    background:
        linear-gradient(115deg, rgba(10, 92, 180, 0.32) 0%, rgba(10, 92, 180, 0) 45%),
        var(--panel);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -5.5rem;
    width: 8rem;
    background: var(--yellow);
    transform: skewX(-18deg);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 52rem;
    padding-right: 2.5rem;
}

.page-hero__lead {
    max-width: 40rem;
    padding-right: 2.5rem;
    font-size: 1.15rem;
    color: #d5dae2;
    margin: 0;
}

.page-hero--center {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* ---------- Fließtext ---------- */

.prose h2 {
    font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem);
    margin-top: 2.5rem;
}

.prose > h2:first-child,
.prose > .kicker + h2 {
    margin-top: 0;
}

.prose p,
.prose li {
    color: #d5dae2;
}

.prose__lead {
    font-size: 1.2rem;
    color: #fff !important;
}

.prose ul {
    padding-left: 1.25rem;
}

.notice {
    margin: 1.75rem 0;
    padding: 1.25rem 1.4rem;
    background: var(--panel);
    border-left: 5px solid var(--yellow);
}

.notice p:last-child {
    margin-bottom: 0;
}

.jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.jump a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--line);
    background: var(--panel);
    color: #fff;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jump a:hover {
    background: var(--yellow);
    color: var(--ink);
}

/* ---------- Zeitleiste (Geschichte) ---------- */

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3.5rem;
}

.timeline__item {
    display: grid;
    gap: 0.5rem;
}

.timeline__year {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(4rem, 2.5rem + 8vw, 7.5rem);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 2px var(--yellow);
    text-transform: uppercase;
}

.timeline__body h2 {
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem);
}

.timeline__body p {
    color: #d5dae2;
}

.timeline__media {
    margin: 0 0 1.5rem;
}

.timeline__media img {
    display: block;
    width: 100%;
    max-width: 36rem;
    max-height: 30rem;
    object-fit: cover;
    object-position: 50% 25%;
    border-left: 5px solid var(--yellow);
}

/* ---------- Karten ---------- */

.cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
    position: relative;
    padding: 1.75rem 1.5rem;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-top: 4px solid var(--yellow);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.1rem;
    background: var(--yellow);
    color: var(--ink);
    clip-path: polygon(0.5rem 0, 100% 0, calc(100% - 0.5rem) 100%, 0 100%);
}

.card__icon .icon {
    width: 1.6rem;
    height: 1.6rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

/* ---------- Presse und Fernsehen ---------- */

.media-columns {
    display: grid;
    gap: 2.5rem;
}

.linklist {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.linklist a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 1rem;
    align-items: center;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid var(--line);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.15s ease, padding 0.15s ease;
}

.linklist a:hover {
    background: var(--panel);
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.linklist__source {
    grid-column: 1;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--yellow);
}

.linklist__title {
    grid-column: 1;
    font-weight: 600;
    line-height: 1.4;
}

.linklist .icon {
    grid-column: 2;
    grid-row: 1 / 3;
    color: var(--muted);
}

/* ---------- Galerie ---------- */

.gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

.gallery__item {
    margin: 0;
    background: var(--panel-2);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 20%;
}

.gallery__item figcaption {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #d5dae2;
}

.gallery--tall {
    margin-bottom: 2.5rem;
}

.gallery--tall .gallery__item {
    background: #0e1117;
}

.gallery--tall .gallery__item img {
    aspect-ratio: 3 / 4;
    object-fit: contain;
}

/* ---------- Kacheln (Produkte) ---------- */

.tiles {
    display: grid;
    gap: 1.5rem;
}

.tile {
    display: grid;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.tile:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
    color: var(--text);
}

.tile__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0e1117;
}

.tile__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.tile__body {
    padding: 1.6rem 1.4rem 1.75rem;
}

.tile__body h2 {
    font-size: 2rem;
}

.tile__body p {
    color: var(--muted);
}

.tile__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--yellow);
}

/* ---------- Empfehlungen ---------- */

.products {
    display: grid;
    gap: 2rem;
}

.products__aside img {
    display: block;
    width: 100%;
    max-width: 22rem;
    margin-top: 1rem;
    border-left: 5px solid var(--yellow);
}

.products__list {
    display: grid;
    gap: 1rem;
}

.product {
    padding: 1.5rem 1.4rem;
    background: var(--panel-2);
    border: 1px solid var(--line);
}

.section:not(.section--panel) .product {
    background: var(--panel);
}

.product h3 {
    font-size: 1.6rem;
}

.product p,
.product li {
    color: #d5dae2;
}

.product ul {
    margin: 0 0 1.1rem;
    padding-left: 1.25rem;
}

.product__list-title {
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: #fff !important;
}

.product__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.product__ad {
    padding: 0.1rem 0.45rem;
    border: 1px solid currentColor;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--muted);
}

/* ---------- Kontakt ---------- */

.contact {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

.contact__info p {
    color: #d5dae2;
}

.contact__list {
    list-style: none;
    margin: 1.75rem 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.contact__list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.contact__list .icon {
    color: var(--yellow);
    margin-top: 0.2rem;
}

.contact__list address {
    font-style: normal;
}

.contact__form {
    padding: 1.75rem 1.4rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-top: 5px solid var(--yellow);
}

.contact__form h2 {
    font-size: 2rem;
}

/* ---------- Formular ---------- */

.form__row {
    display: grid;
    gap: 0 1rem;
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.field__required {
    color: var(--yellow);
}

.field__optional {
    color: var(--muted);
    font-weight: 400;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    color: #fff;
    background: #0b0d12;
    border: 1px solid #3a4352;
    border-radius: var(--radius);
    padding: 0.75rem 0.85rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
    resize: vertical;
    min-height: 9rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(242, 207, 0, 0.25);
}

.field [aria-invalid="true"] {
    border-color: var(--error);
}

.field__error {
    color: var(--error);
    font-size: 0.9rem;
    margin: 0.35rem 0 0;
}

.field--checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.6rem;
    align-items: start;
}

.field--checkbox input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0.3rem 0 0;
    accent-color: var(--yellow);
}

.field--checkbox label {
    font-weight: 400;
    margin: 0;
}

.field--checkbox .field__error {
    grid-column: 1 / -1;
}

.form__hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form__required-hint,
.form__note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.form__note {
    margin-top: 1.25rem;
}

.alert {
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
    border-left: 5px solid;
    background: #0b0d12;
}

.alert--success {
    border-color: var(--success);
    color: var(--success);
}

.alert--error {
    border-color: var(--error);
    color: var(--error);
}

.alert--info {
    border-color: var(--blue-light);
    color: var(--blue-light);
}

altcha-widget {
    display: block;
    max-width: 22rem;
    --altcha-border-width: 1px;
    --altcha-border-color: #3a4352;
    --altcha-border-radius: 4px;
    --altcha-color-base: #0b0d12;
    --altcha-color-base-content: #ffffff;
    --altcha-color-primary: #f2cf00;
    --altcha-color-primary-content: #0b0d12;
    --altcha-color-error: #ff8a80;
    --altcha-checkbox-border-color: #6b7686;
    --altcha-max-width: 100%;
}

/* ---------- Baustellenseite ---------- */

.construction__logo {
    display: block;
    width: 9rem;
    height: auto;
    margin-bottom: 2rem;
}

.construction__contact {
    margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #06070a;
    border-top: 5px solid var(--yellow);
    padding: 3rem 0 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer__inner {
    display: grid;
    gap: 2rem;
}

.site-footer__about img {
    display: block;
    width: 7rem;
    height: auto;
    margin-bottom: 0.9rem;
}

.site-footer__about p {
    margin: 0;
}

.site-footer__nav {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 0.5rem 2.5rem;
    align-content: start;
}

.site-footer__nav a {
    white-space: nowrap;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

.site-footer__nav a:hover {
    color: var(--yellow);
}

.site-footer__copy {
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.site-footer__copy span {
    display: inline-flex;
    gap: 1.1rem;
}

.site-footer__copy a {
    color: var(--muted);
}

.site-footer__copy a:hover {
    color: #fff;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 40em) {
    :root {
        --gutter: 1.5rem;
    }

    .form__row {
        grid-template-columns: 1fr 1fr;
    }

    .twins,
    .tiles {
        grid-template-columns: 1fr 1fr;
    }

    .sponsors__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta__inner:not(.cta__inner--single) {
        grid-template-columns: auto 1fr;
        gap: 2.5rem;
    }

    .cta__media img {
        max-width: 16rem;
    }

    .contact__form {
        padding: 2.25rem 2rem;
    }
}

@media (min-width: 58em) {
    :root {
        --header-h: 4.75rem;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: flex;
        flex-basis: auto;
        flex-direction: row;
        align-items: center;
        gap: 1.6rem;
        padding: 0;
    }

    .site-nav a {
        font-size: 1.15rem;
        padding: 0.4rem 0;
        border-bottom: 3px solid transparent;
    }

    .site-nav a:hover,
    .site-nav a[aria-current="page"] {
        border-bottom-color: var(--yellow);
    }

    .site-nav__cta {
        margin-top: 0;
        padding: 0.6rem 1.4rem !important;
    }

    /* Breite Ansicht: Bild rechts, Text links davor */
    .hero {
        align-items: center;
        min-height: min(44rem, 88vh);
        padding-top: 4rem;
    }

    .hero__media {
        inset: 0 0 0 36%;
        height: auto;
    }

    .hero__media img {
        object-position: 50% 12%;
    }

    .hero__media::after {
        background:
            linear-gradient(90deg, var(--bg) 0%, rgba(11, 13, 18, 0.55) 22%, rgba(11, 13, 18, 0) 55%),
            linear-gradient(180deg, rgba(11, 13, 18, 0.35) 0%, rgba(11, 13, 18, 0) 25%, rgba(11, 13, 18, 0.2) 70%, var(--bg) 100%);
    }

    .hero h1 {
        font-size: clamp(5.5rem, 9.5vw, 9rem);
    }

    .hero__lead {
        max-width: 26rem;
    }

    .stats__list {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats__list li {
        padding: 1.75rem 1.5rem;
    }

    .feature {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 4.5rem;
    }

    .feature--flip .feature__media {
        order: 2;
    }

    .feature--top {
        align-items: start;
    }

    .feature--top .feature__media {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
    }

    .cta__media img {
        max-width: 20rem;
    }

    .follow__inner {
        grid-template-columns: 1fr auto;
        gap: 3rem;
    }

    .sponsors__grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .timeline__item {
        grid-template-columns: 16rem 1fr;
        gap: 3rem;
        align-items: start;
    }

    .timeline__year {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
        text-align: right;
        font-size: 6.5rem;
    }

    .media-columns {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }

    .products {
        grid-template-columns: 20rem 1fr;
        gap: 3.5rem;
        align-items: start;
    }

    .products__aside {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
    }

    .contact {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 4rem;
    }

    .site-footer__inner {
        grid-template-columns: 1.2fr 1fr auto;
        gap: 3rem;
    }

    .site-footer__copy {
        grid-column: 1 / -1;
    }

    .page-hero::after {
        width: 14rem;
        right: -3rem;
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
