/* ==== GRUNDEINSTELLUNGEN & TYPOGRAPHIE ==== */
/* Die @import-Regel für Google Fonts wurde aus dieser Datei entfernt. */

:root {
    --primary-color: #005c99; /* Ein seriöses Blau */
    --secondary-color: #ffc107; /* Ein warmes Gelb für Akzente */
    --dark-color: #212529; /* Dunkler Text für Lesbarkeit */
    --light-color: #f8f9fa; /* Sehr heller Hintergrund */
    --white-color: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Verbessert die Schriftglättung */
    -moz-osx-font-smoothing: grayscale;
}

.content {
    padding-top: 80px; /* Platz für den fixen Header */
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 60px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* ==== HEADER ==== */
#header {
    background: var(--white-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center; /* Geändert: Zentriert den Link in der Mitte */
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 60px;
}

/* NEU: Macht den Link zu einem Flex-Container */
.header-link {
    display: flex;
    align-items: center; /* Richtet Logos und Text vertikal mittig aus */
    gap: 15px; /* Fügt einen Abstand zwischen den Elementen hinzu */
    text-decoration: none; /* Entfernt den blauen Unterstrich vom Link */
}

.logo {
    height: 40px; /* Angepasst für eine gute Größe in der Leiste */
    width: auto; /* Behält das Seitenverhältnis bei */
}

#header-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0; /* Entfernt Standard-Abstände für perfekte Ausrichtung */
}

/* Anpassung für mobile Geräte */
@media (max-width: 768px) {
    #header-title {
        font-size: 1rem;
    }
    .header-link {
        gap: 10px; /* Etwas weniger Abstand auf kleinen Bildschirmen */
    }
}

/* ==== HERO SECTION ==== */
.hero {
    background: linear-gradient(rgba(0, 92, 153, 0.8), rgba(0, 92, 153, 0.8)), url('/images/vienna-taxis-optimized.jpeg') no-repeat center center;
    background-attachment: fixed; /* Sorgt für einen schönen Parallax-Effekt beim Scrollen */
    background-size: cover;
    color: var(--white-color);
    text-align: center;
    padding: 80px 20px;
    margin-top: -80px;
    padding-top: 140px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white-color);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.hero-buttons {
    display: flex; /* NEU: Macht die Buttons flexibel für die mobile Ansicht */
    justify-content: center;
    flex-wrap: wrap; /* Erlaubt Umbruch bei schmalen Bildschirmen */
    gap: 15px; /* NEU: Sorgt für Abstand zwischen den Elementen */
}

.hero-buttons a {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: transform 0.2s ease;
    display: inline-block;
}

.hero-buttons a:hover {
    transform: translateY(-3px);
}


/* ==== VERGLEICHS-KARTEN ==== */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.comparison-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-title {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 15px;
    font-size: 1.4rem;
    margin: 0;
    text-align: center;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-logo {
    object-fit: contain;
    height: 160px;
    background: var(--white-color);
    padding: 10px;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 5px;
}
h4.advantages { color: #28a745; }
h4.disadvantages { color: #dc3545; }

/* Dies ist jetzt die EINZIGE Regel für .card-list */
.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Dies ist jetzt die EINZIGE Regel für .card-list li */
.card-list li {
    padding: 5px 0;
    display: flex;
    align-items: flex-start; /* Stellt sicher, dass bei Umbruch alles obenbündig ist */
    padding-left: 28px; /* Schafft Platz für das Icon */
    position: relative; /* Wichtig für die Positionierung des Icons */
}

/* Neuer Code für die Listen-Optik */
.card-list li::before {
    position: absolute; /* Positioniert das Icon absolut zum Listenpunkt */
    left: 0;
    top: 5px; /* Feinanpassung der vertikalen Position */
    font-size: 1.1rem;
    font-weight: bold;
}

/* Fügt den grünen Haken für Vorteile hinzu */
.advantages-list li::before {
    content: '✔';
    color: #28a745;
}

/* Fügt das rote Kreuz für Nachteile hinzu */
.disadvantages-list li::before {
    content: '✘';
    color: #dc3545;
}

.rating-box {
    background: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: auto; /* Schiebt die Box immer nach unten */
    text-align: center;
}

.rating-logo {
    width: 100px;
    height: auto;
    margin: 5px auto;
}

/* ==== FAZIT & INFO BOXEN ==== */
.conclusion-box {
    background: var(--white-color);
    border-left: 5px solid var(--primary-color);
    padding: 25px 30px;
    margin: 20px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.conclusion-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.conclusion-box strong {
    color: var(--primary-color);
}

/* ==== FOOTER ==== */
#footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 40px 20px 0;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 15px;
    font-size: 0.8rem;
    margin-top: 20px;
}


/* ==== RESPONSIVE DESIGN FÜR HANDYS & TABLETS ==== */
@media (max-width: 768px) {
    main {
        padding: 15px; /* OPTIMIERT: Etwas weniger Abstand auf kleinen Geräten */
    }
    .hero {
        padding-left: 15px;  /* OPTIMIERT: Weniger horizontaler Abstand */
        padding-right: 15px;
        background-attachment: scroll; /* Deaktiviert Parallax-Effekt auf Mobilgeräten, da es zu Performance-Problemen führen kann */
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    #header-title {
        font-size: 1rem; /* OPTIMIERT: Passt besser zwischen die Logos */
    }
    .section-title {
        font-size: 1.8rem;
    }
    .comparison-grid {
        grid-template-columns: 1fr; /* Stellt sicher, dass Karten untereinander sind */
    }
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
    .conclusion-box {
        padding: 20px; /* OPTIMIERT: Passt den Innenabstand für schmale Bildschirme an */
    }
}
/* ==== FAQ SECTION ==== */
.faq-item {
    background: var(--white-color);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+'; /* Simple expand/collapse icon */
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px; /* Start with no vertical padding */
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

/* Styles for when the FAQ item is active/open */
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Or a larger value if your answers are long */
    padding: 0 20px 20px 20px; /* Add padding when open */
}
/* ==== ÜBERSICHTSTABELLE ==== */
.overview-table-container {
    overflow-x: auto; /* Ermöglicht horizontales Scrollen auf Handys */
    -webkit-overflow-scrolling: touch; /* Verbessert das Scroll-Erlebnis auf iOS */
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.overview-table {
    width: 100%;
    min-width: 700px; /* Verhindert, dass die Tabelle auf dem Handy zu sehr gequetscht wird */
    border-collapse: collapse;
    font-size: 1rem;
    text-align: center;
    background: var(--white-color);
}

.overview-table th,
.overview-table td {
    padding: 15px;
    vertical-align: middle;
}

.overview-table thead th {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 1.1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.overview-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

.overview-table tbody tr:hover {
    background-color: var(--light-color);
}

.overview-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--dark-color);
}

.price-level {
    font-weight: 700;
    font-size: 1.2rem;
}

.rating-stars {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* ==== PRIVACY POPUP ==== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
}

.popup-content {
    background: var(--white-color);
    color: var(--dark-color);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--primary-color);
    opacity: 0;
    transform: scale(0.9);
    animation: popupFadeIn 0.5s forwards;
}

.popup-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.popup-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

#close-popup {
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: var(--border-radius);
    margin-top: 15px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#close-popup:hover {
    background: #004a7c;
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}