/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Audrey Palette: Elegant, Minimalistisch, Kontrastreich */
    --primary-black: #121212; /* Tiefes Schwarz */
    --secondary-gold: #C0B298; /* Stumpfes, edles Beige-Gold (Champagner) */
    --light-bg: #FAFAFA; /* Reinweiß/Off-White */
    --white: #FFFFFF;
    --text-dark: #121212;
    --text-light: #FAFAFA;
    --text-gray: #757575;
    
    --border-radius: 0px; /* Eckig für den edlen Look */
    --border-radius-lg: 0px; 
    
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.08);

    /* Mapping für bestehende Klassen */
    --primary-blue: var(--primary-black); 
    --secondary-blue: var(--secondary-gold);
    --light-blue: var(--light-bg);
    --accent-gold: var(--secondary-gold);
    --bg-warm: var(--light-bg);
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; /* Lato ist freundlicher/weicher */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Serifenschrift für Eleganz */
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SVG Icons Styles */
.icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5; /* Etwas feiner bei großen Icons */
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-black); /* Schwarz für Topbar */
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.8rem 0; /* Etwas mehr Padding */
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end; /* Rechtsbündig wie oft bei Corporate */
    gap: 2rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item .icon {
    color: var(--accent-gold); /* Goldene Icons in der Topbar */
    opacity: 0.9;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0; /* Padding wird durch nav-wrapper geregelt */
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0; /* Etwas reduziertes Padding */
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--primary-black);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px; /* Mehr Spacing im Logo */
    text-transform: uppercase; /* Wie im Bild */
}

/* Logo Image Styling (Neu hinzugefügt nach Revert) */
.nav-logo {
    height: 50px !important;
    width: auto !important;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.footer-logo {
    height: 60px !important;
    width: auto !important;
    max-width: 250px;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
    /* mix-blend-mode entfernt */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center; /* Zentriert Items vertikal */
}

.nav-menu > li {
    position: relative; /* Für Dropdown-Positionierung */
    padding: 1rem 0; /* Vergrößert die Hover-Fläche */
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    display: block; /* Wichtig für Link-Fläche */
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 0; /* Eckig */
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 2px solid var(--secondary-gold);
}

.nav-menu > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    padding: 0;
    list-style: none; /* Entfernt die Punkte */
}

.dropdown a {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    white-space: nowrap;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown a:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.dropdown li:last-child a {
    border-bottom: none;
}

/* Pfeil für Dropdown */
.has-dropdown > a::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 5px;
    color: var(--accent-gold);
    vertical-align: middle;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

/* Aktiver Link Unterstrich nur für Top-Level Items, nicht im Dropdown */
.nav-menu > li > a.active::after {
    /* Wenn kein Dropdown Pfeil da ist, ist dies der Unterstrich */
}

/* Hero Base Styles (Gemeinsam für alle) */
.hero, .hero-small {
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Damit es über dem Overlay liegt */
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Stärkerer Schatten für Lesbarkeit */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Spezifische Hero Hintergründe */

/* Startseite (Groß) */
.hero {
    padding: 10rem 0; /* Mehr Raum */
    /* Warmes Overlay: Gold-Beige gemischt mit leichtem Schwarz für Lesbarkeit */
    background: linear-gradient(rgba(192, 178, 152, 0.35), rgba(0, 0, 0, 0.5)), url('img/high-angle-agenda-und-laptop.jpg');
    background-size: cover;
    background-position: center;
}

/* Unterseiten (Kleiner) */
.hero-small {
    padding: 5rem 0; /* Etwas größer als vorher, damit man das Bild sieht */
}

/* Hintergrundbilder für die Unterseiten */
.hero-leistungen {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/bild-von-ingenieur-objekte-am-arbeitsplatz-top-view-construction-konzept-engineering-tools-vintage-ton-retro-filter-effekt-soft-fokus-selektiven-fokus.jpg');
    background-size: cover;
    background-position: center;
}

.hero-about {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/tasse-kaffee-am-laptop.jpg');
    background-size: cover;
    background-position: center;
}

.hero-kontakt {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/geschaftsmann-unter-verwendung-des-handys-wahrend-der-kaffeepause.jpg');
    background-size: cover;
    background-position: center;
}

.hero-impressum {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/high-angle-agenda-und-laptop.jpg');
    background-size: cover;
    background-position: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 0; /* Eckig */
    text-decoration: none;
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 2px; /* Viel Spacing für den edlen Look */
    text-transform: uppercase; /* Großbuchstaben wie im Bild */
}

.btn-primary {
    background-color: var(--secondary-gold); /* Goldener Button */
    color: var(--primary-black); /* Schwarzer Text */
    box-shadow: none; /* Flacher Look */
    border: 1px solid var(--secondary-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Spezieller Style für Secondary Button im Hero (Weiß auf dunklem Hintergrund) */
.hero .btn-secondary, 
.hero-small .btn-secondary {
    color: var(--white);
    border-color: var(--white);
    background-color: transparent;
}

.hero .btn-secondary:hover, 
.hero-small .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-black);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-black);
    border-color: var(--primary-black);
}

.btn-secondary:hover {
    background-color: var(--primary-black);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--light-blue);
}

/* Disclaimer */
.disclaimer {
    background-color: #C0B298; /* Pastell Gold wie "Über uns" */
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.disclaimer-box {
    text-align: center;
}

.disclaimer-box p {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Content Sections */
.section {
    padding: 5rem 0;
}

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

.bg-pastel {
    background-color: #C0B298; /* Pastell Gold/Beige */
    color: var(--white);
}

.bg-pastel h2, 
.bg-pastel p,
.bg-pastel .section-title,
.bg-pastel strong {
    color: var(--white) !important;
}

.bg-pastel .section-title::after {
    background-color: var(--white);
}

/* Button auf Pastell Hintergrund anpassen */
.bg-pastel .btn-primary {
    background-color: var(--white);
    color: #C0B298; /* Text in der Hintergrundfarbe */
    border-color: var(--white);
}

.bg-pastel .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* Kürzerer Strich */
    height: 1px; /* Dünnerer Strich */
    background-color: var(--secondary-gold);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 3rem 2.5rem; /* Etwas mehr Padding */
    border-radius: 0; /* Eckig */
    box-shadow: none; /* Flacher Look, nur Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05); /* Feiner Rahmen */
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--secondary-gold); /* Goldener Rahmen beim Hover */
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-gold); /* Icons in Gold */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-icon .icon {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: auto;
}

.service-card ul li {
    padding: 0.6rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
    line-height: 1;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Detail Pages Specifics */
.detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.detail-content h3 {
    color: var(--secondary-gold); /* Goldene Zwischenüberschriften */
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.detail-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.detail-content li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.detail-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 1.2rem; /* Breite des Hakens */
    height: 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AC0D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* About Content */
.about-content {
    max-width: 1000px; /* Breite erhöhen für Bild + Text */
    margin: 0 auto;
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 0; /* Eckig */
    box-shadow: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.about-image {
    flex: 0 0 300px; /* Feste Breite für Bildspalte */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0; /* Eckig */
    box-shadow: none;
    object-fit: cover;
}

.about-text-content {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 300;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        padding: 2rem;
    }
    
    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem auto;
    }
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 0; /* Eckig */
    box-shadow: none;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-gold);
}

.contact-card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--accent-gold); /* Kontakt-Icons in Gold */
    stroke-width: 1.5;
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Footer */
.footer {
    background-color: var(--primary-black); /* Tiefschwarz */
    color: #F0F0F0;
    padding: 5rem 0 2rem;
    margin-top: auto;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-gold); /* Goldene Überschriften im Footer */
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #CCCCCC; /* Hellgrau */
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999999;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

    .hamburger span {
        width: 25px;
        height: 2px;
        background-color: var(--primary-blue);
        transition: all 0.3s ease;
        transform-origin: 5px 1px; /* Für Rotation */
    }

    /* Hamburger Animation zu X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        display: none; /* Topbar mobil ausblenden um Platz zu sparen, oder styling anpassen */
    }

    .navbar {
        padding: 0.5rem 0;
        z-index: 1001; /* Navbar muss hoch sein */
    }

    .nav-wrapper {
        padding: 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-logo {
        height: 40px !important; /* Logo mobil etwas kleiner */
    }

    .hamburger {
        display: flex;
        z-index: 1100; /* Ganz oben, über Menü */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 2rem;
        gap: 2rem;
        z-index: 1050; /* Über der Navbar (1001) und dem Overlay (1000) */
    }

    .nav-menu.active {
        right: 0; /* Slide in */
        left: auto;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Mobile Dropdown KOMPLETT AUSBLENDEN */
    .dropdown, .has-dropdown .dropdown {
        display: none !important;
    }

    /* Pfeil mobil ausblenden */
    .has-dropdown > a::after {
        display: none;
    }

    /* Logo im mobilen Menü anzeigen */
    .nav-menu::before {
        content: '';
        display: block;
        width: 150px;
        height: 80px;
        background-image: url('img/my_taxes_logo1.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin: 0 auto 2rem auto;
        flex-shrink: 0;
        filter: none;
        -webkit-filter: none;
    }
}
