/* ========================================
   CSS RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Hauptpalette */
    --ajax-green: #5AE4AA;
    --ajax-green-dark: #009C70;
    --ajax-black: #181818;
    --ajax-black-2: #1D1D1D;
    --ajax-gray-dark: #383838;
    --ajax-gray-mid: #5E5E5E;
    --ajax-gray-light: #ADADAD;
    --ajax-gray-border: #D7D7D7;
    --ajax-gray-bg: #EDEDED;
    --ajax-white: #F7F7F7;
    --white: #FFFFFF;
    --nav-height: 70px;

    /* Brandschutz-Akzent — Kupfer-Orange */
    --fire-copper: #C4622D;
    --fire-copper-light: #D97840;
    --fire-copper-dark: #8B3E18;
    --fire-copper-glow: rgba(196, 98, 45, 0.25);
    --fire-copper-subtle: rgba(196, 98, 45, 0.08);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ajax-gray-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ajax-green-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ajax-green);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
    color: var(--ajax-black);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

.section-subtitle {
    color: var(--ajax-gray-mid);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--fire-copper);
    color: var(--white);
    border-color: var(--fire-copper);
}

.btn-primary:hover {
    background: var(--fire-copper-dark);
    border-color: var(--fire-copper-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 98, 45, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--ajax-black);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ajax-black);
    border-color: var(--ajax-gray-border);
}

.btn-outline-dark:hover {
    border-color: var(--ajax-green);
    color: var(--ajax-green-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(24, 24, 24, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
}

.nav-logo .logo-konntec {
    height: 57px;
    width: auto;
    background: transparent !important;
}

.nav-logo-divider {
    display: block;
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
}

.nav-logo .logo-ajax-partner {
    height: 44px;
    width: auto;
    opacity: 0.9;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

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

.nav-cta { display: none; }

.nav-phone {
    color: var(--white) !important;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-phone:hover { color: var(--ajax-green) !important; }
.nav-phone strong { font-weight: 700; }

.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--ajax-black);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 999;
}

.nav-mobile.active { right: 0; }

.nav-mobile a {
    display: block;
    color: var(--white);
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--ajax-gray-dark);
}

.nav-mobile a:hover { color: var(--ajax-green); }
.nav-mobile .btn { margin-top: 20px; width: 100%; }

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero-keyvisual-alt.webp') center center / cover no-repeat;
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    padding: 120px 20px 60px;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-badge img {
    height: 80px;
    width: auto;
}

.hero h1 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-hero-cta {
    animation: heroGlowPulse 0.9s ease-in-out 2s 2 forwards;
}

@keyframes heroGlowPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        border-color: var(--fire-copper);
    }
    35% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.35), 0 0 22px rgba(255, 255, 255, 0.5);
        border-color: white;
    }
    65% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.12), 0 0 38px rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.7);
    }
}

/* ========================================
   ADVANTAGES SECTION
   ======================================== */
.vorteile-section {
    background: var(--ajax-white);
    padding: 80px 0;
}

.gallery-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 -20px 48px;
    padding: 10px 0;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    scroll-behavior: auto !important;
}

.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll:active { cursor: grabbing; }

.gallery-track {
    display: inline-flex;
    gap: 16px;
    width: max-content;
}

.gallery-item {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

.gallery-item:hover img { transform: scale(1.1); }

.vorteile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.vorteil-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vorteil-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vorteil-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(196, 98, 45, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vorteil-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--fire-copper-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vorteil-card h3 { margin-bottom: 8px; font-size: 1.05rem; }

.vorteil-card p {
    font-size: 0.9rem;
    color: var(--ajax-gray-mid);
    line-height: 1.5;
}

/* ========================================
   PFLICHTEN SECTION
   ======================================== */
.pflichten-section {
    background: var(--ajax-black);
    padding: 80px 0;
    color: var(--white);
}

.pflichten-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

.pflichten-card {
    background: var(--ajax-black-2);
    border: 1px solid var(--ajax-gray-dark);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pflichten-card:hover {
    transform: translateY(-5px);
    border-color: var(--fire-copper);
}

.pflichten-card .badge {
    background: rgba(196, 98, 45, 0.12);
    color: var(--fire-copper-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pflichten-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.pflichten-card p,
.pflichten-card li {
    color: var(--ajax-gray-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

.pflichten-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.pflichten-card ul li {
    padding-left: 1.6em;
    position: relative;
}

.pflichten-card ul li::before {
    content: '✓';
    color: var(--fire-copper-light);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.pflichten-card .recommendation {
    background: rgba(196, 98, 45, 0.08);
    border-left: 3px solid var(--fire-copper);
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.pflichten-card .recommendation strong {
    color: var(--fire-copper-light);
}

.pflichten-cta {
    text-align: center;
    margin-top: 48px;
}

.fire-accent svg {
    stroke: var(--fire-copper-light) !important;
}

/* ========================================
   PARTNER SECTION
   ======================================== */
.partner-section {
    background: var(--ajax-black-2);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://konntec-hamburg-nord.de/assets/images/hub waves.jpg') center center / cover no-repeat;
    opacity: 0.15;
}

.partner-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.partner-badge { text-align: center; }

.partner-badge img {
    max-width: 320px;
    margin: 0 auto 24px;
}

.partner-badge h2 { color: var(--white); }

.partner-badge p {
    color: var(--ajax-gray-light);
    font-size: 1.05rem;
    font-weight: 300;
}

.partner-features { list-style: none; }

.partner-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--ajax-gray-dark);
    color: var(--ajax-gray-light);
    font-size: 1rem;
}

.partner-features li:last-child { border-bottom: none; }

.partner-check {
    width: 24px;
    height: 24px;
    background: var(--fire-copper);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.partner-check svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
    stroke-width: 2.5;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.leistungen-section {
    background: var(--white);
    padding: 80px 0;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.leistung-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--ajax-white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.leistung-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.leistung-icon {
    width: 48px;
    height: 48px;
    background: rgba(196, 98, 45, 0.12);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leistung-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--fire-copper-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.leistung-card h3 { font-size: 1rem; margin-bottom: 4px; }
.leistung-card p { font-size: 0.9rem; color: var(--ajax-gray-mid); }

/* ========================================
   REVIEWS SECTION
   ======================================== */
.bewertungen-section {
    background: linear-gradient(135deg, var(--ajax-black) 0%, #1a0f08 100%);
    padding: 80px 0;
}

.bewertungen-section h2,
.bewertungen-section .section-subtitle {
    color: var(--white);
}

.bewertungen-section .section-subtitle {
    color: var(--ajax-gray-light);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.kontakt-section {
    background: var(--white);
    padding: 80px 0;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.kontakt-info h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.kontakt-details { list-style: none; margin-bottom: 24px; }

.kontakt-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
}

.kontakt-details li svg {
    width: 20px;
    height: 20px;
    stroke: var(--fire-copper);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 2px;
}

.kontakt-details a { color: var(--ajax-gray-dark); }
.kontakt-details a:hover { color: var(--ajax-green-dark); }

.kontakt-ctas {
    display: grid;
    gap: 10px;
    margin-bottom: 32px;
}

.kontakt-form h3 { margin-bottom: 20px; }

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ajax-gray-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--ajax-gray-border);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--ajax-black);
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ajax-green);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-checkbox { margin-top: 8px; }

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: var(--ajax-gray-mid) !important;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--ajax-green-dark);
}

.checkbox-label a {
    color: var(--ajax-green-dark);
    text-decoration: underline;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ajax-black);
    color: var(--ajax-gray-light);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.6;
    min-width: 250px;
}

.cookie-banner-text a {
    color: var(--ajax-green);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--fire-copper);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background: var(--fire-copper-dark);
    color: var(--white);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--ajax-gray-light);
    border: 1px solid var(--ajax-gray-dark);
}

.cookie-btn-reject:hover {
    border-color: var(--ajax-gray-light);
    color: var(--white);
}

/* ========================================
   COOKIE PLACEHOLDER (Google Reviews)
   ======================================== */
.cookie-placeholder {
    background: var(--ajax-gray-dark);
    border: 1px solid var(--ajax-gray-mid);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 40px auto;
}

.cookie-placeholder-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--ajax-gray-light);
}

.cookie-placeholder h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--white);
}

.cookie-placeholder p {
    color: var(--ajax-gray-light);
    max-width: 500px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--ajax-black);
    padding: 48px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand img {
    height: 30px;
    width: auto;
}

.footer-contact p,
.footer-contact a {
    color: var(--ajax-gray-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact a:hover { color: var(--ajax-green); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ajax-gray-light); font-size: 0.9rem; }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--ajax-gray-dark);
    text-align: center;
    color: var(--ajax-gray-mid);
    font-size: 0.8rem;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   STATUS MESSAGES
   ======================================== */
.estimate-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.estimate-status-loading {
    background: rgba(90, 228, 170, 0.1);
    color: var(--ajax-green-dark);
    border: 1px solid rgba(90, 228, 170, 0.3);
}

.estimate-status-success {
    background: rgba(90, 228, 170, 0.15);
    color: var(--ajax-green-dark);
    border: 1px solid var(--ajax-green);
}

.estimate-status-error {
    background: rgba(220, 53, 69, 0.1);
    color: #DC3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(24, 24, 24, 0.2);
    border-top-color: var(--ajax-black);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
#backToTopBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--fire-copper);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#backToTopBtn svg { stroke: var(--white); width: 24px; height: 24px; }
#backToTopBtn.show { opacity: 1; visibility: visible; }

#backToTopBtn:hover {
    background-color: var(--fire-copper-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#backToTopBtn:hover svg { stroke: var(--white); }

/* ========================================
   RESPONSIVE: TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero-content { padding: 140px 20px 80px; }

    .gallery-item { width: 220px; height: 220px; }

    .vorteile-grid { grid-template-columns: 1fr 1fr; }
    .pflichten-grid { grid-template-columns: 1fr; }
    .partner-content { grid-template-columns: 1fr 1fr; }
    .leistungen-grid { grid-template-columns: 1fr 1fr; }
    .kontakt-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }

    #backToTopBtn { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ========================================
   RESPONSIVE: DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    .hero h1 { font-size: 3rem; }

    .nav-links { display: flex; }
    .nav-cta { display: block; }
    .nav-hamburger { display: none; }

    .gallery-item { width: 280px; height: 280px; }
    .gallery-track { gap: 24px; }

    .vorteile-grid { grid-template-columns: 1fr 1fr 1fr; }
    .pflichten-grid { grid-template-columns: 1fr 1fr 1fr; }
    .leistungen-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ========================================
   RESPONSIVE: LARGE DESKTOP (1280px+)
   ======================================== */
@media (min-width: 1280px) {
    .hero h1 { font-size: 3.25rem; }
}

/* ========================================
   HERO LESBARKEIT — 3 VARIANTEN
   Aktivierung: class="hero hero-style-1" (oder -2, -3)
   ======================================== */

/* VARIANTE 1: Glassmorphismus-Karte
   Text schwebt in einer halbtransparenten Glasbox mit Kupfer-Rand.
   Das Hero-Bild ist ringsum vollständig sichtbar. */
.hero-style-1 .hero-content {
    padding: 52px !important;
    background: rgba(10, 6, 3, 0.52);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(196, 98, 45, 0.32);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
    .hero-style-1 .hero-content {
        padding: 64px !important;
    }
}

/* VARIANTE 2: Seitlicher Gradient — Film-Poster-Stil
   Die linke Seite wird dunkel, die rechte Seite zeigt das Bild offen.
   Text bleibt im dunklen Bereich, kein Eingriff in Layout. */
.hero-style-2 .hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        102deg,
        rgba(10, 6, 3, 0.95) 0%,
        rgba(10, 6, 3, 0.82) 44%,
        rgba(10, 6, 3, 0.22) 68%,
        transparent 100%
    );
}

/* VARIANTE 3: Bodensockel — Bild dominiert, Text sitzt tief
   Das Bild ist oben offen sichtbar. Eine starke Vignette wächst
   von unten hoch und trägt den Text wie auf einem Sockel. */
.hero-style-3 {
    align-items: flex-end;
}
.hero-style-3 .hero-content {
    padding: 0 20px 80px !important;
    max-width: 900px;
}
.hero-style-3 .hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to top,
        rgba(10, 6, 3, 0.97) 0%,
        rgba(10, 6, 3, 0.90) 24%,
        rgba(10, 6, 3, 0.38) 50%,
        transparent 72%
    );
}
.hero-style-3 h1,
.hero-style-3 .hero-subtitle {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}
/* ===== SECTION HEADER & LABEL — shared utility ===== */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire-copper);
  margin-bottom: 12px;
}

/* ===== OBJEKTCHECK SECTION ===== */
.objektcheck-section {
  background: var(--ajax-black);
  padding: 80px 0;
}

.objektcheck-section h2,
.objekt-stepper h2 {
  color: var(--white);
}

.objektcheck-section .section-subtitle,
.objekt-stepper .section-subtitle {
  color: var(--ajax-gray-light);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 0;
}

.objekt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .objekt-grid { grid-template-columns: repeat(2, 1fr); }
}

.objekt-tile {
  background: var(--ajax-black-2);
  border: 1px solid var(--ajax-gray-dark);
  border-radius: 12px;
  padding: 28px 20px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.objekt-tile:hover {
  border-color: var(--fire-copper);
  transform: translateY(-3px);
  background: var(--fire-copper-subtle);
}

.objekt-tile.active {
  border-color: var(--fire-copper);
  transform: translateY(-3px);
  background: var(--fire-copper-subtle);
}

.objekt-icon {
  width: 28px;
  height: 28px;
  color: var(--fire-copper);
  margin: 0 auto 10px;
  display: block;
}

.objekt-tile span {
  font-size: 0.9rem;
  color: var(--ajax-gray-light);
  line-height: 1.4;
}

.objekt-tile.active span { color: var(--white); }

.objekt-result {
  display: none;
  background: var(--ajax-black-2);
  border: 1px solid var(--ajax-gray-dark);
  border-radius: 12px;
  padding: 28px 30px;
  margin-top: 8px;
}

.objekt-result.visible { display: block; }

.objekt-result-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.result-check-icon {
  width: 28px;
  height: 28px;
  color: var(--ajax-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.objekt-result h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.objekt-result p {
  color: var(--ajax-gray-light);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.objekt-result p strong { color: var(--white); }

.objekt-disclaimer {
  font-size: 0.8rem !important;
  color: var(--ajax-gray-mid) !important;
  border-top: 1px solid var(--ajax-gray-dark);
  padding-top: 14px;
  margin-top: 14px;
  line-height: 1.65;
}

.objekt-result-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-link {
  font-size: 0.9rem;
  color: var(--ajax-green);
  text-decoration: none;
}

.btn-link:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .hero-bg { background-position: 60% center !important; }
  .hero-content { padding: 80px 20px 40px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-badge img { height: 60px; }

  .objekt-result-inner { flex-direction: column; }
  .objekt-result-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== KONTAKT SUCCESS-BLOCK ===== */
#contactSuccess {
    display: none;
}

.contact-success-inner {
    background: var(--ajax-black-2);
    border: 1px solid var(--ajax-gray-dark);
    border-radius: 12px;
    padding: 48px 36px;
    text-align: center;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact-success-icon svg {
    stroke: var(--ajax-green);
    margin-bottom: 20px;
}

.contact-success-inner h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.contact-success-inner p {
    font-size: 0.95rem;
    color: var(--ajax-gray-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.contact-success-inner p strong {
    color: var(--white);
}

.success-sub {
    font-size: 0.85rem !important;
    color: var(--ajax-gray-mid) !important;
}

.success-cta-row {
    margin-top: 28px;
}