@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ==========================================================================
   NHT-Bau Seite 2 - Helles Braun & Gold (Travertin & Champagner-Gold)
   ========================================================================== */

:root {
    --bg-dark: #f5efe6;
    /* Sanfter, heller Travertin/Sandstein-Farbton */
    --bg-card: #ffffff;
    /* Warmes Weiß für Karten */
    --bg-card-hover: #faf8f5;
    /* Zartes Elfenbein auf Hover */
    --primary: #b69146;
    /* Elegantes Messing- / Champagner-Gold */
    --primary-glow: rgba(182, 145, 70, 0.25);
    --secondary: #d5b880;
    /* Lichteres Gold */
    --text-main: #362a21;
    /* Tiefes Espresso-Dunkelbraun für weichen, edlen Kontrast */
    --text-muted: #7c6a5e;
    /* Warmes Taupe-Graubraun für Sekundärtexte */
    --border-color: rgba(182, 145, 70, 0.15);
    /* Warme gold-braune Trennlinien */
    --accent-glow: radial-gradient(circle, rgba(197, 168, 128, 0.1) 0%, rgba(245, 239, 230, 0) 70%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offsets anchor scrolling so headers do not cover content */
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    text-align: center;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ebdcc8;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Utility Classes & Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orange-text {
    color: var(--primary);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(245, 239, 230, 0.85);
    /* Sandstein Nav mit Unschärfe */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    /* Goldene Trennlinie deutlich sichtbar machen */
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(245, 239, 230, 0.98);
    box-shadow: 0 4px 30px rgba(54, 42, 33, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    transition: var(--transition);
    position: relative;
    /* Ermöglicht absolute Zentrierung des Menüs */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: var(--transition);
    border: none;
    background: transparent;
    cursor: pointer;
}

.logo-btn:hover {
    transform: scale(1.05);
}

.logo-btn.active {
    opacity: 1;
}

.logo-btn:not(.active) {
    opacity: 0.55;
}

.logo-btn:not(.active):hover {
    opacity: 0.9;
}

.logo-divider {
    width: 1px;
    height: 35px;
    background-color: var(--border-color);
    transition: var(--transition);
}

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(54, 42, 33, 0.1));
    transition: var(--transition);
    border-radius: 4px;
}

.logo-img-sanitaer {
    border-radius: 4px;
}

/* Make the Heizung & Sanitär logo appear larger to compensate for its internal padding/aspect ratio */
.logo-btn[data-company="sanitaer"] .logo-img {
    height: 95px;
}

header.scrolled .logo-btn[data-company="sanitaer"] .logo-img {
    height: 65px;
}

header.scrolled .logo-img {
    height: 42px;
}

header.scrolled .logo-divider {
    height: 25px;
}

.footer-logo-container {
    justify-content: center;
    margin-bottom: 15px;
}

header.scrolled .nav-container {
    padding: 6px 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #000000;
    /* NHT in schwarzer Schrift */
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(12px, 1.5vw, 25px);
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(182, 145, 70, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(54, 42, 33, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(182, 145, 70, 0.05);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-container-rel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Zentriert den Inhaltsblock (.hero-content) horizontal */
}

.services-cta-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.services-cta-bottom .btn {
    padding: 15px 40px;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(182, 145, 70, 0.3);
}

.hero-logos-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-logos-top .logo-btn .hero-logo-img {
    height: 210px;
    width: auto;
    object-fit: contain;
}

.hero-logos-top .logo-btn .hero-logo-img-sanitaer {
    height: 315px;
    /* Larger size to balance its square shape and inner padding */
    position: relative;
    top: 55px;
    /* Shifts the logo slightly down to align it visually with the Bau logo */
}

.hero-logo-top-divider {
    width: 1px;
    height: 210px;
    background-color: var(--border-color);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin-top: 0;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.6s;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.8s;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent-glow);
    pointer-events: none;
    z-index: 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

/* Services Tab Styles */
.services-tab-control-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.services-tab-control {
    display: inline-flex;
    background: rgba(182, 145, 70, 0.08);
    border: 1px solid rgba(182, 145, 70, 0.25);
    border-radius: 50px;
    padding: 6px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(182, 145, 70, 0.4);
}

.services-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.services-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-tab-content.active {
    animation: fadeInTab 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(54, 42, 33, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(182, 145, 70, 0.4);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(54, 42, 33, 0.08);
}

/* Richtet den 4. Service (Fenster & Türen und 24h Notdienst) mittig in der 2. Reihe aus */
@media (min-width: 1025px) {

    #srv-bauteile,
    #srv-notdienst {
        grid-column: 2;
    }
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Weicher Farbübergang von Bild in Elfenbein/Weiß */
    background: linear-gradient(to top, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
}

.service-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}

.service-num {
    font-family: var(--text-main);
    font-weight: 800;
    color: var(--primary);
    opacity: 0.90;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: inline-block;
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link svg {
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--secondary);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   VIDEO DISPLAY SECTION
   ========================================================================== */
.video-section {
    position: relative;
    background: #ebdcc8;
    /* Warmes, sattes Travertin-Goldbeige */
}

.video-showcase-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(54, 42, 33, 0.12);
    aspect-ratio: 16 / 9;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-desc-wrap {
    text-align: center;
}

.video-desc-wrap h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-main);
}

.video-desc-wrap p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.usp-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.usp-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.usp-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: rgba(182, 145, 70, 0.1);
    border: 1px solid rgba(182, 145, 70, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.usp-details h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.usp-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   BENTO GRID (WHY US)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    /* Zentriert flexbox-kinder */
    text-align: center;
    /* Zentriert den text */
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(54, 42, 33, 0.05);
}

.bento-card:hover {
    border-color: rgba(182, 145, 70, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.bento-card-large {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: center;
    gap: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    position: relative;
    overflow: hidden;
}

.bento-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(182, 145, 70, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.bento-card-tall {
    grid-row: span 2;
    justify-content: center;
    gap: 12px;
}

.bento-card-normal {
    justify-content: center;
}

.bento-card-large h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.bento-card-large p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 25px;
    /* Mittig ausrichten */
}

.bento-card-tall h3,
.bento-card-normal h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.bento-card-tall p,
.bento-card-normal p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bento-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.bento-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.bento-card:hover .bento-icon img {
    transform: scale(1.1);
}

.bento-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
    width: 100%;
}

.bento-stat-item strong {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.bento-stat-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-section {
    background: #ebdcc8;
    /* Sandstein Kontrast */
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.contact-intro {
    text-align: center;
}

.contact-intro h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-intro p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.cm-item {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.cm-icon {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background: rgba(182, 145, 70, 0.08);
    border: 1px solid rgba(182, 145, 70, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.cm-text h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cm-text p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

.cm-text a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.cm-text a:hover {
    color: var(--primary);
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(54, 42, 33, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-main);
    text-align: center;
    /* Zentriert das Label über dem Eingabefeld */
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #faf8f5;
    /* Warmes Elfenbein für Formularfelder */
    border: 1px solid rgba(182, 145, 70, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    text-align: center;
    /* Zentriert den eingegebenen Text und Platzhalter */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(182, 145, 70, 0.15);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.success-message {
    margin-top: 15px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 4px;
    color: #10b981;
    text-align: center;
    font-weight: 600;
    display: none;
}

/* ==========================================================================
   FOOTER (STYLISH DARK ESPRESSO FOOTER)
   ========================================================================== */
footer {
    background: #ebdcc8;
    /* Warmes, edles Travertin-Goldbeige (passend zur Seite) */
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    /* Reduziert von 80px/30px für eine schlankere Optik */
    color: var(--text-main);
    /* Espresso-Dunkelbraun für besten Kontrast */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    /* Reduziert von 60px */
}

.footer-brand-col p {
    color: var(--text-main);
    opacity: 0.9;
    font-size: 0.9rem;
    margin-top: 15px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    /* Reduziert von 20px */
    position: relative;
    padding-bottom: 8px;
    color: var(--text-main);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--text-main);
    /* Dunkler Kontrast-Strich */
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-links a {
    color: var(--text-main);
    opacity: 0.9;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    /* Gold auf Hover */
    opacity: 1;
    transform: scale(1.05);
    display: inline-block;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-main);
    opacity: 0.9;
    align-items: center;
    justify-content: center;
}

.footer-contact li svg {
    color: var(--text-main);
    flex-shrink: 0;
    margin-top: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(54, 42, 33, 0.15);
    /* Angepasste Trennlinie */
    padding-top: 20px;
    /* Reduziert von 30px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-main);
    opacity: 0.9;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-main);
    opacity: 0.9;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary);
    /* Gold auf Hover */
    opacity: 1;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .bento-card-large {
        grid-column: span 2;
    }

    .video-showcase-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #faf8f5;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 15px rgba(54, 42, 33, 0.05);
        transform: none;
        /* Hebt die absolute Zentrierung des Desktop-Menüs auf */
    }

    .nav-menu.active {
        left: 0;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-card-tall {
        grid-row: span 1;
    }

    .bento-stats {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    /* Mobile Responsive Hero Height & Padding */
    .hero {
        height: auto !important;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
        display: flex;
        align-items: center;
    }

    .hero-container-rel {
        height: auto !important;
    }

    /* Mobile Header & Menu Adjustments */
    .nav-container {
        padding: 15px 0 !important;
        /* Keep mobile header slim */
    }

    header.scrolled {
        padding: 10px 0 !important;
    }

    header.scrolled .nav-container {
        padding: 8px 0 !important;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        gap: 30px;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 10px 0;
    }

    /* Mobile Hero Logos adjustments */
    .hero-logos-top {
        gap: 15px;
        margin-top: 30px;
        margin-bottom: 25px;
    }

    .hero-logos-top .logo-btn .hero-logo-img {
        height: 70px !important;
        /* Scaled down for mobile screens */
    }

    .hero-logos-top .logo-btn .hero-logo-img-sanitaer {
        height: 100px !important;
        /* Scaled down for mobile screens */
        top: 15px !important;
        /* Adjusted visual alignment offset for mobile */
    }

    .hero-logo-top-divider {
        height: 70px !important;
        /* Scaled down divider for mobile */
    }
}