/* ===========================
   CSS für Raumhelden NRW
   Farbschema: Gelb, Schwarz, Weiß
   =========================== */

/* ===========================
   Schriften – selbst gehostet
   ---------------------------
   Bewusst NICHT von fonts.googleapis.com geladen: dabei ginge die IP jedes
   Besuchers ohne Einwilligung an Google in die USA (LG München I, 20.01.2022,
   Az. 3 O 17493/20).

   Montserrat und Oswald sind Variable Fonts – eine Datei je Subset deckt den
   gesamten Gewichtsbereich ab. Deshalb "font-weight: 400 700" als Bereich und
   nur vier Dateien statt sechzehn.

   Dateien aktualisieren: siehe docs/SCHRIFTEN.md
   =========================== */

/* Montserrat – latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Montserrat – latin-ext */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Oswald – latin */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/oswald-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Oswald – latin-ext */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/oswald-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --primary-gold: #BF9752;
    --dark-gold: #A67E3F;
    --light-gold: #D4B474;
    --petrol: #123C3A;
    --dark-petrol: #0E2E2C;
    --light-petrol: #1A4E4B;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
    --black: #0E2E2C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   SCHRIFTEN
   Konvention: Oswald fuer Ueberschriften, Montserrat fuer Fliesstext.
   Beide liegen selbst gehostet in static/fonts/ (siehe docs/SCHRIFTEN.md),
   es wird nichts von Google nachgeladen.

   Vorher stand hier 'Segoe UI'. Dadurch lief der gesamte Inhalt in der
   Windows-Systemschrift und sah auf macOS und Android anders aus - die
   Marken-Schriften griffen nur im Kopf- und Fussbereich.
   =========================== */

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--gray-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Bedienelemente erben die Schrift nicht von selbst, sondern nutzen sonst
   die Voreinstellung des Betriebssystems. */
button,
input,
select,
textarea {
    font-family: inherit;
}

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

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.header {
    background-color: var(--petrol);
    color: var(--white);
    padding: 0.5rem 0 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo a {
    display: flex;
    text-decoration: none;
    line-height: 0;
}

.logo img {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
    border-radius: 8px;
}

.logo a:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(191, 151, 82, 0.6));
}

/* Kein <h1>: Die Seitenueberschrift steht im Inhalt, das Logo ist nur der Name. */
.logo-text .site-name {
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: var(--primary-gold);
    font-size: 2.6rem;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 2rem;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

.nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav a {
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 1.2rem;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav a:hover {
    color: var(--primary-gold);
}

.nav a.active {
    color: var(--primary-gold);
    border-bottom: none;
    padding-bottom: 0;
}

/* CTA-Button active: Text-Unterstrich in Petrol, Button bleibt unverändert */
.nav a.cta-button.active {
    color: var(--white) !important;
    text-decoration: underline;
    text-decoration-color: var(--petrol);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.nav a.cta-button.active::after {
    display: none;
}

.cta-button {
    background-color: var(--primary-gold);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* CTA-Button: kein Underline-Slide ::after (hat eigenen Shimmer) */
.nav a.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    transition: left 0.4s ease;
    bottom: auto;
    transform: none;
    transform-origin: unset;
    background-color: transparent;
}

.cta-button:hover::after {
    left: 150%;
}

.cta-button:hover {
    background-color: var(--dark-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 151, 82, 0.4);
}

.cta-wrapper {
    display: flex;
    align-items: center;
}

/* ===========================
   WELCOME BANNER
   =========================== */

.welcome-banner {
    background: white;
    padding: 1.2rem 0;
    border-bottom: 2px solid rgba(191, 151, 82, 0.3);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.welcome-banner-inner {
    display: flex;
    white-space: nowrap;
    animation: scroll-banner 25s linear infinite;
}

.welcome-banner-inner span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #BF9752;
    padding-right: 3rem;
    display: inline-block;
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, var(--petrol) 0%, var(--light-petrol) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.button-primary {
    display: inline-block;
    background-color: var(--light-gold);
    color: var(--petrol);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    background-color: var(--primary-gold);
    box-shadow: 0 5px 15px rgba(191, 151, 82, 0.4);
}

/* ===========================
   SECTIONS
   =========================== */

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
    position: relative;
    padding-bottom: 1rem;
}

.services {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-gold);
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.service-content {
    padding: 2rem;
}

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

.service-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.about-text h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--gray-dark);
    font-size: 1.05rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-placeholder {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    width: 100%;
    height: 400px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-placeholder p:last-child {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    background-color: var(--primary-gold);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.cta-section .button-primary {
    background-color: var(--petrol);
    color: var(--white);
}

.cta-section .button-primary:hover {
    background-color: var(--dark-petrol);
}

/* ===========================
   CALCULATOR FORM
   =========================== */

.calculator-section {
    padding: 0 0 5rem 0;
    background-color: var(--gray-light);
}

.calculator-section .section-title {
    color: var(--light-gold);
}

.calculator-section .subtitle {
    color: #654321;
}

.subtitle {
    text-align: center;
    color: var(--gray-dark);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.calculator-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

/* ── PPT-Logik: Gruppen-Blöcke ── */
.form-group-block {
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.form-group-block-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.info-only-badge {
    font-size: 0.72rem;
    font-weight: 600;
    background: #e8f4f8;
    color: #2a7fa8;
    border: 1px solid #b3d9ea;
    border-radius: 20px;
    padding: 2px 10px;
    white-space: nowrap;
}

.form-group-label {
    display: block;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.6rem;
}

/* ── Paket-Buttons ── */
.paket-buttons {
    display: flex;
    gap: 1rem;
}

.paket-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.2rem 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.paket-btn:hover {
    border-color: var(--primary-gold);
    background: #fffbf0;
}

.paket-btn--active {
    border-color: var(--primary-gold);
    background: #fffbf0;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.25);
}

.paket-btn-icon {
    font-size: 1.6rem;
}

.paket-btn-name {
    font-size: 1.1rem;
    color: var(--black);
}

.paket-btn-desc {
    font-size: 0.8rem;
    color: var(--gray-dark);
    font-weight: 400;
}

/* ── Etagen-Buttons ── */
.etagen-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.etage-btn {
    padding: 0.5rem 0.9rem;
    border: 2px solid var(--gray-medium);
    border-radius: 6px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--black);
}

.etage-btn:hover {
    border-color: var(--primary-gold);
    background: #fffbf0;
}

.etage-btn--active {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: var(--black);
    box-shadow: 0 2px 6px rgba(240, 180, 41, 0.4);
}

/* ── JA/NEIN-Buttons ── */
.logistik-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.logistik-row .form-group {
    flex: 1;
    min-width: 180px;
}

.ja-nein-buttons {
    display: flex;
    gap: 0.5rem;
}

.ja-nein-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 6px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--gray-dark);
}

.ja-nein-btn:hover {
    border-color: var(--primary-gold);
}

.ja-nein-btn--active {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: var(--black);
}

/* ── Sub-Sections (verschachtelt) ── */
.form-section--sub {
    margin: 0.75rem 0 0;
    padding: 0.5rem 0.75rem;
    border-bottom: none;
    background: #fafafa;
    border-radius: 6px;
}

.form-section--sub .form-section-toggle {
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-medium);
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
    border-radius: 4px;
    transition: border-left-color 0.3s ease;
}

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

.form-section.section-active {
    border-left-color: var(--primary-gold);
}

.form-section-title {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0.25rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.form-section-toggle:hover {
    background: rgba(191, 151, 82, 0.07);
}

.form-section-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.form-section-toggle h3 {
    font-size: 1.2rem;
    color: var(--black);
    margin: 0;
    flex: 1;
    font-weight: 600;
    transition: color 0.2s ease;
}

.form-section.section-active .form-section-toggle h3 {
    color: var(--dark-petrol);
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: #cbd5e0;
    border-radius: 14px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.toggle-switch.active {
    background: var(--primary-gold);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(24px);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
}

.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--dark-petrol);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--dark-petrol);
    color: var(--white);
}

.form-group select option {
    background-color: var(--white);
    color: var(--gray-dark);
}

.form-group input[type="number"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    background-color: var(--dark-petrol);
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-gold);
}

.option-group {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

/* ===========================
   QUALITY SELECTOR
   =========================== */

.quality-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.quality-option {
    flex: 1;
    min-width: 150px;
    position: relative;
    cursor: pointer;
}

.quality-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.quality-label {
    display: block;
    padding: 1rem;
    background-color: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.quality-label strong {
    display: block;
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.quality-label small {
    display: block;
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.quality-option input[type="radio"]:checked + .quality-label {
    background-color: var(--primary-gold);
    border-color: var(--dark-gold);
    transform: scale(1.05);
    color: var(--white);
}

.quality-option input[type="radio"]:checked + .quality-label strong,
.quality-option input[type="radio"]:checked + .quality-label small {
    color: var(--white);
}

.quality-option:hover .quality-label {
    border-color: var(--primary-gold);
}

/* ===========================
   PRICE DISPLAY
   =========================== */

.price-display {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.price-breakdown {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 2px solid var(--light-gold);
}

.price-breakdown h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

#breakdown-details {
    margin-bottom: 1.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background-color: var(--white);
    border-radius: 5px;
    border-left: 3px solid var(--primary-gold);
}

.breakdown-item--pauschale {
    flex-wrap: wrap;
    background-color: #fff8e1;
    border-left: 3px solid #e8a000;
}

.pauschale-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #e8a000;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-style: normal;
    font-weight: bold;
    margin-left: 6px;
    cursor: help;
    vertical-align: middle;
}

.pauschale-hinweis {
    width: 100%;
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    color: #7a5c00;
    font-weight: 400;
    line-height: 1.4;
}

.breakdown-item-name {
    font-weight: 600;
    color: var(--black);
}

.breakdown-item-price {
    color: var(--gray-dark);
    font-weight: 500;
}

.price-total,
.price-mwst,
.price-final {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
}

.price-total {
    border-top: 2px solid var(--gray-medium);
    font-weight: 600;
}

.price-mwst {
    color: var(--gray-dark);
}

.price-final {
    background-color: var(--primary-gold);
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.price-final span {
    color: var(--white);
}

.price-amount {
    color: var(--black);
    font-weight: bold;
}

.price-amount-final {
    color: var(--black);
    font-weight: bold;
    font-size: 1.6rem;
}

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

.price-note p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.footer {
    background-color: var(--petrol);
    color: var(--white);
    padding: 1rem 0;
}

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

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

.footer-section h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

/* Social-Link im Fussbereich: Symbol und Text nebeneinander.
   Die Regel oben setzt Links auf display:block, deshalb hier ueberschrieben. */
.footer-section .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section .social-links svg {
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--gray-medium);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1140px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .header .container {
        justify-content: space-between;
        padding: 0 10px;
        gap: 0.5rem;
    }

    /* Logo Anpassungen */
    .logo {
        gap: 0.75rem;
        flex: 1 1 auto;
    }
    .logo img {
        height: 52px;
    }
    .logo-text .site-name {
        font-size: 1.5rem;
        white-space: nowrap;
    }
    .tagline {
        display: none;
    }

    /* CTA Button auf Mobile ausblenden */
    .cta-wrapper {
        display: none;
    }

    /* Burger Menu nach rechts */
    .burger-menu {
        display: flex;
        order: 3;
        margin-left: auto;
    }

    
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--petrol);
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 2rem;
        padding: 5rem 2rem 2rem 2rem;
        height: 100%;
    }
    
    .nav li {
        width: 100%;
    }
    
    .nav a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-placeholder {
        height: 250px;
        font-size: 3rem;
    }
    
    .logo img:hover {
        transform: scale(1.05);
    }
    
    .quality-selector {
        flex-direction: column;
    }
    
    .quality-option {
        min-width: 100%;
    }

    .quality-label {
        padding: 0.75rem;
    }

    .quality-label strong {
        font-size: 0.95rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }

    .calculator-form {
        padding: 1.25rem;
    }

    .calculator-section .section-title {
        font-size: 1.5rem;
    }

    .form-section-title {
        font-size: 1.1rem;
    }

    .form-section-toggle h3 {
        font-size: 1.05rem;
    }

    .toggle-switch {
        width: 44px;
        height: 24px;
    }

    .toggle-slider {
        width: 18px;
        height: 18px;
    }

    .toggle-switch.active .toggle-slider {
        transform: translateX(20px);
    }

    .price-breakdown h3 {
        font-size: 1.3rem;
    }

    .breakdown-item {
        gap: 0.25rem;
    }

    .breakdown-item-name {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .breakdown-item-price {
        font-size: 0.85rem;
    }

    .price-total,
    .price-mwst,
    .price-final {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
    
    .price-final {
        font-size: 1.05rem;
    }
    
    .price-amount-final {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .header .container {
        gap: 0.2rem;
    }

    .logo-text .site-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .calculator-form {
        padding: 0.875rem;
    }
    
    .option-group {
        padding: 0.875rem;
    }
    
    .price-breakdown {
        padding: 0.875rem;
    }

    .price-display {
        padding: 0.875rem;
    }
    
    .breakdown-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .calculator-section .section-title {
        font-size: 1.3rem;
    }

    .calculator-section .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .form-section {
        margin-bottom: 1.75rem;
        padding-bottom: 1.25rem;
    }

    .price-note p {
        font-size: 0.85rem;
    }
}

/* ===========================
   REFERENZEN PAGE
   =========================== */

.referenzen-section {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.referenz-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.referenz-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.referenz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.referenz-header h3 {
    color: var(--petrol);
    font-size: 1.8rem;
    margin: 0;
}

.referenz-badge {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.referenz-details {
    margin-bottom: 1.5rem;
}

.referenz-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.referenz-info p {
    margin: 0;
    color: var(--gray-dark);
}

.referenz-info strong {
    color: var(--petrol);
}

.referenz-description {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-gold);
    transform: scale(1.2);
}

/* Responsive Referenzen */
@media (max-width: 1140px) {
    .referenz-item {
        padding: 1.5rem;
    }
    
    .referenz-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .referenz-header h3 {
        font-size: 1.4rem;
    }
    
    .referenz-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .referenz-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 200px;
    }
}

/* ===========================
   TÜREN KONFIGURATION
   =========================== */

.tuer-config {
    background-color: var(--white);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.tuer-titel {
    color: var(--petrol);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tuer-art-select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.tuer-art-select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* Schritt 1 Container mit beiger Umrandung */
.step-1-container {
    border: 3px solid #BF9752;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #ffffff;
    margin-bottom: 2rem;
}


.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.toggle-label-inline { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 0.75rem 1rem; border: 1px solid #e2e8f0; border-radius: 8px; transition: background 0.2s; }
.toggle-label-inline:hover { background: rgba(191, 151, 82, 0.05); }
.toggle-label-inline input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.toggle-label-inline span { font-weight: 500; font-size: 0.95rem; color: var(--black); }
