/*
Pfad: /var/www/odersowas/style.css
Datum: 2026-08-29
Uhrzeit: 14:05
Version: 1.3.0
ÄNDERUNG: Globale Linkfarben auf gut lesbares Akzent-Orange gesetzt und Impressum-Styles überarbeitet.
*/

:root {
    --bg-dark: #121417;
    --bg-card: #1c2026;
    --bg-table-header: #242b35;
    --accent-orange: #ff7300;
    --accent-orange-hover: #ff9133;
    --accent-silver: #e0e6ed;
    --text-main: #f0f2f5;
    --text-muted: #9aa5b1;
    --border-color: #2e3642;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-text-size-adjust: 100%;
}

/* Globale Linkfarben gegen unleserliches Standard-Blau */
a {
    color: var(--accent-orange);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: var(--accent-orange-hover);
}

header {
    background: linear-gradient(180deg, rgba(28,32,38,0.95) 0%, rgba(18,20,23,1) 100%);
    padding: 2.5rem 1rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.header-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1.2rem;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 115, 0, 0.15);
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--accent-silver);
    max-width: 650px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    flex: 1;
}

.section-title {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 0.4rem;
    display: inline-block;
}

.card ul {
    list-style: none;
    color: var(--text-muted);
}

.card ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

/* Technische Daten & Tabellen */
.table-section {
    margin-bottom: 3.5rem;
}

.chassis-highlight-card {
    background: linear-gradient(145deg, #242b35, #1c2026);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-orange);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.chassis-info h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.chassis-info p {
    color: var(--accent-silver);
    font-size: 0.95rem;
    margin: 0;
}

.chassis-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.chassis-stat-item {
    background: rgba(0, 0, 0, 0.25);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chassis-stat-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.chassis-stat-item strong {
    font-size: 1rem;
    color: var(--accent-orange);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
    min-width: 580px;
}

th, td {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.col-header {
    background-color: var(--bg-table-header);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--accent-orange);
}

tr:last-child td, tr:last-child th {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.highlight-val {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.05rem;
}

.system-advantage {
    background: linear-gradient(145deg, #1c2026, #16191f);
    border-left: 4px solid var(--accent-orange);
    padding: 1.2rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Formular */
.form-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.2rem 1.5rem;
    max-width: 750px;
    margin: 0 auto 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--accent-silver);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: #121417;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.math-captcha-box input:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
}

.math-captcha-box {
    background: #14171c;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.math-captcha-box label {
    font-size: 0.95rem;
    color: var(--accent-silver);
    font-weight: 600;
    flex: 1 1 200px;
}

.math-captcha-box input {
    width: 100px !important;
    height: 42px;
    padding: 0 10px;
    background-color: #121417;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

.agb-checkbox-row {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.agb-checkbox-row input {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent-orange);
}

.agb-checkbox-row label {
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.45;
}

.cf-turnstile {
    max-width: 100%;
    overflow-x: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    min-height: 65px;
}

.btn-submit {
    background-color: var(--accent-orange);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
    touch-action: manipulation;
}

.btn-submit:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background-color: #64748b;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    font-size: 0.95rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #75b798;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ea868f;
}

/* Rechtliche Seiten (Impressum & Datenschutz) */
.impressum-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.impressum-card h1 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
    padding-bottom: 0.4rem;
}

.impressum-card h2 {
    color: var(--accent-silver);
    font-size: 1.15rem;
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

.impressum-card p {
    margin-bottom: 0.8rem;
}

.impressum-card strong {
    color: #ffffff;
}

.btn-back {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    padding: 0.65rem 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background-color: var(--accent-orange);
    color: #ffffff;
    text-decoration: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.footer-info {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Smartphone-Optimierung */
@media (max-width: 650px) {
    header {
        padding: 1.75rem 1rem 1.25rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }

    .chassis-highlight-card {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .chassis-stats {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .card {
        padding: 1.4rem 1.2rem;
    }

    .table-section {
        margin-bottom: 2.5rem;
    }

    .table-responsive {
        border-radius: 8px;
    }

    th, td {
        padding: 0.75rem 0.85rem;
        font-size: 0.88rem;
    }

    .form-section {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .math-captcha-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .math-captcha-box input {
        width: 100% !important;
        max-width: 120px;
    }

    .btn-submit {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .impressum-card {
        padding: 1.5rem 1.2rem;
    }
}