/* =========================================================
   Basis
========================================================= */

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f4f4;
}


/* =========================================================
   Navigation
========================================================= */

.topnav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #111;
    padding: 15px;
}

.menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 15px;
}

.menu a {
    color: #fff;
    text-decoration: none;
}


/* =========================================================
   Logo
========================================================= */

.logo-wrap img {
    height: 250px;
    width: auto;
    display: block;
}


/* =========================================================
   Hero Bereich
========================================================= */

.hero {
    background: #111;
    color: #fff;
}

.hero-content {
    text-align: center;
    padding: 30px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}


/* =========================================================
   Buttons
========================================================= */

.btn {
    background: #d71920;
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    display: inline-block;
}


/* =========================================================
   Modellkarten
========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: auto;
}


/* =========================================================
   Seiteninhalt
========================================================= */

.content {
    padding: 30px;
}

section {
    padding: 30px;
}


/* =========================================================
   Über mich - Portugal Rally Foto
========================================================= */

.rally-photo {
    width: 100%;
    max-width: 300px;
    height: auto;

    display: block;
    margin: 20px auto;

    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   BASIS
========================================================= */

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}


/* =========================================================
   NAVIGATION
========================================================= */

.topnav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    background: #111;
    padding: 15px;
}

.menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 15px;
}

.menu a {
    color: #fff;
    text-decoration: none;
}

.menu a:hover {
    color: #d71920;
}


/* =========================================================
   LOGO
========================================================= */

.logo-wrap img {
    height: 250px;
    width: auto;
    display: block;
}


/* =========================================================
   HERO BEREICH
========================================================= */

.hero {
    background: #111;
    color: #fff;
}

.hero-content {
    text-align: center;
    padding: 30px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    background: #d71920;
    color: #fff;
    text-decoration: none;

    padding: 14px 24px;

    border-radius: 8px;

    display: inline-block;
}

.btn:hover {
    background: #b7151a;
}


/* =========================================================
   MODELLKARTEN STARTSEITE
========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
    padding: 20px;
}

.card {
    background: #fff;
    padding: 15px;

    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: auto;
}


/* =========================================================
   MODELLE SEITE
========================================================= */

.page-header {
    text-align: center;
    padding: 40px 20px;
}

.page-header p {
    max-width: 800px;
    margin: auto;
}

.model-section {
padding: 40px 20px;
text-align: center;
}
 
.model-section h2 {
text-align: center;
margin-bottom: 25px;
}
 
.model-section p {
max-width: 800px;
margin: 20px auto;
line-height: 1.7;
}

.model-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 20px;
}

.model-image {
    width: 100%;
    max-width: 350px;
    height: auto;

    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    transition: 0.3s;
}

.model-image:hover {
    transform: scale(1.02);
}


/* =========================================================
   SEITENINHALT
========================================================= */

.content {
    padding: 30px;
}

section {
    padding: 30px;
}


/* =========================================================
   ÜBER MICH
========================================================= */

.about-section {
    padding: 40px;
}

.about-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    line-height: 1.7;
}

.rally-photo {
    width: 100%;
    max-width: 300px;
    height: auto;

    display: block;

    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    flex-shrink: 0;
}


/* =========================================================
   Service
========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    text-align: center;
}

.service-card {
    background: white;

    padding: 20px;

    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.1);

    text-align: center;
}

.service-card h3 {
    text-align: center;
    margin-top: 0;
}

.service-card p {
    text-align: center;
    line-height: 1.6;
}


/* =========================================================
   COOKIE BANNER
========================================================= */

#cookie-banner {
    position: fixed;

    bottom: 0;
    left: 0;
    right: 0;

    background: #111;
    color: #fff;

    padding: 10px;

    text-align: center;

    z-index: 9999;
}

#cookie-banner button {
    margin: 5px;
    padding: 10px 15px;

    border: none;
    border-radius: 5px;

    cursor: pointer;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #111;
    color: #fff;

    text-align: center;

    padding: 30px;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 768px) {

    /* Navigation */

    .topnav {
        flex-direction: column;
        align-items: center;
    }

    /* Logo */

    .logo-wrap img {
        height: 200px;
    }

    /* Menü */

    .menu {
        justify-content: center;
        text-align: center;
    }

    /* Startseite */

    .cards {
        grid-template-columns: 1fr;
    }

    /* Hero */

    .hero-content h1 {
        font-size: 1.8rem;
    }

    /* Über mich */

    .about-wrapper {
        flex-direction: column;
    }

    .rally-photo {
        max-width: 220px;
        margin: 0 auto 20px;
    }

    /* Modelle */

    .model-image {
        max-width: 280px;
    }
}