#blog,
#wirtschaftlichkeit,
#team {
    scroll-margin-top: 100px;
}

.hidden {
    display: none;
}

:root {
    --brand-primary: #FF914D;
    --brand-primary-hover: #ff7f2b;
    --brand-accent: #2ed5d2;
    --text-light: #EDEFF6;
    --text-muted: rgba(237, 239, 246, 0.72);
}

.blog-section .blog-controls {
    margin: 1rem 0;
}

.blog-section #blog-search {
    width: 100%;
    max-width: 520px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.blog-section .blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.blog-section .blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.blog-section .blog-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.blog-section .blog-detail {
    margin-top: 1rem;
}

/* Team Section */
.team-section {
    width: 100%;
    background-color: #010000;
    color: #F5F3F0;
    padding: 4rem 1.5rem;
}

/* Gallery Section */
.gallery-section {
    width: 100%;
    background: #010000;
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    position: relative;
}

/* Funnel */
.funnel-section {
    width: 100%;
    background: #010000;
    color: #F5F3F0;
    padding: 4rem 1.5rem;
}

.funnel-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: #0f0f0f;
    border: 1px solid #1c1c1c;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

/* Thank-you card: höherer Kontrast und angenehmere Abhebung vom Hintergrund */
.thankyou-card {
    background: linear-gradient(180deg, rgba(19, 19, 20, 0.98) 0%, rgba(14, 14, 15, 0.98) 100%);
    border: 1px solid #2a2a2e;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 145, 77, 0.08) inset;
}

/* Buttons auf der Thank-you-Seite sauber typisiert */
.thankyou-actions .header-btn {
    width: auto;
    height: auto;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: .2px;
}

.thankyou-actions .header-btn.btn-primary {
    background: #FF914D;
    color: #FFF;
}

.thankyou-actions .header-btn.btn-primary:hover {
    background: #ff8a3a;
}

.thankyou-actions .header-btn.btn-outline {
    background: transparent;
    border: 2px solid #FF914D;
    color: #FF914D;
}

.thankyou-actions .header-btn.btn-outline:hover {
    background: rgba(255, 145, 77, 0.08);
}

.funnel-progress {
    position: relative;
    width: 100%;
    height: 8px;
    background: #1b1b1b;
    border-radius: 999px;
    overflow: hidden;
    margin: 1.25rem 0 2rem 0;
}

.funnel-progress-bar {
    height: 100%;
    width: 0;
    background: #FF914D;
    transition: width 0.35s ease;
}

.funnel-progress-steps {
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #bdbdc4;
}

.funnel-step {
    border: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

.funnel-field-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem 1rem;
    margin-top: 1rem;
}

.funnel-choice {
    background: #131313;
    border: 1px solid #242424;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.funnel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.funnel-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.funnel-col label {
    color: #d9d9de;
    font-weight: 600;
    font-size: 0.95rem;
}

.funnel-col input,
.funnel-col select {
    background: #131313;
    color: #F5F3F0;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    padding: 0.75rem 0.8rem;
    width: 100%;
}

.funnel-col textarea {
    background: #131313;
    color: #F5F3F0;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    padding: 0.75rem 0.8rem;
    resize: vertical;
    min-height: 140px;
}

.funnel-col textarea::placeholder,
.admin-input::placeholder {
    color: #8a8e96;
}

.funnel-consent {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.funnel-consent input {
    margin-top: 0.25rem;
}

.funnel-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.funnel-nav .header-btn {
    width: auto;
    height: auto;
    padding: 0.7rem 1.1rem;
}

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

.gallery-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.42fr) 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}

.gallery-info {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: clamp(0.5rem, 2vw, 2.5rem);
}

.gallery-headings {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-heading-item {
    display: flex;
    flex-direction: column;
}

.gallery-heading {
    cursor: pointer;
    padding: 0.4rem 0.2rem;
    color: #cfcfd4;
    transition: color 0.2s ease, font-size 0.2s ease;
}

.gallery-heading:hover {
    color: #ffffff;
}

.gallery-heading.active {
    color: #FF914D;
    font-size: 1.3rem;
    font-weight: 800;
}

.gallery-heading-item .gallery-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #EEEEF2;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
    max-width: 520px;
}

.gallery-heading.active+.gallery-text {
    max-height: none;
    opacity: 1;
    margin-top: 0.5rem;
    overflow: visible;
}

.gallery-scroller {
    position: relative;
}

.gallery-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-track::-webkit-scrollbar {
    height: 10px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 6px;
}

.gallery-track::-webkit-scrollbar-track {
    background: #0b0b0b;
}

.gallery-item {
    flex: none;
    width: 100%;
    min-height: 60vh;
    border-radius: 12px;
    overflow: hidden;
    background: #0f0f0f;
    border: 1px solid #1c1c1c;
    position: relative;
    cursor: pointer;
}

.gallery-detail {
    display: none;
    margin: 0.75rem 0 1.75rem 0;
    padding: 1rem 1.1rem 1.2rem 1.1rem;
    background: rgba(12, 12, 14, 0.82);
    border: 1px solid #242424;
    border-radius: 12px;
    color: #EDEFF6;
    line-height: 1.6;
}

.gallery-detail ul {
    margin: 0.25rem 0 0 1.25rem;
    padding: 0;
    list-style: disc;
}

.gallery-detail li {
    margin: 0.2rem 0;
}

.gallery-detail-subtitle {
    margin: 0 0 0.25rem 0;
    font-weight: 700;
    color: #FF914D;
}

/* Bullets auch in der linken Liste sauber darstellen */
.gallery-text ul {
    margin: 0.25rem 0 0 1.25rem;
    padding: 0;
    list-style: disc;
}

.gallery-text li {
    margin: 0.2rem 0;
}

.gallery-detail.active {
    display: none;
    /* nur mobil sichtbar, siehe Media Query */
}

.gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 95%);
    padding: clamp(0.9rem, 2.5vw, 1.5rem);
}

.gallery-item-title {
    color: #fff;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 800;
    margin: 0;
}

/* "Mehr erfahren" Button unter linken Gallery-Texten */
.gallery-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0.7rem 1.1rem;
    gap: 0.35rem;
    border-radius: 5px;
    background: #FF914D;
    color: #FFF;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    margin-top: 0.5rem;
}

.gallery-more-btn:hover {
    background: #e68a3f;
    color: #FFF;
}

/* Nur anzeigen, wenn der zugehörige Text sichtbar ist (aktive Überschrift) */
.gallery-heading-item .gallery-more-btn {
    display: none;
}

.gallery-heading-item .gallery-heading.active+.gallery-text+.gallery-more-btn {
    display: inline-flex;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .gallery-item {
        flex-basis: 600px;
    }
}

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

    .gallery-info {
        position: relative;
        top: auto;
        max-height: none;
        display: none;
    }

    .gallery-item {
        min-height: 48vh;
    }

    .gallery-item-title {
        font-size: clamp(1.25rem, 3.2vw, 1.6rem);
    }

    .gallery-overlay {
        padding: clamp(0.8rem, 3vw, 1.2rem);
    }

    .gallery-detail.active {
        display: block;
    }
}

@media (max-width: 600px) {
    .gallery-container {
        padding: 0 clamp(0.75rem, 4vw, 1.25rem);
    }

    .gallery-item {
        min-height: 42vh;
    }

    .gallery-item-title {
        font-size: clamp(1.15rem, 4.2vw, 1.4rem);
    }

    .gallery-detail {
        font-size: 1rem;
        line-height: 1.55;
    }
}

.team-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.team-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 0.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 1px;
    color: #100F0D;
    background: radial-gradient(circle at 30% 30%, #FFD6B8, #FF914D);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.25rem 0 0.25rem 0;
    color: #202026;
}

.team-role {
    font-size: 0.98rem;
    color: #3a3a40;
    margin: 0;
}

@media (max-width: 600px) {
    .team-section {
        padding: 3rem 1rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Blog – verbessertes Design */
.blog-hero {
    position: relative;
    width: 100%;
    min-height: 18vh;
    background: #010000;
    display: flex;
    align-items: center;
}

.blog-hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem 2rem;
    color: #fff;
}

.blog-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.blog-controls {
    margin: 0.25rem 0 0.75rem 0;
}

.blog-search {
    position: relative;
    max-width: 680px;
}

.blog-search .search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #9da0a8;
}

.blog-search input[type="search"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #2a2a2a;
    padding: 0.55rem 0.25rem 0.45rem 1.8rem;
    color: #e9e9ee;
    outline: none;
}

.blog-search input::placeholder {
    color: #8a8e96;
}

.blog-search input:focus {
    border-bottom-color: #FF914D;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
    margin: 0.5rem 0 1rem 0;
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    z-index: 5;
    background: rgba(1, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 0.25rem;
    border-radius: 10px;
}

.filters-label {
    margin-right: 0.5rem;
    color: #bdbdc4;
    font-weight: 600;
}

.filter-chip {
    background: #121212;
    color: #e9e9ee;
    border: 1px solid #2a2a2a;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.92rem;
    cursor: pointer;
}

.filter-chip:hover {
    border-color: #3a3a3a;
}

.filter-chip.active {
    background: #FF914D;
    color: #100F0D;
    border-color: #FF914D;
}

.filter-clear {
    margin-left: auto;
    background: transparent;
    color: #e9e9ee;
    border: 1px solid #2a2a2a;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

.filter-clear:hover {
    border-color: #3a3a3a;
}

.blog-section .blog-list {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1000px) {
    .blog-section .blog-list {
        grid-template-columns: 1fr 1fr;
    }
}

.blog-section .blog-card {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: #000;
    border: 1px solid #1c1c1c;
}

.blog-cover {
    width: 100%;
    aspect-ratio: 2 / 1;
    background: #222;
}

.blog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-content {
    position: static;
    background: #0a0a0a;
    padding: 1rem 1.25rem 1.4rem 1.25rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.25rem 0;
}

.blog-meta .meta-date {
    font-size: 0.95rem;
    color: #6b6b72;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-size: 0.8rem;
    color: #100F0D;
    background: #FFE1CF;
    border: 1px solid #FF914D55;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.blog-section .blog-card .header-btn {
    display: none;
}

.blog-content .tags {
    display: none;
}

.blog-card .heading-lg {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0.3rem 0;
}

.byline {
    color: #d8d8dd;
}

/* Blog card excerpt readable on dark background */
.blog-content .text-content {
    color: #f3f4f6;
}

.blog-detail {
    max-width: 860px;
    margin: 2rem auto;
    background: #010000;
    color: #F5F3F0;
    border-radius: 0;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    box-shadow: none;
}

.detail-category-tag {
    display: inline-block;
    border: 1px solid #e9e9ee;
    color: #e9e9ee;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.detail-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0.5rem 0 1.5rem 0;
    line-height: 1.15;
}

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

.detail-meta-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.85rem;
    color: #9da0a8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1rem;
    color: #e9e9ee;
    font-weight: 500;
}

.share-icons {
    display: flex;
    gap: 0.5rem;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    color: #e9e9ee;
    text-decoration: none;
    font-size: 0.9rem;
}

.share-icon:hover {
    border-color: #3a3a3a;
}

.detail-body {
    color: #e9e9ee;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

.related-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #1c1c1c;
}

.related-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

@media (min-width: 1000px) {
    .related-posts {
        grid-template-columns: 1fr 1fr;
    }
}

.blog-detail-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.blog-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.byline {
    font-size: 0.95rem;
    color: #9da0a8;
    margin: 0.25rem 0 0.5rem 0;
}

.blog-list-actions {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0;
}

/* Podcast */
.podcast-section {
    background: #010000;
    color: #F5F3F0;
    padding: 3rem 0 4rem;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.podcast-card {
    background: #0f0f0f;
    border: 1px solid #1c1c1c;
    border-radius: 14px;
    padding: 1rem 1.2rem;
}

.podcast-episode {
    color: #9da0a8;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.podcast-title {
    margin: 0.2rem 0 0.4rem 0;
    font-size: 1.2rem;
}

.podcast-meta {
    color: #bdbdc4;
    margin: 0 0 0.6rem 0;
}

.podcast-actions {
    display: flex;
    gap: 0.6rem;
}

.podcast-btn {
    background: #121212;
    border: 1px solid #2a2a2a;
    color: #e9e9ee;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
}

.podcast-btn:hover {
    border-color: #3a3a3a;
}

@media (max-width: 600px) {
    .blog-hero-inner {
        padding: 2rem 1rem;
    }

    .blog-container {
        padding: 1rem;
    }
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #010000;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
    overflow-x: clip;
}

main,
footer,
section {
    width: 100%;
    max-width: 100%;
}

main {
    position: relative;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

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

a {
    color: #FF914D;
    transition: color 0.2s ease;
}

a:hover {
    color: #e68a3f;
    text-decoration: none;
}

/* Table Styles */
th,
td {
    padding: 1.3rem 1rem;
    text-align: center;
}

/* Responsive table improvements */
@media (max-width: 768px) {

    th,
    td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {

    th,
    td {
        padding: 0.5rem 0.3rem;
        font-size: 0.8rem;
    }
}


/* Heading Classes */
.heading-xl {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.heading-lg {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.heading-md {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.heading-sm {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.55;
    text-align: left;
    color: #3a3a40;
    margin: 0;
    padding-right: 5rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

/* Handschrift-Look nur für den Wirtschaftlichkeitsrechner beibehalten */
#wirtschaftlichkeit .heading-xl,
#wirtschaftlichkeit .heading-lg,
#wirtschaftlichkeit .heading-md,
#wirtschaftlichkeit .heading-sm {
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.text-content {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.95rem;
}

#text-content-note {
    font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.2rem);
    font-weight: 400;
    padding: 0;
    width: 100%;
    min-width: 320px;
    table-layout: auto;
    border-collapse: collapse;
}

.calc-table-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

.calc-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.calc-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.3);
    border-radius: 999px;
}

.calc-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

/* Kompakte Tabelle für Heizlastberechnung */
#text-content-note th,
#text-content-note td {
    padding: 0.25rem 0.5rem;
    font-size: inherit;
    vertical-align: middle;
    white-space: normal;
    word-break: break-word;
}

#text-content-note input {
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(34, 21, 14, 0.25);
    border-radius: 8px;
    font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1.1rem);
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    color: #1d140d;
}

#BerechnenBTN {
    background: linear-gradient(180deg, #ffb07a, #FF914D);
    border: none;
    color: #1a0f08;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    font-size: clamp(0.85rem, 0.8rem + 0.25vw, 1.1rem);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 145, 77, 0.25);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#BerechnenBTN:hover {
    box-shadow: 0 14px 28px rgba(255, 145, 77, 0.4);
}

#BerechnenBTN:active {
    transform: translateY(1px);
}

/* Responsive styles for the calculator table */
@media (max-width: 768px) {
    #text-content-note {
        font-size: 1.1rem;
    }

    #text-content-note td {
        padding: 0.3rem 0.4rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .calc-table-wrapper {
        margin: 0 -0.25rem;
        padding-left: 0.25rem;
    }

    #text-content-note {
        font-size: 1rem;
    }

    #text-content-note td {
        font-size: 0.95rem;
    }

    #text-content-note input {
        padding: 0.1rem 0.2rem;
        font-size: 0.9rem;
    }
}

/* Card-basierter Rechner in der Wirtschaftlichkeit */
.calc-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 1.5vw, 1.75rem);
    margin: clamp(1rem, 2vw, 2rem) 0;
}

.calc-card {
    background: linear-gradient(176deg, rgba(34, 23, 16, 0.98), rgba(12, 8, 6, 0.96));
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    padding: clamp(1rem, 1rem + 0.8vw, 2rem);
    color: #F7F4EF;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    isolation: isolate;
    min-height: 100%;
}

.calc-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.calc-step-label {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #0f0f0f;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.calc-card-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.calc-card-title {
    margin: 0;
    font-size: clamp(1.15rem, 0.95rem + 0.5vw, 1.6rem);
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: #fff;
}

.calc-card-field-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.calc-input-row {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.calc-input-row input {
    flex: 1 1 auto;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 21, 14, 0.25);
    font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
    background: rgba(255, 255, 255, 0.95);
    color: #1d140d;
}

.calc-input-row #BerechnenBTN {
    flex: 0 0 auto;
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
}

.calc-card-input .calc-input-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.calc-card-input #BerechnenBTN {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    box-shadow: 0 14px 32px rgba(255, 145, 77, 0.35);
}

.calc-card-hint {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.calc-output-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.7rem;
}

.calc-output {
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.calc-output-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 0.2rem 0;
}

.calc-output-value {
    margin: 0;
    font-size: clamp(1.2rem, 1rem + 0.9vw, 2rem);
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: #fff;
}

.calc-output-electric span {
    color: var(--brand-accent);
}

.calc-card-electric {
    background: linear-gradient(135deg, rgba(3, 4, 30, 0.96), rgba(9, 35, 45, 0.94));
    border: 1px solid rgba(46, 213, 210, 0.3);
    box-shadow: 0 35px 65px rgba(6, 21, 31, 0.45);
    color: #E7F9F8;
}

.calc-card-electric .calc-card-title,
.calc-card-electric .calc-output-value,
.calc-card-electric .calc-card-field-label {
    color: #E7F9F8;
}

.calc-card-electric .calc-output-label {
    color: rgba(231, 249, 248, 0.65);
}

.calc-card-electric .calc-card-eyebrow,
.calc-card-electric .calc-card-hint {
    color: rgba(231, 249, 248, 0.75);
}

.calc-electric-subline {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(231, 249, 248, 0.8);
}

/* Info hover: labels + i-Icon oben rechts zeigen Erklärung */
.info-wrap {
    position: relative;
    display: block;
    padding-right: 28px;
    /* Platz für i-Icon */
}

.info-badge {
    position: absolute;
    top: -2px;
    right: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.info-badge:hover,
.info-badge:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    outline: none;
}

.info-tip {
    position: absolute;
    right: 0;
    top: -8px;
    transform: translateY(-100%);
    width: min(48ch, 420px);
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    background: rgba(10, 10, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #EDEFF6;
    font-size: 0.92rem;
    line-height: 1.35;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 50;
}

.info-tip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 12px;
    border: 6px solid transparent;
    border-top-color: rgba(10, 10, 12, 0.98);
}

.info-wrap:hover .info-tip,
.info-wrap:focus-within .info-tip,
.info-badge:focus+.info-tip {
    opacity: 1;
    visibility: visible;
    transform: translateY(calc(-100% - 6px));
}

/* Lesbarkeit im Electric-Card-Kontext beibehalten */
.calc-card-electric .info-badge {
    border-color: rgba(231, 249, 248, 0.45);
    background: rgba(231, 249, 248, 0.06);
    color: #E7F9F8;
}

.calc-card-electric .info-tip {
    background: rgba(3, 7, 14, 0.98);
    border-color: rgba(231, 249, 248, 0.18);
    color: #E7F9F8;
}

.calc-card-electric .info-tip::after {
    border-top-color: rgba(3, 7, 14, 0.98);
}

/* Ergebnis-Karten (Einspeisung / Eigenverbrauch) */
.revenue-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 1.5vw, 1.75rem);
    margin: clamp(1rem, 2vw, 2rem) 0;
}

.revenue-card {
    background: linear-gradient(176deg, rgba(28, 20, 16, 0.98), rgba(10, 8, 7, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    padding: clamp(1rem, 1rem + 0.8vw, 2rem);
    color: #F7F4EF;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    overflow: visible;
}

.revenue-card.rev-feed {
    background: linear-gradient(135deg, rgba(34, 22, 40, 0.96), rgba(20, 14, 17, 0.96));
    border-color: rgba(157, 0, 255, 0.25);
    box-shadow: 0 35px 65px rgba(40, 10, 55, 0.45);
}

.revenue-card.rev-self {
    background: linear-gradient(135deg, rgba(7, 21, 24, 0.96), rgba(14, 14, 15, 0.96));
    border-color: rgba(46, 213, 210, 0.25);
    box-shadow: 0 35px 65px rgba(6, 21, 31, 0.45);
}

.rev-title {
    margin: 0 0 0.25rem 0;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: clamp(1.35rem, 1.05rem + 0.7vw, 1.9rem);
    color: #fff;
}

.rev-formula {
    margin: 0;
    font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.rev-result {
    margin: 0.15rem 0 0 0;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: clamp(1.05rem, 1rem + 0.45vw, 1.35rem);
    color: #fff;
}

.rev-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rev-apply {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.rev-apply:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Inline-Infos in Formeln */
.rev-formula .info-inline {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.55);
    cursor: help;
    line-height: 1.1;
}

.rev-formula .info-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.rev-formula .info-link:hover {
    text-decoration: none;
}

.rev-formula .info-inline:focus {
    outline: none;
    border-bottom-style: solid;
}

.rev-formula .info-inline .info-tip {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translate(-50%, 0);
    width: max(24ch, min(36ch, 70vw));
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: rgba(10, 10, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #EDEFF6;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1000;
    white-space: normal;
}

.rev-formula .info-inline .info-tip::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(10, 10, 12, 0.98);
}

.rev-formula .info-inline:hover .info-tip,
.rev-formula .info-inline:focus .info-tip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* CTA innerhalb der Tooltips */
.info-tip .tip-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background: #FF914D;
    color: #0e0c0b;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 22px rgba(255, 145, 77, 0.25);
    cursor: pointer;
}

.info-tip .tip-cta:hover {
    filter: brightness(1.05);
}

/* Center the legal reference list under economics */
.economics-legal {
    width: min(92vw, 1000px);
    margin: clamp(1rem, 2vw, 2.5rem) auto;
    text-align: center;
}

.economics-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.economics-legal li {
    margin: 0.4rem 0;
    line-height: 1.35;
}

.economics-legal a {
    color: #FF914D;
    text-decoration: underline;
}

/* Info cards: Amortisation & Legal (spiegeln Stil der revenue-card) */
.economics-section .info-card {
    background: linear-gradient(176deg, rgba(28, 20, 16, 0.98), rgba(10, 8, 7, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    padding: clamp(1rem, 1rem + 0.8vw, 2rem);
    box-shadow: none;
    /* kein Backlight */
    color: #F7F4EF;
    margin: clamp(1rem, 2vw, 1.5rem) 0;
    transition: none;
    /* keine Hover-Animation */
}

.economics-section .info-card::before {
    display: none;
}

.economics-section .info-card:hover {
    transform: none;
    box-shadow: none;
}

.info-title {
    margin: 0 0 0.6rem 0;
    font-size: clamp(1.4rem, 1.1rem + 0.6vw, 1.9rem);
    font-weight: 700;
}

.amort-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.6rem 0;
    display: grid;
    gap: 0.3rem;
    color: rgba(245, 243, 240, 0.9);
}

.ertrag-total {
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.2px;
    margin: 0.3rem 0 0.8rem 0;
    color: #fff;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.economics-section .amort-card {
    box-shadow: none;
    /* kein farbiger Schein */
}

.economics-section .legal-card {
    box-shadow: none;
    /* kein farbiger Schein */
}

.info-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
    margin-top: clamp(0.5rem, 1.5vw, 1rem);
}

.info-card-grid .info-card {
    margin: 0;
    height: 100%;
}

@media (max-width: 992px) {
    .info-card-grid {
        grid-template-columns: 1fr;
    }
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.legal-list a {
    color: #FF914D;
    text-decoration: underline;
}

/* Economics Teaser (Startseite) */
.economics-teaser {
    background: #010000;
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
}

.economics-teaser::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 145, 77, 0.18), transparent 55%),
        radial-gradient(circle at 85% 0%, rgba(46, 213, 210, 0.12), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.economics-teaser .section-inner {
    position: relative;
    z-index: 2;
}

.economics-detail {
    background: radial-gradient(circle at 10% 10%, rgba(255, 145, 77, 0.1), rgba(1, 0, 0, 0.95));
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.teaser-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.teaser-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.teaser-tags span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.teaser-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
}

.teaser-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 0.85rem 1rem;
}

.teaser-stat p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.teaser-stat strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.teaser-stat small {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.teaser-card {
    background: linear-gradient(145deg, rgba(19, 12, 9, 0.95), rgba(5, 4, 5, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: clamp(1.5rem, 2vw, 2.2rem);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: min(95%, 70vw);
    max-width: 820px;
    margin: 0 auto;
}

.teaser-eyebrow {
    margin: 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.teaser-input-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.teaser-input-row input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.teaser-input-row button {
    border-radius: 999px;
    padding: 0.75rem 1.3rem;
    font-weight: 700;
}

.teaser-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.teaser-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
}

.teaser-metric {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}

.teaser-metric p {
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.teaser-metric strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 0.2rem;
    color: #fff;
}

.teaser-footnote {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
}

.teaser-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.economics-detail .teaser-actions {
    justify-content: flex-start;
    margin-top: 1rem;
}

.economics-detail .teaser-metrics strong {
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

    .calc-input-row {
        flex-direction: column;
        align-items: stretch;
    }

    .calc-input-row #BerechnenBTN {
        width: 100%;
        text-align: center;
    }

    .calc-card-input .calc-input-row {
        gap: 0.5rem;
    }

    .rev-formula .info-inline .info-tip {
        left: 0;
        transform: none;
        width: min(86vw, 420px);
    }

    .rev-formula .info-inline .info-tip::after {
        left: 16px;
        transform: none;
    }
}

/* Verhindert "einsame" dritte Karte bei mittleren Breiten */
@media (max-width: 1200px) {
    .calc-card-grid {
        grid-template-columns: 1fr;
    }

    .calc-card-grid .calc-card:nth-of-type(-n+2)::after {
        content: none;
    }
}

@media (min-width: 992px) {
    .calc-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .calc-card-grid .calc-card:nth-of-type(-n+2)::after {
        content: "→";
        position: absolute;
        right: -0.5rem;
        top: 50%;
        transform: translate(50%, -50%);
        color: rgba(255, 145, 77, 0.8);
        font-size: 1.4rem;
        font-weight: 600;
        pointer-events: none;
    }
}

/* Utility Classes */
.accent-color {
    color: #FF914D;
}

.text-shadow {
    text-shadow: 0 0 1px #100F0D;
}

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

@media (max-width: 768px) {
    .text-right {
        text-align: left;
    }
}

.responsive-img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Infopage: Images responsive und proportional */
.Infopage .responsive-img {
    max-width: 100%;
}

@media (min-width: 768px) {
    .Infopage .responsive-img {
        max-width: 420px;
    }
}

@media (min-width: 1024px) {
    .Infopage .responsive-img {
        max-width: 480px;
    }
}

@media (min-width: 1400px) {
    .Infopage .responsive-img {
        max-width: 560px;
    }
}

.underline {
    text-decoration: underline;
}

.border-bottom {
    border-bottom: 2px solid #7F7F7F;
}

.border-bottom-light {
    border-bottom: 2px solid #7F7F7F4D;
}

header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Navigation Bar */
.navbar {
    position: relative;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    padding: 1rem 2rem;
    background: #010000;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    height: 40px;
    margin-right: 1rem;
}

.logo-text {
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-size: 1.6rem;
    text-align: left;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.logo-fuchs {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FF914D;
}

.logo-group {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: whitesmoke;
    margin: 0 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FF914D;
}

/* Mega Menu (Produkte) */
.nav-links .has-mega {
    position: static;
}

.mega-panel {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: min(1480px, 96vw);
    background: rgba(15, 15, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.85rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    display: none;
}

.has-mega:hover .mega-panel {
    display: block;
}

.has-mega:focus-within .mega-panel {
    display: block;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.35rem;
}

.mega-item {
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mega-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.mega-item img {
    width: 100%;
    height: clamp(230px, 18vw, 380px);
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .3s ease;
}

.mega-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .65) 100%);
    pointer-events: none;
}

.mega-item:hover img {
    transform: scale(1.05);
}

.mega-item span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    padding: .4rem .6rem;
    backdrop-filter: blur(2px);
}

@media (min-width: 1380px) {
    .mega-panel {
        width: min(1500px, 96vw);
    }

    .mega-grid {
        grid-template-columns: repeat(5, minmax(240px, 1fr));
    }
}

@media (min-width: 1600px) {
    .mega-panel {
        width: min(1550px, 96vw);
    }

    .mega-grid {
        grid-template-columns: repeat(5, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

/* Hide mega menu on small screens */
@media (max-width: 1024px) {
    .mega-panel {
        display: none !important;
    }
}

.header-btn,
.gallery-more-btn,
.submit-btn,
.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    background: var(--brand-primary);
    color: #FFF;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(255, 145, 77, 0.18);
}

.header-btn:hover,
.gallery-more-btn:hover,
.submit-btn:hover,
.load-more-btn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(255, 145, 77, 0.25);
}

.header-btn[disabled],
.gallery-more-btn[disabled],
.submit-btn[disabled],
.load-more-btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: calc(100vh - 80px);
    background-color: #010000;
    display: flex;
    align-items: stretch;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/Hero.webp');
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) brightness(0.55);
    transform: translate3d(0, 0, 0);
    transition: transform 0.2s linear;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 145, 77, 0.25), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(46, 213, 210, 0.2), transparent 40%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 420px);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    margin: 0.5rem 0 1rem 0;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(245, 243, 240, 0.9);
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-metrics .metric-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: rgba(245, 243, 240, 0.6);
    margin: 0 0 0.15rem 0;
}

.hero-metrics .metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.hero-panel {
    background: rgba(16, 15, 13, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-panel h3 {
    margin: 0;
    font-size: 1.6rem;
}

.hero-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: rgba(245, 243, 240, 0.85);
}

.hero-panel-list li::before {
    content: "▹";
    color: #FF914D;
    margin-right: 0.5rem;
}

.hero-panel-text {
    margin: 0;
    color: rgba(245, 243, 240, 0.8);
    line-height: 1.6;
}

.hero-panel-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(245, 243, 240, 0.75);
}

.hero-badge,
.hero-panel-footer span {
    background: rgba(255, 145, 77, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge {
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 6rem;
    }

    .hero-panel-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.trust-section {
    background: #010000;
    color: rgba(245, 243, 240, 0.75);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.trust-logos span {
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.85rem;
}

.statement-strip {
    width: 100%;
    overflow: hidden;
    background: #080707;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.75rem 0;
}

.strip-track {
    display: flex;
    gap: 2.5rem;
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    background: linear-gradient(90deg, #FF914D, #FFE1CF);
    -webkit-background-clip: text;
    background-clip: text;
    will-change: transform;
    padding-left: 5vw;
}

.strip-track span {
    opacity: 0.9;
}

.product-flow {
    background: #010000;
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flow-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.flow-visual {
    position: relative;
    max-width: clamp(320px, 45vw, 520px);
    border-radius: 32px;
    overflow: hidden;
    margin: clamp(1.5rem, 4vw, 3rem) auto;
    padding: 0;
    align-self: center;
    justify-self: center;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
    isolation: isolate;
}

.flow-parallax-glow {
    position: absolute;
    width: 130%;
    height: 130%;
    top: -15%;
    left: -15%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 145, 77, 0.4), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(46, 213, 210, 0.25), transparent 60%);
    filter: blur(45px);
    opacity: 0.7;
    z-index: 0;
}

.flow-visual img {
    width: 100%;
    display: block;
    border-radius: 28px;
    filter: brightness(1.2) contrast(1.08) saturate(1.05);
    position: relative;
    z-index: 1;
}

.flow-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(46, 213, 210, 0.2);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.flow-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 145, 77, 0.35);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.flow-card h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1.3rem;
}

.flow-card p {
    margin: 0;
    color: rgba(245, 243, 240, 0.85);
    line-height: 1.6;
}

.momentum-section {
    background: #080707;
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.roadmap-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.5rem;
    min-height: 210px;
}

.roadmap-card .timeline-step {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(245, 243, 240, 0.55);
}

.roadmap-card h3 {
    margin: 0.35rem 0 0.5rem 0;
}

.lead-hub {
    background: #010000;
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lead-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.cta-card {
    background: rgba(15, 15, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-card.secondary {
    background: rgba(255, 255, 255, 0.04);
}

.cta-card input,
.cta-card select,
.cta-card textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: #F5F3F0;
    font-family: 'Montserrat', sans-serif;
}

.cta-card input:focus,
.cta-card select:focus,
.cta-card textarea:focus {
    outline: 2px solid #FF914D;
}

.cta-card textarea {
    resize: vertical;
    min-height: 110px;
}

.consent {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.7);
}

.consent input {
    margin-top: 0.25rem;
}

.email-preview {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.email-chip {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #F5F3F0;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.email-chip.active {
    background: #FF914D;
    color: #100F0D;
    border-color: #FF914D;
}

.email-card {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.email-card h4 {
    margin: 0 0 0.35rem 0;
}

.email-card p {
    margin: 0;
    line-height: 1.6;
    color: rgba(245, 243, 240, 0.85);
}

.email-note {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.65);
}

.blog-teaser {
    background: #090807;
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: minmax(260px, 0.5fr) minmax(280px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

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

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-card .tag {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #FF914D;
    margin: 0;
}

.blog-card h3 {
    margin: 0;
}

.blog-card .excerpt {
    color: rgba(245, 243, 240, 0.75);
    line-height: 1.6;
    flex-grow: 1;
}

.layout-two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.media-card {
    background: rgba(15, 15, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.media-card img {
    width: 100%;
    border-radius: 18px;
    display: block;
    margin-bottom: 1rem;
}

.media-caption {
    font-size: 0.95rem;
    color: rgba(245, 243, 240, 0.75);
    margin: 0;
}

.value-grid .feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.value-grid .feature-card p {
    color: rgba(245, 243, 240, 0.85);
}

.list-check.tight li {
    margin: 0.15rem 0;
}

.tech-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.tech-table th,
.tech-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-table th {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: rgba(245, 243, 240, 0.6);
}

.tech-table td {
    color: rgba(245, 243, 240, 0.88);
}

.tech-footnote {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.65);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.experience-card {
    background: #fff;
    color: #0b0a0a;
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.experience-card .tag {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #FF914D;
    margin: 0;
}

.experience-card h3 {
    margin: 0;
}

.experience-card p {
    margin: 0;
    color: #2b2b31;
}

.experience-card a {
    margin-top: auto;
    align-self: flex-start;
}

.experience-card .text-content,
.experience-card .list-check li {
    color: #2b2b31;
}

.product-showcase {
    color: #0b0a0a;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(15, minmax(40px, 1fr));
    gap: 1.35rem;
}

.product-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 32px 55px rgba(0, 0, 0, 0.2);
    min-height: 260px;
}

.product-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.product-link:focus-visible {
    outline: 2px solid #FF914D;
    outline-offset: 4px;
}

.product-card {
    --product-filter: brightness(1.05) saturate(1);
    --product-filter-hover: brightness(1.15) saturate(1.05);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: var(--product-filter);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(190deg, rgba(3, 3, 6, 0.05), rgba(3, 3, 6, 0.55));
    pointer-events: none;
    transition: background 0.3s ease;
}

.product-card:hover::after {
    background: linear-gradient(190deg, rgba(3, 3, 6, 0.03), rgba(3, 3, 6, 0.4));
}

.product-overlay {
    position: absolute;
    inset: auto 0 1.4rem 0;
    padding: 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #fff;
    z-index: 1;
}

.product-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.product-overlay h3 {
    margin: 0;
    font-size: 1.35rem;
}

.product-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.product-cta {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FF914D;
    color: #0b0a0a;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 12px 28px rgba(255, 145, 77, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.product-card:hover img {
    transform: scale(1.05);
    filter: var(--product-filter-hover);
}

.product-card:hover .product-cta {
    transform: translateY(-2px);
    background: #FFB067;
}

.hero-card {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
    --product-filter: brightness(1.3) saturate(1.05);
    --product-filter-hover: brightness(1.4) saturate(1.08);
}

.card-solar {
    grid-column: 1 / span 6;
    --product-filter: brightness(0.92) saturate(0.92);
    --product-filter-hover: brightness(1.02) saturate(0.98);
}

.card-storage {
    grid-column: 7 / span 9;
    /* 3/5 */
    --product-filter: brightness(1.12) saturate(1.05);
    --product-filter-hover: brightness(1.2) saturate(1.08);
}

.card-wallbox {
    grid-column: 1 / span 10;
    /* 2/3 */
    --product-filter: brightness(1.2) saturate(1.05);
    --product-filter-hover: brightness(1.3) saturate(1.08);
}

.card-heat {
    grid-column: 11 / span 5;
    /* 1/3 */
    --product-filter: brightness(0.95) saturate(0.95);
    --product-filter-hover: brightness(1.05) saturate(1);
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .hero-card,
    .card-solar,
    .card-storage,
    .card-wallbox,
    .card-heat {
        grid-column: auto;
        grid-row: auto;
    }

    .hero-card {
        min-height: 260px;
        aspect-ratio: auto;
    }
}

.detail-card .text-content,
.detail-card p,
.detail-card .list-check li {
    color: #d9d9df;
}

.economics-section {
    background: radial-gradient(circle at 10% 10%, rgba(255, 145, 77, 0.1), rgba(1, 0, 0, 0.95));
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
}

.economics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    justify-content: center;
}

.economics-copy .helper-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.7);
}

.calc-panel {
    background: radial-gradient(circle at 10% 20%, rgba(255, 145, 77, 0.12), rgba(5, 5, 7, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.calc-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}

.calc-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.label-with-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
}

.info-helper {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #F5F3F0;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.info-helper:hover,
.info-helper:focus-visible {
    background: #FF914D;
    border-color: #FF914D;
    color: #050507;
    outline: none;
    transform: translateY(-1px);
}

.info-tooltip {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: min(320px, calc(100vw - 3rem));
    background: rgba(5, 5, 7, 0.98);
    border: 1px solid rgba(255, 145, 77, 0.5);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    color: #F5F3F0;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.label-with-info:hover .info-tooltip,
.label-with-info:focus-within .info-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.info-tooltip p {
    margin: 0;
    color: #F5F3F0;
}

.info-tooltip p+p {
    margin-top: 0.45rem;
    color: rgba(245, 243, 240, 0.85);
}

.info-tooltip .tooltip-title {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.input-group input {
    flex: 1;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #F5F3F0;
    font-size: 1rem;
}

.input-group input:focus {
    outline: 2px solid #FF914D;
    border-color: transparent;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.calc-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    min-height: 120px;
}

.calc-card .label {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calc-card .value {
    margin: 0.25rem 0 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
}

.calc-card.highlight {
    background: rgba(255, 145, 77, 0.12);
    border-color: rgba(255, 145, 77, 0.45);
}

.calc-card.highlight .value {
    color: #ffdcca;
}

.calc-card.subtle {
    background: rgba(255, 255, 255, 0.04);
}

.calc-card.inline {
    display: flex;
    flex-direction: column;
}

.calc-footnotes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.7);
}

.calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.calc-actions .header-btn {
    flex-shrink: 0;
}

.calc-actions p {
    margin: 0;
    color: var(--text-muted);
}

/* ---------- Lab-style calculator ---------- */

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: #010000;
}

.contact-section.contact-modern {
    background: #070606;
    color: #F5F3F0;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact-card p {
    color: var(--text-light);
}

.contact-card label {
    color: var(--text-muted);
    font-weight: 600;
}

.contact-card form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #F5F3F0;
    font-family: 'Montserrat', sans-serif;
}

.contact-card textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
}

.detail-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.detail-card a {
    color: #FF914D;
    text-decoration: none;
}

.map-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 260px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact-section.contact-modern .map-card {
    align-self: stretch;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

    .blog-teaser {
        grid-template-columns: 1fr;
    }

    .contact-section.contact-modern {
        grid-template-columns: 1fr;
    }

    .contact-section.contact-modern .map-card {
        grid-column: 1;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@supports (content-visibility: auto) {
    .reveal {
        content-visibility: auto;
        contain-intrinsic-size: 1px 400px;
    }
}

html.prefers-reduced-motion {
    scroll-behavior: auto;
}

html.prefers-reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

html.prefers-reduced-motion [data-parallax],
html.prefers-reduced-motion [data-parallax-x] {
    transform: none !important;
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}



/* Info Section */
.Infopage-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('images/background2 info.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    background-attachment: fixed;
    color: #F5F3F0;
}

.Infopage {
    position: relative;
    overflow: visible;
    z-index: 1;
    padding: 3rem 2rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .Infopage {
        width: 75%;
    }
}

@media (min-width: 1600px) {
    .Infopage {
        width: 70%;
    }
}

.flex-container {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    margin-top: 50px;
    padding: 2rem 0;
    align-items: center;
}

.flex-container>div {
    flex: 1 1 50%;
    min-width: 0;
}

/* Responsive handling */
@media (max-width: 1024px) {
    .flex-container {
        gap: 2rem;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .Infopage {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .flex-container {
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .flex-container>div {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .Infopage {
        padding: 1.5rem 1rem;
    }

    .flex-container {
        padding: 1.5rem 0;
        gap: 1.25rem;
    }
}

/* Wirtschaftlichkeit und Amortisation der ThermoHybrid-Hybridanlage */
#info2 {
    background-image: url('images/h2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 70vh;
    text-align: left;
    display: inline-block;
    font-size: 1.2rem;
    overflow: hidden;
    position: relative;
}

#Lagerhalle {
    width: 100vw;
    min-width: 40vw;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.toggle-btn {
    border: 2px solid #FF914D;
    color: #FF914D;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    padding: 0;
    outline: none;
    text-shadow: 0 0 1px #100F0D;
}

.toggle-btn:hover {
    color: #ba6f31;
    border-color: #ba6f31;
}

.arrow {
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: inline-block;
    transform-origin: center;
}

.arrow.rotated {
    transform: rotate(90deg);
}

.collapsible-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        padding 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-family: inherit;
    color: inherit;
}

/* Spezifische Schriftart für den Wirtschaftlichkeits-Bereich (heading-lg context) */
.left-align .collapsible-text {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Spezifische Schriftart für den ThermoHybrid Contractor-Bereich (heading-sm context) */
.heading-sm .collapsible-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.55;
}

.collapsible-text.open {
    max-height: 1000px;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Responsive Styles für bessere mobile Erfahrung */
@media (max-width: 768px) {

    /* Wirtschaftlichkeits-Bereich responsive */
    .left-align .collapsible-text {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    /* ThermoHybrid Contractor-Bereich responsive */
    .heading-sm .collapsible-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .faq-answer {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {

    /* Wirtschaftlichkeits-Bereich responsive */
    .left-align .collapsible-text {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    /* ThermoHybrid Contractor-Bereich responsive */
    .heading-sm .collapsible-text {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

#info3 {
    background-image: url('images/Bergkamen-Büro\ .jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
}

.left-align {
    text-align: left;
    position: relative;
    z-index: 2;
    width: 60%;
}

.container {
    background-color: #EFE1CE;
    padding: 28px 44px;
    border-radius: 5px;
    margin: 100px 0;
    color: #100F0D;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

/* Tabelle Technisches Datenblatt */
.Technisches-Datenblatt {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5% 0 10% 0;
    padding: 0 1rem;
}

#Tabelle-TDB {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: clamp(0.7rem, 2vw, 1rem);
}

#Tabelle-TDB th,
#Tabelle-TDB td {
    padding: clamp(0.3rem, 1vw, 0.8rem);
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

#Tabelle-TDB th:first-child,
#Tabelle-TDB td:first-child {
    text-align: left;
}

.Technisches-Datenblatt h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-align: center;
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

/* Responsive Regeln für Technisches Datenblatt */
@media (max-width: 1024px) {
    .Technisches-Datenblatt {
        margin: 5% 0 10% 0;
    }
}

@media (max-width: 768px) {
    .Technisches-Datenblatt {
        padding: 0 0.5rem;
        margin: 4% 0 8% 0;
    }

    /* Mobile optimized table layout */
    #Tabelle-TDB {
        width: 100%;
        display: block;
    }

    #Tabelle-TDB th {
        font-weight: 600;
    }
}

@media (max-width: 576px) {
    .Technisches-Datenblatt {
        padding: 0 0.3rem;
        margin: 3% 0 6% 0;
    }

    /* Card-style table for very small screens */
    #Tabelle-TDB thead {
        display: none;
        /* Hide table header on very small screens */
    }

    #Tabelle-TDB,
    #Tabelle-TDB tbody,
    #Tabelle-TDB tr,
    #Tabelle-TDB td {
        display: block;
        width: 100%;
    }

    #Tabelle-TDB tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 0.5rem;
    }

    #Tabelle-TDB td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #eee;
    }

    #Tabelle-TDB td:last-child {
        border-bottom: none;
    }

    #Tabelle-TDB td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
    }
}

/* Contractor Scroll Wrapper - für Sticky-Scroll-Effekt */
.Contractor-wrapper {
    position: relative;
    width: 100%;
    height: 300vh;
    /* Große Höhe für Scroll-Raum - mehr Zeit für Animation */
    background: #010000;
    overflow: hidden;
}

.Contractor-pinned {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #010000;
}

/* Contractor Section */
.Contractor {
    width: 100%;
    background: #010000;
    position: relative;
    overflow: hidden;
}

.Container-contractor {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
    flex-wrap: nowrap;
    padding: 0 2rem;
    margin-bottom: 15rem;
}

.Container-contractor>* {
    flex: 1;
}

.Contractor-Bild {
    width: 40%;
    height: auto;
    border-radius: 10px;
}

#ThermoHybrid-Contractor {
    text-align: left;
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 2.5rem 0;
}

.heading-Center {
    text-align: left;
    font-size: 14rem;
    font-weight: 800;
    margin: 0;
    padding: 0;
    color: #010000;
    text-shadow: -5px -5px 0 white, 5px -5px 0 white, -5px 5px 0 white, 5px 5px 0 white;
    white-space: nowrap;
    display: block;
    position: relative;
    transform: translateX(100vw);
    will-change: transform;
    left: 0;
    width: 100%;
}

.card-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 10rem auto 0 auto;
    width: 100%;
    justify-content: center;
    /* Fixed column count instead of auto-fit */
    grid-template-columns: repeat(4, 1fr);
}

.Animations-block {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(60, 60, 70, 0.10), 0 1.5px 10px 0 rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.8rem 2.2rem 2.1rem 2.2rem;
    transition: all 0.3s ease;
    width: 100%;
    min-width: 320px;
    margin: 0 auto;
    height: 100%;
    position: relative;
    z-index: 1;
}


/* Expansion effect for desktop view */
@media (min-width: 1400px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .Animations-block {
        max-width: none;
    }
}

.Animations-block video,
.Animations-block img {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    max-width: 360px;
    box-shadow: 0 2px 14px rgba(80, 80, 110, 0.06);
    object-fit: cover;
    transition: transform 0.3s ease;
}


/* Card Content Headings */
.card-heading {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    text-align: center;
    color: #202026;
}

.card-text {
    font-weight: 400;
    font-size: 1.07rem;
    line-height: 1.55;
    text-align: center;
    color: #3a3a40;
    margin: 0;
}

/* Responsive breakpoints for consistent card grid layout */
@media (min-width: 992px) and (max-width: 1399px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

    .Animations-block {
        max-width: none;
    }
}

@media (max-width: 991px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }

    .Animations-block {
        padding: 2rem 1rem 1.5rem 1rem;
        max-width: 500px;
    }
}

/* Wirtschaftlichkeit Section */
.Wirtschaftlichkeit {
    background-color: #010000;
    padding-top: clamp(6rem, 4vw, 10rem);
    color: #100F0D;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    background: #010000;
}

.economics-notebook {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: clamp(1.5rem, 3vw, 3rem) auto clamp(1rem, 2vw, 2rem);
    grid-column: 1 / -1;
}

.econ-lead {
    background: rgba(10, 10, 12, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(1.4rem, 3vw, 2.6rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.lab-label {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 145, 77, 0.9);
}

.econ-points {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: rgba(245, 243, 240, 0.85);
}

.econ-points li {
    list-style: none;
    position: relative;
    padding-left: 0.4rem;
}

.econ-points li::before {
    content: "•";
    color: #FF914D;
    font-size: 1.2rem;
    position: absolute;
    left: -0.4rem;
    top: -0.05rem;
}

.econ-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.cta-ghost:hover {
    opacity: 0.85;
}

.econ-helper {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.65);
}

.Desk {
    display: grid;
    grid-template-columns: minmax(260px, 0.45fr) minmax(600px, 1.55fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: flex-start;
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 3rem) clamp(1rem, 2.5vw, 3rem);
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.Wirtschaftlichkeit .Desk {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(0.75rem, 2vw, 2.5rem);
    padding-right: clamp(0.75rem, 2vw, 2.5rem);
}

.Notizzettel {
    background-color: #FFFA6D;
    padding: 2rem 1.25rem;
    box-shadow: 0 12px 42px 0 rgba(0, 0, 0, 0.17), 0 1.5px 10px 0 rgba(0, 0, 0, 0.09);
    width: 100%;
    max-width: 420px;
    margin: 0;
    position: sticky;
    top: 1rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: #2b220b;
    border-radius: 18px;
}

.Notizzettel .text-content {
    color: #2b220b;
    line-height: 1.4;
    font-size: clamp(1.15rem, 1rem + 0.4vw, 1.55rem);
    margin: 0 0 0.85rem 0;
    font-weight: 500;
}


.calculator-section {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.curved-arrow-container {
    position: absolute;
    right: 10%;
    top: 10px;
    width: 200px;
    height: 150px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.curved-arrow {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@media (max-width: 768px) {
    .curved-arrow-container {
        right: 5%;
        width: 150px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .curved-arrow-container {
        display: none;
    }
}

.notebook-double {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 2.2rem);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 145, 77, 0.1), transparent 65%),
        linear-gradient(155deg, rgba(33, 22, 15, 0.65), rgba(10, 7, 5, 0.9));
    padding: clamp(1.25rem, 2.5vw, 3rem);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.notebook-page {
    background:
        linear-gradient(180deg, rgba(255, 253, 244, 0.98), rgba(245, 234, 213, 0.96));
    flex: 1 1 320px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    box-shadow: 2px 10px 26px rgba(0, 0, 0, 0.18);
    position: relative;
    padding: clamp(1.6rem, 2.2vw, 2.6rem) clamp(1.1rem, 1.8vw, 2.2rem) clamp(2rem, 2.2vw, 3.4rem);
    overflow: visible;
    height: auto;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: clamp(1.05rem, 1.25vw, 1.3rem);
    line-height: 1.58;
    font-weight: 500;
    color: #1c130c;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

.Wirtschaftlichkeit .notebook-page {
    font-size: clamp(0.9rem, 0.85rem + 0.35vw, 1.2rem);
    line-height: 1.25;
    padding-bottom: clamp(1rem, 0.9rem + 0.3vw, 1.5rem);
}

.Wirtschaftlichkeit .notebook-page .text-content,
.Wirtschaftlichkeit .notebook-page .TextInhalt,
.Wirtschaftlichkeit .notebook-page li,
.Wirtschaftlichkeit .notebook-page p {
    font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1.15rem);
    line-height: 1.2;
    margin-top: 0.09rem;
}

.Wirtschaftlichkeit .heading-xl {
    font-size: clamp(1.8rem, 1.4rem + 0.8vw, 2.3rem);
    margin-bottom: 0.1rem;
    margin-top: 0.15rem;
}

.Wirtschaftlichkeit .heading-lg {
    font-size: clamp(1.4rem, 1.1rem + 0.6vw, 1.9rem);
    margin-bottom: 0.05rem;
    margin-top: 0.05rem;
}

.Wirtschaftlichkeit .notebook-page h4,
.Wirtschaftlichkeit .notebook-page h5,
.Wirtschaftlichkeit .notebook-page h6 {
    margin-bottom: 0.05rem !important;
    margin-top: 0.05rem !important;
}

.Wirtschaftlichkeit .heading-md {
    font-size: clamp(1.45rem, 1.15rem + 0.7vw, 2rem);
}

.Wirtschaftlichkeit .heading-sm {
    font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.7rem);
}

.notebook-page h1,
.notebook-page h2,
.notebook-page h3,
.notebook-page h4,
.notebook-page h5 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    letter-spacing: 0.02em;
    color: inherit;
}

.notebook-page h6,
.notebook-page p,
.notebook-page li {
    color: inherit;
}

.notebook-page strong {
    font-weight: 600;
}

.notebook-page .underline {
    border-bottom: 2px solid rgba(39, 23, 12, 0.18);
    padding-bottom: 0.15rem;
}

.notebook-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.23;
}

.notebook-page::after {
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #fffbe9 60%, #e0d2b2 100%);
    border-bottom-right-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.13);
    transform: rotate(10deg) skew(-8deg, 4deg);
    opacity: 0.7;
    pointer-events: none;
}

.notebook-page.left::before,
.notebook-page.right::before {
    position: absolute;
    top: 0;
    left: 36px;
    width: 2px;
    height: 100%;
    background: #f2bc8d;
    opacity: 0.7;
    pointer-events: none;
}

.spiral {
    width: 28px;
    min-height: 560px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 14px, transparent 14px 28px);
    border-radius: 16px;
    margin: 0;
    z-index: 8;
    position: relative;
    pointer-events: none;
    box-shadow: inset -4px 0 6px rgba(0, 0, 0, 0.45);
}

.spiral::before {
    content: "";
    position: absolute;
    inset: 10px 6px 10px 6px;
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.08);
    opacity: 0.6;
}

.notebook-page>* {
    position: relative;
    z-index: 5;
}

/* Notebook page content spacing */
.notebook-page p,
.notebook-page li,
.notebook-page ul,
.notebook-page ol,
.notebook-page h1,
.notebook-page h2,
.notebook-page h3,
.notebook-page h4,
.notebook-page h5,
.notebook-page h6 {
    margin-bottom: 0.15em;
    margin-top: 0.1em;
}

.notebook-page ul,
.notebook-page ol {
    padding-left: 1.2em;
}

.notebook-page.right ul {
    list-style: none;
    padding-left: 0;
}

.notebook-page.right li {
    font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.25rem);
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.notebook-page.right .heading-lg {
    font-size: clamp(1.8rem, 1.3rem + 0.8vw, 2.3rem);
    margin-bottom: 0.4rem;
    margin-top: 0;
}

.notebook-page.right li a {
    font-size: clamp(0.85rem, 0.75rem + 0.35vw, 1.1rem);
    line-height: 1.4;
}

.notebook-page.right li br+span,
.notebook-page.right li span {
    font-size: clamp(0.9rem, 0.8rem + 0.38vw, 1.2rem);
}

.notebook-page {
    line-height: 1.45;
}

.notebook-cta {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
}

.notebook-cta .header-btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
}

/* Contact Section */
.Kontakt {
    background-color: #EFE1CE;
    padding: 4rem 2rem;
    color: #100F0D;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    width: 100%;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    background: #080707;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 1.4rem 1.6rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #F5F3F0;
    transition: background-color 0.3s;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-question:focus-visible {
    outline: 2px solid var(--brand-primary, #FF914D);
    outline-offset: 4px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        padding 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 0 1.6rem;
    color: rgba(245, 243, 240, 0.8);
    opacity: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 1.2rem 1.6rem 1.6rem 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

/* Contact Section Redesign */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: #010000;
}

.contact-form {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form label {
    color: #100F0D;
    font-weight: 600;
}

.submit-btn {
    background: #FF914D;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #e68a3f;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
    }

    .map-container {
        min-height: 300px;
    }
}

/* Responsive Anpassung (für kleinere Bildschirme) */
@media (max-width: 1200px) {
    .notebook-double {
        max-width: 100%;
        padding: 1.25rem;
    }

    .notebook-page {
        min-width: 0;
    }

}

/* Tablet + Small Laptops */
@media (max-width: 900px) and (min-width: 769px) {
    .hero-content {
        margin-left: 0;
        padding: 1.2rem;
        padding-right: 1.2rem;
        font-size: 1.1rem;
    }

    .flex-container,
    .container-colum,
    .vergleich {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }

    #Lagerhalle {
        width: 90vw;
        min-width: 0;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    /* Notebook Section */
    .notebook-double {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        padding: 1rem;
    }

    .spiral {
        display: none;
    }

    .notebook-page {
        width: 100%;
        min-width: 0;
        align-items: stretch;
        margin: 1.2rem auto;
        padding: 1.3rem 1.6rem 1.4rem;
        font-size: 1rem;
    }

    table {
        font-size: 0.93rem;
    }

    .footer-navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 1.2rem 0.4rem;
    }

    .footer-navbar>div {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    .footer-logo-text,
    .logo-fuchs,
    .logo-group {
        text-align: left;
    }

    .footer-nav-links {
        padding-left: 0.5rem;
    }

    video {
        width: 80vw !important;
        height: auto !important;
        max-width: 360px;
        margin: 0.4rem auto 0.8rem auto;
        display: block;
        border-radius: 12px;
    }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {

    html,
    body {
        font-size: 16px;
    }

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

    .hero-content {
        font-size: 0.99rem;
        padding: 0.7rem 0.4rem;
    }

    h1,
    .heading-xl {
        font-size: 1.25rem;
    }

    .heading-lg,
    h2 {
        font-size: 1.08rem;
    }

    .text-content {
        font-size: 1rem;
    }

    .Contractor {
        padding: 1rem;
    }

    video {
        width: 95vw !important;
        height: auto !important;
        max-width: 360px;
        margin-bottom: 0.8rem;
    }

    /* Notebook */
    .notebook-double {
        padding: 0.2rem 0.02rem;
    }

    .notebook-page {
        padding: 0.7rem 3rem;
        width: 99vw;
        font-size: 0.93rem;
        align-items: stretch;
    }

    table,
    th,
    td {
        font-size: 0.82rem;
        padding: 0.4rem 0.3rem;
        word-break: break-word;
    }

    table {
        display: block;
        overflow-x: auto;
        width: 100%;
    }

    .footer-navbar {
        padding: 0.5rem 0.1rem;
        gap: 1rem;
    }

    .footer-navbar>div {
        margin-bottom: 0.4rem;
    }

    .footer-nav-links {
        font-size: 0.97rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.2rem 0;
    }
}

/* Footer Section */
.footer-navbar {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background-color: #010000;
    color: #F5F3F0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-bottom {
    background-color: #010000;
    color: #F5F3F0;
    padding: 1rem 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: #FF914D;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e68a3f;
}

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

.footer-nav-links a {
    color: #F5F3F0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-links a:hover {
    color: #FF914D;
}

.footer-logo-text {
    font-weight: 700;
    color: #fff;
}

.slogan {
    border-left: #FF914D 5px solid;
    margin: 0;
    padding-left: 1rem;
    color: #F5F3F0;
}

/* Responsive Regeln für Wirtschaftlichkeit Section */
@media (max-width: 1024px) {
    .Desk {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem 1.5rem;
    }

    .Notizzettel {
        max-width: 100%;
        margin: 0 auto 1.25rem;
        position: static;
    }
}

@media (max-width: 768px) {
    .Wirtschaftlichkeit {
        padding-top: 4rem;
    }

    .Desk {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }

    .Notizzettel {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 576px) {
    .Desk {
        padding: 1.25rem 0.75rem;
    }

    .Notizzettel {
        padding: 1rem 0.9rem;
    }

    .Notizzettel h2 {
        font-size: 1.2rem;
    }

    .Notizzettel h3,
    .Notizzettel h4 {
        font-size: 1.05rem;
    }

    .Wirtschaftlichkeit {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 1099px) {
    .notebook-double {
        flex-direction: column;
        padding: 1.25rem 1rem;
    }

    .notebook-page {
        width: 100%;
        max-width: 100%;
        margin: 0.75rem auto;
        min-height: auto;
    }

    .spiral {
        display: none;
    }
}

@media (min-width: 1100px) {
    .notebook-double {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: center;
        gap: clamp(1.5rem, 2.5vw, 3rem);
        width: 100%;
        max-width: none;
    }

    .notebook-page {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        margin: 0;
    }

    .spiral {
        display: block;
        width: clamp(22px, 2vw, 32px);
    }
}

/* Contractor Section */
@media (max-width: 1024px) {
    .Container-contractor {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 2rem;
        margin-bottom: 5rem;
    }

    .Container-contractor>* {
        flex: none;
        width: 100%;
        max-width: 600px;
    }

    .Contractor-Bild {
        width: 100%;
        max-width: 400px;
        order: 2;
    }

    .Container-contractor>div:last-child {
        order: 1;
        text-align: center;
    }

    #ThermoHybrid-Contractor {
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .Container-contractor {
        padding: 1.5rem 1rem;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .Contractor-Bild {
        max-width: 300px;
    }

    #ThermoHybrid-Contractor {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .heading-sm {
        padding-right: 0;
        text-align: center;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .Container-contractor {
        padding: 1rem 0.5rem;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .Contractor-Bild {
        max-width: 250px;
    }

    #ThermoHybrid-Contractor {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .heading-sm {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Burger Animation when active */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Menu Container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 1rem;
        height: 80px;
    }

    .logo-text {
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #010000;
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 2rem;
    }

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

    .nav-links {
        flex-direction: column;
        gap: 2rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1rem;
        display: block;
        transition: color 0.3s ease;
        margin: 0;
    }

    .nav-links a:hover {
        color: #FF914D;
    }

    .header-btn {
        width: 200px;
        height: auto;
        padding: 1rem 2rem;
        margin-top: 1rem;
    }

    .hero {
        height: calc(100vh - 80px);
    }
}

/* Subpage Hero & Section Layouts */
.subpage-hero {
    position: relative;
    width: 100%;
    background: #010000;
    color: #F5F3F0;
    padding: clamp(3.5rem, 5vw, 6.5rem) clamp(1.5rem, 6vw, 6rem);
    overflow: hidden;
}

.subpage-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 145, 77, 0.15), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(46, 213, 210, 0.15), transparent 45%);
    pointer-events: none;
}

.subpage-hero .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: #FF914D;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: #FF914D;
    display: inline-block;
}

.hero-eyebrow::after {
    content: "";
    width: 32px;
    height: 1px;
    background: #FF914D;
    display: inline-block;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: #FF914D;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.15;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(245, 243, 240, 0.9);
    margin: 0 0 1.5rem 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 10px;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.link-btn:hover {
    background: rgba(255, 145, 77, 0.12);
    color: #fff;
    transform: translateY(-1px);
}

.subpage-hero .hero-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.metric-card {
    background: rgba(16, 15, 13, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
	/* prevent inner text from causing horizontal overflow */
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(245, 243, 240, 0.75);
    margin-bottom: 0.15rem;
	/* long labels like 'BEW + Landesprogramme' should wrap instead of overflow */
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

/* ensure helper text inside hero metrics never overflows card */
.hero-metrics .text-content {
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.foerderung-hero {
    background-image: linear-gradient(135deg, rgba(1, 0, 0, 0.9), rgba(12, 12, 15, 0.9)),
        url('images/h2.png');
    background-size: cover;
    background-position: center;
}

.referenzen-hero {
    background-image: linear-gradient(135deg, rgba(1, 0, 0, 0.95), rgba(16, 15, 13, 0.85)),
        url('images/FuchsComfy.png');
    background-size: cover;
    background-position: center;
}

.section-dark,
.section-contrast,
.section-light {
    width: 100%;
    padding: clamp(3rem, 5vw, 5.5rem) clamp(1.5rem, 6vw, 5.5rem);
}

.section-dark {
    background: #010000;
    color: #F5F3F0;
}

.section-contrast {
    background: #090909;
    color: #F5F3F0;
}

.section-light {
    background: #0f0f0f;
    color: #F5F3F0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.section-intro {
    max-width: 860px;
    text-align: left;
}

.section-intro.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-intro p {
    color: rgba(245, 243, 240, 0.85);
    line-height: 1.7;
    margin: 0.75rem 0 0 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FF914D;
}

.stat-grid,
.feature-grid,
.reference-grid,
.timeline-grid,
.case-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 2rem);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card,
.feature-card,
.timeline-card,
.reference-card,
.case-card {
    background: #0f0f0f;
    border: 1px solid #1c1c1c;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-card {
    text-align: left;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
	/* allow long tokens like "BACnet/Modbus" to wrap within small cards */
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.stat-description {
    color: rgba(245, 243, 240, 0.8);
    margin: 0;
}

.feature-card h3,
.reference-card h3,
.timeline-card h3,
.case-card h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #fff;
}

.feature-card p,
.reference-card p,
.case-card p {
    margin: 0;
    color: rgba(245, 243, 240, 0.8);
    line-height: 1.6;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.list-check li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(245, 243, 240, 0.85);
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2ed5d2;
    font-weight: 700;
}

.timeline-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.timeline-step {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: rgba(245, 243, 240, 0.65);
    text-transform: uppercase;
}

.reference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.7);
}

.impact-highlight {
    font-size: 1rem;
    font-weight: 600;
    color: #2ed5d2;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}

.testimonial-card {
    background: #0d0d0d;
    border: 1px solid #1d1d1f;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card p {
    margin: 0;
    line-height: 1.6;
    color: rgba(245, 243, 240, 0.85);
}

.testimonial-author {
    font-weight: 700;
    color: #fff;
}

.cta-panel {
    background: linear-gradient(120deg, rgba(255, 145, 77, 0.15), rgba(46, 213, 210, 0.12));
    border: 1px solid rgba(255, 145, 77, 0.35);
    border-radius: 20px;
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-panel h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cta-panel p {
    margin: 0;
    color: #fff;
    line-height: 1.6;
}

.cta-panel .header-btn,
.cta-panel .link-btn {
    align-self: center;
}

.accent-link {
    color: #FF914D;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.accent-link:hover {
    border-bottom-color: #FF914D;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .subpage-hero .hero-inner {
        grid-template-columns: 1fr;
    }

    .stat-grid,
    .feature-grid,
    .reference-grid,
    .timeline-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages Styles (Impressum & Datenschutz) */
body.legal-page {
    background-color: #010000;
}

body.legal-page .navbar {
    background: #010000;
    backdrop-filter: none;
}

body.legal-page .footer-navbar {
    background-color: #010000;
}

body.legal-page .footer-bottom {
    background-color: #010000;
}

.legal-content {
    background-color: #010000;
    min-height: calc(100vh - 200px);
    padding: 4rem 2rem;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #010000;
    color: #ffffff;
}

.legal-content .heading-xl {
    color: #ff914d;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #ff914d;
    padding-bottom: 1rem;
}

.legal-content .heading-lg {
    color: #ff914d;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #ff914d;
    padding-left: 1rem;
}

.legal-content .heading-md {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content .heading-sm {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content .text-content,
.legal-content p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

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

.legal-content a:hover {
    color: #ff6b1d;
    border-bottom: 1px solid #ff6b1d;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #333;
    text-align: center;
}

.legal-footer p {
    color: #999;
    font-size: 1rem;
    font-style: italic;
}

/* Responsive Styles for Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1rem;
    }

    .legal-content .heading-xl {
        font-size: 2rem;
    }

    .legal-content .heading-lg {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .legal-content .heading-md {
        font-size: 1.2rem;
    }

    .legal-content .text-content,
    .legal-content p,
    .legal-content ul li {
        font-size: 1rem;
        text-align: left;
    }
}

/* Admin Page Styles */
.admin-section .admin-subtitle {
    color: #bdbdc4;
    margin: .25rem 0 1rem 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: .75rem;
}

.admin-card {
    background: #0f0f0f;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.admin-panel {
    position: sticky;
    top: 100px;
}

.admin-panel-title {
    color: #ff914d;
    font-weight: 700;
    margin: 0 0 .5rem 0;
}

.admin-card {
    color: #e9e9ee;
}

.admin-card h2,
.admin-card h3,
.admin-card .heading-lg {
    color: #ffffff;
}

.admin-card label,
.admin-card .admin-label {
    color: #e9e9ee;
}

.admin-section .funnel-choice label {
    color: #e9e9ee;
}

.admin-section .funnel-choice input[type="radio"],
.admin-section .funnel-choice input[type="checkbox"] {
    accent-color: #FF914D;
}

.admin-section .funnel-choice input[type="checkbox"],
.admin-section .funnel-choice input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    inline-size: 16px;
    block-size: 16px;
    border: 1.5px solid #5a5a5a;
    background: transparent;
    margin: 0 .45rem 0 0;
    display: inline-grid;
    place-content: center;
    border-radius: 4px;
    cursor: pointer;
}

.admin-section .funnel-choice input[type="radio"] {
    border-radius: 50%;
}

.admin-section .funnel-choice input[type="checkbox"]::before {
    content: "";
    inline-size: 10px;
    block-size: 10px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background: #FF914D;
    border-radius: 2px;
}

.admin-section .funnel-choice input[type="radio"]::before {
    content: "";
    inline-size: 8px;
    block-size: 8px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background: #FF914D;
    border-radius: 50%;
}

.admin-section .funnel-choice input[type="checkbox"]:checked::before,
.admin-section .funnel-choice input[type="radio"]:checked::before {
    transform: scale(1);
}

.admin-section .funnel-choice input[type="checkbox"]:focus,
.admin-section .funnel-choice input[type="radio"]:focus {
    outline: none;
    border-color: #FF914D;
    box-shadow: 0 0 0 2px rgba(255, 145, 77, .25);
}

/* Admin sub navigation (Editor/Entwürfe) */
.admin-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: .75rem;
    position: sticky;
    top: 0;
    background: #0f0f12;
    padding-top: .25rem;
    z-index: 10;
}

.admin-tab {
    appearance: none;
    border: 1px solid #3a3a3a;
    background: #16161a;
    color: #E9E9EE;
    padding: .5rem .85rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.admin-tab:hover {
    border-color: #5a5a5a;
}

.admin-tab.active {
    border-color: #FF914D;
    background: #1d1d22;
    color: #fff;
}

/* Toast notifications */
.admin-toast {
    position: fixed;
    right: 1rem;
    top: 1rem;
    max-width: 420px;
    padding: .75rem 1rem;
    border-radius: 10px;
    background: #1b1b1f;
    color: #E9E9EE;
    border: 1px solid #3a3a3a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
}

.admin-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.admin-toast.success {
    border-color: #1f7a3f;
    background: #122417;
    color: #d6f5e1;
}

.admin-toast.error {
    border-color: #a23a3a;
    background: #281415;
    color: #ffdede;
}

/* Draft lists styling */
.admin-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}

.admin-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem .8rem;
    border: 1px solid #323238;
    background: #151518;
    border-radius: 12px;
}

.admin-list li:hover {
    border-color: #4a4a4f;
}

.draft-item-main {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    min-width: 0;
}

.draft-title {
    color: #E9E9EE;
    font-weight: 700;
}

.draft-meta {
    color: #bdbdc4;
    font-size: .9rem;
    white-space: nowrap;
}

.draft-item-actions {
    display: inline-flex;
    gap: .4rem;
}

.header-btn.btn-xs {
    font-size: .85rem;
    padding: .35rem .6rem;
    border-radius: 10px;
}

.admin-panel .admin-actions {
    gap: .5rem;
}

.admin-panel .header-btn {
    width: 100%;
}

.admin-panel-block+.admin-panel-block {
    margin-top: 1.2rem;
}

.admin-status {
    color: #e9e9ee;
    font-size: .95rem;
    margin-top: .5rem;
}

.admin-help {
    margin: .25rem 0 0 1rem;
    padding: 0;
    list-style: disc;
    color: #d0d0d6;
    line-height: 1.6;
}

.admin-actions {
    display: flex;
    gap: .5rem;
    margin-top: .6rem;
    flex-wrap: wrap;
}

.admin-input {
    width: 100%;
    background: #131313;
    color: #F5F3F0;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.admin-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.funnel-col {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .9rem;
}

.funnel-col label {
    color: #d9d9de;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: .35rem;
}

.admin-preview {
    margin-top: 1rem;
}

.admin-subheading {
    margin-top: 1.25rem;
}

.admin-list {
    list-style: none;
    padding: 0;
    margin: .25rem 0 0 0;
}

.admin-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem .25rem;
    border-bottom: 1px dashed #2a2a2a;
    color: #d9d9de;
}

.admin-list .btn-load {
    background: #121212;
    border: 1px solid #2a2a2a;
    color: #e9e9ee;
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
    cursor: pointer;
}

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

    .admin-panel {
        position: relative;
        top: 0;
    }
}

/* Quill WYSIWYG – Dark theme overrides */
.admin-editor {
    min-height: 320px;
    margin-top: .25rem;
    border-radius: 10px;
}

.ql-container.ql-snow {
    background: #131313;
    border: 1px solid #2b2b2b !important;
    border-radius: 8px;
    color: #F5F3F0;
}

.ql-toolbar.ql-snow {
    background: #0f0f0f;
    border: 1px solid #2b2b2b !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0;
    position: sticky;
    top: 96px;
    z-index: 6;
    padding: .25rem .5rem;
}

.ql-editor {
    min-height: 260px;
    color: #F5F3F0;
}

.ql-editor a {
    color: #FF914D;
}

.ql-snow .ql-stroke {
    stroke: #e9e9ee;
}

.ql-snow .ql-fill {
    fill: #e9e9ee;
}

.ql-snow .ql-picker {
    color: #e9e9ee;
}

.ql-snow .ql-picker-options {
    background: #0f0f0f;
    border: 1px solid #2b2b2b;
}

.ql-snow .ql-tooltip {
    background-color: #0f0f0f;
    border: 1px solid #2b2b2b;
    color: #e9e9ee;
}

.ql-snow .ql-tooltip input[type=text] {
    color: #F5F3F0;
    background: #131313;
    border: 1px solid #2b2b2b;
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.5rem 0.8rem;
    }

    .legal-content .heading-xl {
        font-size: 1.8rem;
    }

    .legal-content .heading-lg {
        font-size: 1.3rem;
        padding-left: 0.5rem;
    }

    .legal-content .heading-md {
        font-size: 1.1rem;
    }

    .legal-content .text-content,
    .legal-content p,
    .legal-content ul li {
        font-size: 0.95rem;
    }
}

/* Info Cards Section - Moderne Card-Designs */
.info-cards-section {
    background: linear-gradient(155deg, rgba(15, 10, 7, 0.95), rgba(25, 17, 12, 0.98));
    padding: clamp(3rem, 5vw, 6rem) 0;
    position: relative;
}

.info-cards-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 145, 77, 0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 213, 210, 0.06), transparent 50%);
    pointer-events: none;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 240, 0.97));
    border-radius: 20px;
    padding: clamp(1.8rem, 3vw, 2.5rem);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 145, 77, 0.15);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF914D, #ffb07a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(255, 145, 77, 0.2);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.funding-stack {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.funding-group {
    background: rgba(12, 9, 7, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.funding-group-head h3 {
    margin: 0.2rem 0 0 0;
    color: #fff;
    font-size: 1.45rem;
}

.funding-group-head p {
    margin: 0.5rem 0 0 0;
    color: rgba(245, 243, 240, 0.75);
    line-height: 1.6;
}

.funding-pill {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #FFB180;
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
}

.funding-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.funding-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    display: grid;
    grid-template-columns: minmax(140px, 0.25fr) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 800px) {
    .funding-row {
        grid-template-columns: 1fr;
    }

    .funding-row a {
        margin-top: 0.5rem;
    }
}

.funding-row-label {
    font-weight: 600;
    color: #fff;
}

.funding-row-body {
    color: rgba(245, 243, 240, 0.78);
    line-height: 1.6;
}

.funding-row-body ul {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.funding-row-body.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.funding-row-body.two-column strong {
    font-size: 1.5rem;
    display: block;
    color: #FF914D;
    margin-bottom: 0.15rem;
}

.funding-row-body.two-column p {
    margin: 0;
}

.funding-note {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    color: rgba(245, 243, 240, 0.65);
    margin: 0;
}

.funding-row a {
    color: #FFB180;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.funding-row a:hover {
    text-decoration: underline;
}

.info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    color: #1a0f08;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.info-card-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    margin-bottom: 1.2rem;
    font-weight: 500;
    font-style: italic;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-detail {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.8rem;
    background: rgba(255, 145, 77, 0.05);
    border-radius: 12px;
    border-left: 3px solid #FF914D;
}

.info-label {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: #555;
    font-weight: 500;
}

.info-value {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.highlight-green {
    color: #8AAD34;
}

.highlight-purple {
    color: #9D00FF;
}

.highlight-red {
    color: #e63946;
}

.highlight-blue {
    color: #03045e;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: #FF914D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, gap 0.2s ease;
    margin-top: 0.3rem;
}

.info-link:hover {
    color: #d97835;
    gap: 0.5rem;
}

/* Responsive Anpassungen für Info Cards */
@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .info-cards-section {
        padding: 2.5rem 0;
    }

    .info-card {
        padding: 1.3rem;
    }

    .info-card-icon {
        font-size: 2.5rem;
    }
}

/* ThermoHybrid Funnel */
.advisor-funnel {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    background: #010000;
    position: relative;
    overflow: hidden;
}

.advisor-funnel::before {
    content: none;
}

.advisor-funnel .section-intro {
    text-align: left;
}

.advisor-funnel .section-intro h2 {
    color: #f8f5ef;
}

.advisor-funnel .section-intro p {
    color: rgba(245, 243, 240, 0.78);
}

.advisor-funnel .funnel-inner {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
    background: transparent;
    border-radius: 44px;
    padding: clamp(2.25rem, 4vw, 3.5rem);
    border: 0;
    box-shadow: none;
}

.funnel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.meta-pill {
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8f5ef;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Linear Progress (new) */
.funnel-linear-progress {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(10, 14, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.funnel-linear-track {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.funnel-linear-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #FF914D, #ffb185);
    border-radius: 999px;
    transition: width 280ms ease;
    will-change: width;
}

.funnel-linear-label {
    display: none;
}

.funnel-progress {
    position: relative;
    list-style: none;
    margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 3vw, 2.75rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.5rem, 1.2vw, 1.25rem);
    padding: 1rem clamp(1rem, 2vw, 1.5rem);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(9, 12, 18, 0.9), rgba(5, 6, 10, 0.75));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
}

.funnel-progress::before {
    content: "";
    position: absolute;
    left: clamp(1rem, 2vw, 1.5rem);
    right: clamp(1rem, 2vw, 1.5rem);
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 0;
}

.funnel-progress::after {
    content: none;
}

.funnel-progress li {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.75);
    min-width: 0;
    padding: 0.25rem 0.5rem;
}

.funnel-progress li::after {
    content: none;
}

.funnel-progress li:last-child::after {
    display: none;
}

.funnel-progress li.completed::after {
    content: none;
}

.funnel-progress li span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: rgba(10, 15, 22, 0.9);
}

.funnel-progress li strong {
    display: block;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.funnel-progress li small {
    display: none;
}

.funnel-progress li.active span,
.funnel-progress li.completed span {
    border-color: #ff914d;
    background: #ff914d;
    color: #131414;
    box-shadow: 0 10px 25px rgba(255, 145, 77, 0.35);
}

.funnel-progress li.active strong {
    color: #fff;
}

.funnel-progress li.active small {
    color: rgba(255, 255, 255, 0.8);
}

.funnel-progress li.active::after {
    background: linear-gradient(90deg, #ff914d, rgba(255, 145, 77, 0.2));
}

@media (min-width: 960px) {
    .funnel-progress {
        flex-wrap: nowrap;
    }
}

.funnel-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 3.2rem);
    grid-template-columns: 1fr;
}

.funnel-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.funnel-stage {
    min-height: 420px;
    width: 100%;
    background: rgba(15, 15, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.funnel-step {
    display: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #F5F3F0;
    box-shadow: none;
    animation: funnelFade 0.35s ease;
    width: 100%;
}

.funnel-step.active {
    display: block;
}

.step-eyebrow {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 145, 77, 0.85);
    margin-bottom: 0.55rem;
    text-align: center;
}

.funnel-step h3 {
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    line-height: 1.25;
    text-align: center;
}

.funnel-stage .funnel-linear-progress {
    margin-bottom: 1rem;
}

.funnel-stage .funnel-controls {
    margin-top: 1.25rem;
}

.step-description {
    color: rgba(245, 243, 240, 0.78);
    max-width: 60ch;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.funnel-options {
    margin-top: 1.75rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-items: center;
}

.funnel-option {
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    padding: 1.25rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: none;
    width: 100%;
    max-width: 320px;
}

.funnel-option span {
    display: block;
    font-size: clamp(1.15rem, 1.4vw, 1.35rem);
    font-weight: 600;
}

.funnel-option small {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.9rem, 1.05vw, 0.98rem);
    line-height: 1.4;
}

.funnel-option .option-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.7rem;
    color: #FF914D;
}

.funnel-option:hover .option-icon {
    color: #ffb185;
}

.funnel-option.is-selected .option-icon {
    color: #ffffff;
}

.funnel-option .option-icon svg {
    width: 88px;
    height: 88px;
}

.option-icon--sm svg {
    width: 56px;
    height: 56px;
}

.funnel-option:hover,
.funnel-option:focus-visible {
    border-color: #ff914d;
    outline: none;
    background: rgba(255, 145, 77, 0.12);
}

.funnel-option.is-selected {
    border-color: #ff914d;
    background: #ff914d;
    color: #131414;
    box-shadow: none;
}

/* Motion preferences: reduce transitions for perf */
@media (prefers-reduced-motion: reduce) {

    .funnel-linear-fill,
    .funnel-option,
    .funnel-option:hover,
    .funnel-option:focus-visible {
        transition: none !important;
    }
}

.funnel-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.funnel-form {
    margin-top: 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.funnel-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.funnel-form label span {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(248, 245, 239, 0.6);
    margin-bottom: 0.4rem;
}

/* Icon-Felder entfernt – Inputs wieder normal */

.funnel-form input,
.funnel-form textarea {
    width: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #F5F3F0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.funnel-form textarea {
    min-height: 140px;
    resize: vertical;
}

.funnel-form input:focus,
.funnel-form textarea:focus {
    outline: 2px solid #FF914D;
    border-color: rgba(255, 145, 77, 0.5);
    box-shadow: none;
}

.funnel-form .consent {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(248, 245, 239, 0.85);
}

.funnel-form .consent input {
    width: 18px;
    height: 18px;
    accent-color: #ff914d;
}

.funnel-form button {
    align-self: flex-start;
}

.lite-trust {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(248, 245, 239, 0.85);
}

.funnel-form .header-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.funnel-form .header-btn.is-loading::after {
    content: "";
    position: absolute;
    right: -2.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #ff914d;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.funnel-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.funnel-controls button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: #f5f3f0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.funnel-controls button:hover:not([disabled]) {
    border-color: #ff914d;
    color: #ff914d;
    background: rgba(255, 145, 77, 0.1);
}

.funnel-controls button[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.funnel-summary {
    background: linear-gradient(145deg, rgba(12, 12, 14, 0.95), rgba(4, 4, 6, 0.95));
    color: #f5f3f0;
    border-radius: 36px;
    padding: clamp(1.85rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 2rem;
    align-self: start;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.funnel-summary h3 {
    margin: 0;
}

.funnel-summary dl {
    margin: 1.35rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.summary-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.funnel-summary dt {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 243, 240, 0.55);
}

.funnel-summary dd {
    margin: 0.35rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.summary-placeholder {
    color: rgba(245, 243, 240, 0.45);
}

.summary-note {
    color: rgba(245, 243, 240, 0.7);
    margin-bottom: 0.75rem;
}

.summary-hint {
    font-size: 0.82rem;
    color: rgba(245, 243, 240, 0.55);
}

[data-funnel-cta].is-disabled,
[data-funnel-cta][aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.45;
}

@keyframes funnelFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@media (max-width: 1024px) {
    .funnel-layout {
        grid-template-columns: 1fr;
    }

    .funnel-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .funnel-progress {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.25rem 1rem;
    }

    .funnel-progress li {
        width: 100%;
        text-align: left;
        padding: 0 0 1.5rem 0;
    }

    .funnel-progress li::after {
        top: 24px;
        left: 22px;
        width: 2px;
        height: calc(100% - 8px);
    }

    .funnel-progress li:last-child::after {
        display: none;
    }

    .funnel-progress li span {
        margin: 0;
    }

    .funnel-options {
        grid-template-columns: 1fr;
    }

    .funnel-summary {
        border-radius: 24px;
    }
}