:root {
    --primary: #007ac2;
    --primary-dark: #005a91;
    --secondary: #fcd34d;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --container: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--white);
}

h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary);
}

ul {
    list-style: none;
}

/* Header & Hero */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero.webp') no-repeat center center/cover;
    padding-bottom: 30px;
}

header {
    padding: 1.5rem 0;
}

.header-internal {
    background: var(--primary-dark);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.hero-content {
    text-align: center;
    padding: 40px 0 0px;
    color: var(--white);
}

.hero-desc {
    font-size: 1rem;
    margin: 0 auto 10px;
    color: #ddd;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.hero-benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
}

.widget-container {
    margin: 0 auto;
}

/* Sections */
section {
    padding: 5rem 0;
    width: 100%;
}

.bg-light {
    background-color: var(--bg-light);
}

.page-header {
    background: var(--primary);
    padding: 4rem 0;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Cards & Blocks */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Material Icons';
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 800px;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

tr:hover {
    background-color: var(--bg-light);
}

/* Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.08);
    border: 1px solid #e5e7eb;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    flex-shrink: 0;
}

.stars {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.reviewer {
    font-weight: 600;
    color: var(--primary);
}

.overall-rating {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Traffic section */
.traffic-main-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.08);
    padding: 2rem;
    margin-bottom: 1.75rem;
}

.traffic-main-card h3,
.traffic-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.traffic-main-card h3 .material-icons,
.traffic-card h3 .material-icons {
    color: var(--primary);
}

.traffic-rule-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    color: var(--text-light);
    margin-top: 0.8rem;
}

.traffic-rule-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: start;
    gap: 0.55rem;
}

.traffic-rule-list .material-icons {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.traffic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.traffic-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.06);
}

/* Cars */
.car-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 1.5rem;
}

.car-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background: #fff;
}

.car-details {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.car-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-dark);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    text-transform: uppercase;
}

.btn:hover {
    background: #eab308;
}

/* Why section */
.why-grid {
    align-items: stretch;
}

.why-image {
    width: 400px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    margin: 0 auto;
}

/* Sehenswuerdigkeiten */
.sights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sight-card {
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.06);
}

.sight-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.sight-head .material-icons {
    color: var(--primary);
    font-size: 1.4rem;
}

.sight-head h3 {
    margin: 0;
}

.sight-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    color: var(--text-light);
    margin-top: 0.35rem;
}

.sight-meta .material-icons {
    font-size: 1rem;
    color: var(--primary-dark);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* About Us specific */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card .material-icons {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contacts specific */
.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info-item .material-icons {
    color: var(--primary);
    font-size: 2rem;
}

.location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.location-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 1.5rem;
    width: fit-content;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: white;
}

/* Privacy Policy specific */
.content-box h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    display: inline-block;
    color: var(--text-dark);
}

.content-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
}

.content-box ul {
    padding-left: 2rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #9ca3af;
    padding: 4rem 0 2rem;
}

footer a {
    color: #d1d5db;
}

footer a:hover {
    color: var(--secondary);
}

.footer-stations {
    margin-bottom: 2.2rem;
}

.footer-stations-title {
    color: var(--white);
    font-size: 1.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 30px;
}

.footer-stations-title .material-icons {
    color: var(--secondary);
    font-size: 1.35rem;
}

.footer-stations-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem 1rem;
    margin: 0 auto;
    text-align: left;
}

.footer-stations-list li {
    color: #d1d5db;
    font-size: 0.95rem;
}

.footer-stations-list a {
    color: #d1d5db;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

@media (max-width: 992px) {

    .grid-3,
    .grid-4,
    .sights-grid,
    .review-grid,
    .traffic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .grid-3,
    .grid-4,
    .sights-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .review-grid,
    .traffic-grid {
        grid-template-columns: 1fr;
    }

    .footer-stations-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        padding: 1rem;
        text-align: center;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-benefit-item {
        width: 100%;
        justify-content: center;
    }

    header.header-internal {
        position: relative;
    }

    .content-box {
        padding: 1.5rem;
    }

    .footer-stations-list {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-image {
        width: 100%;
    }
}