/* ============================================================
   TESLA TAXI 24 – Layout
   Header, Mobile Menu, Breadcrumbs, Hero, Contact, Footer
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
    background: var(--brand);
    color: var(--text-light);
    padding: 16px 0;
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }

.logo { 
    font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; 
    color: var(--text-light); 
    white-space: nowrap;
    flex-shrink: 0; 
}
.logo span { color: var(--mint); }
.logo-light { color: var(--text-light); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem; 
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text-light); }
.nav-links a[aria-current="page"] { color: var(--mint); font-weight: 700; }

.header-actions { display: flex; gap: 16px; align-items: center; }
.header-phone {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text-light-muted); font-size: 0.95rem; font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
}
.header-phone:hover { color: var(--text-light); }
.header-phone svg { color: var(--mint); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column; justify-content: space-between;
    width: 30px; height: 22px; padding: 4px 0;
    background: none; border: none;
}
.mobile-menu-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--text-light); border-radius: 1px;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    display: none;
    position: fixed; inset: 0;
    background: var(--brand); z-index:1000;
    padding: 100px 24px 40px;
    flex-direction: column; overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; color: var(--text-light);
    font-size: 1.5rem; padding: 8px;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav-links a:not(.btn) {
    color: var(--text-light); font-size: 1.2rem; font-weight: 600; padding: 8px 0;
}
.mobile-nav-links a:not(.btn):hover { color: var(--mint); }
.mobile-nav-links hr {
    border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 16px 0;
}

/* Mobile Buttons im Menü (Screenshot 1 Fix) */
.mobile-nav-links .btn,
.mobile-nav-links .header-phone-mobile {
    display: flex; width: 100%; justify-content: center; align-items: center;
    padding: 14px 20px; border-radius: var(--radius-md);
    font-size: 1.1rem; font-weight: 700; margin-top: 8px;
}
.mobile-nav-links .header-phone-mobile {
    border: 2px solid var(--mint); color: var(--mint); background: transparent;
}

/* ---------- Breadcrumbs (Screenshot 3 Fix) ---------- */
.breadcrumbs {
    background-color: var(--bg-body);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    font-size: 0.85rem;
}
.breadcrumbs ol {
    list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; align-items: center;
}
.breadcrumbs li {
    display: flex; align-items: center; color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after {
    content: '›'; margin-left: 8px; color: var(--text-light-muted); font-weight: bold;
}
.breadcrumbs a {
    color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.breadcrumbs a:hover {
    color: var(--brand); text-decoration: underline;
}
.breadcrumbs .current {
    color: var(--brand); font-weight: 600;
}

/* ---------- Hero (Startseite) ---------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: url('/images/tesla-taxi-winterthur-hero-nacht.avif') right center / cover no-repeat;
    color: var(--text-light);
    overflow: hidden;
    padding: 80px 0;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 35%, rgba(16, 62, 54, 0.75) 60%, rgba(16, 62, 54, 0.2) 100%);
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    width: 100%;
}
.hero-content { max-width: 620px; }

.hero-badge {
    display: inline-block;
    background: rgba(44,236,154,0.12); color: var(--mint);
    padding: 8px 16px; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 24px; border: 1px solid rgba(44,236,154,0.3);
}
.hero h1 {
    color: var(--text-light);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.05; font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero h1 span { color: var(--mint); }
.hero-sub {
    color: var(--text-sub);
    font-size: 1.15rem; line-height: 1.6;
    max-width: 520px; margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
    position: relative;
    background: var(--brand);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(16, 62, 54, 0.85) 0%, rgba(16, 62, 54, 0.6) 55%, rgba(16, 62, 54, 0.3) 100%), var(--bg-image, url('/images/tesla-taxi-winterthur-hero-nacht.avif')) center / cover;
    z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    color: var(--text-light); margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.page-hero p {
    color: var(--text-sub); font-size: 1.2rem; max-width: 700px; margin: 0 auto;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.page-hero--default      { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--airport      { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--business     { --bg-image: url('/images/tesla-taxi-winterthur-innenraum.avif'); }
.page-hero--school       { --bg-image: url('/images/vw-t6-taxi-winterthur-innenraum.avif'); }
.page-hero--wedding      { --bg-image: url('/images/vw-t6-taxi-winterthur-kolonne.avif'); }
.page-hero--fleet        { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--locations    { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--destinations { --bg-image: url('/images/vw-t6-taxi-winterthur-kolonne.avif'); }
.page-hero--booking      { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--prices       { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--legal        { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--interlaken   { --bg-image: url('/images/tesla-taxi-winterthur-tueren-offen.avif'); }
.page-hero--luzern       { --bg-image: url('/images/vw-t6-taxi-winterthur-kolonne.avif'); }
.page-hero--zuerich      { --bg-image: url('/images/tesla-taxi-winterthur-hero-nacht.avif'); }
.page-hero--basel        { --bg-image: url('/images/tesla-taxi-winterthur-innenraum.avif'); }
.page-hero--rheinfall    { --bg-image: url('/images/vw-t6-taxi-winterthur-innenraum.avif'); }
.page-hero--bern         { --bg-image: url('/images/tesla-taxi-winterthur-heck-nacht.avif'); }

/* ---------- Contact ---------- */
.contact-section { background: var(--brand); padding: 100px 0; }
.contact-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

.contact-info-block { margin-bottom: 32px; }
.contact-info-label {
    display: block; font-size: 0.75rem; font-weight: 700;
    color: var(--text-light-muted);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.contact-info-value { font-size: 1.1rem; font-weight: 600; color: var(--text-light); }
.contact-info-value--big {
    font-size: 1.5rem; color: var(--mint);
    display: inline-block; margin-top: 4px;
}

.contact-form {
    background: var(--bg-card); padding: 40px;
    border-radius: var(--radius-md);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--brand);
    color: var(--text-light);
    padding: 80px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 64px;
}
.footer-grid h3 {
    color: var(--mint); font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
    color: var(--text-light-muted); font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-grid a:hover { color: var(--mint); }

.footer-text {
    color: var(--text-light-muted); font-size: 0.9rem;
    max-width: 320px; margin-top: 12px;
}
.footer-list { display: flex; flex-direction: column; }

.footer-lang {
    display: flex; justify-content: center; align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem; color: var(--text-light-muted);
}
.footer-lang a { color: var(--text-light-muted); transition: color 0.2s; }
.footer-lang a.active { color: var(--mint); font-weight: 700; }
.footer-lang a:hover  { color: var(--text-light); }

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem; color: var(--text-light-muted);
}
.footer-copy p { color: var(--text-light) !important; } /* Lighthouse Fix */

/* ---------- Responsive Layout ---------- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .header-phone { display: none; }
    .header-actions .btn-primary { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero {
        min-height: auto;
        padding: 64px 0;
        background-position: center bottom;
    }
    .hero::before {
        background: linear-gradient(180deg, var(--brand) 0%, var(--brand) 55%, rgba(16, 62, 54, 0.85) 80%, rgba(16, 62, 54, 0.6) 100%);
    }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1  { font-size: 2.5rem; }
    .hero-sub { font-size: 1.05rem; }

    .page-hero   { padding: 64px 0; }
    .page-hero h1{ font-size: 2rem; }
    .page-hero p { font-size: 1rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 0; }
}
/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
body {
    /* Platz schaffen, damit die Sticky Bar den Inhalt nicht verdeckt */
    padding-bottom: 80px; 
}

.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.is-hidden {
    transform: translateY(100%);
}

.sticky-btn-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.sticky-btn-book {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Nur auf Mobile anzeigen */
@media (min-width: 901px) {
    .mobile-sticky-cta {
        display: none;
    }
    body {
        padding-bottom: 0;
    }
}