/* ========== Root-Variablen ========== */
:root {
    --color-primary: #e2ad00;
    --color-primary-hover: #f29500;
    --color-text: #222;
    --color-text-light: #555;
    --color-background: #fff;
    --color-background-alt: #fffef6;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;

    --border-radius-sm: 5px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* ========== Allgemeines Layout ========== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--color-background);
    color: var(--color-text);
}

.logo {
    max-width: 160px;
    margin-bottom: 10px;
}

i {
    margin-right: 8px;
    color: var(--color-primary);
}

/* ========== Hero-Bereich ========== */
.hero {
    position: relative;
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
}

.hero-content .hero-points {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: white;
    text-align: center;
}

.hero-content .hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    backdrop-filter: blur(3px);
    box-shadow: var(--shadow-sm);
    transition: background 0.3s;
}

.hero-content .hero-points li:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-content .hero-points i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.cta-button,
.cta-link {
    background: var(--color-primary);
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover,
.cta-link:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.cta-link.secondary {
    background: var(--color-primary-hover);
}

/* ========== Features & Vorteile ========== */
.features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl) 10%;
    gap: var(--spacing-lg);
}

.features.reverse {
    flex-direction: row-reverse;
}

.feature {
    flex: 1;
    min-width: 280px;
}

.feature h2 {
    color: var(--color-primary);
}

.feature-image img {
    max-width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.benefit {
    background: #f8f8f8;
    border-radius: var(--border-radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.benefit h3 {
    margin: 10px 0;
    color: #333;
}

.benefit p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ========== Grid + Bild Layout ========== */
.features-with-grid,
.cta-kontakt-grid,
.pv-rechner-grid,
.pv-rechner-alt-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.features-with-grid.reverse,
.cta-kontakt-grid.reverse,
.pv-rechner-alt-grid.reverse {
    flex-direction: row-reverse;
}

.feature-image,
.pv-rechner-image,
.cta-kontakt-image,
.pv-rechner-alt-image {
    flex: 1;
    text-align: center;
}

.feature-image img,
.pv-rechner-image img,
.cta-kontakt-image img,
.pv-rechner-alt-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.benefit-wrapper,
.pv-rechner-text,
.cta-kontakt-text,
.pv-rechner-alt-text {
    flex: 1;
}

.benefit-wrapper h2,
.pv-rechner-text h2,
.cta-kontakt-text h2,
.pv-rechner-alt-text h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.benefit-wrapper p,
.pv-rechner-text p,
.cta-kontakt-text p,
.pv-rechner-alt-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}

.benefit-wrapper ul,
.pv-rechner-text ul,
.cta-kontakt-text ul,
.pv-rechner-alt-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.benefit-wrapper ul li,
.pv-rechner-text ul li,
.cta-kontakt-text ul li,
.pv-rechner-alt-text ul li {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-wrapper ul i,
.pv-rechner-text ul i,
.cta-kontakt-text ul i,
.pv-rechner-alt-text ul i {
    color: var(--color-primary);
}

/* ========== PV-Rechner-Formular ========== */
.calculator {
    padding: var(--spacing-xl) 10%;
    background: linear-gradient(135deg, #fffbe6, #fdf7e2);
}

.calculator h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.calculator p {
    text-align: center;
    margin-bottom: 30px;
}

.calc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.calc-inputs,
.calc-output {
    flex: 1;
    min-width: 280px;
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
}

.calc-output {
    background: var(--color-background-alt);
    border-left: 5px solid var(--color-primary);
}

.calc-inputs label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #333;
}

.calc-inputs input[type='range'] {
    width: 100%;
    margin-top: 5px;
    appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

.calc-inputs input[type='range']::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
}

.calc-inputs input[type='text'],
.calc-inputs input[type='email'],
.calc-inputs input[type='tel'],
.calc-inputs input[type='number'],
.calc-inputs select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.calc-inputs details {
    margin-top: 20px;
    background: #fdf9e5;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e9e3c9;
}

.calc-inputs button {
    margin-top: 25px;
    width: 100%;
    background: var(--color-primary);
    color: white;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.calc-inputs button:hover {
    background: var(--color-primary-hover);
}

.calc-output h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.calc-output p {
    font-size: 1rem;
    color: #444;
    margin: 8px 0;
}

.calc-output hr {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 15px 0;
}

/* ========== Kontaktformular ========== */
.kontakt-section {
    background: #fffef2;
    padding: 80px 10% 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kontakt-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    width: 100%;
}

.kontakt-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--color-primary);
    text-align: center;
}

.kontakt-wrapper p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-text-light);
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kontakt-form label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.kontakt-form input,
.kontakt-form textarea {
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-md);
    font-family: 'Inter', sans-serif;
    transition: border 0.2s ease;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    gap: 10px;
}

.form-check input[type='checkbox'] {
    margin-top: 6px;
}

.form-check a {
    color: var(--color-primary);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

.kontakt-form button {
    background: var(--color-primary);
    color: white;
    padding: 14px 20px;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    transition: background 0.3s ease;
}

.kontakt-form button:hover {
    background: var(--color-primary-hover);
}

/* ========== Footer ========== */
footer {
    background: #333;
    color: #eee;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

footer a {
    color: var(--color-primary-hover);
    margin: 0 10px;
    text-decoration: none;
}

/* ========== Cookie-Banner ========== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: white;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    z-index: 9999;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

#cookie-banner button {
    background: var(--color-primary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    color: white;
    cursor: pointer;
}

/* ========== Impressum / Datenschutz ========== */
.legal-section {
    padding: var(--spacing-xl) 10%;
    background: var(--color-background-alt);
    color: var(--color-text);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.legal-content p a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-content p a:hover {
    text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .features-with-grid,
    .features.reverse {
        flex-direction: column !important;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-image img {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 60px 20px;
        background-position: center center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .features,
    .features-with-grid,
    .calc-grid,
    .cta-kontakt-grid,
    .pv-rechner-grid,
    .pv-rechner-alt-grid {
        flex-direction: column;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .kontakt-wrapper {
        padding: 30px 20px;
    }

    .map iframe {
        height: 250px;
    }

    .pv-rechner-text ul,
    .cta-kontakt-text ul,
    .pv-rechner-alt-text ul {
        text-align: left;
    }

    .pv-rechner-alt-grid {
        flex-direction: column-reverse;
        text-align: center;
    }
}

.pv-rechner-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 5%;
}

.pv-rechner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    display: block;
}

.pv-einstieg-section {
    padding: 60px 10%;
    background: #fffef8;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pv-einstieg-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.pv-einstieg-text {
    flex: 1;
}

.pv-einstieg-text h2 {
    font-size: 2rem;
    color: #e2ad00;
    margin-bottom: 15px;
}

.pv-einstieg-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

.pv-einstieg-facts {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pv-einstieg-facts li {
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pv-einstieg-facts i {
    color: #e2ad00;
    font-size: 1.2rem;
}

.pv-einstieg-image {
    flex: 1;
    text-align: center;
}

.pv-einstieg-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .pv-einstieg-grid {
        flex-direction: column;
    }

    .pv-einstieg-text,
    .pv-einstieg-image {
        text-align: center;
    }

    .pv-einstieg-facts {
        text-align: left;
    }
}

.kontakt-einstieg-section {
    padding: 60px 10%;
    background: #f9f9f2;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.kontakt-einstieg-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.kontakt-einstieg-image {
    flex: 1;
    text-align: center;
}

.kontakt-einstieg-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.kontakt-einstieg-text {
    flex: 1;
}

.kontakt-einstieg-text h2 {
    font-size: 2rem;
    color: #e2ad00;
    margin-bottom: 15px;
}

.kontakt-einstieg-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}

.kontakt-facts {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.kontakt-facts li {
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kontakt-facts i {
    color: #e2ad00;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .kontakt-einstieg-grid {
        flex-direction: column;
        text-align: center;
    }

    .kontakt-facts {
        text-align: left;
        margin: 0 auto 30px;
    }
}
.rechner-teaser-section {
    padding: 60px 10%;
    background: #fffef6;
    border-top: 1px solid #eee;
}

.rechner-teaser-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.rechner-teaser-text {
    flex: 1;
}

.rechner-teaser-text h2 {
    font-size: 2rem;
    color: #e2ad00;
    margin-bottom: 15px;
}

.rechner-teaser-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

.rechner-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 30px;
}

.highlight {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.highlight i {
    color: #e2ad00;
    font-size: 1.2rem;
}

.rechner-teaser-image {
    flex: 1;
    text-align: center;
}

.rechner-teaser-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .rechner-teaser-grid {
        flex-direction: column;
        text-align: center;
    }

    .rechner-highlights {
        justify-content: center;
    }
}
.inselbetrieb-section {
    padding: 60px 10%;
    background: #f4f4ef;
    border-top: 1px solid #ddd;
}

.inselbetrieb-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.inselbetrieb-text {
    flex: 1;
}

.inselbetrieb-text h2 {
    font-size: 2rem;
    color: #e2ad00;
    margin-bottom: 15px;
}

.inselbetrieb-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

.inselbetrieb-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.insel-point {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
}

.insel-point i {
    color: #e2ad00;
    font-size: 1.3rem;
}

.inselbetrieb-image {
    flex: 1;
    text-align: center;
}

.inselbetrieb-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .inselbetrieb-grid {
        flex-direction: column;
    }

    .inselbetrieb-points {
        grid-template-columns: 1fr;
    }
}
.pv-gruende-section {
    padding: 60px 10%;
    background: #fffef6;
    border-bottom: 1px solid #eee;
}

.pv-gruende-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.pv-gruende-image {
    flex: 1;
    text-align: center;
}

.pv-gruende-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pv-gruende-text {
    flex: 1;
}

.pv-gruende-text h2 {
    font-size: 2rem;
    color: #e2ad00;
    margin-bottom: 15px;
}

.pv-gruende-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

.pv-gruende-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px 20px;
    list-style: none;
    padding: 0;
}

.pv-gruende-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.pv-gruende-list i {
    color: #e2ad00;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .pv-gruende-grid {
        flex-direction: column;
        text-align: center;
    }

    .pv-gruende-list {
        grid-template-columns: 1fr;
    }

    .pv-gruende-text p {
        text-align: left;
    }
}
.back-button-wrapper {
    margin-top: 30px;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary, #e2ad00);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-link:hover {
    background: var(--color-primary-hover, #f29500);
}
.legal-section {
    background: #fffef6;
    padding: 80px 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-content {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    width: 100%;
}

.legal-content h1 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
}

.legal-group {
    margin-bottom: 30px;
}

.legal-group h2 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.legal-group p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.legal-group i {
    color: var(--color-primary);
    margin-right: 8px;
}

.back-button-wrapper {
    text-align: center;
    margin-top: 30px;
}
