:root {
    --header-bg: #1a1a1a;
    --accent-red: #e63946;
    --text-light: #ffffff;
    --whatsapp: #25D366;
    --phone: #3498db;
    --bg-light: #f9f9f9;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

/* --- HEADER --- */
.main-header {
    background-color: var(--header-bg);
    color: var(--text-light);
    padding: 0.65rem 0;
}

.header-flex {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    height: 50px;
}

.nav-menu {
    display: flex;
    justify-content: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-red);
}

.language-switch {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--accent-red);
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

/* --- BUTTONS --- */
.btn-submit {
    background-color: var(--accent-red);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: inline-block;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: #c32f3a;
}

/* --- SEKTIONEN & GRIDS --- */
.values-container, .benefit-grid, .tire-grid {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.values-container {
    grid-template-columns: repeat(3, 1fr);
}

.benefit-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 40px;
}

.value-box, .benefit-item {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    border-bottom: 4px solid var(--accent-red);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.value-box:hover, .benefit-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* --- TABELLEN --- */
.price-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th {
    background: var(--header-bg);
    color: white;
    padding: 15px;
    text-align: left;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

tr:nth-child(even) { background: #f4f4f4; }

/* --- HERO BEREICH --- */
.hero-section {
    padding: 120px 0;
    text-align: center;
    background: #333 url('mein-hintergrund.png') no-repeat center center/cover;
    color: white;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

 /* --- FLOATING CONTACT --- */ 

.floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px; /* Größe der Icons */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Spezifische Markenfarben */
.whatsapp-btn { background-color: #25D366; }
.call-btn     { background-color: #3498db; }
.email-btn    { background-color: #e63946; } /* Akzent-Rot für E-Mail */

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    filter: brightness(1.1);
    color: white;
}

/* Tooltip-Effekt (optional, zeigt Namen beim Hover) */
.float-btn:hover::before {
    content: attr(title);
    position: absolute;
    right: 65px;
    background: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    .header-flex {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu ul { gap: 15px; font-size: 14px; }
    
    .values-container, .tire-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .tire-types-section {
        margin-top: 25px !important;
    }

    .tire-statement p {
        font-size: 1rem !important;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    /* Erhöhter Leerraum am Ende der Seite für Mobile */
    .main-footer {
        padding-bottom: 180px !important; 
    }

    [lang="en"], [lang="de"] { hyphens: auto; }
}

/* --- SPRACHSTEUERUNG --- */
[lang="en"] { display: none !important; }
body.lang-en [lang="de"] { display: none !important; }
body.lang-en [lang="en"] { display: inline !important; }
body.lang-en div[lang="en"], 
body.lang-en section[lang="en"], 
body.lang-en p[lang="en"] { 
    display: block !important; 
}