/* ==========================================================================
   macher.one — Shared Public Styles
   Für Landing + /pakete + /paket/*
   Enthält: Variables, Header, Mobile-Nav, Footer, Form-Consent, Atmosphere
   ========================================================================== */

:root {
    --bg: #111827;
    --bg-mid: #1a2234;
    --bg-light: #1e2a42;
    --primary: #7a00df;
    --primary-light: #9b3ff5;
    --primary-glow: rgba(122,0,223,0.15);
    --primary-dark: #1D0C3C;
    --neon: #00ff88;
    --neon-glow: rgba(0,255,136,0.08);
    --accent: #00d9ff;
    --accent-warm: #f59e0b;
    --text: #e8e8f0;
    --text-muted: #8892a8;
    --text-light: #7a839a;
    --glass: rgba(255,255,255,0.07);
    --glass-border: rgba(255,255,255,0.12);
    --radius: 16px;
}

/* Header / Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(17,24,39,0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 24px;
}
.nav-inner {
    max-width: 1440px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.nav-logo-link { text-decoration: none; color: inherit; display: block; }
.nav-logo {
    font-size: 20px; font-weight: 800; letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--primary-light), var(--neon));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.nav-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; margin-top: 1px; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nav-link { color: var(--text-muted); font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--primary-light); font-weight: 600; }
.nav-sep { color: var(--text-light); }

.nav-cta {
    background: var(--primary); color: #fff; border: none;
    padding: 10px 24px; border-radius: 10px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 0 20px rgba(122,0,223,0.2);
    white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: 0 4px 24px rgba(122,0,223,0.35); }
.nav-cta:focus-visible { outline-offset: 3px; }

/* Mobile Burger + Nav-Panel */
.nav-burger {
    display: none; background: none; border: none; cursor: pointer;
    width: 44px; height: 44px; padding: 10px;
    flex-direction: column; justify-content: space-around;
}
.nav-burger span {
    display: block; width: 100%; height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 2px;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(17,24,39,0.96);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 24px;
    flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; animation: nav-slide 0.25s ease; }
.nav-mobile a {
    color: var(--text); text-decoration: none;
    font-size: 16px; font-weight: 500;
    padding: 14px 4px;
    border-bottom: 1px solid var(--glass-border);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile a.active { color: var(--primary-light); font-weight: 600; }
.nav-mobile .mobile-cta {
    background: var(--primary); color: #fff; text-align: center;
    border-radius: 10px; margin-top: 10px; border: 0;
    font-weight: 600; box-shadow: 0 0 20px rgba(122,0,223,0.2);
}
@keyframes nav-slide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-right { gap: 0; }
    .nav-burger { display: flex; }
}

/* Atmosphere: full-viewport bg + orbs */
.page-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 15% 8%, rgba(122,0,223,0.12), transparent 65%),
        radial-gradient(ellipse 60% 45% at 88% 20%, rgba(0,217,255,0.09), transparent 65%),
        radial-gradient(ellipse 90% 55% at 50% 95%, rgba(0,255,136,0.05), transparent 70%);
}
.orb { position: fixed; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0; }
.orb-1 { width: 520px; height: 520px; top: 3%; right: -140px; background: radial-gradient(circle, rgba(122,0,223,0.22), transparent 70%); animation: float-a 22s ease-in-out infinite; }
.orb-2 { width: 440px; height: 440px; top: 42%; left: -120px; background: radial-gradient(circle, rgba(0,217,255,0.14), transparent 70%); animation: float-b 28s ease-in-out infinite; }
.orb-3 { width: 380px; height: 380px; bottom: 8%; right: 18%; background: radial-gradient(circle, rgba(0,255,136,0.10), transparent 70%); animation: float-a 32s ease-in-out infinite reverse; }
@keyframes float-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.06); }
    66% { transform: translate(-20px, 30px) scale(0.96); }
}
@keyframes float-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 20px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* Section-Labels + Titles (Standard für Inhaltsseiten) */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--accent); font-weight: 700;
    margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 16px; max-width: 680px; }
.grad { background: linear-gradient(135deg, var(--accent), var(--primary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons (shared) */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 700;
    border: 1px solid var(--glass-border); background: var(--bg-mid); color: var(--text);
    text-decoration: none; cursor: pointer; transition: all 0.15s;
}
.btn:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-color: transparent; color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }

/* Form-Consent (DSGVO-Checkbox) + Form-Hint */
.form-consent {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--text-muted); line-height: 1.5;
    cursor: pointer; user-select: none;
    text-transform: none; letter-spacing: 0; font-weight: 400;
    margin-bottom: 0;
}
.form-consent input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
    accent-color: var(--primary); cursor: pointer;
}
.form-consent a { color: var(--primary-light); text-decoration: underline; }
.form-consent a:hover { color: var(--primary); }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 10px; text-align: center; }

/* Footer */
footer.public-footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 24px; text-align: center;
    font-size: 13px; color: var(--text-light);
    margin-top: 60px; position: relative; z-index: 1;
}
footer.public-footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer.public-footer a:hover { color: var(--primary-light); }

.kira-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 0 0 28px; }
.kira-badge { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg,rgba(26,34,52,.95),rgba(30,42,66,.95)); border: 1.5px solid rgba(155,63,245,.4); border-radius: 14px; padding: 7px 9px 10px 9px; text-decoration: none; color: #f0f0f5; transition: all .25s ease; min-width: 240px; max-width: 280px; }
.kira-badge:hover { border-color: rgba(155,63,245,.8); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,0,223,.25); }
.kira-badge-icon { width: 48px; height: 48px; flex-shrink: 0; }
.kira-badge-icon svg { width: 48px; height: 48px; }
.kira-badge-text { display: flex; flex-direction: column; text-align: left; }
.kira-badge-label { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #9b3ff5; }
.kira-badge-title { font-size: 15px; font-weight: 700; color: #f0f0f5; line-height: 1.3; }
.kira-badge-sub { font-size: 10px; color: #9b9bb5; margin-top: 2px; }

.footer-legal { max-width: 600px; margin: 20px auto 0; text-align: center; }
.legal-buttons { display: flex; justify-content: center; gap: 32px; margin-bottom: 4px; }
.legal-toggle {
    display: flex; align-items: center; gap: 6px;
    background: none; border: none; color: var(--text-muted);
    font-size: 13px; cursor: pointer; padding: 8px 0;
    font-family: inherit; transition: color 0.2s;
}
.legal-toggle:hover { color: var(--primary-light); }
.legal-toggle .chevron { font-size: 10px; transition: transform 0.25s; display: inline-block; }
.legal-toggle.open .chevron { transform: rotate(90deg); }
.legal-body {
    display: none; padding: 12px 16px; margin-top: 4px; margin-bottom: 12px;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 10px; font-size: 12px; color: var(--text-muted); line-height: 1.7;
    text-align: left;
}
.legal-body.open { display: block; }
.legal-body strong { color: var(--text); }
.legal-body p { margin: 0 0 8px; }
.legal-body p:last-child { margin-bottom: 0; }

footer.public-footer .copyright { margin-top: 12px; }
