/* ============================================
   Sport in Scharnhorst – Stylesheet
   ============================================ */

:root {
    --bg: #0e0e10;
    --bg-alt: #15151a;
    --surface: #ffffff;
    --surface-alt: #f5f5f7;
    --text: #15151a;
    --text-muted: #5a5a66;
    --text-invert: #ffffff;
    --accent: #ffd200;          /* Dortmund-Gelb */
    --accent-dark: #e6bd00;
    --accent-2: #ff6b35;        /* Sport-Orange */
    --accent-3: #00b4d8;        /* Sport-Blau */
    --border: #e5e5ea;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.15);
    --max: 1180px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

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

/* ---------- Typography ---------- */

h1, h2, h3 {
    font-family: 'Archivo Black', 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
}

h1 {
    font-size: clamp(2.4rem, 6vw + 1rem, 5.2rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 3rem);
    text-transform: uppercase;
}

h3 {
    font-size: 1.25rem;
    text-transform: none;
    letter-spacing: 0;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.section-tag {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text);
    padding: 6px 12px;
    background: var(--accent);
    border-radius: 999px;
    margin-bottom: 1.2rem;
}

.section-tag.light {
    background: rgba(255, 210, 0, .15);
    color: var(--accent);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: .98rem;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 6px 20px rgba(255, 210, 0, .35);
}
.btn-primary:hover {
    background: var(--bg);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-invert);
    border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-small {
    padding: 10px 18px;
    font-size: .88rem;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}
.btn-outline:hover {
    background: var(--text);
    color: var(--surface);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-weight: 700;
    font-size: .95rem;
    color: var(--text);
    margin-top: auto;
    transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-arrow:hover {
    gap: .8em;
    color: var(--accent-2);
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(14, 14, 16, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text-invert);
    transition: background .3s var(--ease), padding .3s var(--ease);
}
.site-header.scrolled {
    padding: 8px 0;
    background: rgba(14, 14, 16, .96);
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-invert);
    font-weight: 700;
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 10px;
    font-family: 'Archivo Black', sans-serif;
    font-size: .82rem;
    letter-spacing: 0;
}
.logo-text { font-size: 1.05rem; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-nav {
    display: flex;
    align-items: center;
}
.primary-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    display: inline-block;
    padding: 10px 16px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text-invert);
    border-radius: 999px;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.primary-nav a:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ---------- Language switcher ---------- */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.14);
}
.lang-pill {
    background: transparent;
    border: 0;
    padding: 5px 6px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s var(--ease), transform .2s var(--ease);
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lang-pill .flag {
    display: block;
    height: 14px;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.18);
    transition: box-shadow .2s var(--ease);
    flex-shrink: 0;
}
.lang-pill:hover {
    background: rgba(255,255,255,.1);
}
.lang-pill:hover .flag {
    box-shadow: 0 0 0 1px rgba(255,255,255,.5);
}
.lang-pill.active {
    background: var(--accent);
}
.lang-pill.active .flag {
    box-shadow: 0 0 0 1.5px rgba(14,14,16,.55);
}

/* RTL: flip the divider side */
[dir="rtl"] .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    margin-right: 14px;
    padding-right: 14px;
    border-left: 0;
    border-right: 1px solid rgba(255,255,255,.14);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-invert);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #0e0e10 0%, #1a1a22 55%, #2a1f00 100%);
    color: var(--text-invert);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}
.shape-1 {
    width: 480px; height: 480px;
    background: var(--accent);
    top: -100px; right: -120px;
    animation: float 14s ease-in-out infinite;
}
.shape-2 {
    width: 360px; height: 360px;
    background: var(--accent-2);
    bottom: -120px; left: -80px;
    animation: float 18s ease-in-out infinite reverse;
}
.shape-3 {
    width: 280px; height: 280px;
    background: var(--accent-3);
    top: 40%; left: 45%;
    opacity: .25;
    animation: float 22s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.2rem;
    padding: 6px 14px;
    border: 1px solid rgba(255, 210, 0, .4);
    border-radius: 999px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-sub {
    font-size: clamp(1.2rem, 1.5vw + .8rem, 1.8rem);
    font-weight: 600;
    color: var(--text-invert);
    margin: 0 0 1rem;
}

.hero-lead {
    font-size: 1.1rem;
    max-width: 580px;
    color: rgba(255,255,255,.75);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.12);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-top: 6px;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 14px;
    z-index: 2;
}
.scroll-hint span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Intro ---------- */

.intro {
    padding: 100px 0;
    background: var(--surface);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 { margin-bottom: 1.2rem; }
.intro-text p { font-size: 1.05rem; }

.intro-card {
    position: relative;
}
.intro-card-inner {
    background: var(--bg);
    color: var(--text-invert);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.intro-card-inner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    background: var(--accent);
    border-radius: 50%;
    opacity: .2;
}
.intro-card-inner h3 {
    color: var(--text-invert);
    font-size: 1.5rem;
    margin-bottom: .8rem;
}
.intro-card-inner p { color: rgba(255,255,255,.75); }
.intro-card-inner .link-arrow { color: var(--accent); }
.intro-card-inner .link-arrow:hover { color: var(--text-invert); }

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 1rem;
}

/* ---------- Vereine ---------- */

.clubs {
    padding: 100px 0;
    background: var(--surface);
}

.club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.club-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.club-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.club-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.club-tag, .club-sport {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 4px 10px;
    border-radius: 999px;
}
.club-tag {
    background: var(--bg);
    color: var(--accent);
}
.club-sport {
    background: var(--surface-alt);
    color: var(--text-muted);
}

.club-card h4 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    margin: 0 0 .4em;
}
.club-card p {
    font-size: .95rem;
    flex-grow: 1;
}

.club-section {
    margin-bottom: 60px;
}
.club-section:last-child { margin-bottom: 0; }

.stadtteil-heading {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.4rem, 1.2vw + 1rem, 1.8rem);
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0 0 26px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.stadtteil-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 64px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.stadtteil-name {
    flex: 1 1 auto;
    color: var(--text);
}
.stadtteil-count {
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--text-muted);
}

.club-card.highlight {
    background: linear-gradient(135deg, var(--bg) 0%, #1c1c24 100%);
    color: var(--text-invert);
    border-color: var(--accent);
}
.club-card.highlight h4 { color: var(--text-invert); }
.club-card.highlight p { color: rgba(255,255,255,.75); }
.club-card.highlight .club-tag {
    background: var(--accent);
    color: var(--bg);
}
.club-card.highlight .club-sport {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
}
.club-card.highlight .btn-small {
    background: var(--accent);
    color: var(--bg);
}
.club-card.highlight .btn-small:hover {
    background: var(--text-invert);
}

.no-website {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1.5px dashed var(--border);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
    align-self: flex-start;
    background: transparent;
}

.club-card.placeholder {
    background: var(--surface-alt);
    border-style: dashed;
    border-color: var(--border);
    text-align: center;
    align-items: center;
}
.club-placeholder-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ---------- Stadtbezirk ---------- */

.district {
    padding: 100px 0;
    background: var(--bg);
    color: var(--text-invert);
    position: relative;
    overflow: hidden;
}
.district::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 210, 0, .08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 180, 216, .08), transparent 40%);
    pointer-events: none;
}

.district-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.district-text h2 { color: var(--text-invert); }
.district-text p { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.district-text a:not(.btn) { color: var(--accent); }

.district-visual {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.district-visual-frame {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-lg);
}
.district-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s var(--ease);
}
.district-visual:hover img {
    transform: scale(1.04);
}

.district-visual figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 4px 0;
}
.district-visual figcaption strong {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: .04em;
    font-size: 1rem;
}
.district-visual figcaption span {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    letter-spacing: .03em;
}

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

.contact {
    padding: 100px 0;
    background: var(--surface-alt);
}

.contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.contact-link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    overflow: hidden;
}
.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.contact-link:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.contact-link:hover::before {
    transform: scaleX(1);
}
.contact-link-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--text-muted);
}
.contact-link strong {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.1;
    margin-top: 2px;
}
.contact-link-url {
    font-size: .92rem;
    color: var(--text-muted);
    word-break: break-word;
}
.contact-link-arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform .25s var(--ease), color .25s var(--ease);
    line-height: 1;
}
.contact-link:hover .contact-link-arrow {
    transform: translateX(4px);
    color: var(--accent-2);
}

/* ---------- Impressum ---------- */

.impressum {
    background: var(--bg);
    color: var(--text-invert);
    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.impressum h2 {
    color: var(--text-invert);
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2.2rem);
    margin: 0 0 2rem;
}
.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 880px;
}
.impressum-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: .95rem;
    line-height: 1.55;
    color: rgba(255,255,255,.7);
}
.impressum-block strong {
    color: var(--text-invert);
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 1rem;
}
.impressum-role {
    color: rgba(255,255,255,.55);
    font-size: .9rem;
}
.impressum-block a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.impressum-block a:hover {
    color: var(--text-invert);
}

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

.site-footer {
    background: var(--bg);
    color: var(--text-invert);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-brand strong {
    display: block;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}
.footer-brand span:not(.logo-mark) {
    display: block;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-nav a {
    color: rgba(255,255,255,.7);
    font-size: .92rem;
    font-weight: 500;
}
.footer-nav a:hover { color: var(--accent); }

.footer-copy {
    margin: 0;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    text-align: right;
}

/* ---------- Reveal Animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .intro-grid,
    .district-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand { justify-content: center; }
    .footer-copy { text-align: center; }

    .hamburger { display: flex; }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(14, 14, 16, .98);
        backdrop-filter: blur(14px);
        padding: 0 24px;
        min-height: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--ease), padding .35s var(--ease);
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .primary-nav.open {
        padding: 12px 24px 24px;
    }
    .primary-nav.open {
        max-height: 500px;
    }
    .primary-nav ul {
        flex-direction: column;
        gap: 4px;
    }
    .primary-nav a {
        display: block;
        padding: 14px 16px;
        border-radius: var(--radius);
    }
    .lang-switcher {
        margin: 0;
        padding: 0;
        border-left: 0;
        gap: 0;
    }
    [dir="rtl"] .lang-switcher {
        margin: 0;
        padding: 0;
        border-right: 0;
    }
    .lang-pill {
        padding: 4px 3px;
    }
    .lang-pill .flag {
        height: 12px;
    }
    .header-actions {
        gap: 4px;
    }
}

@media (max-width: 560px) {
    .hero { padding: 120px 0 80px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 1.8rem; }

    .intro, .clubs, .district, .contact {
        padding: 70px 0;
    }

    .club-card, .contact-link {
        padding: 24px;
    }
    .contact-link-arrow { top: 24px; right: 24px; }

    .district-visual figcaption { padding: 4px 0 0; }

    .footer-nav { gap: 14px; }
}

/* ---------- RTL adjustments (Arabic) ---------- */

[dir="rtl"] .stadtteil-heading::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .intro-card-inner::before {
    right: auto;
    left: -60px;
}

[dir="rtl"] .contact-link-arrow {
    right: auto;
    left: 32px;
    transform: scaleX(-1);
}
[dir="rtl"] .contact-link:hover .contact-link-arrow {
    transform: scaleX(-1) translateX(4px);
}

[dir="rtl"] .link-arrow span[aria-hidden] {
    display: inline-block;
    transform: scaleX(-1);
}

[dir="rtl"] .scroll-hint span {
    /* dot animation is vertical, no RTL change needed */
}

/* In RTL the eyebrow & badges read naturally, no extra work */

/* Hero accent gradient on the title still looks fine flipped */

