/*
Theme Name: Volleyball-Akademie Düren
Theme URI: https://www.volleyball-akademie-dueren.de/
Author: Volleyball-Akademie Düren e.V.
Description: Individuelles, responsives WordPress-Theme für die Volleyball-Akademie Düren e.V.
Version: 1.0.0
Text Domain: volleyball-akademie-dueren
*/

:root {
    --gold: #c9a000;
    --gold-dark: #a98300;
    --slate: #2d2d33;
    --slate-light: #50515a;
    --ink: #17171b;
    --white: #ffffff;
    --offwhite: #f6f6f4;
    --line: #e6e6e2;
    --shadow: 0 18px 50px rgba(23, 23, 27, .10);
    --radius: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    font-size: 17px;
}

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

a {
    color: var(--slate);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover { color: var(--gold-dark); }

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

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45,45,51,.08);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-branding {
    display: inline-flex;
    align-items: center;
    max-width: 330px;
    text-decoration: none;
}

.site-branding img {
    display: block;
    max-height: 64px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--slate);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.brand-text strong { font-size: 1.08rem; }
.brand-text span { color: var(--gold-dark); font-size: .78rem; margin-top: 4px; }

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    display: block;
    padding: 10px 13px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    background: var(--offwhite);
    color: var(--slate);
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--slate);
    color: white;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 800;
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(201,160,0,.20);
}

.header-cta:hover,
.button:hover {
    color: var(--ink);
    background: #d6ad00;
    transform: translateY(-1px);
}

.button-dark {
    background: var(--slate);
    color: var(--white);
    box-shadow: none;
}

.button-dark:hover { background: #1e1e23; color: white; }

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(201,160,0,.22), transparent 30%),
        linear-gradient(135deg, #29292f 0%, #3c3d44 60%, #25252a 100%);
    color: white;
    padding: 90px 0 82px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -180px;
    bottom: -250px;
    border: 70px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 900;
    font-size: .8rem;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 99px;
}

.hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero h1 span { color: var(--gold); }

.hero p {
    max-width: 680px;
    font-size: 1.2rem;
    color: rgba(255,255,255,.82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero .button-dark {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
}

.hero-card {
    background: rgba(255,255,255,.96);
    color: var(--ink);
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0,0,0,.25);
}

.hero-card .mini-label {
    color: var(--gold-dark);
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero-card h2 {
    margin: 8px 0 18px;
    font-size: 1.8rem;
    line-height: 1.1;
}

.hero-card .training-line {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 15px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.hero-card .training-line strong { display: block; }
.hero-card .training-line span { color: var(--slate-light); }

.section { padding: 82px 0; }
.section-muted { background: var(--offwhite); }

.section-header {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-header h2,
.page-header h1 {
    margin: 8px 0 14px;
    color: var(--slate);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.section-header p { color: var(--slate-light); font-size: 1.08rem; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,.035);
}

.card h3 {
    margin: 0 0 10px;
    color: var(--slate);
    font-size: 1.25rem;
}

.card p { margin-bottom: 0; color: var(--slate-light); }

.icon-box {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(201,160,0,.13);
    color: var(--gold-dark);
    font-weight: 1000;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-dark);
    font-weight: 900;
}

.training-feature {
    background: var(--slate);
    color: white;
    border-radius: 26px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.training-feature h2 { color: white; margin-top: 0; }
.training-feature p { color: rgba(255,255,255,.78); }

.training-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 25px 0;
}

.detail {
    padding: 16px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
}

.detail small {
    display: block;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.detail strong { display: block; }

.trainer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trainer-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
}

.trainer-photo {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: var(--offwhite);
    color: var(--slate-light);
    font-weight: 900;
}

.trainer-info { padding: 18px; }
.trainer-info h3 { margin: 0 0 3px; }
.trainer-info p { margin: 0; color: var(--slate-light); font-size: .95rem; }

.cta-band {
    padding: 55px 0;
    background: var(--gold);
}

.cta-band .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cta-band h2 { margin: 0 0 8px; color: var(--ink); }
.cta-band p { margin: 0; max-width: 700px; color: rgba(23,23,27,.78); }

.page-header {
    padding: 72px 0 55px;
    background: var(--offwhite);
    border-bottom: 1px solid var(--line);
}

.content {
    padding: 70px 0;
}

.content-narrow { max-width: 850px; }

.content h2 { margin-top: 42px; color: var(--slate); }
.content h3 { margin-top: 30px; color: var(--slate); }

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.info-table th {
    width: 32%;
    background: var(--offwhite);
    color: var(--slate);
}

.logo-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 30px;
}

.logo-row img {
    max-height: 95px;
    width: auto;
    object-fit: contain;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.contact-box {
    background: var(--slate);
    color: white;
    padding: 32px;
    border-radius: 22px;
}

.contact-box h2 { margin-top: 0; color: white; }
.contact-box a { color: white; }
.contact-box .gold { color: var(--gold); }

.form-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field { margin-bottom: 17px; }

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--slate);
    font-weight: 800;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #d7d7d3;
    border-radius: 11px;
    padding: 12px 13px;
    font: inherit;
    background: white;
}

.form-field textarea { min-height: 145px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
    outline: 3px solid rgba(201,160,0,.18);
    border-color: var(--gold);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .9rem;
    color: var(--slate-light);
}

.checkbox input { margin-top: 5px; }

.notice {
    padding: 15px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    background: var(--offwhite);
    border: 1px solid var(--line);
}

.notice-success {
    background: #eef7ed;
    border-color: #b8d9b2;
}

.notice-error {
    background: #fff1ef;
    border-color: #e4bbb4;
}

.site-footer {
    background: #202025;
    color: rgba(255,255,255,.75);
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 35px;
}

.site-footer h3 { color: white; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-logo {
    max-height: 62px;
    width: auto;
    margin-bottom: 14px;
    background: white;
    padding: 7px;
    border-radius: 9px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .9rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .split,
    .contact-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr 1fr; }
    .trainer-grid { grid-template-columns: 1fr 1fr; }
    .header-cta { display: none; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { min-height: 74px; }
    .site-branding img { max-height: 52px; }
    .menu-toggle { display: block; }
    .main-navigation {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 74px;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 12px 14px 18px;
    }
    .main-navigation.is-open { display: block; }
    .main-navigation ul { flex-direction: column; align-items: stretch; }
    .main-navigation a { padding: 12px 14px; }
    .hero { padding: 60px 0; }
    .hero-grid { gap: 30px; }
    .hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
    .section { padding: 58px 0; }
    .cards,
    .trainer-grid,
    .training-details,
    .form-row,
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band .cta-inner { align-items: flex-start; flex-direction: column; }
    .page-header { padding: 55px 0 40px; }
    .content { padding: 50px 0; }
}

/* Impressum / legal pages */
.legal-page .content-narrow { max-width: 860px; }
.legal-section { margin-bottom: 34px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { margin-bottom: 12px; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.legal-section p { margin-top: 0; }
.legal-section a { overflow-wrap: anywhere; }
