/* ==========================================================================
   GießenClean - Modern CSS Design System & Stylesheet
   ========================================================================== */

/* 1. CSS VARIABLES (Theme & Colors) */
:root {
    /* Color Palette */
    --primary-hue: 201;
    --primary: HSL(var(--primary-hue), 72%, 34%);
    /* Premium Teal (#0c9488) */
    --primary-light: HSL(var(--primary-hue), 84%, 40%);
    --primary-dark: HSL(var(--primary-hue), 84%, 24%);
    --primary-glow: rgba(12, 148, 136, 0.15);

    --secondary-hue: 142;
    --secondary: HSL(var(--secondary-hue), 68%, 36%);
    /* Eco Emerald (#16a34a) */
    --secondary-light: HSL(var(--secondary-hue), 68%, 44%);
    --secondary-glow: rgba(22, 163, 74, 0.15);

    --accent: HSL(38, 92%, 50%);
    /* Amber/Gold for stars & luxury highlights */

    --dark: HSL(215, 28%, 17%);
    /* Premium Dark Slate (#1e293b) */
    --dark-muted: HSL(215, 16%, 47%);

    --light-bg: HSL(210, 40%, 98%);
    /* Pure Fresh Background (#f8fafc) */
    --white: #ffffff;

    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: rgba(15, 23, 42, 0.04);
    --glass-shadow-hover: rgba(15, 23, 42, 0.08);

    /* Layout Tokens */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. BASE & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

input,
select,
textarea,
button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* 3. DYNAMIC BACKGROUND GLOWS */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-2 {
    background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
    top: 600px;
    left: -200px;
}

/* 4. UTILITIES & CONTAINER */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

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

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

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

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

#changing-text {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    display: inline-block;
}

#changing-text.fade-out {
    opacity: 0;
}


.bg-gradient-box {
    background: linear-gradient(135deg, rgba(12, 148, 136, 0.08) 0%, rgba(22, 163, 74, 0.08) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* Glass Card Base */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px 0 var(--glass-shadow-hover);
    border-color: rgba(12, 148, 136, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 28px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    box-shadow: 0 8px 24px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Section Headers */
.section-header {
    margin-bottom: 64px;
}

.section-tagline {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--dark-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 5. HEADER & NAV STYLING */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 30px var(--glass-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-muted);
    position: relative;
    padding: 8px 0;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    z-index: 101;
    transition: background var(--transition-fast);
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* 6. MOBILE DRAWER NAV */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--transition-normal);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.drawer-close {
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.drawer-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.drawer-close svg {
    width: 22px;
    height: 22px;
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-muted);
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--primary);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 7. PAGE VIEWS & TRANSITION ANIMATIONS */
.page-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    padding: 14px 0 100px 0;
    min-height: 100vh;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.page-section.active {
    display: block;
    animation: slideInFade 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= START PAGE STYLES ================= */
.hero-section {
    margin-top: 10%;
    margin-bottom: 80px;
}

.hero-grid {
    align-items: center;
    gap: 64px;
}

.badge-eco {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-glow);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--dark-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--dark-muted);
}

/* Hero Image & Floating Cards */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: rotate(1deg);
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: rotate(0) scale(1.02);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    filter: blur(40px);
    z-index: -1;
    opacity: 0.2;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    left: -10%;
}

.card-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 3s;
}

.card-icon {
    font-size: 1.5rem;
}

.card-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.card-desc {
    font-size: 0.8rem;
    color: var(--dark-muted);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Feature Card Details */
.feature-card {
    text-align: center;
}

.icon-box {
    width: 64px;
    height: 64px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--dark-muted);
    font-size: 0.95rem;
}

.start-services-cta {
    margin: 100px 0;
}

.start-services-cta h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.start-services-cta p {
    font-size: 1.1rem;
    color: var(--dark-muted);
    max-width: 600px;
}

/* Testimonial Cards */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.reviewer-name {
    font-weight: 700;
}

.reviewer-sub {
    font-size: 0.8rem;
    color: var(--dark-muted);
}

/* ================= LEISTUNGEN PAGE STYLES ================= */
.leistungen-grid {
    margin-bottom: 80px;
}

.leistung-card {
    display: flex;
    flex-direction: column;
}

.leistung-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    margin-bottom: 24px;
}

.leistung-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.leistung-card p {
    color: var(--dark-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.leistung-list {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leistung-list li {
    font-size: 0.9rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.leistung-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
}

.extra-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
}

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

.extra-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

/* Preiskalkulator */
.calculator-container {
    margin-top: 80px;
    padding: 48px;
}

.calculator-header {
    margin-bottom: 40px;
}

.calculator-header h2 {
    font-size: 2rem;
    margin: 12px 0;
}

.control-group {
    margin-bottom: 32px;
}

.control-label {
    font-weight: 600;
    color: var(--dark);
    display: block;
    margin-bottom: 12px;
}

.radio-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.radio-btn {
    cursor: pointer;
}

.radio-btn input {
    display: none;
}

.radio-label {
    display: block;
    background: var(--white);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.radio-btn input:checked+.radio-label {
    border-color: var(--primary);
    background: var(--primary-glow);
    color: var(--primary);
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.control-badge {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--glass-border);
    outline: none;
    transition: var(--transition-fast);
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(12, 148, 136, 0.4);
    transition: transform var(--transition-fast);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    color: var(--dark-muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Calculator result box */
.calculator-result-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.result-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-muted);
    font-size: 0.9rem;
}

.price-display {
    margin: 20px 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-muted);
}

.price-val {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -2px;
}

.euro {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.price-sub {
    font-size: 0.85rem;
    color: var(--dark-muted);
}

.calc-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 24px 0;
}

.calc-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 32px;
}

.benefit-item {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ================= ÜBER UNS PAGE STYLES ================= */
.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text-content p {
    color: var(--dark-muted);
    margin-bottom: 16px;
}

.values-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.value-mini {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
}

.value-mini h4 {
    margin: 12px 0 8px 0;
    font-size: 1.1rem;
}

.value-mini p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.value-icon {
    font-size: 1.5rem;
}

.experience-badge-graphic {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-md);
    margin-bottom: 32px;
    text-align: center;
    box-shadow: 0 10px 30px var(--secondary-glow);
}

.exp-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.exp-text {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cert-card h3 {
    margin-bottom: 24px;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-item {
    display: flex;
    gap: 16px;
}

.cert-check {
    width: 24px;
    height: 24px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.cert-item strong {
    display: block;
    font-size: 0.95rem;
}

.cert-item p {
    font-size: 0.85rem;
    color: var(--dark-muted);
}

/* Timeline */
.milestones-section {
    margin-top: 100px;
}

.milestones-section h2 {
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--primary);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    transition: background-color var(--transition-fast);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    position: relative;
}

.timeline-date {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--dark-muted);
}

/* ================= NACHHALTIGKEIT PAGE STYLES ================= */
.eco-image-wrapper {
    position: relative;
}

.eco-image {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.eco-glow {
    background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
}

.eco-pillars {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.eco-pillar {
    display: flex;
    gap: 20px;
}

.eco-pillar-icon {
    width: 56px;
    height: 56px;
    background: var(--secondary-glow);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.eco-pillar h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.eco-pillar p {
    font-size: 0.9rem;
    color: var(--dark-muted);
}

/* Eco Calculator */
.eco-calculator {
    margin-top: 100px;
    padding: 48px;
}

.eco-slider {
    background: rgba(22, 163, 74, 0.1);
}

.custom-slider.eco-slider::-webkit-slider-thumb {
    background: var(--secondary);
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.4);
}

.eco-calc-slider-wrapper {
    max-width: 600px;
    margin: 40px auto;
}

.eco-results-grid {
    margin: 48px 0;
}

.eco-result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    text-align: center;
}

.eco-result-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.eco-result-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.eco-result-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.eco-calculator-footer p {
    color: var(--dark-muted);
    font-size: 0.85rem;
}

/* ================= FAQ PAGE STYLES ================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.faq-tab {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.faq-tab.active,
.faq-tab:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    padding: 24px 32px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-inner {
    padding: 0 32px 24px 32px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.faq-answer p {
    color: var(--dark-muted);
    font-size: 0.95rem;
}

/* ================= KONTAKT PAGE STYLES ================= */
.kontakt-layout {
    grid-template-columns: 3fr 2fr;
    align-items: flex-start;
}

/* Form Multi-Step styling */
.contact-form-wrapper {
    position: relative;
    overflow: hidden;
}

.form-progress {
    position: relative;
    height: 4px;
    background: var(--glass-border);
    margin-bottom: 48px;
    border-radius: 2px;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.progress-step {
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 2px solid var(--glass-border);
    color: var(--dark-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.progress-step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 10px var(--primary-glow);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn var(--transition-normal) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

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

.form-step h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--dark-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: var(--white);
    /* Vorher: border: 1px solid var(--glass-border); (zu transparent) */
    /* Jetzt: Ein sichtbarer, edler Slate-Grauton */
    border: 1px solid #cbd5e1; 
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--dark);
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--white);
}
.form-textarea {
    height: 120px;
    resize: none;
}

/* Radio check custom */
.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--dark-muted);
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    background: var(--white);
    transition: var(--transition-fast);
}

.checkbox-label input:checked+.checkbox-custom {
    border-color: var(--primary);
    background: var(--primary);
}

.checkbox-label input:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Navigation inside forms */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

/* Error messages validation */
.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 4px;
    display: none;
}

.form-group.invalid .form-input,
.checkbox-group.invalid .checkbox-custom {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group.invalid .error-msg,
.checkbox-group.invalid .error-msg {
    display: block;
}

/* Form Success */
.form-success {
    display: none;
    animation: fadeIn var(--transition-normal) forwards;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-glow);
    color: var(--secondary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.form-success p {
    color: var(--dark-muted);
    max-width: 500px;
    margin: 0 auto 16px auto;
}

.btn-reset-form {
    margin-top: 24px;
}

/* Sidebar elements */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-card-wrapper h3 {
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.info-card-wrapper p {
    color: var(--dark-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    transition: background var(--transition-fast);
}

.contact-method:hover {
    background: var(--primary-glow);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.method-label {
    display: block;
    font-size: 0.8rem;
    color: var(--dark-muted);
}

.method-value {
    font-weight: 700;
    color: var(--dark);
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.city-badge {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Map visual mockup placeholder */
.map-placeholder {
    height: 200px;
    border-radius: var(--border-radius-md);
    background: radial-gradient(circle at center, rgba(12, 148, 136, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%), #e2e8f0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.map-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(12, 148, 136, 0.2);
    border: 2px dashed var(--primary);
    animation: pulse 3s infinite;
}

.map-text {
    font-weight: 700;
    color: var(--primary);
    z-index: 1;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* =========================
   FOOTER
========================= */

.main-footer {
    background: #0f172a;
    color: #fff;
    padding-top: 70px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

/* Brand */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.highlight {
    color: #22c55e;
}

.logo-slogan {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.footer-desc {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 320px;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover,
.footer-contact a:hover {
    color: #22c55e;
}

/* Contact */
.footer-contact p {
    color: #cbd5e1;
    line-height: 1.8;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
}

.social-icon:hover {
    background: #22c55e;
    transform: translateY(-3px);
}

/* Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding: 20px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.legal-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #22c55e;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
    }
}
/* ==========================================================================
   RESPONSIVE — Mobile & Tablet Breakpoints
   ========================================================================== */

/* ── Tablet (≤ 1024px) ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .kontakt-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        order: -1;
    }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* --- Navigation: Hamburger einblenden, Desktop-Nav ausblenden --- */
    .desktop-nav {
        display: none;
    }

    .btn-nav {
        display: none;           /* "Jetzt anfragen"-Button im Header ausblenden */
    }

    .menu-toggle {
        display: flex;           /* Hamburger sichtbar machen */
    }

    /* --- Hamburger-Animation beim Öffnen (X-Form) --- */
    .menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* --- Hero Section --- */
    .hero-section {
        margin-top: 25%;
    }

    .grid-2-col,
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-image-wrapper {
        order: 2;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-trust {
        justify-content: center;
        gap: 24px;
    }

    .badge-eco {
        margin: 0 auto 20px auto;
    }

    .floating-card {
        display: none;           /* Floating Cards auf Handy ausblenden */
    }

    /* --- Sections allgemein --- */
    .page-section {
        padding: 100px 0 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* --- 3-Spalten → 1 Spalte --- */
    .grid-3-col {
        grid-template-columns: 1fr;
    }

    /* --- CTA Bereich --- */
    .start-services-cta .grid-2-col {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .start-services-cta .text-right {
        text-align: center;
    }

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

    /* --- Kalkulator --- */
    .calculator-container {
        padding: 24px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .radio-buttons-grid {
        grid-template-columns: 1fr;
    }

    .price-val {
        font-size: 3rem;
    }

    /* --- Öko-Kalkulator --- */
    .eco-calculator {
        padding: 24px;
    }

    .eco-results-grid {
        grid-template-columns: 1fr;
    }

    /* --- FAQ --- */
    .faq-tabs {
        flex-wrap: wrap;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-answer-inner {
        padding: 0 20px 20px 20px;
    }

    /* --- Kontaktformular --- */
    .glass-card {
        padding: 24px;
    }

    .calculator-result-box {
        padding: 24px;
    }

    .bg-gradient-box {
        padding: 28px;
    }

    /* --- Timeline --- */
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after,
    .timeline-item.right::after {
        left: 10px;
        right: auto;
    }

    /* --- Über Uns --- */
    .values-mini-grid {
        grid-template-columns: 1fr;
    }

    .about-graphics {
        order: -1;
    }

    /* --- Header-Höhe --- */
    .header-container {
        height: 68px;
        margin-top: 10px;
    }
}

/* ── Kleines Handy (≤ 480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .grid-2-col {
        gap: 24px;
    }

    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }
}