/* ===========================================
   Shared Page Styles - ki·spezial
   Used by all service, industry & content pages
   =========================================== */

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0a0f14 0%, #0d1520 50%, #0a1018 100%);
    overflow: hidden;
    padding: 80px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,177,235,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00B1EB;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.hero-badge::before { content: ''; width: 32px; height: 2px; background: #00B1EB; }
.hero-section h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}
.hero-text {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #00B1EB;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-cta:hover { background: #0095c8; transform: translateY(-2px); }
.hero-cta svg { width: 18px; height: 18px; }
.hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-cta-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #00B1EB;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-primary:hover { background: #0095c8; transform: translateY(-1px); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.btn-secondary svg { width: 18px; height: 18px; }

/* Trust Bar */
.trust-bar {
    padding: 28px 56px;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
}
.trust-items { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: #5f6368; }
.trust-item svg { width: 18px; height: 18px; color: #00B1EB; }

/* Section Styles */
.section { padding: 100px 56px; }
.section-light { background: #fff; }
.section-gray { background: #f8f9fa; }
.section-dark { background: #0a0f14; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: #00B1EB; margin-bottom: 16px; }
.section-header h2 { font-size: 36px; font-weight: 700; color: #0a0f14; margin-bottom: 16px; }
.section-dark .section-header h2 { color: #fff; }
.section-header p { font-size: 16px; color: #5f6368; max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* Feature / Card Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.feature-card:hover { border-color: #00B1EB; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.feature-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0,177,235,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-card-icon svg { width: 24px; height: 24px; color: #00B1EB; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: #0a0f14; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #5f6368; line-height: 1.6; }

/* Dark Feature Cards */
.funktion-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.funktion-card:hover { background: rgba(0,177,235,0.08); border-color: rgba(0,177,235,0.3); }
.funktion-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.funktion-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* Konzept / Split Grid */
.konzept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.konzept-content h2 { font-size: 36px; font-weight: 700; color: #0a0f14; margin-bottom: 20px; line-height: 1.2; }
.konzept-content > p { font-size: 16px; color: #5f6368; line-height: 1.8; margin-bottom: 16px; }
.konzept-features { list-style: none; padding: 0; margin: 24px 0 0 0; }
.konzept-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #3c4043;
}
.konzept-features li svg { width: 20px; height: 20px; color: #00B1EB; flex-shrink: 0; margin-top: 2px; }

/* CTA Section */
.cta-section {
    padding: 80px 56px;
    background: linear-gradient(135deg, #00B1EB 0%, #0095c8 100%);
    text-align: center;
}
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-section h2 { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #fff;
    color: #00B1EB;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.cta-btn-white svg { width: 18px; height: 18px; }
.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.cta-btn-outline svg { width: 18px; height: 18px; }

/* Service Links (used on industry pages) */
.service-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    text-decoration: none;
    color: #0a0f14;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.service-link-item:hover { border-color: #00B1EB; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.service-link-item svg { width: 20px; height: 20px; color: #00B1EB; }

/* Scenario Cards (industry pages) */
.scenario-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.scenario-card:hover { border-color: #00B1EB; transform: translateY(-2px); }
.scenario-card h3 { font-size: 18px; font-weight: 700; color: #0a0f14; margin-bottom: 12px; }
.scenario-card p { font-size: 14px; color: #5f6368; line-height: 1.6; }
.scenario-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00B1EB;
    margin-bottom: 10px;
}

/* Betrieb / Dark Cards */
.betrieb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.betrieb-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
}
.betrieb-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.betrieb-card > p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
.betrieb-features { list-style: none; padding: 0; margin: 0; }
.betrieb-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.betrieb-features li svg { width: 16px; height: 16px; color: #22c55e; }

/* Contact Form Styles (kontakt.html) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 { font-size: 36px; font-weight: 700; color: #0a0f14; margin-bottom: 16px; line-height: 1.2; }
.contact-info > p { font-size: 16px; color: #5f6368; line-height: 1.7; margin-bottom: 32px; }
.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #e8eaed;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(0,177,235,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; color: #00B1EB; }
.contact-item h3 { font-size: 15px; font-weight: 600; color: #0a0f14; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: #5f6368; }
.contact-item a { color: #00B1EB; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* Form Card */
.form-card {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.form-card h3 { font-size: 22px; font-weight: 700; color: #0a0f14; margin-bottom: 6px; }
.form-card .form-subtitle { font-size: 14px; color: #5f6368; margin-bottom: 28px; }
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0a0f14;
    margin-bottom: 6px;
}
.form-group label .required { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #0a0f14;
    background: #f8f9fa;
    border: 1px solid #e0e3e8;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00B1EB;
    box-shadow: 0 0 0 3px rgba(0,177,235,0.1);
    background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9aa0a6; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-submit {
    width: 100%;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: #00B1EB;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.form-submit:hover { background: #0095c8; }
.form-submit svg { width: 18px; height: 18px; }
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}
.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #00B1EB;
    cursor: pointer;
}
.form-checkbox label {
    font-size: 12px;
    color: #5f6368;
    line-height: 1.5;
    cursor: pointer;
}
.form-checkbox label a { color: #00B1EB; text-decoration: underline; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Form Messages */
.form-message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}
.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}
.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* 404 Error Page */
.error-section {
    position: relative;
    background: linear-gradient(135deg, #0a0f14 0%, #0d1520 50%, #0a1018 100%);
    padding: 120px 56px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error-code {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
}
.error-message { font-size: 1.5rem; color: #e2e8f0; margin-bottom: 16px; }
.error-description { font-size: 1.1rem; color: #94a3b8; margin-bottom: 48px; max-width: 500px; }
.error-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.error-links a {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.error-links a.primary-link { background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; }
.error-links a.primary-link:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4); }
.error-links a.secondary-link { border: 1px solid #334155; color: #e2e8f0; background: rgba(255, 255, 255, 0.03); }
.error-links a.secondary-link:hover { border-color: #475569; background: rgba(255, 255, 255, 0.06); }

/* Success/Error Pages */
.success-page, .fehler-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0f14 0%, #0d1520 50%, #0a1018 100%);
    padding: 40px 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section,
    .konzept-grid,
    .contact-grid,
    .betrieb-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual { min-height: 360px; }
}
@media (max-width: 768px) {
    .section { padding: 60px 24px; }
    .hero-section { padding: 60px 24px; }
    .hero-section h1 { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 60px 24px; }
    .trust-bar { padding: 20px 24px; }
    .trust-items { gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .error-section { padding: 80px 24px; }
    .error-code { font-size: 5rem; }
}
@media (max-width: 480px) {
    .hero-section h1 { font-size: 28px; }
    .hero-visual { min-height: 320px; }
    .section-header h2 { font-size: 28px; }
    .cta-section h2 { font-size: 28px; }
}
