/* H34 sichere Reparatur v1.7 */
.h34-v17-hidden {
    display: none !important;
}

.h34-v17-kicker {
    margin: 0 0 .55rem !important;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #0d627e;
}

.h34-v17-home-history {
    margin: clamp(3rem, 6vw, 5rem) 0;
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid rgba(23, 33, 38, .13);
    border-radius: 18px;
    background: #f4f7f8;
}

.h34-v17-home-history h2 {
    margin: 0 0 .8rem;
}

.h34-v17-history-text {
    margin-bottom: 0;
    max-width: 850px;
    line-height: 1.65;
}

.h34-v17-home-learning {
    margin: .85rem 0 1.3rem;
    padding: .75rem 1rem;
    border-left: 3px solid #0d627e;
    background: #f4f7f8;
    border-radius: 0 10px 10px 0;
    line-height: 1.55;
    font-size: .93rem;
}

.h34-v17-home-learning span:first-child {
    font-weight: 800;
}

/* Lizenzkarten */
.h34-v17-license-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2.2rem;
}

.h34-v17-license-card {
    position: relative;
    padding: 1.35rem;
    border: 1px solid rgba(23, 33, 38, .13);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(22, 43, 53, .06);
}

.h34-v17-license-badge {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #0d627e;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
}

.h34-v17-license-card h3 {
    margin: 0 0 .65rem;
    font-size: 1.18rem;
}

.h34-v17-license-card p {
    margin: 0;
    line-height: 1.62;
    color: #5c6970;
}

/* 50Ohm / Gesetz */
.h34-v17-app-box,
.h34-v17-info-box {
    margin: 1.5rem 0 2.2rem;
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border: 1px solid rgba(23, 33, 38, .13);
    border-radius: 18px;
    background: #f4f7f8;
}

.h34-v17-info-box h2,
.h34-v17-info-box h3 {
    margin: .15rem 0 .7rem;
}

.h34-v17-info-box p,
.h34-v17-app-box p {
    line-height: 1.62;
}

.h34-v17-info-box--compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
}

.h34-v17-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.h34-v17-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .78rem 1rem;
    border-radius: 999px;
    background: #0d627e;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
}

.h34-v17-btn:hover,
.h34-v17-btn:focus {
    background: #07475b;
}

.h34-v17-btn--apple {
    background: #111;
}

.h34-v17-btn--secondary {
    background: #fff;
    color: #172126 !important;
    border: 1px solid rgba(23, 33, 38, .13);
}

.h34-v17-links-extra {
    margin: -.4rem 0 1.2rem;
    line-height: 1.7;
}

/* Technik & Relais */
.h34-tech {
    --a: #0d627e;
    --ad: #07475b;
    --w: #ef7d00;
    --ink: #172126;
    --muted: #5c6970;
    --soft: #f4f7f8;
    --line: rgba(23, 33, 38, .13);
}

.h34-tech__intro,
.h34-tech__lead {
    max-width: 850px;
    line-height: 1.68;
    color: var(--muted);
}

.h34-tech__intro { font-size: 1.08rem; }
.h34-tech__section { margin-top: clamp(3.3rem, 7vw, 6rem); }

.h34-tech__eyebrow {
    margin: 0 0 .55rem;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--a);
}

.h34-tech__section h2 {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -.03em;
}

.h34-tech__lead { margin: .85rem 0 0; }

.h34-tech__cards {
    display: grid;
    gap: 1rem;
    margin-top: 1.7rem;
}

.h34-tech__cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h34-tech__card,
.h34-tech__mini,
.h34-tech__feature {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(22, 43, 53, .055);
}

.h34-tech__card,
.h34-tech__mini { padding: 1.25rem; }

.h34-tech__card h3 {
    margin: .5rem 0 .9rem;
    font-size: 1.3rem;
}

.h34-tech__card p,
.h34-tech__mini p,
.h34-tech__feature p {
    line-height: 1.58;
    color: var(--muted);
}

.h34-tech__tag {
    display: inline-block;
    font-size: .71rem;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--a);
}

.h34-tech__list { padding-left: 1.15rem; }
.h34-tech__list li { margin: .4rem 0; line-height: 1.5; }
.h34-tech__more { margin-bottom: 0 !important; }
.h34-tech__more a { font-weight: 800; }

.h34-tech__feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
    gap: 1.5rem;
    margin-top: 1.7rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.h34-tech__feature h3 {
    margin: .45rem 0 .8rem;
    font-size: 1.5rem;
}

.h34-tech__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
    align-content: start;
}

.h34-tech__facts div {
    padding: .85rem;
    border-radius: 12px;
    background: var(--soft);
}

.h34-tech__facts span,
.h34-tech__facts strong { display: block; }

.h34-tech__facts span {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--muted);
}

.h34-tech__details {
    margin-top: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.h34-tech__details summary {
    cursor: pointer;
    padding: 1rem 1.1rem;
    font-weight: 800;
}

.h34-tech__details p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    line-height: 1.6;
    color: var(--muted);
}

.h34-tech__subheading {
    margin: 2.3rem 0 .2rem;
    font-size: 1.35rem;
}

.h34-tech__mini h4 {
    margin: .45rem 0 .4rem;
    font-size: 1.2rem;
}

.h34-tech__frequency {
    font-size: 1.35rem !important;
    font-weight: 900;
    color: var(--ink) !important;
}

.h34-tech__note {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--w);
    border-radius: 0 12px 12px 0;
    background: var(--soft);
    line-height: 1.6;
}

.h34-tech__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.5rem;
}

.h34-tech__button {
    display: inline-flex;
    padding: .85rem 1.1rem;
    border-radius: 999px;
    background: var(--a);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
}

.h34-tech__button--secondary {
    background: var(--soft);
    color: var(--ink) !important;
    border: 1px solid var(--line);
}

@media (max-width: 900px) {
    .h34-tech__cards--3,
    .h34-tech__feature,
    .h34-v17-license-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .h34-v17-info-box--compact {
        display: block;
    }
}

@media (max-width: 560px) {
    .h34-tech__facts {
        grid-template-columns: 1fr 1fr;
    }

    .h34-tech__actions,
    .h34-v17-actions {
        flex-direction: column;
    }

    .h34-tech__button,
    .h34-v17-btn {
        width: 100%;
    }
}


/* H34 v1.9 – serverseitig eingefügte Restkorrekturen */
.h34-v19-old-history-marker {
    display: none !important;
}

h1:has(.h34-v19-old-history-marker),
h2:has(.h34-v19-old-history-marker),
h3:has(.h34-v19-old-history-marker),
p:has(.h34-v19-old-history-marker),
a:has(.h34-v19-old-history-marker) {
    display: none !important;
}

.h34-v19-history,
.h34-v19-info {
    margin: clamp(2rem, 5vw, 4rem) 0;
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border: 1px solid rgba(23,33,38,.13);
    border-radius: 18px;
    background: #f4f7f8;
}

.h34-v19-history h2,
.h34-v19-info h2,
.h34-v19-info h3 {
    margin: .15rem 0 .75rem;
}

.h34-v19-history p:last-child,
.h34-v19-info p:last-child {
    margin-bottom: 0;
}

.h34-v19-kicker {
    margin: 0 0 .5rem !important;
    color: #0d627e;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.h34-v19-home-learning {
    margin: .9rem 0 1.35rem;
    padding: .8rem 1rem;
    border-left: 3px solid #0d627e;
    border-radius: 0 10px 10px 0;
    background: #f4f7f8;
    line-height: 1.55;
    font-size: .94rem;
}

.h34-v19-info--compact {
    display: flex;
    gap: 1.3rem;
    align-items: center;
    justify-content: space-between;
}

.h34-v19-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.h34-v19-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .78rem 1rem;
    border-radius: 999px;
    background: #0d627e;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
}

.h34-v19-btn--apple {
    background: #111;
}

.h34-v19-btn--secondary {
    border: 1px solid rgba(23,33,38,.13);
    background: #fff;
    color: #172126 !important;
}

.h34-v19-links-extra {
    margin: .6rem 0 1.3rem;
    line-height: 1.7;
}

@media (max-width: 720px) {
    .h34-v19-info--compact {
        display: block;
    }
}

@media (max-width: 560px) {
    .h34-v19-actions {
        flex-direction: column;
    }

    .h34-v19-btn {
        width: 100%;
    }
}


/* H34 v2.0 – Mesh-Vergleich */
.h34-tech__cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.h34-mesh-intro {
    margin-top: 2.6rem;
}

.h34-mesh-intro h3 {
    margin: .2rem 0 .8rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.15;
}

.h34-mesh-intro > p:last-child {
    max-width: 900px;
    line-height: 1.65;
    color: var(--muted);
}

.h34-mesh-cards .h34-tech__mini {
    display: flex;
    flex-direction: column;
}

.h34-mesh-cards .h34-tech__more {
    margin-top: auto !important;
    padding-top: .6rem;
}

.h34-mesh-summary {
    display: grid;
    gap: .55rem;
    margin: 1rem 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #f4f7f8;
    line-height: 1.55;
}

.h34-mesh-summary > strong {
    color: #0d627e;
}

.h34-v20-mesh-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin: 1.2rem 0 2rem;
}

.h34-v20-mesh-quick > div {
    padding: 1rem;
    border: 1px solid rgba(23,33,38,.13);
    border-radius: 14px;
    background: #f4f7f8;
}

.h34-v20-mesh-quick strong,
.h34-v20-mesh-quick span {
    display: block;
}

.h34-v20-mesh-quick span {
    margin-top: .3rem;
    line-height: 1.5;
}

.h34-v20-mesh-quick > p {
    grid-column: 1 / -1;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .h34-tech__cards--2,
    .h34-v20-mesh-quick {
        grid-template-columns: 1fr;
    }
}


/* H34 2.2 – zusätzliche Sicherheit für den entfernten Chronikreferenten */
h2:has(.h34-v19-klaus-marker),
h3:has(.h34-v19-klaus-marker),
h4:has(.h34-v19-klaus-marker),
h5:has(.h34-v19-klaus-marker),
h6:has(.h34-v19-klaus-marker) {
    display: none !important;
}

/* DJ6OI-Eintrag auf der Links-Seite bekommt denselben Abstand wie die Nachbareinträge. */
#h34-v21-dj6oi {
    margin: 1.15rem 0 1.35rem;
}
#h34-v21-dj6oi h3 {
    margin-bottom: .45rem;
}
#h34-v21-dj6oi p {
    margin-top: .35rem;
    margin-bottom: .35rem;
}


/* H34 v2.5 – Abschlusskorrekturen */
.h34-v25-treff-link {
    margin-top: 1.25rem;
    padding: .9rem 1rem;
    border-left: 3px solid #0d627e;
    background: #f4f7f8;
    border-radius: 0 10px 10px 0;
    line-height: 1.6;
}

.h34-v25-privacy-block {
    margin: 2.2rem 0;
    padding: 1.2rem 1.35rem;
    border: 1px solid rgba(23,33,38,.13);
    border-radius: 16px;
    background: #f4f7f8;
}

.h34-v25-privacy-block h2 {
    margin-top: 0;
}

.h34-v25-privacy-block p:last-child {
    margin-bottom: 0;
}


/* H34 v3.0 – direkte Reparatur */
.h34-treff-external-only {
    margin-top: 1.2rem;
    padding: .85rem 1rem;
    border-left: 3px solid #0d627e;
    border-radius: 0 10px 10px 0;
    background: #f4f7f8;
    line-height: 1.6;
}


/* H34 v3.2 – vier Funk- und Technikstandorte */
.h34-tech__cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .h34-tech__cards--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .h34-tech__cards--4 {
        grid-template-columns: 1fr;
    }
}

#db0usd-details {
    scroll-margin-top: 100px;
}


/* H34 v3.3 – Mesh bei DFØUS */
.h34-v33-df0us-mesh {
    margin: 2.4rem 0;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(23,33,38,.13);
    border-radius: 18px;
    background: #f4f7f8;
}

.h34-v33-df0us-mesh h2 {
    margin: .15rem 0 .75rem;
}

.h34-v33-df0us-mesh p {
    line-height: 1.65;
}

.h34-v33-df0us-mesh p:last-child {
    margin-bottom: 0;
}



/* H34 v3.8 – kräftiges Orange für H34 */
.h34-v36-live-legend {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin: 1rem 0 2rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(23, 33, 38, .14);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(23, 33, 38, .045);
    line-height: 1.5;
}

.h34-v36-live-legend__swatch {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: .12rem;
    border: 1px solid rgba(91, 66, 12, .28);
    border-radius: 4px;
    background: #ff6a00;
}

.h34-v36-live-legend > div > strong,
.h34-v36-live-legend > div > span {
    display: block;
}

.h34-v36-live-legend > div > strong {
    margin-bottom: .2rem;
    color: #4a2f0d;
}

.h34-v36-live-legend > div > span {
    color: #4f5960;
}

@media (max-width: 560px) {
    .h34-v36-live-legend {
        padding: .8rem;
        gap: .65rem;
    }
}


/* H34 v3.9 – alte 3.8-Flächenfärbung neutralisieren */
.h34-v38-datenstrom,
.h34-v38-datenstrom strong,
.h34-v38-datenstrom span,
.h34-v38-datenstrom div,
.h34-v38-datenstrom p {
    color: inherit !important;
}


/* H34 v3.9 – wirklich nur diese drei Wörter */
.h34-v39-datenstrom-label {
    color: #ff6a00 !important;
    font-weight: 700;
}
