/*
Theme Name: dagmarglausnitzer.de
Author: dagmarglausnitzer.de Creative
Description: Custom WordPress Theme for sports analytics and design.
Version: 10.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');


:root {
    --primary: #0f172a; /* Electric Blue */
    --secondary: #f1f5f9; /* Cyan */
    --accent: #6366f1; /* Amber */
    --bg-main: #ffffff;
    --white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(15, 23, 42, 0.1);
    
    --container-width: 1280px;
    --content-width: 800px;
    --transition: all 0.3s ease;
    --radius: 16px;

    --section-pad: clamp(5rem, 12vw, 10rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .logo, .btn-arc {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}

h1 { font-size: clamp(1.8rem, 8vw, 5rem); margin-bottom: 2rem; word-break: break-word; }
h2 { font-size: clamp(1.6rem, 5vw, 3rem); margin-bottom: 4rem; text-align: center; word-break: break-word; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.site-main {
    padding-top: 100px;
}

/* Axis 7: V-C Glassmorphism */
.glass-effect {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Axis 1: N-A Classic Split Header */





.logo {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.75rem, 4vw, 1.8rem) !important;
    color: var(--primary) !important;
    text-transform: lowercase;
    min-width: 100px;
    min-height: 1em;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo span { color: var(--secondary); font-weight: 300; }

.main-nav { flex: 1; min-width: 0; overflow: hidden; }
.main-nav ul { display: flex; list-style: none; gap: clamp(1.5rem, 3vw, 3.5rem); flex-wrap: wrap; }
.main-nav a { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-main); opacity: 0.8; }
.main-nav a:hover { color: var(--primary); opacity: 1; }

.nav-toggle { display: none; }

/* Axis 2: H-C Overlay Hero */
.hero-arc {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; z-index: 1;
    padding: 0 2rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.8) 100%);
}

.hero-content { max-width: 900px; z-index: 1; position: relative; }
.hero-content h1,
.hero-content p {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.4rem); max-width: 800px; margin: 0 auto 3rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2rem); justify-content: center; }
.btn-arc.btn-outline { background: transparent; color: #ffffff; border: 2px solid #ffffff; box-shadow: none; }
.btn-arc.btn-outline:hover { background: #ffffff; color: var(--primary); }
.section-title-left { text-align: left; margin-bottom: 5rem; }
.section-title-center { margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); }
.section-title-features { margin-bottom: 6rem; }
.post-card-arc { display: flex; flex-direction: column; height: 100%; }
.post-card-content h3 { flex-grow: 1; }
.post-card-link { font-weight: 800; font-size: 0.85rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.post-meta-cat { font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; text-transform: uppercase; }
.section-intro-center { text-align: center; margin-bottom: 5rem; }
.all-posts-wrap { text-align: center; margin-top: 6rem; }
.btn-arc.btn-wide { padding: 1rem 4rem; margin-top: 0; }

.btn-arc {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    margin-top: 2rem;
}
.btn-arc:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3); background: var(--secondary); }

/* Axis 3: F-B Icons & Description */
.features-section { padding: var(--section-pad) 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; }
.feature-item { text-align: center; padding: 4rem 2rem; border-radius: var(--radius); }
.feature-icon { 
    width: 80px; height: 80px; background: var(--primary); color: var(--white); 
    border-radius: 24px; display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 2.5rem; font-size: 2rem;
}

/* Axis 5: U-D Photo Strip (Showcase) */
.showcase-arc { padding: var(--section-pad) 0; overflow: hidden; background: var(--white); }
.strip-container { display: flex; gap: 2rem; animation: scrollStrip 40s linear infinite; width: fit-content; }
.strip-item { width: 400px; height: 500px; flex-shrink: 0; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.strip-item:hover img { transform: scale(1.05); }

@keyframes scrollStrip {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Axis 4: C-B Card with Icons */
.posts-section { padding: var(--section-pad) 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }

.post-card-arc { 
    border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.post-card-arc:hover { transform: translateY(-10px); }
.post-card-arc .thumb { height: clamp(180px, 25vw, 300px); position: relative; }
.post-card-arc .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.post-card-arc .meta-tag { 
    position: absolute; top: 20px; left: 20px; background: var(--primary); 
    color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}

.post-card-content { padding: 2.5rem; }
.post-card-content h3 { font-size: 1.4rem; color: var(--text-main); margin-bottom: 1.5rem; }
.post-card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }

/* Rule 8: Golden Standard Pagination */
.pagination { display: flex; justify-content: center; gap: 1rem; margin: 6rem 0; }
.pagination .page-numbers { 
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; border: 1px solid var(--border); background: var(--white); 
    font-weight: 700; color: var(--text-main);
}
.pagination .page-numbers.current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Axis 6: FT-C Three-column Footer */
.site-footer { background: #0f172a; color: #f1f5f9; padding: 10rem 0 5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 8rem); }
.footer-desc { max-width: 100%; overflow-wrap: break-word; }

.footer-logo { 
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.5rem, 5vw, 4rem);
    overflow-wrap: anywhere;
    margin-bottom: 2rem; 
    color: #38bdf8; 
}
.footer-logo span { color: #f8fafc; font-weight: 300; }
.footer-desc { color: #94a3b8; line-height: 1.8; }

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 1.2rem; }
.footer-nav a { color: #cbd5e1; font-weight: 500; }
.footer-nav a:hover { color: #38bdf8; padding-left: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 6rem; padding-top: 3rem; display: flex; justify-content: space-between; font-size: 0.85rem; color: #64748b; }

/* Axis 8: D-A Geometric Accents */
.dot-grid {
    position: absolute;
    width: 200px; height: 200px;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: -1;
}

@media (max-width: 1024px) {
    
    .main-nav a { font-size: 0.85rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    
    .site-main { padding-top: 80px; }
    
    .logo { font-size: clamp(0.75rem, 4vw, 1.2rem) !important; min-width: auto; }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        flex-shrink: 0;
        z-index: 2100;
        background: transparent;
        border: none;
    }
    .nav-toggle span { width: 25px; height: 2px; background: var(--text-main); transition: 0.3s; }

    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        z-index: 2000;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        visibility: hidden;
        overflow: auto;
    }
    body.menu-open .main-nav {
        transform: translateY(0);
        visibility: visible;
    }
    body.menu-open .main-nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        gap: 2.5rem;
        padding: 6rem 2rem;
    }
    body.menu-open .main-nav a {
        font-size: 1.5rem;
        color: #ffffff;
        opacity: 1;
    }

    .hero-arc { min-height: 70vh; height: auto; padding: 4rem 0; }
    .hero-content h1 { color: #ffffff; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
    .hero-content p { color: #ffffff; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
    .hero-btns { flex-direction: column !important; align-items: center; }

    .features-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .strip-item { width: min(280px, 80vw); height: 360px; }
}

.footer-logo { flex-wrap: wrap; }

/* Rule 23: Post content typography */
.post-content { font-size: 1.15rem; line-height: 1.8; color: #334155; }
.post-content p { margin-bottom: 1.5rem; }
.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--text-main);
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}
.post-content h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.post-content ul,
.post-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.post-content th,
.post-content td { border: 1px solid var(--border); padding: 0.75rem 1rem; text-align: left; }
.post-content th { background: var(--bg-main); font-weight: 700; }
.post-content img { border-radius: var(--radius); margin: 2rem 0; }

.hero-compact { height: 50vh; min-height: 320px; }
.hero-page { height: 60vh; min-height: 400px; }
.hero-overlay-light {
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.8) 100%);
}
.error-code { font-size: clamp(4rem, 15vw, 8rem); font-weight: 800; color: var(--primary); margin-bottom: 2rem; }
.error-desc { font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }
.content-narrow { max-width: var(--content-width); }
.content-section { padding: var(--section-pad) 0; background: var(--white); }
.post-footer-meta { margin-top: 6rem; padding: 3.5rem; border-radius: 24px; }
.post-meta-row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 4rem); font-size: 0.95rem; font-weight: 800; text-transform: uppercase; }
.footer-col-title { margin-bottom: 2rem; color: #38bdf8; }
.footer-contact-list { font-size: 0.9rem; color: #94a3b8; line-height: 2; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 2rem; }

.site-header {
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    transition: var(--transition);
    background: var(--white) !important;
    border-bottom: 5px solid var(--secondary);
    box-shadow: none;
}
.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(1rem, 5vw, 3rem);
    border-radius: 0;
    margin-top: 0;
    gap: clamp(1rem, 5vw, 4rem);
}
