/* Grundkonfiguration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial Black', Impact, sans-serif; /* Markanter, sportlicher Look */
}

body {
    background-color: #0b0b0b;
    /* Erzeugt feine, diagonale Linien, die an ein Reifenprofil oder Carbon erinnern */
    background-image: 
        linear-gradient(45deg, #111 25%, transparent 25%), 
        linear-gradient(-45deg, #111 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #111 75%), 
        linear-gradient(-45deg, transparent 75%, #111 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    color: #ffffff;
}

/* Navigationsleiste */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1% 5%;
    background-color: #121212;
    border-bottom: 2px solid #e30613; /* Rote Trennlinie */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Logo image sizing */
.navbar .logo img {
    height: 52px;
    width: auto;
    display: block;
}

@media (max-width: 576px) {
    .navbar .logo img {
        height: 36px;
    }
}

.navbar nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar nav a:hover, .navbar nav a.active {
    color: #ffd700; /* Gelb beim Drüberfahren */
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 4px 0;
    border-radius: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-toggle {
        display: inline-flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #121212;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        border-bottom: 2px solid #e30613;
        z-index: 999;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        margin-left: 0;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-links a:first-child {
        border-top: none;
    }
}

/* Home-Bereich Layout */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    min-height: 100vh;
    padding: 100px 5% 50px 5%; /* Abstand wegen der fixierten Navbar */
}

.hero-content {
    flex: 1 1 42%;
    min-width: 300px;
}

/* Flyer-Texte stylen */
.badge-247 {
    background-color: #e30613;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 65px;
    line-height: 0.9;
    letter-spacing: -2px;
}

.hero-content h2 {
    color: #ffd700; /* Das markante Gelb */
    font-size: 32px;
    margin-bottom: 25px;
}

/* NEU: Styling für die Buttons im Home-Bereich */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Verhindert ein Überlappen auf kleineren Bildschirmen */
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    letter-spacing: 0.5px;
}

/* Anruf-Button (Gelb/Schwarz im Rennsport-Look) */
.btn-call {
    background-color: #ffd700;
    color: #0b0b0b;
}

.btn-call:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* WhatsApp-Button (WhatsApp-Grün) */
.btn-wa {
    background-color: #25D366;
    color: #ffffff;
}

.btn-wa:hover {
    background-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Optionale Ergänzung für weiches Scrollen auf der Seite */
html {
    scroll-behavior: smooth;
}

/* Mobile Optimierung für die Buttons */
@media (max-width: 576px) {
    /* Navbar: enger platzieren, Logo und Hamburger nebeneinander */
    .navbar {
        padding: 12px 3%;
        justify-content: flex-start;
        gap: 8px;
    }
    .navbar .logo {
        font-size: 18px;
        margin-right: 6px;
    }
    .nav-toggle {
        margin-left: auto;
        margin-right: 8px;
    }

    /* Hero: Bildbreite begrenzen und Overflow verhindern */
    .hero-section {
        padding: 80px 3% 40px;
    }
    .hero-image {
        min-width: auto;
        width: 100%;
        padding-bottom: 12px;
    }
    .image-placeholder {
        max-width: 100%;
        width: 100%;
    }
    .image-placeholder img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn {
        width: 100%;
    }
}

.claim {
    background-color: #e30613; /* Roter Hintergrund wie auf dem Flyer */
    color: white;
    display: inline-block;
    padding: 8px 20px;
    font-size: 22px;
    transform: skewX(-10deg); /* Schräger Rennsport-Look */
    margin-bottom: 30px;
}

/* Vorteile-Liste */
.vorteile {
    list-style: none;
}

.vorteile li {
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.vorteile .check {
    color: #ffd700;
    margin-right: 10px;
    font-weight: bold;
}

/* Bild-Bereich für PC und Smartphone */
.hero-image {
    flex: 1 1 52%;
    max-width: 55%;
    min-width: 0;
    height: auto;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 10px;
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    .hero-content h1 {
        font-size: 45px;
    }
    .hero-content h2 {
        font-size: 24px;
    }
    .hero-image {
        min-width: auto;
        width: 100%;
        margin-top: 40px;
    }
    .image-placeholder {
        max-width: 100%;
    }
    .leistungen-section {
        padding: 80px 4% 60px;
    }
    .leistungen-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin: 0 auto;
    }
    .kontakt-section {
        padding: 80px 4% 60px;
    }
    .kontakt-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .formular-box,
    .daten-box {
        max-width: 700px;
        margin: 0 auto;
    }
    .phone-link {
        font-size: 22px;
    }
}

/* Leistungen Bereich Styling */
.leistungen-section {
    padding: 100px 5%;
    text-align: center;
}

/* Gelbe Hauptüberschrift analog zum Flyer */
.section-title {
    font-size: 36px;
    color: #ffd700;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 3px solid #e30613; /* Roter Akzentbalken darunter */
    padding-bottom: 10px;
}

/* 3-spaltiges Raster für PCs, bricht automatisch um */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Einzelne Kachel im Flyer-Stil */
.leistungs-card {
    background-color: #121212;
    border: 2px solid #ffd700; /* Gelber Rahmen wie auf dem Flyer */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.leistungs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15);
}

/* Notdienst-Kachel bekommt einen roten Warn-Rahmen für mehr Aufmerksamkeit */
.leistungs-card.card-highlight {
    border-color: #e30613;
}
.leistungs-card.card-highlight:hover {
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.2);
}

/* Titelzeile der Kachel */
.card-header {
    padding: 15px;
    background-color: rgba(46, 44, 44, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid #333;
}

.card-header .icon {
    font-size: 20px;
}

.card-header h3 {
    font-size: 18px;
    color: #ffd700;
    letter-spacing: 0.5px;
}
.card-highlight .card-header h3 {
    color: #e30613; /* Rote Schrift für den Notdienst */
}

/* Bildbereich innerhalb der Kachel */
.card-image-box {
    height: 200px;
    background-color: #1c1c1c;
    position: relative;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet Bilder perfekt zu */
}

.img-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 14px;
}

/* Unterer Textbalken der Kachel */
.card-footer {
    padding: 15px;
    background-color: rgba(46, 44, 44, 0.1);
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 0.5px;
    border-top: 1px solid #333;
    margin-top: auto; /* Schiebt den Footer immer nach ganz unten */
}

/* Mobile Optimierung */
@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    .leistungen-grid {
        grid-template-columns: 1fr; /* Nur 1 Kachel pro Zeile am Handy */
        gap: 20px;
    }
}
/* Kontakt Bereich Styling */
.kontakt-section {
    padding: 100px 5%;
    text-align: center;
}

.kontakt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.formular-box, .daten-box {
    flex: 1;
    min-width: 320px;
    background-color: #121212;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
}

/* Formular Elemente */
.formular-box h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 10px;
}

.formular-box p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 25px;
    font-family: sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffd700; /* Gelbe Beschriftung */
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group select {
    width: 100% ;
    padding: 12px;
    background-color: #1c1c1c;
    border: 2px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-family: sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.form-group select:focus {
    border-color: #ffd700;
}

/* Großer grüner WhatsApp Button */
.whatsapp-btn {
    width: 100%;
    padding: 15px;
    background-color: #25D366; /* Original WhatsApp Grün */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    background-color: #1ea952;
    transform: translateY(-2px);
}

/* Rechte Spalte: Kontaktdaten im Flyer-Style */
.flyer-banner {
    background-color: #e30613; /* Roter Hintergrund */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.banner-text {
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

.phone-link {
    display: block;
    font-size: 28px;
    color: #ffd700; /* Markantes Gelb für die Nummer */
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

.zusatz-info {
    text-align: center;
}

.slogan {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 30px;
    font-style: italic;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.email, .web {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
    font-family: sans-serif;
}

/* Styling für den WhatsApp-Hinweis unter dem Button */
.whatsapp-hinweis {
    margin-top: 15px;
    font-size: 13px !important;
    color: #aaaaaa;
    line-height: 1.4;
    font-family: sans-serif;
}

/* Styling für die Sprachen-Info auf der rechten Seite */
.sprachen-box {
    margin-top: 25px;
    padding: 15px;
    background-color: #1c1c1c;
    border-radius: 8px;
    border-left: 3px solid #ffd700; /* Gelber Akzentstreifen */
}

.sprachen-titel {
    color: #ffd700;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.sprachen-liste {
    color: #ffffff;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: normal;
}

/* Footer Section */
.footer-section {
    padding: 30px 5%;
    background-color: #121212;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-link {
    background: none;
    border: none;
    color: #ffd700;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.footer-link:hover,
.footer-link:focus {
    color: #ffffff;
}

/* Modal Popups */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 14px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    position: relative;
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    color: #dddddd;
    margin-top: 16px;
    line-height: 1.75;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.modal-body h1,
.modal-body h3 {
    color: #ffcc00;
}

.modal-body p + p {
    margin-top: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .footer-links {
        justify-content: center;
    }
}
