/* ============================================================================
   Für Architekten & Planer — landing page
   Tone: technical drawing. Restrained palette, generous whitespace, tabular
   figures for anything dimensional. The page has to read like a datasheet,
   not like a shop banner — that is what the audience trusts.
   ========================================================================== */

.arch-page {
    --arch-ink:      #14181b;
    --arch-ink-soft: #5a6572;
    --arch-line:     #dde2e7;
    --arch-bg-alt:   #f5f7f9;
    --arch-accent:   #e8620c;   /* alukraft orange */
    --arch-alu:      #9aa4ad;
    --arch-radius:   3px;
    color: var(--arch-ink);
}

.arch-page section { scroll-margin-top: 90px; }

/* ── Typography ───────────────────────────────────────────────────────────── */
.arch-eyebrow {
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--arch-accent);
    font-weight: 600;
    margin-bottom: .9rem;
}
.arch-h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.015em;
    margin-bottom: 1.1rem;
}
.arch-lead {
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--arch-ink-soft);
    max-width: 46em;
}
.arch-section-head { margin-bottom: 2.4rem; max-width: 46em; }
.arch-section-head h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: .6rem;
}
.arch-section-head h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    background: var(--arch-accent);
    margin-top: .85rem;
}
.arch-section-head p { color: var(--arch-ink-soft); line-height: 1.6; margin: 0; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
/* Hero: same background and overlay as the homepage hero (home.css .alu-hero-full) */
.arch-hero {
    position: relative;
    padding: 5.5rem 0 5rem;
    background: #080f1a url('/images/home-bg-new.webp') center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}
.arch-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(8, 15, 26, .92) 0%, rgba(8, 15, 26, .75) 45%, rgba(8, 15, 26, .35) 100%);
}
.arch-hero > .container { position: relative; }
.arch-hero .arch-h1 { color: #fff; }
.arch-hero .arch-lead { color: rgba(255, 255, 255, .82); }
.arch-hero .arch-lead strong { color: #fff; }
.arch-hero .arch-btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.arch-hero .arch-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
/* frame the doormat, not the door — the mat sits at ~36 % / 68 % of home-bg-new.webp;
   no fixed attachment (with it only the top of the image, the door, is visible) */
.arch-hero { background-position: 36% 72%; }
@media (min-width: 992px) { .arch-hero { background-size: 170% auto; background-position: 0% 73%; } }
@media (max-width: 991.98px) {
    .arch-hero { padding: 3.6rem 0 3.4rem; }
    .arch-hero::before { background: rgba(8, 15, 26, .82); }
}
.arch-section { padding: 3.6rem 0; }
.arch-section--alt {
    background: var(--arch-bg-alt);
    border-block: 1px solid var(--arch-line);
}

.arch-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.arch-btn {
    display: inline-block;
    padding: .72rem 1.5rem;
    border-radius: var(--arch-radius);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.arch-btn--primary { background: var(--arch-accent); color: #fff; }
.arch-btn--primary:hover { background: #cf5309; color: #fff; }
.arch-btn--ghost { border-color: var(--arch-line); color: var(--arch-ink); }
.arch-btn--ghost:hover { border-color: var(--arch-ink); color: var(--arch-ink); }
/* ── Value strip ──────────────────────────────────────────────────────────── */
/* ── Cards ────────────────────────────────────────────────────────────────── */
.arch-dl {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .8rem;
    border: 1px solid var(--arch-line);
    border-radius: var(--arch-radius);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--arch-ink);
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}
.arch-dl:hover { border-color: var(--arch-accent); background: #fff8f3; color: var(--arch-ink); }
.arch-dl-fmt {
    font-size: .7rem;
    letter-spacing: .08em;
    background: var(--arch-ink);
    color: #fff;
    border-radius: 2px;
    padding: .18rem .42rem;
    min-width: 3.1em;
    text-align: center;
}
/* ── Figure ───────────────────────────────────────────────────────────────── */
.arch-dl--wide { max-width: 480px; }
.arch-dl-size {
    margin-left: auto;
    font-weight: 500;
    font-size: .82rem;
    color: var(--arch-ink-soft);
    font-variant-numeric: tabular-nums;
}

/* ── Notes ────────────────────────────────────────────────────────────────── */
.arch-note {
    margin-top: 2rem;
    padding: 1.1rem 1.3rem;
    border-left: 3px solid var(--arch-accent);
    background: var(--arch-bg-alt);
    font-size: .93rem;
    line-height: 1.6;
    color: var(--arch-ink-soft);
    border-radius: 0 var(--arch-radius) var(--arch-radius) 0;
}
.arch-note strong { color: var(--arch-ink); }
.arch-note a { color: var(--arch-accent); font-weight: 600; }
.arch-note--info { border-left-color: var(--arch-alu); margin-top: 0; margin-bottom: 1.6rem; }

/* ── Table ────────────────────────────────────────────────────────────────── */
.arch-table-wrap { overflow-x: auto; }
.arch-table {
    width: 100%;
    max-width: 640px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--arch-line);
    border-radius: var(--arch-radius);
    font-variant-numeric: tabular-nums;
}
.arch-table th,
.arch-table td { padding: .72rem 1rem; border-bottom: 1px solid var(--arch-line); font-size: .93rem; }
.arch-table tr:last-child th,
.arch-table tr:last-child td { border-bottom: 0; }
.arch-table th {
    text-align: left;
    font-weight: 600;
    color: var(--arch-ink-soft);
    width: 46%;
}
.arch-table td { font-weight: 600; }
/* ── Profilmatrix ─────────────────────────────────────────────────────────── */

.arch-matrix {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--arch-line);
    font-variant-numeric: tabular-nums;
}
.arch-matrix th,
.arch-matrix td { padding: .6rem .85rem; border-bottom: 1px solid var(--arch-line); font-size: .9rem; }
.arch-matrix thead th {
    background: var(--arch-bg-alt);
    text-align: left;
    font-size: .74rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--arch-ink-soft);
    border-bottom: 1px solid var(--arch-alu);
    white-space: nowrap;
}
.arch-matrix tbody tr:last-child th,
.arch-matrix tbody tr:last-child td { border-bottom: 0; }
.arch-matrix tbody tr:hover { background: #fafbfc; }
.arch-matrix-size { text-align: left; font-weight: 700; white-space: nowrap; }
.arch-num { font-weight: 600; white-space: nowrap; }
.arch-matrix-dl { white-space: nowrap; }
.arch-matrix-dl a {
    display: inline-block;
    padding: .2rem .5rem;
    margin-right: .3rem;
    border: 1px solid var(--arch-line);
    border-radius: 2px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    color: var(--arch-ink);
}
.arch-matrix-dl a:hover { border-color: var(--arch-accent); background: #fff8f3; color: var(--arch-accent); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.arch-faq { max-width: 52em; border-top: 1px solid var(--arch-line); }
.arch-faq-item { border-bottom: 1px solid var(--arch-line); }
.arch-faq-item summary {
    cursor: pointer;
    padding: 1.05rem 2.2rem 1.05rem 0;
    font-weight: 600;
    font-size: 1.02rem;
    position: relative;
    list-style: none;
}
.arch-faq-item summary::-webkit-details-marker { display: none; }
.arch-faq-item summary::after {
    content: "+";
    position: absolute;
    right: .35rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--arch-accent);
    line-height: 1;
}
.arch-faq-item[open] summary::after { content: "–"; }
.arch-faq-item summary:hover { color: var(--arch-accent); }
.arch-faq-body { padding: 0 2.2rem 1.25rem 0; }
.arch-faq-body p { color: var(--arch-ink-soft); line-height: 1.68; margin-bottom: .5rem; }
.arch-faq-src {
    font-size: .8rem;
    letter-spacing: .04em;
    color: var(--arch-alu);
    font-weight: 600;
    margin: 0;
}

.arch-legal {
    max-width: 52em;
    line-height: 1.7;
    color: var(--arch-ink-soft);
    border: 1px solid var(--arch-line);
    border-radius: var(--arch-radius);
    background: #fff;
    padding: 1.3rem 1.5rem;
}
/* ── Millimetre scale on the page edge (drawing paper) ───────────────────── */
.arch-ruler {
    position: fixed;
    top: 0;
    left: 0;
    width: 13px;
    height: 100vh;
    z-index: 3;
    pointer-events: none;
    border-right: 1px solid var(--arch-line);
    background:
        repeating-linear-gradient(to bottom,
            var(--arch-line) 0 1px, transparent 1px 5px),
        repeating-linear-gradient(to bottom,
            var(--arch-alu) 0 1px, transparent 1px 25px);
    background-size: 6px 100%, 11px 100%;
    background-repeat: repeat-y;
    background-position: 0 0, 0 0;
    opacity: .5;
}
.arch-ruler-mark {
    position: absolute;
    left: 0;
    top: 0;
    width: 13px;
    height: 2px;
    background: var(--arch-accent);
    will-change: transform;
}
@media (max-width: 1199.98px) { .arch-ruler { display: none; } }

/* ── CTA ──────────────────────────────────────────────────────────────────── */
.arch-cta { background: var(--arch-bg-alt); border-top: 1px solid var(--arch-line); }
.arch-cta h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.arch-cta p { color: var(--arch-ink-soft); margin: 0; line-height: 1.6; }
.arch-cta .arch-btn { margin-top: 1rem; }

@media (max-width: 991.98px) {
    .arch-cta .text-lg-end { text-align: left !important; }
}

/* ── v2 (09/2026): profile and insert selection, 3D model, downloads ──────── */
.arch-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.arch-tab{border:1px solid #cfd4da;background:#fff;border-radius:8px;padding:8px 12px;min-width:92px;text-align:left;cursor:pointer;line-height:1.15;transition:border-color .15s,box-shadow .15s}
.arch-tab:hover{border-color:#9aa3ad}
.arch-tab.is-active{border-color:#1a1f26;box-shadow:inset 0 0 0 1px #1a1f26}
.arch-tab:focus-visible{outline:2px solid #e8621a;outline-offset:2px}
.arch-tab-size{display:block;font-weight:700;font-size:17px;font-variant-numeric:tabular-nums}
.arch-tab-fam{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#6b7480;margin-top:2px}
.arch-profil{display:none;border:1px solid #e1e5ea;border-radius:12px;padding:22px 24px;background:#fff}
.arch-profil.is-active{display:block}
/* ROBUST combinations and LASER CUT: card like .arch-profil, own toggle */
.arch-kombi{display:none;border:1px solid #e1e5ea;border-radius:12px;padding:22px 24px;background:#fff}
.arch-kombi.is-active{display:block}
.no-js .arch-kombi{display:block;margin-bottom:24px}
.arch-kombi-wahl{display:flex;flex-wrap:wrap;border-radius:18px}
@media (max-width:991px){.arch-kombi{padding:16px}}
.no-js .arch-profil{display:block;margin-bottom:24px}
.arch-profil-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;margin-bottom:12px}
.arch-profil-head h3{margin:0;font-size:24px}
.arch-einlage-tabs{display:inline-flex;border:1px solid #cfd4da;border-radius:999px;padding:3px;gap:2px;margin-bottom:18px}
.arch-einlage{border:0;background:transparent;border-radius:999px;padding:6px 14px;cursor:pointer;font-weight:600;color:#4a535e}
.arch-einlage.is-active{background:#1a1f26;color:#fff}
.arch-einlage:focus-visible{outline:2px solid #e8621a;outline-offset:2px}
.arch-mv{width:100%;height:360px;background:#f2f3f5;--poster-color:#f2f3f5}
.arch-mv-note{margin:0;padding:8px 12px;font-size:12.5px;color:#6b7480;border-top:1px solid #e1e5ea;background:#fff}
.arch-daten th{white-space:nowrap;width:44%}
.arch-daten td{font-variant-numeric:tabular-nums}
.arch-daten-hl th,.arch-daten-hl td{background:#fdeee4;font-weight:600}
.arch-dl-block{margin-top:16px}
.arch-dl-block h4{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#6b7480;margin:0 0 8px}
.arch-dl.is-hidden{display:none}
.arch-rahmen td,.arch-rahmen th{white-space:nowrap}
@media (max-width:991px){.arch-mv{height:280px}.arch-profil{padding:16px}}
@media (prefers-reduced-motion: reduce){.arch-tab{transition:none}}
/* ── v3: recess calculator, edge section, LV, bar ────────────────────────── */
.arch-form label{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6b7480;margin:0 0 10px}
.arch-form select,.arch-form input{display:block;width:100%;margin-top:4px;padding:8px 10px;border:1px solid #cfd4da;border-radius:6px;font:inherit;text-transform:none;letter-spacing:0;color:#1a1f26;font-size:15px;font-variant-numeric:tabular-nums}
.arch-form input:focus,.arch-form select:focus{outline:2px solid #e8621a;outline-offset:1px;border-color:#e8621a}
.arch-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.arch-unit{text-transform:none;letter-spacing:0;color:#9aa3ad;font-weight:400}
.arch-form-hint{font-size:12.5px;color:#6b7480;margin:6px 0 14px}
.arch-rechner-out td{font-variant-numeric:tabular-nums}
.arch-detail{margin:0;border:1px solid #e1e5ea;border-radius:8px;background:#fff;overflow:hidden}
.arch-detail svg{display:block;background:#fff}
.arch-detail figcaption{padding:8px 12px;font-size:12.5px;color:#6b7480;border-top:1px solid #eef1f4}
.arch-btn--sm{padding:6px 12px;font-size:13px}
.arch-lv{border:1px solid #e1e5ea;border-radius:8px;padding:12px 14px;background:#fff}
.arch-lv-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.arch-lv-head h3{margin:0;font-size:15px}
.arch-lv-text{white-space:pre-wrap;font:13px/1.5 ui-monospace,Menlo,Consolas,monospace;background:#f6f7f9;border:1px solid #e1e5ea;border-radius:6px;padding:10px 12px;margin:0;color:#1a1f26;user-select:all}
.arch-page{padding-bottom:64px}
/* rysunek */
.d-boden{fill:#e9ebee;stroke:#8f959c;stroke-width:1}
.d-belag{fill:#d5d9de;stroke:#6b7480;stroke-width:1}
.d-rahmen{fill:#9aa1a9;stroke:#1d2226;stroke-width:1.4}
.d-alu{fill:#dfe3e8;stroke:#2b3238;stroke-width:1.2}
.d-einlage{fill:#4a4f56;stroke:#22262a;stroke-width:1}
.d-dim{stroke:#141824;stroke-width:1}
.d-dimt{font:700 14px system-ui,sans-serif;fill:#141824;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.d-lab{font:12px system-ui,sans-serif;fill:#5a6572;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.d-break{stroke:#6b7480;stroke-width:1;fill:none}
.d-quer{fill:#eef0f2;stroke:#9aa2ab;stroke-width:.8}
@media print{.arch-subnav,.arch-hero,.arch-tabs,.arch-profil,#alle-matten,.arch-note--work,#aussparung,#technik,.arch-cta,.arch-ruler{display:none!important}.arch-page{padding-bottom:0}}
.d-epdm{fill:#8a8f96;stroke:#3c4148;stroke-width:1}
.d-seil{fill:url(#h-seil);stroke:#3c4148;stroke-width:.6}
.d-alu{stroke:#2b3238;stroke-width:1.1}
.d-estrich{stroke:#b5ae9e;stroke-width:.8}
.d-pile{fill:none;stroke:#3a3d42;stroke-width:.5;stroke-linecap:round}
.d-pile--b{stroke:#4a4d52;stroke-width:.6}

/* ── assembly animation (once, when entering the screen) and exploded view (button) ── */
.arch-detail{position:relative}
.rs-explode-btn{position:absolute;right:10px;top:8px;width:auto;z-index:2}
.rs-l{transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .4s}
.rs-anim .rs-l0{animation:rs-up .5s cubic-bezier(.2,.8,.2,1) both}
.rs-anim .rs-l1{animation:rs-up .4s cubic-bezier(.2,.8,.2,1) .35s both}
.rs-anim .rs-l2{animation:rs-drop .7s cubic-bezier(.2,.8,.2,1) .65s both}
.rs-anim .rs-l3{animation:rs-drop2 .8s cubic-bezier(.2,.8,.2,1) 1.25s both}
.rs-anim .rs-l4{animation:rs-fade .4s ease 2.0s both}
.rs-anim .rs-l5{animation:rs-fade .4s ease 2.2s both}
@keyframes rs-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes rs-drop{from{transform:translateY(-140px)}to{transform:none}}
@keyframes rs-drop2{from{transform:translateY(-170px)}to{transform:none}}
@keyframes rs-fade{from{opacity:0}to{opacity:1}}
.rs-xl{display:none}
.rs-explode .rs-l3{transform:translateY(-125px)}
.rs-explode .rs-l2{transform:translateY(-55px)}
.rs-explode .rs-l4{opacity:0}
.rs-explode .rs-xl{display:block}
.d-xl{font:700 12px system-ui,sans-serif;fill:#e8621a}
.d-xls{font:11px system-ui,sans-serif;fill:#4a535e}
@media (prefers-reduced-motion:reduce){.rs-l{transition:none}.rs-anim .rs-l{animation:none}}
@media print{.rs-explode-btn{display:none}}
.rs-explode .rs-l5 text:not(.d-xl):not(.d-xls){opacity:0}
/* ── Schmutzfangwanne (installation variant C) ── */

/* ── section navigation, insert cards, Randschnitt on the phone ── */
html { scroll-padding-top: calc(var(--arch-top, 60px) + 52px); }
.arch-subnav { position: sticky; top: var(--arch-top, 60px); z-index: 50; background: rgba(255,255,255,.96);
    backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--arch-line); }
.arch-note--link a { font-weight: 600; }
/* phone/tablet: the shop body has overflow-y:auto (sticky does not catch), and a fixed category bar already sits below the header —
   the section list stays a plain bar below the hero */
@media (max-width: 991.98px) { .arch-subnav { position: static; } html { scroll-padding-top: 130px; } }
@media (max-width: 767.98px) {
    .arch-detail { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .arch-detail svg { min-width: 760px; }   /* the 1000 x 380 drawing is unreadable at 360 px — it scrolls horizontally */
}

/* Projektpaket (ALU-15 stage 1, 11/2026) */
.arch-paket-liste td{vertical-align:middle}
.arch-paket-leer td{color:#6b7480;font-style:italic;white-space:normal}
.arch-paket-del{border:1px solid #cfd4da;background:#fff;border-radius:6px;width:28px;height:28px;line-height:1;font-size:16px;color:#4a535e;cursor:pointer}
.arch-paket-del:hover{border-color:#b3261e;color:#b3261e}
.arch-paket-status{font-size:13px;color:#4a535e}
.arch-paket-err{color:#b3261e}
#arch-paket-form .arch-btn{width:100%}
.arch-rahmen-mat{display:block;font-size:11px;font-weight:400;color:#6b7480;letter-spacing:0}
/* ── Profil finden, standards, contact cards, tables as cards on the phone ── */
.arch-finder-tab td, .arch-finder-tab th { vertical-align: top; }
.arch-finder-tab tr[hidden] { display: none; }
.arch-finder-alt { display: block; font-size: .78rem; color: var(--arch-ink-soft); }
.arch-finder-leer td { text-align: center; color: var(--arch-ink-soft); padding: 18px; }
.arch-rahmen td, .arch-rahmen th { white-space: normal; }
.arch-cta-cards { row-gap: 16px; }
.arch-cta-card { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid #e1e5ea; border-radius: 8px; }
.arch-cta-card h3 { font-size: 1.05rem; margin: 0; }
.arch-cta-card p { flex: 1; margin: 0; font-size: .92rem; color: var(--arch-ink-soft); }
.arch-cta-card .arch-btn { align-self: flex-start; }
@media (max-width: 767.98px) {
    .arch-daten th { white-space: normal; width: 42%; }
    .arch-daten td { overflow-wrap: anywhere; }
    .arch-matrix--cards { min-width: 0 !important; }
    .arch-matrix--cards thead { display: none; }
    .arch-matrix--cards, .arch-matrix--cards tbody, .arch-matrix--cards tr, .arch-matrix--cards th, .arch-matrix--cards td { display: block; width: 100%; }
    .arch-matrix--cards tr { border: 1px solid #e1e5ea; border-radius: 8px; margin: 0 0 12px; padding: 6px 12px; background: #fff; }
    .arch-matrix--cards tr[hidden] { display: none; }
    .arch-matrix--cards th, .arch-matrix--cards td { border: 0; padding: 5px 0; white-space: normal; text-align: left; }
    .arch-matrix--cards th[data-label] { font-size: 1rem; padding-top: 8px; }
    .arch-matrix--cards td[data-label] { display: grid; grid-template-columns: 42% 1fr; gap: 8px; }
    .arch-matrix--cards td[data-label]::before { content: attr(data-label); color: var(--arch-ink-soft); font-size: .8rem; }
    .arch-matrix--cards .arch-matrix-dl a { margin: 0 6px 6px 0; }
}
@media (max-width: 767.98px) {
    .arch-matrix--cards td.arch-matrix-dl[data-label] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .arch-matrix--cards td.arch-matrix-dl[data-label]::before { flex: 0 0 100%; }
    .arch-matrix--cards .arch-matrix-dl a { margin: 0; }
    .arch-finder-tab td[data-label], .arch-finder-tab th[data-label] { padding: 3px 0; }
}
/* ── shorter page — profiles with finder and combinations, Einbau tabs, Technik accordion ── */
.arch-tab[hidden] { display: none; }
.arch-einlage-tabs { flex-wrap: wrap; }
.arch-einlage--kombi { border-left: 1px solid #cfd4da !important; border-radius: 0 999px 999px 0; margin-left: 4px; padding-left: 16px; }
.arch-einlage--kombi.is-active { border-radius: 999px; border-left-color: transparent !important; }
.arch-kombi-panel { display: none; }
.arch-profil.is-kombi > .arch-profil-body, .arch-profil.is-kombi > .arch-dl-wide { display: none; }
.arch-profil.is-kombi > .arch-kombi-panel { display: block; }
.arch-kombi-panel .arch-kombi { border: 0; padding: 0; border-radius: 0; }
.arch-kombi-panel .arch-kombi .arch-profil-head h3 { font-size: 19px; }
.arch-more { margin: 22px 0 0; border: 1px solid #e1e5ea; border-radius: 10px; background: #fff; }
.arch-more > summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; font-weight: 600; position: relative; }
.arch-more > summary::-webkit-details-marker { display: none; }
.arch-more > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3em; color: var(--arch-ink-soft); }
.arch-more[open] > summary::after { content: "–"; }
.arch-more > summary:hover { color: #e8621a; }
.arch-more > .arch-table-wrap, .arch-more > .arch-note, .arch-more > p { margin: 0 18px 18px; }
.arch-tech-body { padding: 0 0 26px; }
.arch-tech-body .arch-faq { margin-top: 6px; }
@media (max-width: 991px) { .arch-more > summary { padding: 12px 40px 12px 14px; } .arch-more > .arch-table-wrap, .arch-more > .arch-note, .arch-more > p { margin: 0 10px 12px; } }
@media (max-width: 767px) {
    /* frame and tray tables: compact cards on phones */
    .arch-matrix--cards.arch-rahmen tr { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 10px; margin-bottom: 8px; padding: 6px 10px; }
    .arch-matrix--cards.arch-rahmen th { grid-column: 1 / 2; padding: 4px 0; }
    .arch-matrix--cards.arch-rahmen td[data-label] { display: block; padding: 2px 0; font-size: .85rem; line-height: 1.3; }
    .arch-matrix--cards.arch-rahmen td[data-label]::before { display: block; font-size: .7rem; }
    .arch-matrix--cards.arch-rahmen td[data-label="für Profil"], .arch-matrix--cards.arch-rahmen td[data-label="Wanne"] { grid-column: 2 / -1; }
    .arch-matrix--cards.arch-rahmen td.arch-matrix-dl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
    .arch-matrix--cards.arch-rahmen td.arch-matrix-dl::before { display: none; }
    .arch-matrix--cards.arch-rahmen .arch-matrix-dl a { margin: 0; }
}
@media (max-width: 767px) {
    .arch-einlage-tabs { display: flex; border-radius: 14px; }
    .arch-einlage { padding: 6px 11px; font-size: .9rem; }
    .arch-einlage--kombi { border-left: 0 !important; margin-left: 0; padding-left: 11px; border-radius: 999px; }
    .arch-kombi-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
    .arch-kombi-wahl .arch-einlage { font-size: .8rem; padding: 7px 6px; text-align: center; }
}
/* downloads under the profile, full width, in columns */
.arch-dl-wide { margin-top: 6px; }
.arch-dl-wide .arch-dl-block { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 14px; align-items: stretch; }
.arch-dl-wide .arch-dl-block > h4 { grid-column: 1 / -1; margin-bottom: 0; }
.arch-dl-wide .arch-dl-block > .arch-dl { margin: 0; }
.arch-dl-wide .arch-dl--wide { max-width: none; }
.arch-rechner-fuer { font-weight: 400; color: var(--arch-ink-soft); font-size: .95rem; margin-left: 6px; }
.arch-rechner-fuer b { color: var(--arch-ink); font-weight: 700; }
.arch-schritte { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; margin: 0 0 16px; }
.arch-schritte li { counter-increment: s; background: #fff; border: 1px solid #e1e5ea; border-radius: 10px; padding: 14px 16px 14px 56px; position: relative; }
.arch-schritte li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: #e8620c; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.arch-schritte b { display: block; margin-bottom: 2px; }
.arch-schritte span { color: var(--arch-ink-soft); font-size: .93rem; }
/* planning notes: same cards, two columns, no step numbers */
.arch-planung { grid-template-columns: repeat(2, 1fr); }
.arch-planung li { padding-left: 16px; }
.arch-planung li::before { content: none; }
@media (max-width: 991px) { .arch-planung { grid-template-columns: 1fr; } }
@media (max-width: 991px) { .arch-schritte { grid-template-columns: 1fr; } }
/* ── download groups, phone navigation ── */
.arch-dl-wide .arch-dl-block { display: block; }
.arch-dl-wide .arch-dl-block > h4 { margin-bottom: 8px; }
.arch-dl-gruppen { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 6px 18px; align-items: start; }
.arch-dl-gruppe { display: grid; gap: 6px; min-width: 0; }
.arch-dl-gruppe h5 { margin: 0 0 2px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--arch-ink-soft); font-weight: 700; }
.arch-dl-gruppe .arch-dl { margin: 0; }
.arch-dl-gruppe .arch-dl--wide { max-width: none; }
#arch-ifc-dl:disabled { opacity: .45; cursor: not-allowed; }
.arch-subnav-ph { height: 0; }
@media (max-width: 991.98px) {
    .arch-dl-gruppen { grid-template-columns: 1fr; gap: 14px; }
    .arch-subnav.is-fixed { position: fixed; top: var(--arch-top, 60px); left: 0; right: 0; z-index: 55; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
    /* profile tiles: one row to swipe instead of four rows */
    .arch-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; }
    .arch-tabs::-webkit-scrollbar { display: none; }
    .arch-tabs .arch-tab { flex: 0 0 auto; scroll-snap-align: center; }
}
@media (max-width: 991.98px) { html { scroll-padding-top: 185px; } .arch-dl-wide { scroll-margin-top: 185px; } }
@media (min-width: 992px) {
    /* CAD und BIM has the most files: two columns inside the group */
    .arch-dl-gruppen { grid-template-columns: 2fr 1fr 1fr; }
    .arch-dl-gruppe:first-child { grid-template-columns: 1fr 1fr; column-gap: 8px; }
    .arch-dl-gruppe:first-child h5 { grid-column: 1 / -1; }
}

/* ============================================================================
   DARK MODE of /architekten
   nightModeSwitch.js adds .darkModeDiv to EVERY <div> (incl. .arch-page) and white
   text classes to p/h/a/li; the global .darkModeDiv paints every div #283144 while our
   cards, tables and tiles would stay white -> white text on white. Same approach as /move:
   one scoped theme. Technical drawings stay on white "paper".
   ========================================================================== */
.arch-page.darkModeDiv {
    --arch-ink:      #eef0f3;
    --arch-ink-soft: #b6bfcc;
    --arch-line:     #46526d;
    --arch-bg-alt:   #2c364c;
    --arch-alu:      #7d8aa3;
    --ad-surface:    #313c54;
    --ad-surface-2:  #2a3348;
    --ad-input:      #222a3b;
    --ad-paper:      #f4f6f8;
    color: var(--arch-ink);
    background-color: #283144;
}
/* the global fill on every div — off inside the page, components get their own below */
.arch-page .darkModeDiv { background-color: transparent !important; }
/* text: global white classes and our dark hard-coded colours -> one palette */
.arch-page.darkModeDiv :is(.darkModeParagraph, .darkModeH1, .darkModeH2, .darkModeH3, .darkModeH4, .darkModeH5, .darkModeH6, li, summary, th, td, strong, b, h3, h4, h5) { color: var(--arch-ink); }
.arch-page.darkModeDiv :is(.arch-lead, .arch-section-head p, .arch-form label, .arch-form-hint, .arch-mv-note, .arch-dl-size, label, .arch-note) { color: var(--arch-ink-soft) !important; }
.arch-page.darkModeDiv a:not(.arch-btn):not(.arch-dl) { color: #f08a3c; }
.arch-page.darkModeDiv .arch-dl { color: var(--arch-ink) !important; }
.arch-page.darkModeDiv .arch-section-head h2, .arch-page.darkModeDiv .arch-h1 { color: var(--arch-ink); }
/* sections */
.arch-page.darkModeDiv .arch-section--alt.darkModeSection,
.arch-page.darkModeDiv .arch-cta.darkModeSection { background-color: var(--arch-bg-alt) !important; }
/* cards, panels, tables, tiles */
.arch-page.darkModeDiv :is(.arch-cta-card, .arch-profil, .arch-kombi, .arch-more, .arch-lv, .arch-tab, .arch-dl, .arch-matrix--cards tr, .arch-schritte li, .arch-paket-del, .arch-mv-note) {
    background-color: var(--ad-surface) !important; border-color: var(--arch-line) !important; }
.arch-page.darkModeDiv :is(.arch-table, .arch-matrix) { background-color: transparent !important; border-color: var(--arch-line) !important; }
.arch-page.darkModeDiv :is(.arch-table, .arch-matrix) :is(th, td) { background-color: transparent !important; border-color: var(--arch-line) !important; }
.arch-page.darkModeDiv :is(.arch-table, .arch-matrix) thead th { background-color: var(--ad-surface-2) !important; }
.arch-page.darkModeDiv .arch-matrix tbody tr:hover { background-color: #36425c !important; }
.arch-page.darkModeDiv .arch-daten-hl :is(th, td) { background-color: rgba(232, 98, 12, .18) !important; }
.arch-page.darkModeDiv :is(.arch-dl, .arch-matrix-dl a):hover { background-color: #3d3a3a !important; border-color: var(--arch-accent) !important; }
.arch-page.darkModeDiv .arch-tab.is-active { border-color: var(--arch-accent) !important; box-shadow: 0 0 0 1px var(--arch-accent) inset; }
.arch-page.darkModeDiv .arch-einlage { color: var(--arch-ink-soft) !important; }
.arch-page.darkModeDiv .arch-einlage.is-active { background-color: #eef0f3 !important; color: #1a1f26 !important; }
.arch-page.darkModeDiv :is(.arch-note, .arch-legal) { background-color: var(--ad-surface-2) !important; }
.arch-page.darkModeDiv .arch-lv-text { background-color: var(--ad-input) !important; border-color: var(--arch-line) !important; color: var(--arch-ink) !important; }
/* subnav (sticky white bar) */
.arch-page.darkModeDiv .arch-subnav { background: rgba(40, 49, 68, .96) !important; border-color: var(--arch-line) !important; }
.arch-page.darkModeDiv .arch-subnav a { color: var(--arch-ink-soft) !important; }
.arch-page.darkModeDiv .arch-subnav a.is-active, .arch-page.darkModeDiv .arch-subnav a:hover { color: #fff !important; }
/* form */
.arch-page.darkModeDiv :is(input, select, textarea) { background-color: var(--ad-input) !important; color: var(--arch-ink) !important; border-color: #56627e !important; }
.arch-page.darkModeDiv input::placeholder { color: #8c97aa; }
.arch-page.darkModeDiv .arch-btn--ghost { background-color: transparent !important; color: var(--arch-ink) !important; border-color: #6b7792 !important; }
/* drawings and 3D stay light: white paper with dark captions */
.arch-page.darkModeDiv :is(.arch-detail, .arch-detail svg) { background-color: #fff !important; border-color: var(--arch-line) !important; }
.arch-page.darkModeDiv .arch-mv { background-color: var(--ad-paper) !important; --poster-color: var(--ad-paper); border-color: var(--arch-line) !important; }
.arch-page.darkModeDiv .arch-detail figcaption { background-color: var(--ad-surface) !important; color: var(--arch-ink-soft) !important; }
/* hero: no box behind the text */
.arch-page.darkModeDiv .arch-hero .darkModeDiv { background-color: transparent !important; }
.arch-page.darkModeDiv .arch-tab-size { color: var(--arch-ink) !important; }
.arch-page.darkModeDiv :is(.arch-tab-fam, .arch-rahmen-mat) { color: var(--arch-ink-soft) !important; }
.arch-page.darkModeDiv .arch-dl-fmt { background-color: #eef0f3 !important; color: #1a1f26 !important; }
.arch-page.darkModeDiv .arch-detail .arch-btn--ghost { background-color: #fff !important; color: #1a1f26 !important; border-color: #9aa2ab !important; }

/* the shop theme colours every link orange on hover (a:not(.btn):not(.badge):hover, stronger than .arch-btn--primary:hover) —
   orange text on the orange hero button would nearly disappear; our buttons keep their own colours */
.arch-page a.arch-btn.arch-btn--primary:hover, .arch-page a.arch-btn.arch-btn--primary:focus, .arch-page a.arch-btn.arch-btn--primary:active { background: #cf5309; border-color: #cf5309; color: #fff; }
.arch-page a.arch-btn.arch-btn--ghost:hover, .arch-page a.arch-btn.arch-btn--ghost:focus, .arch-page a.arch-btn.arch-btn--ghost:active { border-color: var(--arch-ink); color: var(--arch-ink); }
.arch-page .arch-hero a.arch-btn.arch-btn--primary { box-shadow: 0 6px 18px rgba(232, 98, 26, .28); transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.arch-page .arch-hero a.arch-btn.arch-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(232, 98, 26, .38); }
.arch-page .arch-hero a.arch-btn.arch-btn--ghost:hover, .arch-page .arch-hero a.arch-btn.arch-btn--ghost:focus { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.arch-page a.arch-btn:focus-visible { outline: 2px solid var(--arch-accent); outline-offset: 2px; }
