/* ============================================================
   BAUKASTEN-STRUKTUR · alle Klassen mit bk- praefixiert,
   damit nichts in styles.css ueberschrieben wird.
   Farben, Schrift und Radien stammen aus styles.css.
   ============================================================ */

.bk-abschnitt { padding: 96px 0; scroll-margin-top: 90px; }
.bk-badge {
    display: inline-block; background: var(--green-light); color: var(--green-dark);
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 7px 16px; border-radius: 50px; margin-bottom: 16px;
}
.bk-abschnitt h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.bk-lead { color: var(--gray); font-size: 17px; max-width: 64ch; }

/* ---- Das Bauteil: Noppen als Pseudo-Element ---- */
.bk-stein { position: relative; border-radius: 8px; box-shadow: var(--shadow); }
.bk-stein::before {
    content: ""; position: absolute; left: 26px; right: 26px; top: -9px; height: 18px;
    background-image: radial-gradient(circle at 9px 9px, currentColor 7px, transparent 7.5px);
    background-size: 14px 18px; background-repeat: repeat-x; opacity: .85;
}

/* ---- 1 Grundplatte ---- */
.bk-grundplatte {
    background:
        radial-gradient(circle at 12px 12px, rgba(255,255,255,.16) 5px, transparent 5.5px) 0 0/32px 32px,
        var(--verlauf);
    color: var(--white); padding: 160px 0 96px;
}
.bk-grundplatte h1 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 900; line-height: 1.12; margin-bottom: 18px; }
.bk-grundplatte h1 span { color: var(--lime); }
.bk-grundplatte .bk-lead { color: rgba(255,255,255,.92); font-size: 19px; margin-bottom: 34px; }
.bk-grundplatte .bk-badge { background: rgba(255,255,255,.2); color: #fff; }
.bk-btn {
    display: inline-block; background: var(--white); color: var(--green-dark); font-weight: 700;
    padding: 16px 34px; border-radius: 50px; text-decoration: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 16px; transition: transform .2s, box-shadow .2s;
}
.bk-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.bk-btn-gruen { background: var(--green); color: #fff; }
.bk-hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Kennzahlen ---- */
.bk-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 56px; }
.bk-zahl { background: rgba(255,255,255,.12); border-radius: 12px; padding: 22px; text-align: center; }
.bk-zahl strong { display: block; font-size: 32px; font-weight: 900; color: var(--lime); }
.bk-zahl span { font-size: 14px; color: rgba(255,255,255,.88); }

/* ---- 2 Bauanleitung ---- */
.bk-anleitung { background: var(--gray-light); }
.bk-schritte { display: grid; gap: 18px; margin-top: 44px; }
.bk-schritt {
    display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
    background: var(--white); border-radius: 12px; padding: 24px 26px; box-shadow: var(--shadow);
}
.bk-nr { position: relative; background: var(--green); color: var(--white); border-radius: 8px;
         height: 56px; display: grid; place-items: center; font-weight: 900; font-size: 19px; }
.bk-nr::before {
    content: ""; position: absolute; left: 10px; right: 10px; top: -6px; height: 12px;
    background-image: radial-gradient(circle at 6px 6px, var(--green) 5px, transparent 5.5px);
    background-size: 18px 12px; background-repeat: repeat-x;
}
.bk-schritt h3 { font-size: 19px; font-weight: 800; margin-bottom: 2px; }
.bk-zitat { color: var(--green-dark); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.bk-schritt p { color: var(--gray); font-size: 15px; }

/* ---- 3 Baukasten ---- */
.bk-kasten-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; margin-top: 48px; }
.bk-module { display: grid; gap: 26px; }
.bk-modul {
    cursor: pointer; user-select: none; text-align: left; font-family: inherit; width: 100%;
    border: none; color: var(--white); padding: 30px 26px 26px;
    transition: transform .18s, box-shadow .18s;
}
.bk-modul:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.bk-modul[aria-pressed="true"] { outline: 4px solid var(--gray-dark); outline-offset: 3px; }
.bk-modul .bk-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.bk-modul h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.bk-modul > p { font-size: 15px; opacity: .95; margin-bottom: 14px; }
.bk-modul ul { list-style: none; display: grid; gap: 6px; }
.bk-modul li { font-size: 14px; opacity: .92; padding-left: 20px; position: relative; }
.bk-modul li::before { content: "▪"; position: absolute; left: 4px; }
.bk-m-lean       { background: var(--gray-gear); }
.bk-m-digital    { background: var(--verlauf-tech); }
.bk-m-nachhaltig { background: var(--green-dark); }
.bk-m-compacting { background: var(--lime); color: var(--gray-dark); }
.bk-m-compacting::before { opacity: 1; }
.bk-mehr { display: block; margin-top: -8px; padding: 14px 20px; border-radius: 50px; background: var(--white); box-shadow: var(--shadow); color: var(--green-dark); font-weight: 700; font-size: 15px; text-decoration: none; text-align: center; }
.bk-mehr:hover { box-shadow: var(--shadow-hover); }
.bk-neu {
    display: inline-block; background: rgba(255,255,255,.25); font-size: 11px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; margin-left: 8px;
    vertical-align: middle;
}

.bk-platte-wrap { position: sticky; top: 100px; }
.bk-platte {
    background:
        radial-gradient(circle at 14px 14px, rgba(0,0,0,.07) 6px, transparent 6.5px) 0 0/36px 36px,
        var(--gray-light);
    border-radius: 14px; padding: 26px; border: 2px dashed rgba(0,0,0,.1);
}
.bk-platte h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.bk-platte .bk-hinweis { font-size: 14px; color: var(--gray); margin-bottom: 18px; }
.bk-turm { display: grid; gap: 12px; }
.bk-turm-stein {
    border-radius: 8px; padding: 14px 18px; color: #fff; font-weight: 700; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    animation: bk-einrasten .32s cubic-bezier(.34,1.56,.64,1);
}
.bk-turm-stein button {
    background: rgba(255,255,255,.25); color: inherit; border: none; border-radius: 50px;
    width: 26px; height: 26px; min-width: 26px; cursor: pointer; font-size: 15px; line-height: 1; font-family: inherit;
}
@keyframes bk-einrasten { from { transform: translateY(-22px); opacity: 0; } to { transform: none; opacity: 1; } }
.bk-leer { color: var(--gray); font-size: 15px; text-align: center; padding: 34px 10px; }
.bk-platte-fuss { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08); }
.bk-platte-fuss p { font-size: 14px; color: var(--gray); margin-bottom: 14px; }

/* ---- 4 System / Kreislauf ---- */
.bk-system { background: var(--gray-dark); color: #fff; position: relative; }
.bk-system::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--verlauf-hell); }
.bk-system .bk-lead { color: rgba(255,255,255,.82); }
.bk-system .bk-badge { background: rgba(205,220,57,.2); color: var(--lime); }
.bk-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 44px; }
.bk-karte { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 26px; }
.bk-karte .bk-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.bk-karte h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.bk-karte p { font-size: 14.5px; color: rgba(255,255,255,.75); }

/* ---- Bild-Text-Zeilen ---- */
.bk-zweispalt { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.bk-zweispalt img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-hover); display: block; }

/* ---- 5 Baumeister ---- */
.bk-fakten { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.bk-fakt { background: var(--gray-light); border-radius: 10px; padding: 14px 18px; font-size: 14px; }
.bk-fakt strong { display: block; font-weight: 800; }
.bk-referenzen { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(0,0,0,.08); }
.bk-referenzen p { font-size: 14px; color: var(--gray); margin-bottom: 10px; }
#baumeister .bk-fakt { background: var(--white); box-shadow: var(--shadow); }
.bk-referenzen span { display: inline-block; background: var(--white); box-shadow: var(--shadow); border-radius: 50px; padding: 8px 18px; font-size: 14px; font-weight: 600; margin: 0 8px 8px 0; }

/* ---- 6 Kontakt ---- */
.bk-kontakt { background: var(--gray-light); }
.bk-kontakt-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; margin-top: 44px; }
.bk-kontaktdaten { display: grid; gap: 18px; }
.bk-kd { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.bk-kd .bk-icon { font-size: 22px; background: var(--white); border-radius: 10px; height: 44px; display: grid; place-items: center; }
.bk-kd small { display: block; font-size: 13px; color: var(--gray); }
.bk-kd a, .bk-kd strong { font-weight: 700; color: var(--gray-dark); text-decoration: none; font-size: 15px; }
.bk-kd a:hover { color: var(--green-dark); }
.bk-formkasten { background: var(--white); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.bk-formkasten .form-group { margin-bottom: 18px; }
.bk-formkasten label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.bk-formkasten input, .bk-formkasten textarea {
    width: 100%; padding: 14px 18px; border: 2px solid rgba(0,0,0,.1); border-radius: 12px;
    font-size: 15px; font-family: inherit; background: var(--white); transition: border-color .3s;
}
.bk-formkasten input:focus, .bk-formkasten textarea:focus { outline: none; border-color: var(--green); }
.bk-formkasten textarea { min-height: 140px; resize: vertical; }
.bk-formkasten .form-submit {
    background: var(--green); color: #fff; border: none; padding: 16px 34px; border-radius: 50px;
    font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; width: 100%;
}
.bk-formkasten .form-submit:hover { background: var(--green-dark); }
.bk-hinweis-form { font-size: 13px; color: var(--gray); margin-top: 12px; line-height: 1.5; }
.bk-hinweis-form a { color: var(--green-dark); font-weight: 600; }

/* ---- Bewertungen ---- */
.bk-bewertung { max-width: 620px; margin: 44px auto 0; background: var(--gray-light); border-radius: 16px; padding: 32px; }
.bk-bewertung .form-group { margin-bottom: 18px; }
.bk-bewertung label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.bk-bewertung input, .bk-bewertung textarea {
    width: 100%; padding: 14px 18px; border: 2px solid transparent; border-radius: 12px;
    font-size: 15px; font-family: inherit; background: var(--white);
}
.bk-bewertung input:focus, .bk-bewertung textarea:focus { outline: none; border-color: var(--green); }
.bk-bewertung textarea { min-height: 110px; resize: vertical; }
.star-rating { display: flex; gap: 6px; font-size: 30px; cursor: pointer; }
.star-rating span { color: #d1d5db; transition: color .15s; }
.star-rating span.active { color: #f59e0b; }

/* ---- Erfolgs-Modal (1:1 aus kontakt.html) ---- */
.success-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.success-content { background: white; padding: 40px; border-radius: 20px; text-align: center; max-width: 400px; margin: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.success-content p { color: var(--gray); margin-bottom: 24px; }
.success-btn { background: var(--green); color: white; border: none; padding: 14px 32px; border-radius: 50px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; }

@media (max-width: 900px) {
    .bk-kasten-grid, .bk-kontakt-grid, .bk-zweispalt { grid-template-columns: 1fr; gap: 32px; }
    .bk-platte-wrap { position: static; }
    .bk-zweispalt .bk-bild { order: -1; }
}
@media (max-width: 600px) {
    .bk-abschnitt { padding: 68px 0; }
    .bk-grundplatte { padding: 130px 0 72px; }
    .bk-schritt { grid-template-columns: 52px 1fr; gap: 16px; padding: 20px; }
    .bk-formkasten, .bk-bewertung { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ============ Mehrseitiger Aufbau ============ */
.bk-erste { padding-top: 150px; }
.bk-abschnitt h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.bk-cta-klein { background: var(--gray-light); text-align: center; padding: 72px 0; }
.bk-cta-klein .bk-lead { margin: 0 auto 26px; }
.bk-weg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 44px; }
.bk-weg { display: block; color: #fff; text-decoration: none; padding: 30px 26px 26px; transition: transform .18s, box-shadow .18s; }
.bk-weg:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.bk-weg .bk-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.bk-weg h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.bk-weg p { font-size: 15px; opacity: .95; margin-bottom: 16px; }
.bk-weg-pfeil { font-weight: 700; font-size: 15px; }
@media (max-width: 600px) { .bk-erste { padding-top: 120px; } }
