/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Neuer Header */
.header-new {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
    transition: all 0.3s ease;
}

.header-new.scrolled {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(15, 15, 15, 0.98) 100%);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(46, 204, 113, 0.3);
}

.nav-new {
    position: relative;
}

.nav-container-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo-new {
    display: flex;
    align-items: center;
    z-index: 10;
}

.logo-link-new {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

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

.logo-image-new {
    height: 90px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 15px rgba(46, 204, 113, 0.3));
    transition: all 0.3s ease;
}

.logo-image-new:hover {
    filter: drop-shadow(0 6px 20px rgba(46, 204, 113, 0.5));
}

.nav-menu-new {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item-new {
    position: relative;
}

.nav-link-new {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-link-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link-new:hover::before {
    left: 100%;
}

.nav-link-new:hover {
    color: #ffffff;
    background: rgba(46, 204, 113, 0.1);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
    transform: translateY(-2px);
}

.nav-link-external {
    position: relative;
}

.nav-link-external::after {
    content: "↗";
    font-size: 0.8rem;
    margin-left: 6px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-link-external:hover::after {
    opacity: 1;
}

.nav-cta {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 28px;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    border: 2px solid transparent;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #27ae60, #219a52);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6);
    transform: translateY(-3px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hamburger-new {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger-new:hover {
    background: rgba(46, 204, 113, 0.1);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 50px;
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: floatParticle 8s ease-in-out infinite;
}

.particle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 80%;
    animation-delay: 3s;
}

.particle-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    33% { transform: translateY(-20px) rotate(120deg); opacity: 0.6; }
    66% { transform: translateY(10px) rotate(240deg); opacity: 0.4; }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
    animation-delay: 6s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    animation: slideInLeft 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: wordReveal 0.8s ease forwards;
}

.hero-title .word-1 { color: #ffffff; animation-delay: 0.1s; }
.hero-title .word-2 { color: #e0e0e0; animation-delay: 0.2s; }
.hero-title .word-3 { color: #cccccc; animation-delay: 0.3s; }
.hero-title .word-4 { color: #e0e0e0; animation-delay: 0.4s; }
.hero-title .word-5 { color: #ffffff; animation-delay: 0.5s; }
.hero-title .word-6 { color: #e0e0e0; animation-delay: 0.6s; }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    max-width: 500px;
}

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

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
}

.btn-main {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #000000;
    padding: 18px 40px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s ease;
}

.btn-main:hover .btn-glow {
    left: 100%;
}

.btn-calc {
    background: transparent;
    color: #ffffff;
    padding: 18px 40px;
    border: 2px solid #ffffff;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-calc:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-calc:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-visual {
    animation: slideInRight 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.energy-showcase {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.showcase-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.energy-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.energy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.card-image {
    position: relative;
    height: 250px !important;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.energy-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.energy-card:hover .card-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.savings-badge {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 0.8rem 1.2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.savings-amount {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.savings-period {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 500;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3,
.card-content .card-title {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-content p {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.showcase-summary {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-radius: 20px;
    color: white;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.total-savings {
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 3rem;
    }

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

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .hero-subtitle {
        max-width: none;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

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

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

    .btn-main,
    .btn-calc {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .energy-showcase {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .card-image {
        height: 200px !important;
    }

    .total-savings {
        font-size: 1.5rem;
    }

    .nav-container {
        padding: 15px 20px;
        height: 80px;
    }

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

    .logo-image {
        height: 45px;
        max-width: 150px;
    }

    .logo span {
        font-size: 0.7rem;
        max-width: 180px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: all 0.4s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(20px);
        padding: 3rem 0;
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-menu a {
        padding: 12px 24px;
        font-size: 1.1rem;
        border-radius: 30px;
        margin: 0 20px;
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.9);
        color: #000000;
    }

    .nav-menu a[target="_blank"] {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-7px, 6px);
        background: #ffffff;
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-7px, -6px);
        background: #ffffff;
    }

    .menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 15px;
    }

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

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

    .energy-showcase {
        padding: 1rem;
    }

    .card-content {
        padding: 1rem;
    }

    .showcase-summary {
        padding: 1rem;
    }
}



.house-model {
    position: relative;
    width: 200px;
    height: 150px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: houseFloat 6s ease-in-out infinite;
}

@keyframes houseFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    25% { transform: translateY(-5px) rotateY(2deg); }
    50% { transform: translateY(-8px) rotateY(0deg); }
    75% { transform: translateY(-5px) rotateY(-2deg); }
}

.house-roof {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0 0 10px 10px;
}

.solar-panels-roof {
    position: absolute;
    top: 15px;
    left: 20%;
    right: 20%;
    height: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.panel {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 3px;
    border: 1px solid #0f3460;
    animation: solarPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.6), transparent);
    animation: solarReflection 4s ease-in-out infinite;
}

@keyframes solarPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.7); }
}

@keyframes solarReflection {
    0% { left: -100%; }
    50% { left: -100%; }
    100% { left: 100%; }
}

.energy-production {
    position: absolute;
    top: -25px;
    right: -40px;
    background: rgba(0, 255, 136, 0.9);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
    animation: productionPulse 2s ease-in-out infinite;
}

@keyframes productionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.house-walls {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wall-front {
    position: relative;
    width: 100%;
    height: 100%;
}

.window {
    position: absolute;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #f8f8f8, #e0e0e0);
    border-radius: 3px;
    border: 2px solid #000000;
}

.window-1 {
    top: 20px;
    left: 30px;
}

.window-2 {
    top: 20px;
    right: 30px;
}

.door {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 40px;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    border-radius: 3px 3px 0 0;
}

.heat-loss-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: heatPulse 1.5s ease-in-out infinite;
}

@keyframes heatPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.insulation-layer {
    position: absolute;
    top: 10px;
    right: -5px;
    width: 8px;
    height: 60px;
    background: linear-gradient(180deg, #000000, #333333);
    border-radius: 4px;
    animation: insulationGlow 3s ease-in-out infinite;
}

@keyframes insulationGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }
    50% { box-shadow: 0 0 15px rgba(0, 0, 0, 0.8); }
}

.house-foundation {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.heat-pump {
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, #000000, #333333);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.pump-fan {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 15px;
    height: 15px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: pumpSpin 1s linear infinite;
}

@keyframes pumpSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pump-status {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.6rem;
    white-space: nowrap;
}

/* Energy Particles */
.energy-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.sun-particle {
    background: #ffd700;
    top: 20%;
    left: 80%;
    animation-delay: 0s;
    box-shadow: 0 0 8px #ffd700;
}

.wind-particle {
    background: #333333;
    top: 30%;
    left: 10%;
    animation-delay: 2s;
    box-shadow: 0 0 8px #333333;
}

.earth-particle {
    background: #000000;
    top: 70%;
    left: 50%;
    animation-delay: 4s;
    box-shadow: 0 0 8px #000000;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    25% { transform: translate(20px, -15px) scale(1.2); opacity: 1; }
    50% { transform: translate(-10px, -25px) scale(0.8); opacity: 0.8; }
    75% { transform: translate(15px, -10px) scale(1.1); opacity: 0.9; }
}

/* Savings Counter */
.savings-counter-new {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
}

.counter-ring {
    position: relative;
    width: 100%;
    height: 100%;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-background {
    fill: none;
    stroke: rgba(0, 0, 0, 0.1);
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    animation: fillProgress 4s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fillProgress {
    0% { stroke-dashoffset: 534; }
    100% { stroke-dashoffset: 133.5; }
}

.counter-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.savings-amount-main {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.savings-period {
    font-size: 0.8rem;
    color: #000000;
    margin-bottom: 0.5rem;
}

.co2-reduction {
    font-size: 0.7rem;
    color: #28a745;
    font-weight: 600;
}

.co2-amount {
    font-size: 1rem;
    font-weight: bold;
}

/* Efficiency Gauge */
.efficiency-gauge {
    position: absolute;
    bottom: 200px;
    left: 20px;
    width: 150px;
    height: 100px;
}

.gauge-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gauge-arc {
    width: 120px;
    height: 60px;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-radius: 120px 120px 0 0;
    position: relative;
    margin: 0 auto;
}

.gauge-fill {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 120px;
    height: 60px;
    border: 8px solid transparent;
    border-bottom: none;
    border-radius: 120px 120px 0 0;
    border-top-color: #000000;
    border-left-color: #000000;
    border-right-color: #333333;
    animation: gaugeFill 3s ease-out forwards;
    animation-delay: 2s;
    clip-path: polygon(0 0, 87% 0, 87% 100%, 0% 100%);
}

@keyframes gaugeFill {
    0% { clip-path: polygon(0 0, 0% 0, 0% 100%, 0% 100%); }
    100% { clip-path: polygon(0 0, 87% 0, 87% 100%, 0% 100%); }
}

.gauge-needle {
    position: absolute;
    top: 50px;
    left: 50%;
    transform-origin: bottom center;
    width: 2px;
    height: 45px;
    background: #ff6b6b;
    transform: translateX(-50%) rotate(-45deg);
    animation: needleMove 3s ease-out forwards;
    animation-delay: 2s;
}

@keyframes needleMove {
    0% { transform: translateX(-50%) rotate(-90deg); }
    100% { transform: translateX(-50%) rotate(45deg); }
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: -10px;
    font-size: 0.6rem;
    color: #666;
}

.gauge-value {
    text-align: center;
    margin-top: 0.5rem;
}

.efficiency-percent {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    font-family: 'Courier New', monospace;
}

.efficiency-label {
    font-size: 0.7rem;
    color: #666;
}

/* Smart Grid Display */
.smart-grid-display {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.grid-title {
    text-align: center;
    color: #000000;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.energy-sources-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 120px;
}

.energy-node {
    background: white;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.energy-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.node-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.node-label {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.node-output {
    font-size: 1rem;
    font-weight: bold;
    color: #000000;
    font-family: 'Courier New', monospace;
}

.energy-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    animation: energyWave 2s ease-in-out infinite;
}

.solar-wave {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    animation-delay: 0s;
}

.pump-wave {
    background: linear-gradient(90deg, #000000, #333333);
    animation-delay: 0.5s;
}

.storage-wave {
    background: linear-gradient(90deg, #000000, #333333);
    animation-delay: 1s;
}

@keyframes energyWave {
    0%, 100% { transform: scaleX(0); opacity: 0.6; }
    50% { transform: scaleX(1); opacity: 1; }
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 10;
}

.hub-core {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000, #333333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pulse-center {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

/* Benefits Ticker */
.benefits-ticker {
    position: absolute;
    bottom: 190px;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ticker-content {
    display: flex;
    animation: ticker 16s linear infinite;
    white-space: nowrap;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 3rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.benefit-item.active {
    opacity: 1;
}

.benefit-icon {
    font-size: 1rem;
}

/* Responsive Design for neuer Header */
@media (max-width: 968px) {
    .nav-container-new {
        padding: 12px 20px;
        height: 75px;
    }

    .logo-image-new {
        height: 70px;
        max-width: 300px;
    }

    .nav-menu-new {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(30px);
        padding: 3rem 0;
        gap: 1rem;
        border-top: 2px solid rgba(46, 204, 113, 0.3);
        height: calc(100vh - 75px);
        overflow-y: auto;
    }

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

    .nav-link-new {
        padding: 18px 30px;
        font-size: 1.2rem;
        margin: 0 20px;
        border-radius: 30px;
        background: rgba(46, 204, 113, 0.05);
        border: 1px solid rgba(46, 204, 113, 0.2);
        display: block;
        width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .nav-link-new:hover {
        background: rgba(46, 204, 113, 0.15);
        border: 1px solid rgba(46, 204, 113, 0.4);
        transform: translateY(0);
        box-shadow: 0 6px 25px rgba(46, 204, 113, 0.3);
    }

    .nav-cta {
        background: linear-gradient(135deg, #2ecc71, #27ae60);
        border: 2px solid rgba(255, 255, 255, 0.3);
        margin-top: 1rem;
    }

    .hamburger-new {
        display: flex;
        z-index: 15;
    }

    .hamburger-new.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-8px, 6px);
        background: linear-gradient(90deg, #e74c3c, #c0392b);
    }

    .hamburger-new.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-new.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-8px, -6px);
        background: linear-gradient(90deg, #e74c3c, #c0392b);
    }

    .menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 95px 20px 50px;
    }

    .animated-title {
        font-size: 2.5rem;
    }

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

/* Calculator Section */
.calculator {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
}

.calculator h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 1rem;
}

.calculator-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #f8f8f8;
    padding: 0.5rem;
    border-radius: 15px;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
}

.tab-button.active {
    background: #000000;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tab-button:hover:not(.active) {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.tab-content h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-group input,
.input-group select {
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.calculate-btn {
    width: 100%;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.calculator-results {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.results-header h3 {
    color: #000000;
    margin: 0;
    font-size: 1.5rem;
}

.results-icon {
    font-size: 2rem;
}

.placeholder-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f5f5f5;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.result-label {
    font-weight: 700;
    color: #000000;
    font-size: 1rem;
}

.result-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: #28a745;
    font-family: 'Arial Black', Arial, sans-serif;
}

.result-savings {
    background: linear-gradient(135deg, #28a745, #1a5235);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.result-savings .savings-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.result-savings .savings-period {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

.result-savings .savings-estimate {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.4rem;
    font-style: italic;
}

.environmental-impact {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.co2-savings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #28a745;
}

.consultation-cta {
    background: rgba(0, 0, 0, 0.05);
    border: 2px dashed rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.calculator-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    text-align: center;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: #856404;
    font-weight: 600;
}

.payback-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.payback-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.payback-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 0.3rem;
}

.payback-label {
    font-size: 0.9rem;
    color: #333333;
}

.investment-breakdown {
    margin-top: 1.5rem;
}

.investment-breakdown h5 {
    color: #000000;
    margin-bottom: 1rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: bold;
    color: #000000;
}

.funding-hint {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

.funding-hint p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.calculator-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(248, 215, 218, 0.3));
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin: 1rem 0;
}

.error-icon {
    font-size: 2rem;
}

.error-message {
    color: #721c24;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Team Section Styles */
.team-grid {
    animation: fadeIn 0.8s ease;
}

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

.team-member:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .input-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-tabs {
        flex-direction: column;
    }

    .calculator h2 {
        font-size: 2rem;
    }

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

    .payback-info {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .team-member img {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: #f8f8f8;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
}



/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f8f8;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
}

.service-content h3 a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-content h3 a:hover {
    color: #000000;
    text-decoration: underline;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-content ul {
    list-style: none;
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.service-content li:last-child {
    border-bottom: none;
}

.service-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f8f8;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about h2 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.certifications h3 {
    color: #000000;
    margin-bottom: 1rem;
}

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

.certifications li {
    padding: 0.5rem 0;
    color: #666;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #000000;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card .testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1rem;
}

.testimonial-card .testimonial-stars {
    color: #fbbc04;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimonial-card cite {
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-source {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #999;
    font-style: normal;
    font-weight: 400;
}

.testimonials-summary {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #666;
    font-size: 1.1rem;
}

.testimonials-summary .summary-stars {
    color: #fbbc04;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.testimonials-summary strong {
    color: #000;
}

/* Shop Section */
.shop {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e0e0e0 100%);
}

.shop-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.shop-header h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 800;
}

.energy-blue {
    color: #000000;
    background: linear-gradient(135deg, #000000, #333333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-header p {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.shop-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.shop-carousel-viewport {
    overflow: hidden;
    flex: 1;
    border-radius: 20px;
}

.shop-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.shop-carousel-track .shop-item {
    width: calc(100% / 3);
    min-width: calc(100% / 3);
    max-width: calc(100% / 3);
    flex: 0 0 calc(100% / 3);
    padding: 0 10px;
    box-sizing: border-box;
    opacity: 1;
    transform: none;
    animation: none;
}

.shop-carousel-track .shop-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shop-carousel-track .shop-image {
    height: 200px;
    flex-shrink: 0;
}

.shop-carousel-track .shop-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

.shop-carousel-track .shop-content h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-carousel-track .shop-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-btn {
    background: rgba(45, 114, 79, 0.9);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: rgba(45, 114, 79, 1);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.carousel-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #2d724f;
    transform: scale(1.3);
}

.shop-item {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

.shop-item:nth-child(1) { animation-delay: 0.2s; }
.shop-item:nth-child(2) { animation-delay: 0.4s; }
.shop-item:nth-child(3) { animation-delay: 0.6s; }

.shop-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.shop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.shop-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-card:hover .shop-image img {
    transform: scale(1.1);
}

.shop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(51, 51, 51, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-card:hover .shop-overlay {
    opacity: 1;
}

.shop-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.shop-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.shop-content {
    padding: 2rem;
    text-align: center;
}

.shop-content h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.shop-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.shop-cta {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.4);
    border: none;
    cursor: pointer;
}

.btn-shop:hover {
    background: linear-gradient(135deg, #27ae60, #219a52);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(46, 204, 113, 0.6);
    color: white;
}

.shop-btn-icon {
    font-size: 1.3rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s ease;
}

.btn-shop:hover .btn-shine {
    left: 100%;
}

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

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

/* Responsive Design für Shop */
@media (max-width: 768px) {
    .shop {
        padding: 80px 0;
    }

    .shop-header h2 {
        font-size: 2.2rem;
    }

    .shop-header p {
        font-size: 1.1rem;
    }

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .shop-carousel-track .shop-item {
        width: 50%;
        min-width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .shop-image {
        height: 200px;
    }

    .shop-content {
        padding: 1.5rem;
    }

    .btn-shop {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .shop-header h2 {
        font-size: 1.8rem;
    }

    .shop-carousel-track .shop-item {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .shop-content h3 {
        font-size: 1.3rem;
    }

    .shop-content p {
        font-size: 0.9rem;
    }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem
}

/* CTA Buttons Container für Detail-Seiten */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn-consultation,
.cta-buttons .btn-shop-link {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    margin: 0;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn-consultation,
    .cta-buttons .btn-shop-link {
        width: 100%;
        max-width: none;
    };
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-main {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #000000;
}

/* Privacy Modal */
.large-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: 900px;
}

.privacy-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
    line-height: 1.6;
}

.privacy-content h3 {
    color: #000000;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.5rem;
}

.privacy-content h4 {
    color: #000000;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.privacy-content h5 {
    color: #000000;
    font-size: 1rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: #444;
    text-align: justify;
}

.privacy-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: #444;
}

.privacy-content li {
    margin-bottom: 0.3rem;
}

.privacy-content a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.privacy-content a:hover {
    border-bottom-color: #000000;
}

.privacy-content strong {
    color: #000000;
}

/* Custom scrollbar for privacy content */
.privacy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Impressum Modal */
.impressum-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
    line-height: 1.6;
}

.impressum-content h3 {
    color: #000000;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.5rem;
}

.impressum-content h4 {
    color: #000000;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.impressum-content p {
    margin-bottom: 1rem;
    color: #444;
}

.impressum-content a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.impressum-content a:hover {
    border-bottom-color: #000000;
}

/* Custom scrollbar for impressum content */
.impressum-content::-webkit-scrollbar {
    width: 8px;
}

.impressum-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.impressum-content::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}

.impressum-content::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f8f8;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    color: #000000;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item strong {
    color: #000000;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #000000;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Consultation Button */
.btn-consultation {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff !important;
    padding: 14px 28px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-consultation:hover {
    background: linear-gradient(135deg, #27ae60, #219a52);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6);
    transform: translateY(-3px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

/* Info Button */
.btn-info {
    background: transparent;
    color: #000000;
    padding: 10px 20px;
    border: 2px solid #000000;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.btn-info:hover {
    background: #000000;
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Energieausweis Button - spezielles schwarzes Design */
.btn-consultation-energieausweis {
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff !important;
    padding: 14px 28px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-consultation-energieausweis:hover {
    background: linear-gradient(135deg, #333333, #000000);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

/* Photovoltaik Button - spezieller blauer Stil */
.btn-consultation-photovoltaik {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #ffffff !important;
    padding: 14px 28px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-consultation-photovoltaik:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.6);
    transform: translateY(-3px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

/* Online Shop Button für Services */
.btn-shop-link {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #ffffff !important;
    padding: 14px 28px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-shop-link::before {
    content: "🛒";
    margin-right: 8px;
}

.btn-shop-link:hover {
    background: linear-gradient(135deg, #27ae60, #219a52);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6);
    transform: translateY(-3px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.btn-shop-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-shop-link:hover::after {
    left: 100%;
}

/* Loading placeholder for Shopify button */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background: #f8f9fa;
    border: 2px dashed #2d724f;
    border-radius: 25px;
    color: #2d724f;
    font-weight: 600;
    margin-top: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e3e3e3;
    border-top: 2px solid #2d724f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Shopify Buy Button Styling */
.shopify-buy-button {
    margin-top: 0.5rem;
    width: 100%;
}

.shopify-buy__btn {
    width: 100% !important;
    margin-top: 0.5rem !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 14px 28px !important;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4) !important;
    transition: all 0.3s ease !important;
}

.shopify-buy__btn:hover {
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6) !important;
    transform: translateY(-3px) !important;
}

/* Hide Shopify branding for cleaner look */
.shopify-buy__logo {
    display: none !important;
}

/* Style the modal */
.shopify-buy__modal {
    z-index: 3000 !important;
}

.shopify-buy__modal-overlay {
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(5px) !important;
}

.shopify-buy__modal-wrapper {
    border-radius: 15px !important;
    overflow: hidden !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shopify-buy-button {
        order: 2;
    }

    .btn-consultation {
        order: 1;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: normal;
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
}

.benefits-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.benefits-section h4 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefits-section ul {
    list-style: none;
    padding: 0;
}

.benefits-section li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.benefits-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2rem;
}

.benefits-section li:last-child {
    border-bottom: none;
}

.callback-section h4 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Contact Tabs */
.contact-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #2ecc71;
}

.contact-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-tab.active {
    background: #2ecc71;
    color: white;
}

.contact-tab:hover:not(.active) {
    background: #f0faf4;
}

.contact-tab-content {
    display: none;
}

.contact-tab-content.active {
    display: block;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.checkbox-label a {
    color: #000000;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Detail Pages Styles */
.detail-page {
    padding-top: 170px;
    min-height: 100vh;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #000000;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

.detail-header {
    text-align: center;
    margin-bottom: 4rem;
}

.detail-header h1 {
    font-size: 2.8rem;
    color: #000000;
    margin-bottom: 1rem;
}

.detail-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.detail-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.detail-image-large {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Key Facts Grid */
.key-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(51, 51, 51, 0.05));
    border-radius: 20px;
}

.key-fact {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.key-fact:hover {
    transform: translateY(-5px);
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.fact-value {
    font-size: 2rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.fact-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.key-facts-note {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: -1rem;
    font-style: italic;
}

/* Definition Highlight */
.definition-highlight {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #000000;
}

.definition-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Pro/Contra Grid */
.pro-contra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pro-section,
.contra-section {
    padding: 1.5rem;
    border-radius: 15px;
}

.pro-section {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.1));
    border-left: 4px solid #28a745;
}

.contra-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.1));
    border-left: 4px solid #ffc107;
}

.pro-section h4,
.contra-section h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.pro-section h4 {
    color: #28a745;
}

.contra-section h4 {
    color: #856404;
}

.pro-section ul,
.contra-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pro-section li,
.contra-section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 0;
    color: #444;
    line-height: 1.5;
}

/* Problem Solution Grid */
.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.problem-section,
.solution-section {
    padding: 1.5rem;
    border-radius: 15px;
}

.problem-section {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.1));
    border-left: 4px solid #dc3545;
}

.solution-section {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.1));
    border-left: 4px solid #28a745;
}

.problem-section h4 {
    color: #dc3545;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.solution-section h4 {
    color: #28a745;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.problem-section ul,
.solution-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-section li,
.solution-section li {
    padding: 0.8rem 0;
    color: #444;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.problem-section li:last-child,
.solution-section li:last-child {
    border-bottom: none;
}

/* Explanation Box */
.explanation-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(51, 51, 51, 0.1));
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.explanation-box h4 {
    color: #000000;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.explanation-box p {
    margin: 0;
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
}

.detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.definition-section,
.content-section,
.how-it-works-section,
.savings-section,
.process-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.definition-section h2,
.content-section h2,
.how-it-works-section h2,
.savings-section h2,
.process-section h2 {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(51, 51, 51, 0.05));
    border-radius: 20px;
}

.benefits-section h2 {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: #666;
    margin: 0;
}

.content-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.content-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.content-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.process-step h3 {
    color: #000000;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #666;
    margin: 0;
}

.comparison-container {
    max-width: 900px;
    margin: 2rem auto;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.before-state,
.after-state {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.before-state {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.1));
    border-left: 4px solid #ff6b6b;
}

.after-state {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(209, 231, 221, 0.1));
    border-left: 4px solid #28a745;
}

.before-state h3,
.after-state h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.before-state ul,
.after-state ul {
    list-style: none;
    padding: 0;
}

.before-state li,
.after-state li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.before-state li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.after-state li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.savings-highlight {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.savings-amount {
    margin-bottom: 2rem;
}

.big-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.savings-text {
    font-size: 1.3rem;
    font-weight: 600;
}

.savings-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.related-services {
    margin-top: 3rem;
    padding: 2.5rem 0;
    text-align: center;
}

.related-services h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.related-services-subtitle {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    text-align: left;
}

.related-service-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.related-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #2d724f;
}

.related-service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.related-service-card h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 0 0.4rem 0;
}

.related-service-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 0.8rem 0;
    flex: 1;
}

.related-service-link {
    font-size: 0.9rem;
    color: #2d724f;
    font-weight: 600;
}

.related-service-card:hover .related-service-link {
    color: #245a40;
}

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

.cta-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(51, 51, 51, 0.05));
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
}

.cta-content h2 {
    color: #000000;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Detail Page Responsive */
@media (max-width: 768px) {
    .detail-header h1 {
        font-size: 2.2rem;
    }

    .detail-subtitle {
        font-size: 1.1rem;
    }

    .detail-image {
        height: 250px;
    }

    .detail-image-large {
        height: 350px;
    }

    .key-facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .key-fact {
        padding: 1rem;
    }

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

    .pro-contra-grid,
    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .before-after {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .big-number {
        font-size: 3rem;
    }

    .savings-highlight {
        padding: 2rem;
    }

    .definition-section h2,
    .content-section h2,
    .how-it-works-section h2,
    .savings-section h2,
    .process-section h2,
    .benefits-section h2 {
        font-size: 1.8rem;
    }

    .definition-highlight,
    .explanation-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .key-facts-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .fact-icon {
        font-size: 2rem;
    }

    .fact-value {
        font-size: 1.3rem;
    }

    .definition-highlight {
        padding: 1rem;
    }

    .pro-section,
    .contra-section,
    .problem-section,
    .solution-section {
        padding: 1rem;
    }

    .explanation-box {
        padding: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .stats {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

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

    .close {
        right: 1.5rem;
        top: 1.5rem;
    }

    .shop-categories {
        grid-template-columns: 1fr;
    }

    .shop-integration {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .shop-features {
        grid-template-columns: 1fr;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .heating-system {
        flex-direction: column;
        gap: 1rem;
    }

    .radiators {
        flex-direction: column;
        gap: 1rem;
    }

    .savings-box {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero,
    .benefits,
    .services,
    .about,
    .testimonials,
    .contact,
    .cta {
        padding: 50px 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Hydraulischer Abgleich Animation Styles */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.info-text h3 {
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.info-text h3:first-child {
    margin-top: 0;
}

.info-benefits {
    list-style: none;
    padding: 0;
}

.info-benefits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.info-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.info-benefits li:last-child {
    border-bottom: none;
}

.hydraulic-animation {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 1.5rem;
}

.animation-container h4 {
    text-align: center;
    color: #000000;
    margin-bottom: 2rem;
}

.comparison-animation {
    margin-bottom: 2rem;
}

.before-state,
.after-state {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
}

.before-state {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
}

.after-state {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.before-state h5,
.after-state h5 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.heating-system {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.boiler {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 80px;
}

.boiler-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.boiler span {
    font-size: 0.8rem;
    color: #666;
}

.pipe-system {
    flex: 1;
    position: relative;
}

.main-pipe {
    height: 6px;
    background: #666;
    border-radius: 3px;
    position: relative;
    margin: 1rem 0;
}

.main-pipe::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, transparent);
    animation: waterFlow 2s linear infinite;
}

@keyframes waterFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.radiators {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.radiator {
    text-align: center;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 0;
}

.radiator span {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.2;
}

.water-flow {
    height: 4px;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.flow-high {
    background: #ff6b6b;
    animation: flowPulse 1s ease-in-out infinite;
}

.flow-medium {
    background: #ffa726;
    animation: flowPulse 1.5s ease-in-out infinite;
}

.flow-low {
    background: #2d724f;
    animation: flowPulse 2s ease-in-out infinite;
}

.flow-balanced {
    background: #2d724f;
    animation: flowPulse 1.2s ease-in-out infinite;
}

@keyframes flowPulse {
    0%, 100% { opacity: 0.6; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.savings-indicator {
    text-align: center;
    margin-top: 1.5rem;
}

.savings-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.savings-icon {
    font-size: 2rem;
}

.savings-text {
    text-align: left;
}

.savings-amount-anim {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    font-family: 'Courier New', monospace;
}

.cta-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.cta-section h3 {
    color: #000000;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Custom scrollbar for modals */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Responsive Design for .info-section */
@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hydraulic-animation {
        padding: 1rem;
    }

    .comparison-animation {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for .construction-supervision-animation */
@media (max-width: 768px) {
    .construction-supervision-animation .timeline-step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .construction-supervision-animation .timeline-step .step-icon {
        margin-bottom: 0;
    }
}

/* Responsive Design for .isfp-animation */
@media (max-width: 768px) {
    .isfp-animation .roadmap-step {
        flex-direction: column;
        text-align: center;
    }

    .isfp-animation .roadmap-step .step-icon {
        margin-bottom: 1rem;
    }

    .isfp-animation .projection-chart {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }

    .isfp-animation .chart-bar {
        width: 60%;
        margin: 0 auto;
    }
}

/* Responsive Design for .heating-load-animation */
@media (max-width: 768px) {
    .heating-load-animation .house-interior {
        flex-direction: column;
        align-items: center;
    }

    .heating-load-animation .room {
        width: 100%;
        max-width: 200px;
    }

    .heating-load-animation .heat-loss {
        position: static;
        margin-top: 10px;
        transform: none;
    }

    .heating-load-animation .roof-loss,
    .heating-load-animation .wall-loss-left,
    .heating-load-animation .wall-loss-right,
    .heating-load-animation .floor-loss {
        position: static;
        transform: none;
        margin: 10px auto;
    }
}

/* Responsive Design for .energy-certificate-animation */
@media (max-width: 768px) {
    .energy-certificate-animation .efficiency-scale .scale-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .energy-certificate-animation .scale-letter {
        width: auto;
    }

    .energy-certificate-animation .scale-range {
        margin-left: 0;
    }

    .energy-certificate-animation .cost-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .energy-certificate-animation .cost-label {
        min-width: auto;
    }
}

/* Responsive Design for .heat-pump-animation */
@media (max-width: 768px) {
    .heat-pump-animation .heat-pump-cycle {
        grid-template-columns: 1fr;
    }

    .heat-pump-animation .cycle-step {
        flex-direction: column;
        text-align: center;
    }

    .heat-pump-animation .cycle-step .step-icon {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for .photovoltaic-animation */
@media (max-width: 768px) {
    .photovoltaic-animation .pv-system {
        flex-direction: column;
        align-items: center;
    }

    .photovoltaic-animation .solar-panel,
    .photovoltaic-animation .inverter,
    .photovoltaic-animation .house-connection {
        width: 100%;
        min-width: auto;
    }

    .photovoltaic-animation .usage-split {
        align-items: center;
    }

    .photovoltaic-animation .self-consumption,
    .photovoltaic-animation .grid-feed {
        width: 80%;
    }
}

/* Responsive Design for .smart-energy-animation */
@media (max-width: 768px) {
    .smart-energy-animation .energy-sources .source,
    .smart-energy-animation .energy-sources .device {
        min-width: auto;
        width: 100%;
    }

    .smart-energy-animation .timeline {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for .funding-animation */
@media (max-width: 768px) {
    .funding-animation .funding-programs {
        grid-template-columns: 1fr;
    }

    .funding-animation .process-steps .process-step {
        flex-direction: column;
        text-align: center;
    }

    .funding-animation .step-number {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for .construction-supervision-animation */
@media (max-width: 768px) {
    .construction-supervision-animation .timeline-step {
        flex-direction: column;
        text-align: center;
    }

    .construction-supervision-animation .timeline-step .step-icon {
        margin-bottom: 1rem;
    }

    .construction-supervision-animation .quality-checks .check-item {
        flex-direction: column;
        text-align: center;
    }

    .construction-supervision-animation .check-icon {
        margin-bottom: 1rem;
    }
}

/* Service Image in Modals */
.service-image-container {
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.modal-service-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.modal-service-image:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for construction supervision */
@media (max-width: 768px) {
    .supervision-timeline {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        padding: 1rem;
    }

    .timeline-step .step-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .service-image-container {
        margin-bottom: 1.5rem;
    }

    .modal-service-image {
        max-width: 100%;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta,
    .contact-form {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .service-card,
    .benefit-card,
    .testimonial-card {
        page-break-inside: avoid;
    }

    .faq-item {
        page-break-inside: avoid;
    }

    .faq-answer {
        max-height: none !important;
        padding: 1rem !important;
    }

    .faq-category {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Benefits and Importance Section */
.benefits-importance-section {
    margin: 40px 0;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.importance-item {
    background: linear-gradient(135deg, #f8f8f8, #e0e0e0);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.importance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.importance-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.importance-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.importance-item p {
    color: #555;
    line-height: 1.5;
}

/* Technical Details Section */
.technical-details-section {
    margin: 40px 0;
}

.tech-details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tech-detail-box {
    background: #f8f8f8;
    border-left: 4px solid #000000;
    border-radius: 8px;
    padding: 25px;
}

.tech-detail-box h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-detail-box ul {
    list-style: none;
    padding: 0;
}

.tech-detail-box li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

.tech-detail-box li:last-child {
    border-bottom: none;
}

.tech-detail-box li:before {
    content: "▸ ";
    color: #000000;
    font-weight: bold;
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: #856404;
    margin-top: 40px;
}

.cta-content h2 {
    margin-bottom: 15px;
    color: #856404;
}

.cta-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #856404;
    opacity: 0.9;
}

/* Types Section Styles */
.types-section {
    margin: 40px 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

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

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

.type-card {
    background: white;
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    height: fit-content;
}

.type-card:hover {
    border-color: #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

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

.type-header h3 {
    margin: 0;
    color: #1565c0;
    font-size: 1.2rem;
}

.type-efficiency {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.type-content p {
    margin-bottom: 15px;
    color: #666;
}

.type-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-content li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #333;
}

.type-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.type-cost {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cost-label {
    color: #666;
    font-weight: 500;
}

.cost-value {
    color: #2d724f;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom scrollbar for modals */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Responsive Design for .info-section */
@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hydraulic-animation {
        padding: 1rem;
    }

    .comparison-animation {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for .construction-supervision-animation */
@media (max-width: 768px) {
    .construction-supervision-animation .timeline-step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .construction-supervision-animation .timeline-step .step-icon {
        margin-bottom: 0;
    }
}

/* Responsive Design for .isfp-animation */
@media (max-width: 768px) {
    .isfp-animation .roadmap-step {
        flex-direction: column;
        text-align: center;
    }

    .isfp-animation .roadmap-step .step-icon {
        margin-bottom: 1rem;
    }

    .isfp-animation .projection-chart {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }

    .isfp-animation .chart-bar {
        width: 60%;
        margin: 0 auto;
    }
}

/* Responsive Design for .heating-load-animation */
@media (max-width: 768px) {
    .heating-load-animation .house-interior {
        flex-direction: column;
        align-items: center;
    }

    .heating-load-animation .room {
        width: 100%;
        max-width: 200px;
    }

    .heating-load-animation .heat-loss {
        position: static;
        margin-top: 10px;
        transform: none;
    }

    .heating-load-animation .roof-loss,
    .heating-load-animation .wall-loss-left,
    .heating-load-animation .wall-loss-right,
    .heating-load-animation .floor-loss {
        position: static;
        transform: none;
        margin: 10px auto;
    }
}

/* Responsive Design for .energy-certificate-animation */
@media (max-width: 768px) {
    .energy-certificate-animation .efficiency-scale .scale-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .energy-certificate-animation .scale-letter {
        width: auto;
    }

    .energy-certificate-animation .scale-range {
        margin-left: 0;
    }

    .energy-certificate-animation .cost-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .energy-certificate-animation .cost-label {
        min-width: auto;
    }
}

/* Responsive Design for .heat-pump-animation */
@media (max-width: 768px) {
    .heat-pump-animation .heat-pump-cycle {
        grid-template-columns: 1fr;
    }

    .heat-pump-animation .cycle-step {
        flex-direction: column;
        text-align: center;
    }

    .heat-pump-animation .cycle-step .step-icon {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for .photovoltaic-animation */
@media (max-width: 768px) {
    .photovoltaic-animation .pv-system {
        flex-direction: column;
        align-items: center;
    }

    .photovoltaic-animation .solar-panel,
    .photovoltaic-animation .inverter,
    .photovoltaic-animation .house-connection {
        width: 100%;
        min-width: auto;
    }

    .photovoltaic-animation .usage-split {
        align-items: center;
    }

    .photovoltaic-animation .self-consumption,
    .photovoltaic-animation .grid-feed {
        width: 80%;
    }
}

/* Responsive Design for .smart-energy-animation */
@media (max-width: 768px) {
    .smart-energy-animation .energy-sources .source,
    .smart-energy-animation .energy-sources .device {
        min-width: auto;
        width: 100%;
    }

    .smart-energy-animation .timeline {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for .funding-animation */
@media (max-width: 768px) {
    .funding-animation .funding-programs {
        grid-template-columns: 1fr;
    }

    .funding-animation .process-steps .process-step {
        flex-direction: column;
        text-align: center;
    }

    .funding-animation .step-number {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for .construction-supervision-animation */
@media (max-width: 768px) {
    .construction-supervision-animation .timeline-step {
        flex-direction: column;
        text-align: center;
    }

    .construction-supervision-animation .timeline-step .step-icon {
        margin-bottom: 1rem;
    }

    .construction-supervision-animation .quality-checks .check-item {
        flex-direction: column;
        text-align: center;
    }

    .construction-supervision-animation .check-icon {
        margin-bottom: 1rem;
    }
}

/* Service Image in Modals */
.service-image-container {
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.modal-service-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.modal-service-image:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for construction supervision */
@media (max-width: 768px) {
    .supervision-timeline {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        padding: 1rem;
    }

    .timeline-step .step-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .service-image-container {
        margin-bottom: 1.5rem;
    }

    .modal-service-image {
        max-width: 100%;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta,
    .contact-form {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .service-card,
    .benefit-card,
    .testimonial-card {
        page-break-inside: avoid;
    }

    .faq-item {
        page-break-inside: avoid;
    }

    .faq-answer {
        max-height: none !important;
        padding: 1rem !important;
    }

    .faq-category {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Benefits and Importance Section */
.benefits-importance-section {
    margin: 40px 0;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.importance-item {
    background: linear-gradient(135deg, #f8f8f8, #e0e0e0);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.importance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.importance-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.importance-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.importance-item p {
    color: #555;
    line-height: 1.5;
}

/* Technical Details Section */
.technical-details-section {
    margin: 40px 0;
}

.tech-details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tech-detail-box {
    background: #f8f8f8;
    border-left: 4px solid #000000;
    border-radius: 8px;
    padding: 25px;
}

.tech-detail-box h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-detail-box ul {
    list-style: none;
    padding: 0;
}

.tech-detail-box li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

.tech-detail-box li:last-child {
    border-bottom: none;
}

.tech-detail-box li:before {
    content: "▸ ";
    color: #000000;
    font-weight: bold;
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: #856404;
    margin-top: 40px;
}

.cta-content h2 {
    margin-bottom: 15px;
    color: #856404;
}

.cta-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #856404;
    opacity: 0.9;
}

/* Types Section Styles */
.types-section {
    margin: 40px 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

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

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

.type-card {
    background: white;
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    height: fit-content;
}

.type-card:hover {
    border-color: #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

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

.type-header h3 {
    margin: 0;
    color: #1565c0;
    font-size: 1.2rem;
}

.type-efficiency {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.type-content p {
    margin-bottom: 15px;
    color: #666;
}

.type-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-content li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #333;
}

.type-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.type-cost {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cost-label {
    color: #666;
    font-weight: 500;
}

.cost-value {
    color: #2d724f;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
}
.related-services {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 20px;
}

.related-services h2 {
    text-align: center;
    color: #1a1a2e;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.related-services-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.related-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    border: 1px solid #eee;
}

.related-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #2d724f;
}

.related-service-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.related-service-card h4 {
    color: #1a1a2e;
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.related-service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.related-service-link {
    color: #2d724f;
    font-weight: 600;
    font-size: 0.9rem;
}

.related-service-card:hover .related-service-link {
    color: #1d5a3a;
}

@media (max-width: 768px) {
    .related-services-grid {
        grid-template-columns: 1fr;
    }
    .related-services h2 {
        font-size: 1.4rem;
    }
}
