/*
   FONTS â€“ self-hosted ready, system fallback
   --------------------------------------------------------
   Um Inter selbst zu hosten: Inter-Files (woff2) nach /fonts
   legen und die @font-face Blï¿½cke unten aktivieren.
   Quelle: https://rsms.me/inter/  (SIL Open Font License)
*/

/*
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/Inter-Variable.woff2') format('woff2-variations'),
         url('fonts/Inter-Variable.woff2') format('woff2');
}
*/

:root {
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI Variable Text',
                 'Segoe UI', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
}

/* =====================================================
   DESIGN TOKENS
===================================================== */

:root {
    /* Brand */
    --brand:        #c31924;
    --brand-dark:   #9e1219;
    --brand-deep:   #7a0d12;
    --brand-soft:   rgba(195, 25, 36, 0.08);
    --brand-soft-2: rgba(195, 25, 36, 0.14);
    --brand-grad:   linear-gradient(135deg, #d62330 0%, #a8121c 60%, #7a0d12 100%);

    /* Neutrals */
    --ink:          #0d0d0d;
    --ink-2:        #1a1a1a;
    --body:         #3d3d44;
    --muted:        #6d6d75;
    --soft:         #9a9aa3;
    --line:         #ececef;
    --line-2:       #e4e4e8;
    --bg:           #ffffff;
    --bg-soft:      #f7f7f8;
    --bg-soft-2:    #f1f1f3;
    --bg-deep:      #0e0e10;

    /* Effects */
    --radius-sm:    6px;
    --radius:       10px;
    --radius-lg:    14px;
    --radius-xl:    20px;

    --shadow-xs:    0 1px 2px rgba(15, 15, 20, 0.05);
    --shadow-sm:    0 2px 8px rgba(15, 15, 20, 0.05);
    --shadow:       0 8px 24px rgba(15, 15, 20, 0.07), 0 2px 6px rgba(15, 15, 20, 0.04);
    --shadow-lg:    0 22px 48px rgba(15, 15, 20, 0.10), 0 4px 14px rgba(15, 15, 20, 0.06);
    --shadow-brand: 0 18px 40px rgba(195, 25, 36, 0.22);

    /* Motion */
    --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
    --t-fast:       140ms var(--ease);
    --t:            220ms var(--ease);
    --t-slow:       420ms var(--ease);
}


/* =====================================================
   RESET & BASE
===================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    border: 0;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    font-family: var(--font-sans);
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast);
}

a:hover {
    color: var(--brand);
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--brand);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}


/* =====================================================
   HEADER  â€“  sticky, refined
===================================================== */

.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 4px 14px rgba(15, 15, 20, 0.02);
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--t), background var(--t);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 10px 26px rgba(15, 15, 20, 0.07);
}

/* Red brand stripe sitting INSIDE the header  */
.header::before {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: var(--brand-grad);
    flex-shrink: 0;
}

.header-inner {
    width: 100%;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 36px;
    gap: 24px;
}

.logowrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    width: 260px;
}

.logowrap img {
    max-height: 46px;
    width: auto;
    display: block;
    transition: transform var(--t);
}

.logowrap a:hover img {
    transform: scale(1.03);
}

.navigationwrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.navigation a {
    color: #4a4a52;
    padding: 9px 13px;
    border-radius: 8px;
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
    position: relative;
}

.navigation a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transition: width var(--t);
}

.navigation a:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

.navigation a:hover::after {
    width: 18px;
}

.navigation_active {
    color: var(--brand) !important;
    background: var(--brand-soft) !important;
}

.navigation_active::after {
    width: 18px !important;
}


/* =====================================================
   SUBNAV BAR
===================================================== */

.subnav-bar {
    width: 100%;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0 36px;
    display: flex;
    justify-content: center;
}

.subnavigation {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.subnavigation a {
    color: var(--muted);
    padding: 7px 14px;
    border-radius: 6px;
    transition: color var(--t-fast), background var(--t-fast);
    white-space: nowrap;
}

.subnavigation a:hover,
.subnavigation a.navigation_active {
    color: var(--brand);
    background: var(--brand-soft);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background: #0a0a0c;
    cursor: default;
}

/* Schlanker Hero fuer Text-/Rechtsseiten (Impressum, Datenschutz ...).
   Kompound-Selektor, damit die Hoehe die Media-Query-Werte sicher schlaegt. */
.hero.hero-compact {
    height: clamp(240px, 40vh, 360px);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
    transform: scale(1.0);
    transition: opacity 1.6s var(--ease), transform 1.6s var(--ease);
    will-change: opacity, transform;
}

/* Vorheriges Bild bleibt waehrend des Wechsels voll deckend darunter
   liegen -> das neue Bild blendet darueber ein, ohne dass der dunkle
   Hintergrund durchscheint (kein "Crossfade durch Schwarz"). */
.hero-slide.hold {
    opacity: 1;
    z-index: 1;
    transition: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    animation: heroZoom 10s var(--ease) forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0); }
}

.hero-slide[data-href] { cursor: pointer; }

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 90%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.10) 40%,
            rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px clamp(20px, 5vw, 24px);
    color: #fff;
    pointer-events: none;
    z-index: 2;
}

.hero-content h1 {
    /* fluide Groesse: waechst auf dem Handy spuerbar mit */
    font-size: clamp(2.35rem, 7.2vw, 4.25rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.035em;
    max-width: 18ch;
    margin-bottom: 0;
    text-wrap: balance;
    /* mehrlagiger, weicher Schatten fuer Tiefe statt harter Kante */
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        0 4px 14px rgba(0, 0, 0, 0.40),
        0 16px 44px rgba(0, 0, 0, 0.35);
}

/* dezenter Brand-Akzent unter der Ueberschrift */
.hero-content h1::after {
    content: '';
    display: block;
    width: clamp(46px, 8vw, 72px);
    height: 3px;
    margin: clamp(18px, 2.6vw, 28px) auto clamp(16px, 2.4vw, 24px);
    border-radius: 999px;
    background: var(--brand-grad);
    box-shadow: 0 2px 16px rgba(195, 25, 36, 0.55);
}

.hero-content p {
    font-size: clamp(1.02rem, 2.4vw, 1.22rem);
    font-weight: 400;
    line-height: 1.62;
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.94);
    text-wrap: balance;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.45),
        0 2px 18px rgba(0, 0, 0, 0.55);
}


/* =====================================================
   LIGHTBOX
===================================================== */

#lb {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#lb.on { display: flex; animation: lbFadeIn 0.25s var(--ease); }

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#lb-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 95vh;
}

#lb-c img {
    display: block;
    max-width: 90vw;
    max-height: 86vh;
    border-radius: var(--radius);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.7);
}

#lb-c iframe {
    display: block;
    border: none;
    border-radius: var(--radius);
    max-width: 90vw;
}

#lb-x {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), transform var(--t-fast);
    z-index: 10001;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#lb-x svg { width: 18px; height: 18px; }
#lb-x:hover { background: rgba(255, 255, 255, 0.22); transform: rotate(90deg); }

#lb-p, #lb-n {
    display: none;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast), transform var(--t-fast);
    z-index: 10001;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#lb-p svg, #lb-n svg { width: 22px; height: 22px; }
#lb-p { left: 24px; }
#lb-n { right: 24px; }
#lb-p:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-50%) translateX(-3px); }
#lb-n:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-50%) translateX(3px); }


/* =====================================================
   LAYOUT WRAPPER
===================================================== */

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 40px 28px;
}

.clear { clear: both; }

.spacer {
    width: 50px;
    height: 1px;
    float: left;
}


/* =====================================================
   SMALL TEASER COLUMNS
===================================================== */

.smallteaser {
    width: 320px;
    float: left;
}

.smallteaser h2 {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.smallteaser h2::before {
    content: '';
    display: block;
    width: 26px;
    height: 2px;
    background: var(--brand);
    flex-shrink: 0;
    border-radius: 2px;
}

.smallteaser h2 a { color: var(--muted); }
.smallteaser h2 a:hover { color: var(--brand); }

.smallteaser h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    margin: 16px 0 4px;
    line-height: 1.4;
    letter-spacing: -0.005em;
}

.smallteaser p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--body);
    margin: 0 0 16px;
}

.smallteaser .mailto { font-size: 14.5px; color: var(--body); }
.smallteaser .mailto a:hover { color: var(--brand); }


/* =====================================================
   MAIN CONTENT
===================================================== */

.maincontent {
    width: 720px;
    float: left;
    font-size: 15.5px;
}

.maincontent.solo {
    width: 100% !important;
    max-width: 820px;
    float: none !important;
    margin: 0 auto !important;
}

.maincontent h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 34px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.maincontent h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 64px;
    height: 3px;
    background: var(--brand-grad);
    border-radius: 2px;
}

.maincontent h2 {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 36px 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.maincontent h2::before {
    content: '';
    display: block;
    width: 26px;
    height: 2px;
    background: var(--brand);
    flex-shrink: 0;
    border-radius: 2px;
}

.maincontent h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink-2);
    margin: 24px 0 8px;
    letter-spacing: -0.005em;
}

.maincontent p {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--body);
    margin: 0 0 18px;
}

.maincontent li {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--body);
    margin: 0 0 6px 22px;
}

.maincontent strong {
    font-weight: 600;
    color: var(--ink-2);
}

.maincontent a:not(.arrow):not(.btn_grey):not(.btn_primary) {
    color: var(--brand);
    font-weight: 500;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size var(--t), color var(--t-fast);
}

.maincontent a:not(.arrow):not(.btn_grey):not(.btn_primary):hover {
    color: var(--brand-dark);
    background-size: 100% 1px;
}


/* =====================================================
   ARROW LINKS  (Â»mehrÂ«)
===================================================== */

.arrow,
.iframepop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    background: none;
    padding-left: 0;
    white-space: nowrap;
    transition: gap var(--t-fast), color var(--t-fast);
}

.arrow::after {
    content: '\2192';
    font-size: 15px;
    font-weight: 400;
    transition: transform var(--t-fast);
}

.arrow:hover,
.iframepop:hover {
    color: var(--brand-dark);
    background: none;
    gap: 10px;
}

.arrow:hover::after {
    transform: translateX(3px);
}


/* =====================================================
   IMAGES  (content)
===================================================== */

.squareimg,
.rectimg,
.img220 {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.squareimg { margin: 0 16px 14px 0; }
.rectimg   { margin: 0 0 14px; width: 320px; }
.img220    { margin: 0 24px 14px 0; }


/* =====================================================
   INFOBOX  (Spielerschutz card)
===================================================== */

.infobox {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: center;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
    margin-top: 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t), border-color var(--t), transform var(--t);
    position: relative;
    overflow: hidden;
}

.infobox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-grad);
}

a:hover .infobox {
    box-shadow: var(--shadow);
    border-color: var(--line-2);
    transform: translateY(-3px);
}


/* =====================================================
   GALLERY
===================================================== */

.gallery img,
.galleryimg {
    border-radius: var(--radius);
    transition: opacity var(--t-fast), transform var(--t);
    cursor: pointer;
}

.gallery img:hover,
.galleryimg:hover {
    opacity: 0.92;
    transform: scale(1.02);
}


/* =====================================================
   GALLERY GRID
===================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.gallery-grid a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--t);
}

.gallery-grid a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
    opacity: 0;
    transition: opacity var(--t);
    pointer-events: none;
}

.gallery-grid a:hover {
    box-shadow: var(--shadow);
}

.gallery-grid a:hover::after { opacity: 1; }

.gallery-grid .galleryimg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    transition: transform 0.5s var(--ease), opacity var(--t-fast);
    display: block;
}

.gallery-grid a:hover .galleryimg {
    transform: scale(1.07);
}


/* =====================================================
   BUTTONS
===================================================== */

.btn_grey {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: #fff;
    color: var(--ink-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.btn_grey:hover {
    background: var(--bg-soft);
    border-color: #c8c8cf;
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn_primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--brand-grad);
    color: #fff !important;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    transition: transform var(--t-fast), box-shadow var(--t), filter var(--t-fast);
    cursor: pointer;
    box-shadow: var(--shadow-brand);
    position: relative;
    overflow: hidden;
}

.btn_primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease);
}

.btn_primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 24px 52px rgba(195, 25, 36, 0.32);
}

.btn_primary:hover::after { left: 125%; }


/* =====================================================
   FOOTER
===================================================== */

.footer {
    clear: both;
    margin: 80px calc(50% - 50vw) 0;
    padding: 0 calc(50vw - 50%);
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
    border-top: 1px solid var(--line);
    border-radius: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-grad);
    opacity: 0.85;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 88px 40px 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
}

.footer-col h4 {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h4::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

.footer-col p,
.footer-col li,
.footer-col a {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col a {
    transition: color var(--t-fast);
}

.footer-col a:hover {
    color: var(--brand);
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand-block .footer-logo {
    display: inline-block;
    align-self: flex-start;
    transition: transform var(--t-fast), opacity var(--t-fast);
}

.footer-brand-block .footer-logo img {
    display: block;
    max-height: 52px;
    width: auto;
}

.footer-brand-block .footer-logo:hover {
    transform: translateY(-1px);
    opacity: 0.88;
}

.footer-brand-block .footer-claim {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 40px 36px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--soft);
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a,
.footer a {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--t-fast);
}

.footer-links a:hover,
.footer a:hover {
    color: var(--brand);
}

.footer-credit {
    opacity: 0.85;
    transition: opacity var(--t-fast), color var(--t-fast);
}

.footer-credit:hover {
    opacity: 1;
}


/* =====================================================
   SKIP LINK (Accessibility)
===================================================== */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    z-index: 9999;
    text-decoration: none;
}
.skip-link:focus {
    left: 8px;
    top: 8px;
    color: #fff;
}


/* =====================================================
   JOB CARDS (Stellenangebote)
===================================================== */

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 12px 0 32px;
}

.job-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 26px 22px;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.job-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--line-2);
}
.job-card:hover::before { transform: scaleX(1); }

.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.job-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 4px 10px;
    border-radius: 999px;
}
.job-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    line-height: 1.3;
}
.job-card-short {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}
.job-card-cta {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.jobs-empty {
    background: var(--bg-soft);
    border: 1px dashed var(--line-2);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}
.jobs-empty strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 17px; }


/* =====================================================
   NOTRUF-/HOTLINE-CARD (Spielerschutz)
===================================================== */

.hotline-card {
    background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
    border: 1px solid #f5d4d6;
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin: 18px 0;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t);
}
.hotline-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.hotline-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--brand-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(195, 25, 36, 0.25);
}
.hotline-card-icon svg { width: 26px; height: 26px; }
.hotline-card-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 4px;
}
.hotline-card-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.hotline-card-sub {
    font-size: 13px;
    color: var(--muted);
}
.hotline-card-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transition: color var(--t-fast);
}
.hotline-card-number:hover { color: var(--brand-dark); }

@media (max-width: 640px) {
    .hotline-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 14px;
        padding: 22px 20px;
    }
    .hotline-card-icon { margin: 0 auto; }
    .hotline-card-number { font-size: 22px; }
}


/* =====================================================
   STANDORTFILTER (Spielstï¿½tten-Seite)
===================================================== */

.location-filter {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto 28px;
    max-width: 760px;
    box-shadow: var(--shadow-xs);
}
.location-filter-input {
    flex: 1;
    min-width: 220px;
    border: 1.5px solid var(--line-2);
    border-radius: 10px;
    padding: 11px 16px 11px 42px;
    font-size: 14.5px;
    background-color: #fcfcfd;
    color: var(--ink-2);
    font-family: var(--font-sans);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
    outline: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6d75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='11' cy='11' r='7'/%3e%3cline x1='21' y1='21' x2='16.65' y2='16.65'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 16px;
}
.location-filter-input:focus {
    border-color: var(--brand);
    background-color: #fff;
    box-shadow: 0 0 0 4px var(--brand-soft);
}
.location-filter-count {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.location-card.is-hidden { display: none !important; }


/* =====================================================
   COOKIE BANNER (DSGVO Maps)
===================================================== */

.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 950;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 56px rgba(15, 15, 20, 0.12);
    padding: 18px 22px;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity var(--t-slow), transform var(--t-slow);
    pointer-events: none;
    max-width: 880px;
    margin: 0 auto;
}
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-banner-inner {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    min-width: 240px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--body);
}
.cookie-banner-text strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px;
    font-size: 14px;
}
.cookie-banner-text a {
    color: var(--brand);
    font-weight: 500;
}
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cookie-banner-btn {
    border: 0;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.cookie-banner-btn-secondary {
    background: var(--bg-soft);
    color: var(--ink-2);
}
.cookie-banner-btn-secondary:hover { background: var(--bg-soft-2); }
.cookie-banner-btn-primary {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 6px 16px rgba(195, 25, 36, 0.22);
}
.cookie-banner-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(195, 25, 36, 0.32);
}


/* =====================================================
   MAP CONSENT PLACEHOLDER (statt iframe vor Consent)
===================================================== */

.map-consent {
    background: #1a1a1a url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400" fill="none" stroke="%23333" stroke-width="1"%3e%3cpath d="M0 50 600 50 M0 100 600 100 M0 150 600 150 M0 200 600 200 M0 250 600 250 M0 300 600 300 M0 350 600 350 M50 0 50 400 M150 0 150 400 M250 0 250 400 M350 0 350 400 M450 0 450 400 M550 0 550 400"/%3e%3c/svg%3e') center center / cover;
    color: #fff;
    padding: 48px 28px;
    text-align: center;
    border-radius: var(--radius-lg);
}
.map-consent h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.map-consent p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}
.map-consent button {
    border: 0;
    background: var(--brand-grad);
    color: #fff;
    padding: 11px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-sans);
    box-shadow: var(--shadow-brand);
}


/* =====================================================
   BACK-TO-TOP BUTTON
===================================================== */

#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(195, 25, 36, 0.30);
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    pointer-events: none;
    transition: opacity var(--t), transform var(--t), box-shadow var(--t-fast);
    cursor: pointer;
    z-index: 800;
    border: 0;
}

#back-to-top svg { width: 18px; height: 18px; }

#back-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#back-to-top:hover {
    box-shadow: 0 16px 38px rgba(195, 25, 36, 0.42);
    transform: translateY(-2px) scale(1.05);
}

@media (max-width: 640px) {
    #back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}


/* =====================================================
   GREYSTRIPE  â€“  legacy img, invisible
===================================================== */

img.greystripe {
    display: block;
    width: 100% !important;
    height: 1px !important;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.greystripe { display: none; }


/* =====================================================
   HOMEPAGE â€” SECTIONS
===================================================== */

.section {
    padding: 80px 0 8px;
}

/* Erste Sektion direkt unter dem Hero: kompakterer oberer Abstand
   (zuvor sass hier die Stats-Bar). */
.section--first {
    padding-top: 44px;
}

.section-pad-bottom {
    padding-bottom: 80px;
}

.section-grey {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fcfcfc 100%);
    margin: 0 calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    position: relative;
}

.section-grey::before,
.section-grey::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--line) 50%, transparent 100%);
}

.section-grey::before { top: 0; }
.section-grey::after  { bottom: 0; }

.section-head {
    text-align: center;
    margin-bottom: 52px;
}

.section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: var(--brand-soft);
    border-radius: 999px;
}

.section-head .eyebrow::before {
    content: '';
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--brand);
    border-radius: 2px;
}

.section-head h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.028em;
    line-height: 1.15;
    margin: 0 0 14px;
}

.section-head h2::before { display: none; }

.section-head p {
    font-size: 16px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}


/* Feature Cards Grid */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: box-shadow var(--t), border-color var(--t), transform var(--t);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--brand-soft) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--t-slow);
    pointer-events: none;
}

a:hover .feature-card,
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--line-2);
    transform: translateY(-6px);
}

a:hover .feature-card::before,
.feature-card:hover::before {
    transform: scaleX(1);
}

a:hover .feature-card::after,
.feature-card:hover::after {
    opacity: 1;
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    margin-bottom: 22px;
    transition: transform var(--t), background var(--t);
    position: relative;
    z-index: 1;
}

a:hover .feature-card-icon,
.feature-card:hover .feature-card-icon {
    background: var(--brand-grad);
    color: #fff;
    transform: scale(1.06) rotate(-3deg);
}

.feature-card-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}


/* Location showcase grid (image tiles) */

.loc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.loc-tile {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    display: block;
    background: var(--bg-deep);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t), transform var(--t);
}

.loc-tile:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.loc-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.loc-tile:hover img {
    transform: scale(1.10);
}

.loc-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.20) 55%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
    pointer-events: none;
    transition: background var(--t);
}

.loc-tile:hover .loc-tile-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.10) 100%);
}

.loc-tile-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--t);
}

.loc-tile:hover .loc-tile-name {
    transform: translateX(3px);
}

.loc-tile-name::after {
    content: '\2192';
    font-size: 16px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--t), transform var(--t);
}

.loc-tile:hover .loc-tile-name::after {
    opacity: 1;
    transform: translateX(0);
}


/* CTA banner */

.cta-banner {
    background: var(--brand-grad);
    border-radius: var(--radius-xl);
    padding: 60px 44px;
    color: #fff;
    text-align: center;
    margin: 24px 0 0;
    box-shadow: 0 24px 60px rgba(195, 25, 36, 0.22);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.18) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0,0,0,0.18) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner h3 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-banner p,
.cta-banner li,
.cta-banner strong,
.maincontent .cta-banner p,
.maincontent .cta-banner li,
.maincontent .cta-banner strong {
    font-size: 16px;
    opacity: 0.95;
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    color: #fff;
}

.cta-banner .btn_primary {
    background: #fff;
    color: var(--brand) !important;
    border-color: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 1;
}

.cta-banner .btn_primary:hover {
    background: #f7f7f8;
    color: var(--brand-dark) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}


/* =====================================================
   NAV TOGGLE  â€“  desktop: hidden
===================================================== */

.nav-toggle {
    display: none;
}


/* =====================================================
   RESPONSIVE â€” Fluid + Hamburger  â‰¤ 980 px
===================================================== */

@media (max-width: 980px) {

    .wrap { padding: 44px 24px 16px; }

    .header-inner {
        justify-content: space-between;
        padding: 0 20px;
        height: 70px;
    }

    .logowrap { width: auto; }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        align-self: center;
        background: #fff;
        border: 1px solid var(--line-2);
        border-radius: 10px;
        cursor: pointer;
        color: var(--ink-2);
        transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast), transform var(--t-fast);
        padding: 0;
        box-shadow: var(--shadow-xs);
    }

    .nav-toggle svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    .nav-toggle:hover {
        border-color: var(--brand);
        color: var(--brand);
        transform: scale(1.04);
    }

    .nav-toggle svg line {
        transition: transform 0.28s var(--ease), opacity var(--t-fast);
        transform-box: fill-box;
        transform-origin: 50% 50%;
    }

    .header.nav-open .nav-toggle {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
    }

    .header.nav-open .nav-toggle .nt-l2 { opacity: 0; }
    .header.nav-open .nav-toggle .nt-l1 { transform: translateY(6px) rotate(45deg); }
    .header.nav-open .nav-toggle .nt-l3 { transform: translateY(-6px) rotate(-45deg); }

    .navigationwrap { display: none; }

    .header.nav-open .navigationwrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        height: auto;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 16px 18px 22px;
        z-index: 850;
        box-shadow: 0 18px 56px rgba(0, 0, 0, 0.10);
        gap: 0;
        animation: navSlide 0.28s var(--ease);
    }

    @keyframes navSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .header.nav-open .navigation {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        font-size: 13.5px;
        letter-spacing: 0.10em;
    }

    .header.nav-open .navigation a {
        padding: 14px 16px;
        border-radius: 10px;
        color: var(--ink-2);
    }

    .header.nav-open .navigation a::after { display: none; }

    .header-inner {
        position: relative;
    }

    .maincontent { width: 64% !important; }
    .wrap > .spacer { width: 2% !important; min-width: 6px; }
    .wrap > .smallteaser { width: 31% !important; }
    .maincontent > .smallteaser { width: 47% !important; }
    .maincontent > .spacer { width: 4% !important; }

    .hero { height: 480px; }
    /* Schriftgroessen regelt jetzt clamp() im Basis-Stil */

    .subnav-bar {
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .subnavigation {
        padding: 0 20px;
        height: 44px;
    }

    .section { padding: 60px 0 4px; }
    .section-pad-bottom { padding-bottom: 60px; }
    .section-head h2 { font-size: 30px; }
    .section-head { margin-bottom: 40px; }

    /* Standorte-Sektion bekommt etwas mehr horizontalen Innenabstand */
    .section-grey {
        padding-left: 32px;
        padding-right: 32px;
    }

    .feature-grid { grid-template-columns: 1fr; gap: 18px; }

    .loc-grid { grid-template-columns: repeat(3, 1fr); }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); }

    /* Footer 2x2 */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 68px 28px 36px;
    }
    .footer-bottom {
        padding: 22px 28px 30px;
    }

    .footer { margin-top: 72px; }
}


/* =====================================================
   RESPONSIVE â€” Mobile  â‰¤ 640 px
===================================================== */

@media (max-width: 640px) {

    body { font-size: 14.5px; }

    .header-inner {
        padding: 0 14px;
        height: 64px;
    }

    .logowrap img { max-height: 38px; }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .hero { height: 440px; }
    .hero-content { padding: 28px 22px; }
    /* Schriftgroessen regelt clamp() im Basis-Stil */

    .wrap {
        padding: 28px 16px 12px;
        max-width: 100%;
    }

    .maincontent,
    .maincontent > .smallteaser,
    .wrap > .smallteaser,
    .smallteaser {
        width: 100% !important;
        float: none !important;
        margin-bottom: 32px;
    }

    .spacer,
    .wrap > .spacer,
    .maincontent > .spacer {
        display: none !important;
    }

    .maincontent h1 {
        font-size: 26px;
        margin-bottom: 24px;
        padding-bottom: 18px;
    }

    .maincontent p, .maincontent li { font-size: 15px; }

    .subnav-bar { padding: 0; }
    .subnavigation { padding: 0 14px; height: 42px; font-size: 10px; }
    .subnavigation a { padding: 6px 11px; }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

    .img220, .rectimg {
        float: none !important;
        width: 100% !important;
        max-width: 100%;
        margin: 0 0 18px 0;
    }

    #lb-p { left: 8px; }
    #lb-n { right: 8px; }
    #lb-x { right: 12px; top: 12px; }
    #lb-c img { max-width: 95vw; max-height: 75vh; }
    #lb-c iframe { width: 95vw !important; height: 58vh; }

    .section { padding: 48px 0 4px; }
    .section-pad-bottom { padding-bottom: 48px; }
    .section-head { margin-bottom: 32px; }
    .section-head h2 { font-size: 26px; }
    .section-head p { font-size: 14.5px; }

    /* Standorte-Sektion (graue Section): mehr Innenabstand auf Mobile */
    .section-grey {
        padding-left: 28px;
        padding-right: 28px;
        padding-top: 12px;
        padding-bottom: 16px;
    }

    .feature-card { padding: 28px 22px; }
    .feature-card h3 { font-size: 17px; }

    .loc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .loc-tile-name { font-size: 12.5px; }

    .cta-banner { padding: 38px 24px; border-radius: var(--radius-lg); }
    .cta-banner h3 { font-size: 24px; }
    .cta-banner p { font-size: 14.5px; }

    /* Footer single column */
    .footer { margin-top: 56px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 56px 20px 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        text-align: center;
        padding: 24px 20px 32px;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 22px;
    }
}


/* =====================================================
   ZENTRALE  ·  Statischer zweispaltiger Block
===================================================== */

.cz {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.cz-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.cz-media {
    position: relative;
}

.cz-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.cz-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--brand-soft);
    border-radius: 999px;
}

.cz-text h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.028em;
    line-height: 1.12;
    margin: 0 0 18px;
}

.cz-text p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 14px;
}

.cz-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .cz { padding: 56px 24px; }
    .cz-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


/* =====================================================
   TOUCH-/TAP-FEEDBACK  (Punkt 12)
===================================================== */

/* Buttons: spuerbares Druck-Feedback auf allen Geraeten.
   Nach den :hover-Regeln definiert, damit der Press-State gewinnt. */
.btn_primary:active,
.btn_grey:active {
    transform: translateY(0) scale(0.97);
    box-shadow: var(--shadow-sm);
    transition-duration: 60ms;
}

/* Karten/Kacheln: Tap-Feedback dort, wo es kein Hover gibt (Touch) */
@media (hover: none) {
    a:active .feature-card,
    .feature-card:active,
    a:active .job-card,
    .job-card:active,
    .loc-tile:active,
    .link-list-item:active,
    .hotline-card:active {
        transform: scale(0.985);
        transition: transform 80ms var(--ease);
    }
}
