/* ============================================================
   SenKI Studio — Website Stylesheet
   Branding: Navy #0f1b3d / Accent #3b82f6 / White
   ============================================================ */

/* --- Self-hosted Inter (DSGVO: kein Google-Aufruf) --- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-800.woff2') format('woff2'); }

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #0f1b3d;
    --navy-light: #162550;
    --navy-dark:  #0a1228;
    --accent:     #3b82f6;
    --accent-glow:#2563eb;
    --white:      #ffffff;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-300:   #cbd5e1;
    --gray-400:   #94a3b8;
    --gray-500:   #64748b;
    --text:       #e2e8f0;
    --text-muted: #94a3b8;
    --success:    #22c55e;
    --danger:     #ef4444;
    --radius:     12px;
    --radius-sm:  8px;
    --shadow:     0 4px 24px rgba(0,0,0,0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--navy-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15, 27, 61, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-right: auto;
}

.nav-brand img {
    height: 42px;
    width: auto;
    border-radius: 6px;
}

.nav-counter {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #e2e8f0;
    background: rgba(59, 130, 246, 0.13);
    border-top: 2px solid rgba(59, 130, 246, 0.6);
    border-bottom: 1px solid rgba(59, 130, 246, 0.25);
    padding: 8px 1rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 0.55rem 1.4rem !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
    background: var(--accent-glow) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(59,130,246,0.08);
    border-radius: 6px;
    padding: 2px;
}

.lang-toggle button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
}

.lang-toggle button.active {
    background: var(--accent);
    color: var(--white);
}

.lang-toggle button:hover:not(.active) {
    color: var(--white);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 156px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 60% 40%, rgba(59,130,246,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(59,130,246,0.05) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2%, -2%) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 40px rgba(59,130,246,0.3));
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

.btn-primary:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--gray-400);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Sections --- */
.section {
    padding: 100px 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-alt {
    background: var(--navy);
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--navy-light);
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(59,130,246,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- How it Works --- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 800;
}

.step h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Deine Daten Section --- */
.data-quote {
    background: var(--navy-dark);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 1.75rem 2rem;
    margin: 0 0 2.5rem;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
}

.data-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.data-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--navy-dark);
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    transition: border-color var(--transition);
}

.data-point:hover {
    border-color: rgba(59,130,246,0.3);
}

.data-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.data-point strong {
    color: var(--white);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.data-point p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* --- Stats --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: var(--navy-light);
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(59,130,246,0.15);
}

.price-card.featured::before {
    content: 'Empfohlen';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}

.price-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 1rem 0 0.25rem;
}

.price-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-card .price-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.price-card li {
    padding: 0.5rem 0;
    color: var(--text);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.price-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Login / Auth --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--navy);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow);
}

.auth-card .auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-decoration: none;
}

.auth-card .auth-logo img {
    height: 64px;
    border-radius: 8px;
}

.auth-card .auth-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.auth-card h2 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--navy-dark);
    border: 1.5px solid rgba(148,163,184,0.2);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-options input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.btn-auth {
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
    font-size: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(148,163,184,0.15);
}

/* --- About Page --- */
.about-hero {
    padding: 140px 2rem 80px;
    text-align: center;
    position: relative;
}

.about-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--navy-light);
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-4px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    color: var(--white);
}

.team-card h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.team-card .role {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Timeline / Values --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    background: var(--navy-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.value-card h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(59,130,246,0.1);
    padding: 3rem 2rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148,163,184,0.1);
    text-align: center;
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* --- Toast / Messages --- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--navy);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    color: var(--white);
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 1rem;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--navy);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .navbar { padding: 0 1rem; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: var(--navy);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(59,130,246,0.15);
    }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero { padding: 148px 1.5rem 60px; }
    .section { padding: 60px 1.5rem; }
    .nav-counter { font-size: 0.75rem; gap: 4px; padding: 5px 0.75rem; flex-wrap: wrap; justify-content: center; white-space: normal; text-align: center; }
    .auth-card { padding: 2rem 1.5rem; }
}
