/* ========================================================================
   nextplus.de - Globale Styles
   Wird auf allen Seiten geladen.
   Seiten-spezifische Styles in jeweiliger .php-Datei oder eigener CSS-Datei.
   ======================================================================== */

:root {
    --np-green: #22c55e;
    --np-green-dark: #16a34a;
    --np-green-light: #4ade80;
    --np-black: #0a0a0a;
    --np-dark: #1a1a1a;
    --np-gray-900: #18181b;
    --np-gray-800: #27272a;
    --np-gray-700: #3f3f46;
    --np-gray-500: #71717a;
    --np-gray-300: #d4d4d8;
    --np-gray-100: #f4f4f5;
    --np-white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--np-gray-900);
    background: var(--np-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================================================
   HEADER & NAVIGATION
   ======================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo-mark { display: flex; align-items: center; gap: 4px; }
.logo-check { color: var(--np-green); font-weight: 900; font-size: 22px; line-height: 1; }
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: white; }

.logo-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--np-green);
    color: var(--np-black);
    font-weight: 900;
    font-size: 18px;
    border-radius: 3px;
}

.logo-suffix { color: var(--np-green); font-weight: 600; font-size: 16px; margin-left: 2px; }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--np-green); }

.nav-cta {
    background: var(--np-green);
    color: var(--np-black) !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
    background: var(--np-green-light);
    transform: translateY(-1px);
    color: var(--np-black) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--np-green); color: var(--np-black); }

.btn-primary:hover {
    background: var(--np-green-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================================================
   SECTION HEADERS
   ======================================================================== */

section { padding: 100px 0; }

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

.section-eyebrow {
    display: inline-block;
    color: var(--np-green-dark);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--np-gray-900);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--np-gray-500);
    line-height: 1.6;
}

/* ========================================================================
   FORM-STATUS (Erfolgs-/Fehlermeldungen nach Submit)
   ======================================================================== */

.form-status {
    display: none;
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
}
.form-status.show { display: block; }
.form-status.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}
.form-status.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}
.form-status strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

/* Honeypot - fuer Menschen unsichtbar */
.form-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ========================================================================
   FOOTER
   ======================================================================== */

footer {
    background: #050505;
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--np-green); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.footer-bottom-links a:hover { color: var(--np-green); }

/* ========================================================================
   PAGE-HEADER (für Impressum, Datenschutz etc.)
   ======================================================================== */

.page-header {
    background: var(--np-black);
    color: white;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--np-green); }

.breadcrumb-sep { color: rgba(255, 255, 255, 0.3); }

.page-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    color: var(--np-green-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.2s;
}

.back-link:hover { gap: 12px; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--np-black);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    section { padding: 70px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
    .page-header { padding: 120px 0 60px; }
}

@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
}
