/* ===========================
   Ju-Jutsu Grafing im TSV Grafing e.V. 
   Japanischer Stil + Responsive
   =========================== */

:root {
    --bg: #0b0c10;
    --paper: #12141b;
    --paper-2: #b5c1e8;
    --text: #f2f3f7;
    --muted: #b8bccb;

    --accent: #e11d48;
    /* japanisches Rot */
    --accent-2: #f43f5e;
    --ink: #0f172a;

    --ring: rgba(225, 29, 72, .35);
    --shadow: 0 18px 45px rgba(0, 0, 0, .35);

    --radius: 18px;
    --radius-lg: 26px;

    --container: 1120px;
    --halfcontainer: 560;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    background: radial-gradient(1200px 600px at 15% -10%, rgba(225, 29, 72, .18), transparent 60%),
        radial-gradient(900px 500px at 85% 0%, rgba(244, 63, 94, .12), transparent 60%),
        linear-gradient(180deg, #06070a 0%, #0b0c10 60%, #07080b 100%);
    color: var(--text);
    overflow-x: hidden;
}

/* dezentes Seigaiha (Wellen-)Muster */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .08;
    background-image:
        radial-gradient(circle at 10px 10px, rgba(255, 255, 255, .75) 2px, transparent 2.2px),
        radial-gradient(circle at 30px 10px, rgba(255, 255, 255, .6) 2px, transparent 2.2px),
        radial-gradient(circle at 50px 10px, rgba(255, 255, 255, .5) 2px, transparent 2.2px);
    background-size: 60px 24px;
    filter: blur(.2px);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent-2);
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.halfcontainer {
    width: min(var(--halfcontainer), calc(50% - 36px));
    margin: 0 auto;
}
/* ---------- Topbar / Nav ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(10, 12, 16, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background:
        radial-gradient(10px 10px at 30% 30%, rgba(255, 255, 255, .25), transparent 60%),
        linear-gradient(135deg, rgba(225, 29, 72, .95), rgba(244, 63, 94, .55));
    box-shadow: 0 10px 25px rgba(225, 29, 72, .22);
    border: 1px solid rgba(255, 255, 255, .18);
}

.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title strong {
    font-size: 15px;
    letter-spacing: .3px;
}

.brand-title span {
    font-size: 12px;
    color: var(--muted);
}

/* Desktop Menu */
.menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a {
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: .2s ease;
    font-weight: 600;
    font-size: 14px;
}

.menu a:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
}

.menu a.active {
    color: var(--text);
    background: rgba(225, 29, 72, .14);
    border-color: rgba(225, 29, 72, .35);
    box-shadow: 0 0 0 4px var(--ring);
}

/* Mobile Toggle */
.burger {
    display: none;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
}

.burger:focus {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

.mobile-panel {
    display: none;
    padding: 0 0 14px 0;
}

.mobile-panel a {
    display: block;
    padding: 12px 12px;
    border-radius: 14px;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, .08);
    margin-top: 8px;
    background: rgba(255, 255, 255, .03);
    font-weight: 650;
}

.mobile-panel a.active {
    color: var(--text);
    border-color: rgba(225, 29, 72, .35);
    background: rgba(225, 29, 72, .14);
    box-shadow: 0 0 0 4px var(--ring);
}

/* ---------- Hero / Header Slideshow ---------- */
.hero {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    padding: 22px 0 26px 0;
    align-items: stretch;
}

.slideshow {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 340px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .10);
    background: #0a0b10;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1000ms ease;
    transform: scale(1.02);
}

.slide.is-active {
    opacity: 1;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, .55));
}

.hero-card {
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: var(--shadow);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(500px 180px at 20% 0%, rgba(225, 29, 72, .18), transparent 60%),
        radial-gradient(420px 160px at 95% 45%, rgba(244, 63, 94, .12), transparent 60%);
    pointer-events: none;
}

.hero-card>* {
    position: relative;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(225, 29, 72, .14);
    border: 1px solid rgba(225, 29, 72, .35);
    color: var(--text);
    font-weight: 800;
    letter-spacing: .35px;
    font-size: 12px;
    width: fit-content;
}

.kicker .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(225, 29, 72, .18);
}

h1 {
    margin: 14px 0 10px 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: .2px;
}

.lead {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 16px 0;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-weight: 750;
    font-size: 14px;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .18);
}

.btn.primary {
    background: linear-gradient(135deg, rgba(225, 29, 72, .95), rgba(244, 63, 94, .55));
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 12px 30px rgba(225, 29, 72, .22);
}

.btn.primary:hover {
    box-shadow: 0 16px 40px rgba(225, 29, 72, .28);
}

/* ---------- Content ---------- */
main {
    padding: 26px 0 60px;
}

.classic {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgb(202, 238, 155);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.card {
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    padding: 18px;
}

.card h2 {
    margin: 0 0 8px 0;
    font-size: 16px;
    letter-spacing: .2px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
}

hr.sep {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .10);
    margin: 18px 0;
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 0 36px;
    color: var(--muted);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.small {
    font-size: 12px;
    color: rgba(184, 188, 203, .85);
}

/* ---------- Trainer cards ---------- */
.person {
    display: flex;
    gap: 14px;
    align-items: center;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    flex: 0 0 auto;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person strong {
    display: block;
}

.person span {
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-wrap {
        grid-template-columns: 1fr;
    }

    .slideshow {
        min-height: 280px;
    }

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

@media (max-width: 720px) {
    .menu {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    .mobile-panel.is-open {
        display: block;
    }

    .brand {
        min-width: auto;
    }
}