/* =========================================
   RAWGRAVEL VO2MAX PROTOCOL - Produktkomponenten
   Design "Kompass & Etappen" wie rawgravel.cc, Basis in style.css.
   Vorheriger Stand: protocol.css.bak-20261001
   ========================================= */

.protocol-page { display: block; overflow-x: hidden; }
.protocol-shell { width: 100%; padding: 0 var(--gutter); margin: 0 auto; }

/* --- HEADER: Seitennavigation --- */
.protocol-header { gap: 24px; }

.protocol-header nav { display: flex; gap: 4px; }

.protocol-header nav a {
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--text-2);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.protocol-header nav a:hover { color: var(--text); background: var(--chalk-2); }
.protocol-header nav a[href="#downloads"] { margin-left: 10px; padding: 10px 22px; background: var(--ink); color: #fff; }
.protocol-header nav a[href="#downloads"]:hover { background: var(--ink-2); }

/* --- HERO --- */
.protocol-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 8vw, 100px);
}

/* Höhenlinien als Textur */
.protocol-hero::before, .protocol-section--soft::before, .protocol-section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("images/topo.svg") center / cover no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

.protocol-hero::before {
    -webkit-mask: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    mask: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}

.protocol-hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }

/* Kapitelmarke: Pill wie die Etappen-Hinweise */
.protocol-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--slate);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Im Hero: Kicker mit Volt-Punkt */
.protocol-hero .protocol-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 7px 14px 7px 8px;
    box-shadow: var(--shadow-1);
    color: var(--text-2);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
}

.protocol-hero .protocol-eyebrow::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--volt);
    box-shadow: inset 0 0 0 5px var(--ink);
}

.protocol-hero h1 {
    margin-bottom: 28px;
    font-size: clamp(3rem, 8vw, 6.4rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.95;
}

.protocol-hero h1 span { display: block; }

.protocol-lead { max-width: 58ch; color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.18rem); }

.protocol-free {
    display: inline-block;
    margin-top: 22px;
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--volt);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.protocol-actions, .protocol-community-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Buttons */
.protocol-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.3s var(--ease), border-color 0.25s ease;
}

.protocol-btn--accent {
    background: var(--volt);
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -12px rgba(120, 160, 0, 0.9);
}

.protocol-btn--accent:hover { background: var(--volt-2); transform: translateY(-2px); }

.protocol-btn--light {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-1), inset 0 1px 0 #fff;
    color: var(--ink);
}

.protocol-btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2), inset 0 1px 0 #fff; }

/* Kennzahlen im Stil des Radcomputers */
.protocol-hero-mark {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 6px 16px;
    width: min(360px, 100%);
    padding: 30px 30px 26px;
    border-radius: 34px;
    background: linear-gradient(160deg, #3A4F64 0%, var(--ink) 40%, var(--ink-deep) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.3), var(--shadow-3);
    color: #fff;
}

.protocol-hero-mark strong {
    color: var(--volt);
    font-size: clamp(3.4rem, 6vw, 4.6rem);
    font-weight: 600;
    font-stretch: 125%;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.protocol-hero-mark span { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; }

/* --- SEKTIONEN --- */
.protocol-section { position: relative; isolation: isolate; padding: clamp(80px, 10vw, 130px) 0; }
.protocol-section--soft { background: var(--chalk-2); overflow: hidden; }
.protocol-section--dark { background: var(--ink); color: #fff; overflow: hidden; }
.protocol-section--dark::before { opacity: 0.12; filter: invert(1); }

.protocol-section h2 { max-width: 22ch; margin-bottom: 28px; }
.protocol-section--dark h2 { color: #fff; }

.protocol-intro, .protocol-section > .protocol-shell > p:not(.protocol-eyebrow) { max-width: 66ch; color: var(--text-2); font-size: 1.1rem; }
.protocol-section > .protocol-shell > p:not(.protocol-eyebrow):not(.protocol-note):not(.protocol-license) { margin-bottom: 18px; }

.protocol-section--soft .protocol-eyebrow { background: var(--white); }
.protocol-section:not(.protocol-section--soft):not(.protocol-section--dark) .protocol-eyebrow { background: var(--chalk-2); border-color: transparent; }

.protocol-section--dark .protocol-eyebrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: var(--volt); }
.protocol-section--dark > .protocol-shell > p:not(.protocol-eyebrow), .protocol-section--dark .protocol-intro { color: rgba(255, 255, 255, 0.78); }

.protocol-two-col { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.protocol-two-col p { color: var(--text-2); margin-bottom: 16px; }
.protocol-two-col p:last-child { margin-bottom: 0; }
.protocol-copy-grid { margin-top: 40px; }
.protocol-copy-grid h3 { margin-bottom: 12px; }

.protocol-note { max-width: 74ch; margin-top: 28px; color: var(--text-2); font-size: 0.95rem; }

/* Hinweis-Karten */
.protocol-rule, .protocol-warning, .protocol-medical {
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--r-lg);
}

.protocol-rule strong, .protocol-warning strong, .protocol-medical strong {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--volt);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.protocol-rule p, .protocol-warning p, .protocol-medical p { margin-top: 12px; color: var(--text-2); }

/* Grundregel: dunkle Karte */
.protocol-rule {
    color: #fff;
    background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 70%);
    box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.protocol-rule strong { background: var(--volt); color: var(--ink); }
.protocol-rule p { color: rgba(255, 255, 255, 0.82); }

/* Warnung: weiße Karte mit Volt-Kante */
.protocol-warning {
    margin-top: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1), inset 4px 0 0 var(--volt);
}

.protocol-medical { background: var(--white); border: 1px solid var(--line-strong); box-shadow: var(--shadow-1); }

/* Wochenrhythmus */
.protocol-week-rhythm { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 52px 0 8px; }

.protocol-week-rhythm > div {
    padding: 24px;
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}

.protocol-week-rhythm b {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--volt);
    font-size: 0.95rem;
    font-weight: 600;
}

.protocol-week-rhythm span { display: block; margin-bottom: 6px; font-size: 1.2rem; font-weight: 500; font-stretch: var(--wide); color: var(--text); }
.protocol-week-rhythm small { display: block; color: var(--text-2); font-size: 0.95rem; line-height: 1.5; }

/* Karten-Raster */
.protocol-mode-grid, .protocol-safety-grid, .protocol-install-grid, .protocol-fueling-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.protocol-safety-grid { margin: 40px 0 28px; }
.protocol-fueling-grid { margin-top: 40px; }

.protocol-mode-grid article, .protocol-safety-grid > div, .protocol-install-grid article, .protocol-fueling-grid > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(24px, 3vw, 32px);
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}

.protocol-mode-grid h3, .protocol-safety-grid h3, .protocol-install-grid h3 { margin-bottom: 6px; font-size: 1.3rem; }
.protocol-install-grid h3:not(:first-child) { margin-top: 18px; }

.protocol-mode-grid strong {
    font-size: 2.2rem;
    font-weight: 600;
    font-stretch: 125%;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
}

.protocol-mode-grid p, .protocol-safety-grid p, .protocol-install-grid p, .protocol-install-grid li, .protocol-fueling-grid span { color: var(--text-2); }
.protocol-mode-grid small { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--slate); font-size: 0.9rem; }

.protocol-fueling-grid b { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--volt); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; }

.protocol-install-grid ol { list-style: none; counter-reset: step; }
.protocol-install-grid li { position: relative; padding: 10px 0 10px 38px; border-top: 1px solid var(--line); counter-increment: step; }
.protocol-install-grid li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.75em;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--volt);
    font-size: 0.78rem;
    font-weight: 600;
}

.protocol-install-grid .protocol-warning { margin-top: 18px; padding: 20px; box-shadow: inset 4px 0 0 var(--volt); background: var(--chalk); border: 0; }

.protocol-page code { padding: 1px 6px; border-radius: 6px; background: var(--chalk-2); color: var(--ink); font-size: 0.88em; overflow-wrap: anywhere; }

/* Herzfrequenzzonen */
.protocol-hf-zones {
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}

.protocol-hf-zones div { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); }
.protocol-hf-zones div:first-child { border-top: 0; }

.protocol-hf-zones b {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 600;
}

.protocol-hf-zones div:last-child b { background: var(--volt); }
.protocol-hf-zones span { color: var(--text-2); }

/* Tabellen */
.protocol-table-wrap {
    overflow-x: auto;
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}

.protocol-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.95rem; }
.protocol-table caption { padding: 22px 24px 14px; text-align: left; font-weight: 600; color: var(--text); font-stretch: var(--wide); font-size: 1.15rem; }
.protocol-table th { padding: 12px 18px; background: var(--chalk); color: var(--slate); font-size: 0.85rem; font-weight: 600; text-align: left; border-top: 1px solid var(--line); }
.protocol-table td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--text-2); vertical-align: top; line-height: 1.5; }
.protocol-table td:first-child { color: var(--text); font-weight: 500; }
.protocol-table tbody tr { transition: background 0.2s ease; }
.protocol-table tbody tr:hover { background: var(--chalk); }

.protocol-table td b {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--volt);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Fueling-Hinweis in der Wochentabelle */
.protocol-fueling {
    display: block;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--chalk);
    box-shadow: inset 3px 0 0 var(--volt);
    color: var(--text-2);
    font-size: 0.85rem;
    line-height: 1.6;
}

.protocol-table .protocol-fueling b { display: block; margin: 0 0 4px; padding: 0; background: none; color: var(--ink); font-size: 0.8rem; }

/* Wochen als aufklappbare Etappen */
.protocol-weeks { display: grid; gap: 14px; }

.protocol-weeks details {
    overflow-x: auto;
    border-radius: var(--r-md);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    transition: box-shadow 0.3s var(--ease);
}

.protocol-weeks details[open] { box-shadow: var(--shadow-2); }

.protocol-weeks summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 64px 18px 22px;
    cursor: pointer;
    list-style: none;
}

.protocol-weeks summary::-webkit-details-marker { display: none; }

/* Auf/zu-Knopf */
.protocol-weeks summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1;
    transition: background 0.2s ease, transform 0.3s var(--ease);
}

.protocol-weeks details[open] summary::after { content: "−"; background: var(--volt); border-color: var(--volt); }
.protocol-weeks summary:hover::after { background: var(--chalk-2); }
.protocol-weeks details[open] summary:hover::after { background: var(--volt-2); }

.protocol-weeks summary b { font-size: 1.2rem; font-weight: 500; font-stretch: var(--wide); white-space: nowrap; }
.protocol-weeks summary span { color: var(--slate); font-size: 0.92rem; }
.protocol-weeks details[open] summary { border-bottom: 1px solid var(--line); }

.protocol-weeks details > p { margin: 18px 22px; color: var(--text-2); }
.protocol-weeks details > table { width: calc(100% - 44px); margin: 0 22px; border: 1px solid var(--line); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.protocol-weeks .protocol-table th { border-top: 0; }
.protocol-weeks .protocol-table { font-size: 0.9rem; }
.week-goal { font-weight: 500; color: var(--text) !important; }
.week-outdoor b { color: var(--text); }

/* --- DOWNLOAD-GATE (Formular-Logik in protocol.js) --- */
.protocol-gate-steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 44px 0 0; list-style: none; }

.protocol-gate-steps li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.protocol-gate-steps b { color: var(--volt); font-size: 2.2rem; font-weight: 600; font-stretch: 125%; line-height: 1; margin-bottom: 8px; }
.protocol-gate-steps span { color: #fff; font-size: 1.15rem; font-weight: 500; font-stretch: var(--wide); }
.protocol-gate-steps small { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; line-height: 1.5; }

.protocol-gate {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow-3);
}

.protocol-gate-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: clamp(28px, 4vw, 44px);
    background: var(--volt);
    color: var(--ink);
}

.protocol-gate-intro b { font-size: 1.9rem; font-weight: 600; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1; }
.protocol-gate-intro span { font-size: 0.9rem; font-weight: 500; word-break: break-word; }
.protocol-gate-intro small { color: rgba(28, 39, 51, 0.8); line-height: 1.5; }

.protocol-gate-form { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 44px); color: var(--text); }
.protocol-gate-field { display: flex; flex-direction: column; gap: 8px; }
.protocol-gate-field label { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.protocol-gate-field label i { font-style: normal; font-weight: 400; color: var(--slate); }

.protocol-gate-form input[type=text], .protocol-gate-form input[type=email] {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--line-strong);
    background: var(--chalk);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.protocol-gate-form input::placeholder { color: #93A0AC; }
.protocol-gate-form input[type=text]:focus, .protocol-gate-form input[type=email]:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(198, 244, 50, 0.55); }

.protocol-gate-consent { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 0.9rem; line-height: 1.55; cursor: pointer; }
.protocol-gate-consent input { flex: 0 0 auto; margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); }
.protocol-gate-consent a { color: var(--ink); }

.protocol-gate-form button { align-self: stretch; cursor: pointer; }
.protocol-gate-form button[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.protocol-gate-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.protocol-gate-message { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.protocol-gate-message:empty { display: none; }
.protocol-gate-message.is-success, .protocol-gate-message.is-error { padding: 12px 16px; border-radius: 12px; }
.protocol-gate-message.is-success { background: rgba(198, 244, 50, 0.35); color: var(--ink); }
.protocol-gate-message.is-error { background: #FBEAE6; color: #A33A22; }

/* Community nach dem Download */
.protocol-community-followup {
    max-width: 860px;
    margin-top: 56px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--r-lg);
    background: var(--white);
    color: var(--text);
    box-shadow: var(--shadow-3);
}

.protocol-community-followup .protocol-eyebrow { background: var(--chalk-2); border-color: transparent; color: var(--slate); }
.protocol-community-followup h3 { margin-bottom: 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.protocol-community-followup p:not(.protocol-eyebrow) { color: var(--text-2); }
.protocol-community-actions { margin-top: 24px; }
.protocol-community-actions .protocol-btn--light { background: transparent; border-color: var(--line-strong); box-shadow: none; backdrop-filter: none; }
.protocol-community-actions .protocol-btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.protocol-community-notes { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.92rem; }
.protocol-community-notes b { color: var(--text); }

/* Fueling: mehr Ruhe und klare Leseführung */
.protocol-page #fueling .protocol-two-col > div:first-child p { margin-bottom: 1.1em; line-height: 1.8; }
.protocol-page #fueling .protocol-rule p { margin-top: 14px; line-height: 1.75; }

/* Quellen */
.protocol-sources { max-width: 90ch; margin-top: 28px; list-style: none; counter-reset: src; }
.protocol-sources li { position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--line-strong); color: var(--text-2); counter-increment: src; }
.protocol-sources li::before {
    content: counter(src);
    position: absolute;
    left: 0;
    top: 0.85em;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 600;
}

.protocol-license { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-strong); color: var(--slate) !important; font-size: 0.88rem !important; }

/* --- FOOTER --- */
.protocol-footer .protocol-shell { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.protocol-footer .footer-logo { margin-bottom: 6px; }
.protocol-footer .protocol-shell > span { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--text-2); }
.protocol-footer .protocol-shell > a:not(.hub-logo) {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    background: linear-gradient(var(--volt), var(--volt)) left bottom / 0 3px no-repeat;
    transition: background-size 0.3s var(--ease);
}
.protocol-footer .protocol-shell > a:not(.hub-logo):hover { background-size: 100% 3px; }
.protocol-footer .cookie-settings-link { margin-top: 0; }

/* --- RESPONSIVE --- */
@media (min-width: 700px) {
    .protocol-week-rhythm { grid-template-columns: repeat(2, 1fr); }
    .protocol-mode-grid, .protocol-gate-steps, .protocol-fueling-grid { grid-template-columns: repeat(3, 1fr); }
    .protocol-safety-grid, .protocol-community-notes { grid-template-columns: repeat(2, 1fr); }
    .protocol-install-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .protocol-two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
    .protocol-gate { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
    .protocol-gate-form button { align-self: flex-start; }
}

@media (min-width: 1000px) {
    .protocol-hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; }
}

@media (min-width: 1100px) {
    .protocol-week-rhythm { grid-template-columns: repeat(4, 1fr); }
    .protocol-install-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Seitennavigation: mobil seitlich scrollbar statt ausgeblendet */
@media (max-width: 1099px) {
    .protocol-header { flex-wrap: wrap; row-gap: 6px; }
    .protocol-header nav {
        order: 2;
        width: calc(100% + 2 * var(--gutter));
        margin: 0 calc(-1 * var(--gutter));
        padding: 2px var(--gutter) 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-mask: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
        mask: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
    }
    .protocol-header nav::-webkit-scrollbar { display: none; }
    .protocol-header nav a { padding: 7px 14px; font-size: 0.9rem; }
    .protocol-header nav a[href="#downloads"] { margin-left: 0; padding: 7px 16px; }
}

@media (max-width: 700px) {
    .protocol-hero { padding-top: 32px; }
    .protocol-hero .protocol-eyebrow { font-size: 0.82rem; padding: 6px 12px 6px 7px; margin-bottom: 20px; }
    .protocol-hero .protocol-eyebrow::before { width: 14px; height: 14px; box-shadow: inset 0 0 0 4px var(--ink); }
    .protocol-hero h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
    .protocol-actions > a { flex: 1 1 100%; }
    .protocol-section { padding: 64px 0; }
    .protocol-intro, .protocol-section > .protocol-shell > p:not(.protocol-eyebrow) { font-size: 1rem; }
    .protocol-weeks summary { flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 60px 16px 18px; }
    .protocol-weeks details > p { margin: 16px 18px; }
    .protocol-weeks details > table, .protocol-table { min-width: 620px; }
    .protocol-weeks details > table { margin: 0 18px; }
    .protocol-gate { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .protocol-page * { transition: none !important; }
}
