/**
 * Stylesheet für die Warmduscher Mieten Landingpage
 * Template: page-warmduscher-mieten.php
 */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Override WordPress container defaults */
.container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Container */
.warmduscher-mieten-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.warmduscher-mieten-container .container {
    max-width: var(--content-max-width, 1200px) !important;
    margin: 0 auto;
    padding: 0 20px !important;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-main, #FFD700) 0%, #FFA500 100%);
    padding: 80px 0;
    margin-bottom: 0;
    width: 100%;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 0;
    text-align: center;
}

.hero-list {
    font-weight: 400;
    color: #000;
    margin: 0;
    margin-top: 10px;
    text-align: center;
}

.hero-image-wrapper {
    flex: 0 0 320px;
    max-width: 360px;
    width: 100%;
}

.energy-savings-widget{
    margin-bottom: 30px;
}

.hero-image-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background-color: #fff;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Intro Section */
.intro-section {
    background-color: #f8f8f8;
    padding: 60px 0;
    width: 100%;
}

.intro-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--color-main, #FFD700);
    width: 100%;
    box-sizing: border-box;
}

.intro-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-main, #FFD700) 0%, #FFA500 100%);
    border-radius: 50%;
    padding: 12px;
}

.intro-icon svg {
    width: 100%;
    height: 100%;
    color: #000;
}

.intro-users {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto 20px;
}

.intro-user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-main, #FFD700);
    border-radius: 50%;
    padding: 8px;
}

.intro-user-icon svg {
    width: 100%;
    height: 100%;
    color: #000;
}

.intro-plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    padding: 6px;
    margin-left: 4px;
}

.intro-plus-icon svg {
    width: 100%;
    height: 100%;
    color: #000;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Key Facts Section */
.key-facts-section {
    padding: 80px 0;
    background-color: #fff;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 0 0 50px 0;
}

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

.key-fact-item {
    background: linear-gradient(135deg, var(--color-main, #FFD700) 0%, #FFA500 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.key-fact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    padding: 12px;
}

.key-fact-icon svg {
    width: 100%;
    height: 100%;
    color: #000;
}

.key-fact-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
}

.key-fact-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    width: 100%;
}

.calculator-pro-box {
    max-width: var(--content-max-width, 1200px);
    margin: 30px auto 0;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-main, #FFD700);
    width: 100%;
    box-sizing: border-box;
}

.calculator-pro-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

.calculator-pro-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-main, #FFD700) 0%, #FFA500 100%);
    color: #000;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.calculator-pro-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.calculator-pro-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.calculator-pro-link-icon svg {
    width: 100%;
    height: 100%;
    color: #000;
}

.calculator-pro-link-text {
    color: #000;
    text-align: center;
    flex: 1;
}

.calculator-pro-link-arrow {
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Service Fee Section */
.service-fee-section {
    background-color: #fff;
    padding: 80px 0;
    width: 100%;
}

.service-fee-content {
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.service-fee-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
}

.service-fee-amount strong {
    color: var(--color-main, #FFD700);
    font-size: 1.8rem;
}

.service-fee-content > p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px 0;
}

.service-fee-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-fee-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid #eee;
}

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

.service-fee-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-main, #FFD700);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Product Section */
.product-section {
    padding: 80px 0;
    background-color: #fff;
    width: 100%;
}
.product-section img{
    width: 100%;
}

.product-content {
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.product-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0 0 20px 0;
}

.product-content strong {
    color: var(--color-main, #FFD700);
    font-weight: 700;
}

/* Price Styling */
.price-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.price-original {
    text-decoration: line-through !important;
    color: #999;
    font-size: 0.9em !important;
    font-weight: 400;
}

.price-current {
    color: var(--color-main, #FFD700);
    font-weight: 700;
}

.product-details {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    border: 2px solid var(--color-main, #FFD700);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.detail-value {
    font-size: 1.2rem;
    color: #000;
    font-weight: 700;
}

.detail-value .price-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.detail-value .price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    font-weight: 400;
}

.detail-value .price-current {
    color: var(--color-main, #FFD700);
    font-size: 1.2rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
    padding: 40px 0 80px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 48px;
    height: 48px;
    color: #fff;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-main, #FFD700);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    padding: 16px;
    user-select: none;
    transition: color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-main, #FFD700);
    background-color: rgba(0, 0, 0, 0.7);
}

/* Requirements Section */
.requirements-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    width: 100%;
}

.requirements-content {
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.requirements-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 30px 0;
    text-align: center;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.requirements-list li {
    margin: 0;
    padding: 0;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 12px;
    border-left: 4px solid var(--color-main, #FFD700);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.requirement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.requirement-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-main, #FFD700) 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.requirement-icon svg {
    width: 100%;
    height: 100%;
    color: #000;
}

.requirement-text {
    flex: 1;
}

.requirement-text strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.requirement-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.requirements-cta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #eee;
    display: flex;
    justify-content: center;
}

@media (min-width: 767px){
    .installation-wrapper{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
    }
}


/* Video Section */
.video-section {
    padding: 80px 0;
    background-color: #fff;
    width: 100%;
}

.video-wrapper {
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.video-description {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 20px 0 0 0;
}

/* CTA Section */
.cta-section {
    padding: 40px 0;
    background-color: #fff;
    width: 100%;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--color-main, #FFD700) 0%, #FFA500 100%);
    color: #000;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #000;
}

.cta-button-text {
    color: #000;
}

.cta-button-arrow {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Form Section */
.short-form-section {
    background-color: #f8f8f8;
    border-bottom: solid 1px #d4d4d4;
    padding: 80px 0;
    width: 100%;
}
.short-form-section p{
    font-size: 18px;
}

/* Form Section */
.form-section {
    background-color: #f8f8f8;
    padding: 80px 0;
    width: 100%;
}

.form-wrapper {
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

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

    .hero-title {
        font-size: 2rem;
        text-transform: uppercase;
    }

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

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

    .intro-section,
    .key-facts-section,
    .calculator-section,
    .service-fee-section,
    .product-section,
    .requirements-section,
    .video-section,
    .form-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 30px 0;
    }

    .cta-button {
        padding: 18px 30px;
        font-size: 1.2rem;
    }

    .video-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .intro-user-icon {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .intro-plus-icon {
        width: 28px;
        height: 28px;
        padding: 5px;
    }

    .key-facts-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .intro-box,
    .service-fee-content,
    .requirements-content,
    .form-wrapper,
    .calculator-pro-box {
        padding: 25px;
    }

    .calculator-pro-description {
        text-align: center;
    }

    .calculator-pro-description {
        text-align: center;
    }

    .calculator-pro-link {
        flex-direction: column;
        gap: 8px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .requirement-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .requirement-icon {
        width: 40px;
        height: 40px;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

    .warmduscher-mieten-container .container {
        padding: 0 20px;
    }
}

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

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

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

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

    .intro-section,
    .key-facts-section,
    .calculator-section,
    .service-fee-section,
    .product-section,
    .requirements-section,
    .video-section,
    .form-section {
        padding: 40px 0;
    }

    .cta-section {
        padding: 25px 0;
    }

    .cta-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .cta-button-arrow {
        font-size: 1.3rem;
    }

    .video-description {
        font-size: 0.95rem;
    }

    .calculator-pro-box {
        padding: 20px;
        margin-top: 20px;
    }

    .calculator-pro-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .calculator-pro-link {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .calculator-pro-link-icon {
        width: 20px;
        height: 20px;
    }

    .requirements-content {
        padding: 20px;
    }

    .requirement-item {
        padding: 15px;
    }

    .requirement-text strong {
        font-size: 1.1rem;
    }

    .warmduscher-mieten-container .container {
        padding: 0 15px;
    }
}

.wpforms-field-description a{
    text-decoration: underline !important;
    color: var(--color-main) !important;
}

.wpforms-submit{
    background: var(--color-main) !important;
    font-weight: bold;
    border-radius: 10px !important;
    padding: 15px 30px !important;
}
