/* Gemeinsame Bausteine aller Seiten im Stil von Passwort-Generator und
   Fernwartung, zusammengefuehrt am 01.10.2026. Die Praefixe pg-, pw- und rd-
   stammen aus diesen beiden Seiten und bleiben, damit dort nichts bricht.
   Laedt nach site.css und vor allen seitenspezifischen Dateien. */

/* ===== aus pwgen.css ===== */

/* Passwort-Generator (/de/passwort-generator/, /en/password-generator/).
   Laedt nur auf diesen zwei Seiten, nach site.css. Aufbau und Animationen
   stammen vom Generator auf vipmail.app (30.09.2026 uebernommen), das Aussehen
   folgt intelligent-pixel.com: schwarz, Rot als einzige Akzentfarbe, Ecken
   2px, Beschriftungen in gesperrten Versalien, Ueberschriften in Bebas Neue.
   Das Passwort selbst steht in Space Grotesk, weil Bebas nur Versalien kennt
   und Gross- und Kleinschreibung im Passwort sichtbar sein muss. */
.pg-page {
    --pg-red-rgb: 229, 51, 42;
    --pg-line: rgba(255, 255, 255, 0.1);
    --pg-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

@property --aurora-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes pg-aurora { to { --aurora-angle: 360deg; } }

.pw-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- Kopf ---------- */
.pg-lede { max-width: var(--inner-content-max); color: var(--text-strong); font-size: 1.02rem; line-height: 1.75; font-weight: 300; margin: 1.5rem 0 0; }

/* ---------- Buehne und Karte ---------- */
.pg-wrap { max-width: var(--content-max); margin: 0 auto; padding: 4rem var(--page-pad-x) 6rem; }

.pg-stage { position: relative; }

/* Gepunktetes Raster und roter Schimmer hinter der Karte, zum Rand hin
   ausgeblendet. Reine Dekoration. */
.pg-stage::before {
    content: '';
    position: absolute; left: 50%; top: -6rem;
    width: min(1600px, 140vw); height: calc(100% + 12rem);
    transform: translateX(-50%);
    background:
        radial-gradient(closest-side at 50% 45%, rgba(var(--pg-red-rgb), 0.12), transparent 72%),
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px) 0 0 / 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
    pointer-events: none;
    z-index: -1;
}

.pwgen-halo {
    position: absolute; inset: 8% 6% auto; height: 70%;
    background: radial-gradient(closest-side, rgba(var(--pg-red-rgb), 0.2), transparent);
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.pg-stage:has(.pwgen-card.is-pulsing) .pwgen-halo { animation: pw-halo 1.2s var(--pg-ease); }

@keyframes pw-halo {
    0% { opacity: 0.7; transform: scale(1); }
    30% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(1); }
}

.pwgen-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: clamp(24px, 4vw, 56px) clamp(18px, 4.4vw, 64px) clamp(26px, 3.6vw, 48px);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.85);
    background:
        radial-gradient(560px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(var(--pg-red-rgb), 0.1), transparent 60%) padding-box,
        linear-gradient(180deg, #0d0d0d, #050505 40%) padding-box,
        conic-gradient(from var(--aurora-angle, 0deg), rgba(255, 255, 255, 0.08) 0%, rgba(var(--pg-red-rgb), 0.85) 8%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0.08) 76%, rgba(var(--pg-red-rgb), 0.5) 92%, rgba(255, 255, 255, 0.08) 100%) border-box;
    animation: pg-aurora 9s linear infinite;
}

/* Scanstrahl, der bei jedem neuen Passwort einmal ueber die Karte zieht. */
.pwgen-card::after {
    content: '';
    position: absolute; top: 0; bottom: 0; left: 0;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(var(--pg-red-rgb), 0.08) 40%, rgba(255, 150, 140, 0.14) 50%, rgba(var(--pg-red-rgb), 0.08) 60%, transparent);
    transform: translateX(-120%) skewX(-12deg);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
}

.pwgen-card.is-pulsing::after { animation: pw-scan 1.1s var(--pg-ease); }

@keyframes pw-scan {
    0% { transform: translateX(-120%) skewX(-12deg); opacity: 1; }
    100% { transform: translateX(320%) skewX(-12deg); opacity: 1; }
}

.pwgen-card__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px 20px; flex-wrap: wrap;
    margin-bottom: clamp(22px, 3vw, 36px);
}

.pg-label, .pw-label {
    display: block;
    font-size: 0.62rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--red);
    margin: 0; padding: 0;
}

.pw-label { color: var(--text-faint); margin: 0 0 0.9rem; }

.pw-local {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mid);
    padding: 0.45rem 0.8rem 0.45rem 0.7rem;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: rgba(0, 0, 0, 0.5);
}

.pw-local svg { width: 14px; height: 14px; color: var(--red); flex-shrink: 0; }

/* Gruen bleibt: der Punkt heisst "laeuft lokal", nicht "Marke". */
.pw-local__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #3ecf8e;
    box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.6);
    animation: pw-live 2.4s ease-out infinite;
}

@keyframes pw-live {
    0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.55); }
    70%, 100% { box-shadow: 0 0 0 7px rgba(62, 207, 142, 0); }
}

.pg-btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
    min-height: 52px; min-width: 200px;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--white); background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 2px;
    padding: 0 2rem; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pg-btn svg { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 1.9; }

.pg-btn--primary { background: var(--red); border-color: var(--red); }

.pg-btn--primary::after {
    content: '';
    position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s var(--pg-ease);
    pointer-events: none;
}

.pg-btn--primary:hover::after { left: 120%; }

.pg-btn--primary:hover { background: #f03b31; }

.pg-btn--ghost:hover { border-color: var(--red); color: var(--white); }

.pg-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

@keyframes pw-pop {
    0% { transform: scale(0.4); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

.pw-stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: clamp(24px, 3vw, 36px) 0 0;
    border: 1px solid var(--pg-line);
    background: var(--pg-line);
}

.pw-stats > div { background: #000; padding: 1rem 1.15rem; min-width: 0; }

.pw-stats dt { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.45rem; }

.pw-stats dd { margin: 0; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.pw-stats sup { font-size: 0.6em; line-height: 0; }

.pw-footnote { margin-top: 0.9rem; font-size: 0.78rem; line-height: 1.65; color: var(--text-dim); font-weight: 300; }

/* ---------- Abschnitte unter der Karte ---------- */
.pg-section { margin-top: clamp(72px, 9vw, 120px); }

.pg-section__head { max-width: var(--inner-content-max); margin-bottom: 2rem; }

/* Eigene Klasse statt .red-label: icon-init.js setzt vor manche .red-label ein
   Symbol, je nach Wortlaut, und die vier Abschnitte sollen gleich aussehen. */
.pg-eyebrow { display: block; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; }

.pg-section__head h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: 0.04em; color: var(--white); margin-bottom: 1rem; }

.pg-section__head p { font-size: 0.975rem; line-height: 1.82; color: var(--text-dim); }

.pw-anatomy { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 14px; }

.pw-an__tile {
    flex: 1 1 150px;
    display: flex; flex-direction: column; justify-content: center;
    gap: 0.6rem;
    padding: 1.4rem 1.2rem;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: var(--gray-dark);
    text-align: center;
    min-width: 0;
}

.pw-an__tile--result { border-color: rgba(var(--pg-red-rgb), 0.55); background: linear-gradient(180deg, rgba(var(--pg-red-rgb), 0.12), var(--gray-dark)); }

.pw-an__value { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; color: var(--white); overflow-wrap: anywhere; }

.pw-an__value--digit { color: var(--red); }

.pw-an__caption { font-size: 0.8rem; line-height: 1.5; color: var(--text-dim); font-weight: 300; }

.pw-an__op { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 22px; font-weight: 300; color: var(--text-faint); }

.pg-features {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--pg-line);
    border: 1px solid var(--pg-line);
}

.pg-feature { background: #000; padding: 2rem 1.8rem; transition: background 0.3s var(--pg-ease); }

.pg-feature:hover { background: var(--gray-dark); }

.pg-feature .lucide { width: 24px; height: 24px; color: var(--red); margin-bottom: 1.3rem; stroke-width: 1.7; }

.pg-feature h3, .pw-rule h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--text-strong); margin-bottom: 0.6rem; line-height: 1.05; }

.pg-feature p, .pw-rule p { font-size: 0.9rem; line-height: 1.75; color: var(--text-dim); font-weight: 300; }

.pw-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.pw-rule {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.4rem 1.4rem 1.4rem 1.25rem;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: var(--gray-dark);
    transition: border-color 0.25s var(--pg-ease);
}

.pw-rule:hover { border-color: rgba(var(--pg-red-rgb), 0.5); }

.pw-rule__icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; flex-shrink: 0;
    border: 1px solid rgba(var(--pg-red-rgb), 0.5);
    color: var(--red);
}

.pw-rule__icon .lucide { width: 18px; height: 18px; stroke-width: 1.7; }

.pw-rule h3 { margin-top: 0.3rem; }

@media (max-width: 900px) {
    .pg-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pg-wrap { padding: 3rem var(--page-pad-mobile) 4.5rem; }
    .pwgen-card__top { justify-content: center; }
    .pw-stats { grid-template-columns: 1fr; }
    .pw-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0.85rem 1rem; }
    .pw-stats dt { margin: 0; }
    .pw-stats dd { text-align: right; }
    .pw-rules { grid-template-columns: 1fr; }
    .pw-anatomy { flex-direction: column; }
    .pw-an__tile { flex: 1 1 auto; }
    .pw-an__op { padding: 0; line-height: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .pwgen-card { animation: none; }
    .pwgen-card::after,
    .pg-stage:has(.pwgen-card.is-pulsing) .pwgen-halo { animation: none; }
    .pw-local__dot { animation: none; }
}

/* ===== aus rd.css ===== */

/* Fernwartung (/rustdesk/, /rustdesk/en/), angelegt am 01.10.2026.
   Laedt nach site.css und pwgen.css und nutzt deren Bausteine (Karte mit
   umlaufendem Rand, Knoepfe, Abschnittskoepfe, Kacheln). Hier steht nur, was
   die Fernwartungsseite zusaetzlich braucht: das Verbindungsschema mit
   wandernden Paketen, das Sitzungsprotokoll, die Download-Karten, den
   Ablauf und die Fragen. Die Seite ist nur im Footer verlinkt und nicht
   indexiert (X-Robots-Tag im nginx-vHost). */
.rd-page { --rd-green: 62, 207, 142; }

/* Einblenden nur, wenn JavaScript laeuft: ohne Skript bleibt alles sichtbar. */
.rd-js .rd-page [data-home-reveal]:not(.is-visible) { opacity: 0; transform: translateY(26px); }

/* ---------- Kopf ---------- */
.rd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 2.2rem; }

.rd-hero-actions .pg-btn { text-decoration: none; }

.rd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; padding: 0; list-style: none; }

.rd-chip {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mid);
    padding: 0.5rem 0.85rem 0.5rem 0.75rem;
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: rgba(0, 0, 0, 0.5);
}

.rd-chip .lucide { width: 14px; height: 14px; color: var(--red); stroke-width: 1.8; }

/* Sitzungsprotokoll unter dem Schema. */
.rd-term {
    margin-top: clamp(18px, 2.6vw, 30px);
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: #000;
}

.rd-term__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--pg-line);
    font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint);
}

.rd-term__dots { display: inline-flex; gap: 6px; }

.rd-term__dots span { width: 7px; height: 7px; background: var(--gray-light); }

.rd-term__dots span:first-child { background: var(--red); }

.rd-term__id { color: var(--text-mid); font-variant-numeric: tabular-nums; letter-spacing: 0.18em; }

.rd-term__id b { color: var(--white); font-weight: 700; }

.rd-term__body {
    min-height: calc(6 * 1.9em + 1.6rem);
    padding: 0.8rem 1rem;
    font-size: clamp(0.74rem, 1.1vw, 0.86rem); line-height: 1.9;
    color: var(--text-mid);
    font-variant-numeric: tabular-nums;
}

.rd-line { display: flex; gap: 0.8rem; align-items: baseline; }

.rd-line__t { color: var(--text-faint); flex-shrink: 0; }

.rd-line__ok { margin-left: auto; padding-left: 1rem; color: rgb(var(--rd-green)); letter-spacing: 0.14em; font-size: 0.85em; flex-shrink: 0; }

.rd-line--accent { color: var(--white); }

.rd-line.is-new { animation: rd-line-in 0.35s var(--pg-ease) both; }

@keyframes rd-line-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

.rd-caret { display: inline-block; width: 0.55em; height: 1.05em; background: var(--red); vertical-align: -0.15em; animation: rd-blink 1s steps(1) infinite; }

@keyframes rd-blink { 50% { opacity: 0; } }

.rd-term__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--pg-line);
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint);
}

.rd-state { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text-mid); }

.rd-state__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-light); transition: background 0.3s; }

.rd-state.is-live { color: var(--white); }

.rd-state.is-live .rd-state__dot { background: rgb(var(--rd-green)); animation: pw-live 2.4s ease-out infinite; }

.rd-state__time { font-variant-numeric: tabular-nums; color: var(--white); letter-spacing: 0.12em; }

/* ---------- Ablauf ---------- */
.rd-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: rd-step; }

.rd-steps::before {
    content: '';
    position: absolute; left: 22px; right: 22px; top: 22px;
    height: 1px; background: var(--gray-light);
}

.rd-steps::after {
    content: '';
    position: absolute; left: 22px; right: 22px; top: 22px;
    height: 1px; background: linear-gradient(90deg, var(--red), #ff7a70);
    transform-origin: left; transform: scaleX(0);
    transition: transform 1.6s var(--pg-ease) 0.25s;
}

.is-visible > .rd-steps::after, .rd-steps.is-visible::after { transform: scaleX(1); }

.rd-step { position: relative; counter-increment: rd-step; }

.rd-step__num {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: #000; border: 1px solid rgba(var(--pg-red-rgb), 0.6); border-radius: 2px;
    color: var(--red); font-weight: 700; font-size: 0.9rem;
}

.rd-step__num::before { content: '0' counter(rd-step); }

.rd-step h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.5rem; letter-spacing: 0.04em; line-height: 1.05; margin: 1.2rem 0 0.55rem; color: var(--text-strong); }

.rd-step p { font-size: 0.9rem; line-height: 1.75; color: var(--text-dim); font-weight: 300; }

.rd-compare { border: 1px solid var(--pg-line); border-radius: 2px; background: var(--gray-dark); }

.rd-compare__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.rd-compare__row + .rd-compare__row { border-top: 1px solid var(--pg-line); }

.rd-compare__row > div { padding: 0.9rem 1rem; font-size: 0.84rem; line-height: 1.55; color: var(--text-dim); font-weight: 300; }

.rd-compare__row > div + div { border-left: 1px solid var(--pg-line); color: var(--white); font-weight: 400; }

.rd-compare__head > div { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint); font-weight: 400; }

.rd-compare__head > div + div { color: var(--red); }

.rd-features { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Warnhinweis ---------- */
.rd-warn {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid rgba(var(--pg-red-rgb), 0.55); border-radius: 2px;
    background: linear-gradient(135deg, rgba(var(--pg-red-rgb), 0.14), rgba(0, 0, 0, 0) 60%);
}

.rd-warn__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; background: var(--red); color: var(--white); border-radius: 2px; }

.rd-warn__icon .lucide { width: 22px; height: 22px; }

.rd-warn h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: 0.04em; line-height: 1; margin-bottom: 0.6rem; }

.rd-warn p { font-size: 0.93rem; line-height: 1.75; color: var(--text-strong); font-weight: 300; }

/* ---------- Fragen ---------- */
.rd-faq { border-top: 1px solid var(--pg-line); }

.rd-faq details { border-bottom: 1px solid var(--pg-line); }

.rd-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.25rem 0.2rem;
    cursor: pointer; list-style: none;
    font-size: 1rem; color: var(--text-strong);
    transition: color 0.2s var(--pg-ease);
}

.rd-faq summary::-webkit-details-marker { display: none; }

.rd-faq summary:hover { color: var(--white); }

.rd-faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.rd-faq__plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }

.rd-faq__plus::before, .rd-faq__plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--red); transition: transform 0.3s var(--pg-ease); }

.rd-faq__plus::after { transform: rotate(90deg); }

.rd-faq details[open] .rd-faq__plus::after { transform: rotate(0deg); }

.rd-faq__a { padding: 0 0.2rem 1.4rem; max-width: var(--inner-content-max); }

.rd-faq__a p { font-size: 0.93rem; line-height: 1.8; color: var(--text-dim); font-weight: 300; }

.rd-faq__a a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(var(--pg-red-rgb), 0.7); }

.rd-faq details[open] .rd-faq__a { animation: rd-line-in 0.35s var(--pg-ease) both; }

/* ---------- Abschluss ---------- */
.rd-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: radial-gradient(600px circle at 0% 0%, rgba(var(--pg-red-rgb), 0.16), transparent 60%), var(--gray-dark);
}

.rd-cta h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: 0.04em; line-height: 1; }

.rd-cta p { margin-top: 0.6rem; font-size: 0.93rem; line-height: 1.7; color: var(--text-dim); font-weight: 300; max-width: 520px; }

.rd-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.rd-cta__btns .pg-btn { text-decoration: none; }

@media (max-width: 1024px) {
    .rd-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .rd-steps::before, .rd-steps::after { display: none; }
}

@media (max-width: 640px) {
    .rd-features { grid-template-columns: 1fr; }
    .rd-steps { grid-template-columns: 1fr; }
    .rd-term__id { display: none; }
    .rd-line__t { display: none; }
    .rd-hero-actions .pg-btn { flex: 1 1 100%; }
    .rd-warn { flex-direction: column; }
    .rd-cta__btns { width: 100%; }
    .rd-cta__btns .pg-btn { flex: 1 1 100%; }
    .rd-compare__row > div { padding: 0.75rem; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .rd-js .rd-page [data-home-reveal]:not(.is-visible) { opacity: 1; transform: none; }
    .rd-caret,
    .rd-state.is-live .rd-state__dot { animation: none; }
    .rd-steps::after { transition: none; }
    .rd-line.is-new, .rd-faq details[open] .rd-faq__a { animation: none; }
}

/* ===== Neue Bausteine fuer Startseite und IPServerSec (01.10.2026) =====
   Gleiche Sprache wie Passwort-Generator und Fernwartung: schwarz, Rot als
   einzige Akzentfarbe, Ecken 2px, Ueberschriften in Bebas Neue. Alle Texte
   stehen im HTML; die Skripte in components.js zaehlen und blenden nur ein. */

/* Einblenden nur, wenn JavaScript laeuft, und nur im neuen Inhaltsbereich.
   Der Kopf der Startseite (Partikelnetz, grosser Schriftzug) bleibt
   ausdruecklich unberuehrt. */
.ux-js .ux-page [data-home-reveal]:not(.is-visible) { opacity: 0; transform: translateY(26px); }

.ux-page { position: relative; }
/* overflow: hidden aus .pg-page wuerde position: sticky (Mail, Protokoll,
   Schichten-Stapel) wirkungslos machen. clip schneidet nur seitlich ab. */
.ux-page.pg-page { overflow: visible; overflow-x: clip; }
.ux-page .pg-wrap { padding-top: 2rem; }
.ux-sec { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.ux-sec:first-child { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Abschnittskopf ---------- */
.ux-head { max-width: 920px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.ux-head h2 {
    font-family: 'Bebas Neue', sans-serif; font-weight: 400;
    font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; letter-spacing: 0.02em;
    color: var(--white); margin-bottom: 1.4rem;
}
.ux-head h2 .red { color: var(--red); }
.ux-lede {
    font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.45; font-weight: 400;
    color: var(--white); letter-spacing: -0.01em; max-width: 880px;
}
.ux-lede a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(var(--pg-red-rgb), 0.8); }

/* ---------- Fliesstext ---------- */
.ux-prose { max-width: var(--inner-content-max); }
.ux-prose p, .ux-cols p, .ux-card p {
    font-size: 0.985rem; line-height: 1.85; color: var(--text-mid); font-weight: 300;
}
.ux-prose p + p, .ux-cols p + p, .ux-card p + p { margin-top: 1.1rem; }
.ux-prose a, .ux-cols a, .ux-card a, .ux-layer a {
    color: var(--white); text-decoration: none;
    border-bottom: 1px solid rgba(var(--pg-red-rgb), 0.75);
    transition: border-color 0.2s, color 0.2s;
}
.ux-prose a:hover, .ux-cols a:hover, .ux-card a:hover, .ux-layer a:hover { color: var(--red); border-color: var(--red); }
.ux-prose strong, .ux-cols strong, .ux-card strong { color: var(--white); font-weight: 700; }
.ux-prose h3 {
    font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    letter-spacing: 0.03em; line-height: 1; color: var(--white); margin: 2.6rem 0 1rem;
}
.ux-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem clamp(28px, 4vw, 64px); }
.ux-cols > p + p { margin-top: 0; }
.ux-block { margin-top: clamp(28px, 3.5vw, 44px); }
.ux-sub {
    font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem);
    letter-spacing: 0.03em; line-height: 0.95; color: var(--white);
    margin: clamp(56px, 7vw, 96px) 0 1.4rem; max-width: 900px;
}
.ux-sub::before {
    content: ''; display: block; width: 48px; height: 2px; background: var(--red); margin-bottom: 1.1rem;
}

/* ---------- Karten ---------- */
.ux-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ux-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ux-card {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(22px, 2.8vw, 34px);
    border: 1px solid var(--pg-line); border-radius: 2px;
    background:
        radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, -20%), rgba(var(--pg-red-rgb), 0.11), transparent 60%),
        linear-gradient(180deg, #0c0c0c, #050505);
    transition: border-color 0.3s var(--pg-ease), transform 0.3s var(--pg-ease), box-shadow 0.3s var(--pg-ease);
}
.ux-card:hover { border-color: rgba(var(--pg-red-rgb), 0.5); transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(var(--pg-red-rgb), 0.55); }
.ux-card--alert { border-color: rgba(var(--pg-red-rgb), 0.55); background: linear-gradient(150deg, rgba(var(--pg-red-rgb), 0.16), rgba(0, 0, 0, 0) 55%), #070707; }
.ux-card__icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: 1.3rem;
    border: 1px solid rgba(var(--pg-red-rgb), 0.55); border-radius: 2px; color: var(--red);
}
.ux-card--alert .ux-card__icon { background: var(--red); border-color: var(--red); color: var(--white); }
.ux-card__icon .lucide { width: 20px; height: 20px; stroke-width: 1.7; }
.ux-card h3 {
    font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.7rem; letter-spacing: 0.04em;
    line-height: 1; color: var(--white); margin-bottom: 0.8rem;
}

/* ---------- Zitat ---------- */
.ux-quote {
    position: relative; margin: clamp(36px, 5vw, 64px) 0;
    padding: clamp(24px, 3.5vw, 44px) clamp(22px, 4vw, 56px);
    border-left: 2px solid var(--red);
    background: linear-gradient(90deg, rgba(var(--pg-red-rgb), 0.1), transparent 70%);
}
.ux-quote p {
    font-family: 'Bebas Neue', sans-serif; font-weight: 400;
    font-size: clamp(1.9rem, 3.8vw, 3.3rem); line-height: 1.02; letter-spacing: 0.02em; color: var(--white);
    max-width: 1000px;
}
.ux-statement {
    font-family: 'Bebas Neue', sans-serif; font-weight: 400; color: var(--red);
    font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.95; letter-spacing: 0.02em;
    margin: clamp(32px, 4vw, 56px) 0;
}

/* ---------- Zahlen ---------- */
.ux-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--pg-line); border: 1px solid var(--pg-line); }
.ux-stat { background: #000; padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2vw, 26px); min-width: 0; transition: background 0.3s var(--pg-ease); }
.ux-stat:hover { background: var(--gray-dark); }
.ux-stat__value {
    display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400;
    font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 0.95; letter-spacing: 0.01em;
    color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ux-stat__value small { font-size: 0.5em; color: var(--white); letter-spacing: 0.04em; margin-left: 0.15em; }
.ux-stat__label { display: block; margin-top: 0.7rem; font-size: 0.82rem; line-height: 1.55; color: var(--text-dim); font-weight: 300; }

/* Grosse Zahl in der Karte mit umlaufendem Rand */
.ux-big { text-align: center; }
.ux-big__value {
    display: block; font-family: 'Bebas Neue', sans-serif; font-weight: 400;
    font-size: clamp(3rem, 10vw, 9rem); line-height: 0.9; letter-spacing: 0.02em;
    color: var(--white); font-variant-numeric: tabular-nums;
    text-shadow: 0 0 60px rgba(var(--pg-red-rgb), 0.35);
}
.ux-big__value .red { color: var(--red); }
.ux-big__label {
    display: block; margin-top: 1rem;
    font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-faint);
}
.ux-big .pw-anatomy { margin-top: clamp(26px, 3vw, 40px); }

/* Live-Zaehler */
.ux-live__num.is-tick { animation: ux-tick 0.6s var(--pg-ease); }
@keyframes ux-tick {
    0% { color: var(--red); transform: scale(1.06); text-shadow: 0 0 80px rgba(var(--pg-red-rgb), 0.9); }
    100% { color: var(--white); transform: scale(1); }
}
.ux-live__num { display: inline-block; }
.ux-live__note { margin: 1.2rem auto 0; max-width: 640px; font-size: 0.82rem; line-height: 1.65; color: var(--text-dim); font-weight: 300; }

/* ---------- Knopfzeile ---------- */
.ux-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(24px, 3vw, 36px); }
.ux-actions .pg-btn, .ux-cta-link .pg-btn { text-decoration: none; }
.ux-actions p { margin: 0; }
.ux-actions a.pg-btn { min-width: 0; }
/* Die Originalabsaetze mit Link werden als Knopf dargestellt, ohne Text zu aendern. */
.ux-cta-link { margin: clamp(24px, 3vw, 36px) 0 0; }
.ux-cta-link a {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 0.8rem;
    min-height: 52px; padding: 0 1.8rem;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--white); text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 2px;
    transition: border-color 0.2s, background 0.2s;
}
.ux-cta-link a::after { content: '→'; color: var(--red); letter-spacing: 0; font-size: 1rem; transition: transform 0.25s var(--pg-ease); }
.ux-cta-link a:hover { border-color: var(--red); background: rgba(var(--pg-red-rgb), 0.08); }
.ux-cta-link a:hover::after { transform: translateX(4px); }
.ux-cta-link--primary a { background: var(--red); border-color: var(--red); }
.ux-cta-link--primary a::after { color: var(--white); }
.ux-cta-link--primary a:hover { background: #f03b31; }
.ux-cta-link a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Gefaelschte Mail (Darstellung) ---------- */
.ux-mail { border: 1px solid var(--pg-line); border-radius: 2px; background: #050505; overflow: hidden; }
.ux-mail__bar {
    display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--pg-line);
    font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint);
}
.ux-mail__bar .lucide { width: 14px; height: 14px; color: var(--red); }
.ux-mail__head { padding: 1rem 1.2rem 0.4rem; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; font-size: 0.84rem; }
.ux-mail__head dt { color: var(--text-faint); }
.ux-mail__head dd { margin: 0; color: var(--white); }
.ux-mail__body { padding: 0.8rem 1.2rem 1.2rem; font-size: 0.95rem; line-height: 1.7; color: var(--text-strong); }
.ux-mail__checks { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 1.2rem 1.2rem; margin: 0; list-style: none; }
.ux-mail__checks li {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.4rem 0.7rem; border: 1px solid var(--pg-line); border-radius: 2px;
    font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid);
}
.ux-mail__checks li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--rd-green)); }
.ux-mail__checks li.is-bad { border-color: rgba(var(--pg-red-rgb), 0.7); color: var(--white); background: rgba(var(--pg-red-rgb), 0.12); }
.ux-mail__checks li.is-bad::before { background: var(--red); animation: pw-live 2.4s ease-out infinite; box-shadow: 0 0 0 0 rgba(var(--pg-red-rgb), 0.6); }
.ux-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ux-split--rev { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.ux-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ux-sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Schichten-Stapel (IPServerSec) ---------- */
.ux-stack { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ux-stack__visual { position: sticky; top: calc(var(--header-h) + 24px); perspective: 1400px; padding: 9.5rem 0 2rem; }
.ux-plates { position: relative; transform: rotateX(52deg) rotateZ(-38deg); transform-style: preserve-3d; margin: 2rem auto 0; width: min(330px, 80%); aspect-ratio: 1; }
.ux-plate {
    position: absolute; inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 4px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.92), rgba(6, 6, 6, 0.92));
    transform: translateZ(calc(var(--i) * 28px));
    transition: transform 0.6s var(--pg-ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.ux-plate::after {
    content: attr(data-label); position: absolute; left: 10%; bottom: 8%;
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
    transition: color 0.4s;
}
.ux-plate.is-active {
    border-color: var(--red);
    background: linear-gradient(135deg, rgba(var(--pg-red-rgb), 0.35), rgba(10, 10, 10, 0.95));
    transform: translateZ(calc(var(--i) * 28px + 20px));
    box-shadow: 0 0 40px rgba(var(--pg-red-rgb), 0.45);
}
.ux-plate.is-active::after { color: var(--white); }
.ux-plate--mind { border-style: dashed; border-color: rgba(var(--pg-red-rgb), 0.7); background: rgba(var(--pg-red-rgb), 0.08); animation: ux-mind 3.2s ease-in-out infinite; }
@keyframes ux-mind {
    0%, 100% { box-shadow: 0 0 0 rgba(var(--pg-red-rgb), 0); }
    50% { box-shadow: 0 0 60px rgba(var(--pg-red-rgb), 0.55); }
}
.ux-stack__legend { margin-top: 2.2rem; text-align: center; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-faint); }
.ux-stack__legend b { color: var(--red); font-weight: 400; }
.ux-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: ux-layer; }
.ux-layer {
    position: relative; counter-increment: ux-layer;
    padding: clamp(22px, 2.6vw, 32px) clamp(20px, 2.6vw, 32px) clamp(22px, 2.6vw, 32px) clamp(64px, 6vw, 84px);
    border: 1px solid var(--pg-line); border-radius: 2px; background: #050505;
    transition: border-color 0.35s, background 0.35s;
}
.ux-layer::before {
    content: counter(ux-layer, decimal-leading-zero);
    position: absolute; left: clamp(18px, 2vw, 26px); top: clamp(22px, 2.6vw, 32px);
    font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; line-height: 1; color: rgba(255, 255, 255, 0.25);
    transition: color 0.35s;
}
.ux-layer.is-active { border-color: rgba(var(--pg-red-rgb), 0.6); background: linear-gradient(150deg, rgba(var(--pg-red-rgb), 0.1), #050505 60%); }
.ux-layer.is-active::before { color: var(--red); }
.ux-layer h4, .ux-layer__h { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.8rem; letter-spacing: 0.04em; line-height: 1; color: var(--white); margin-bottom: 0.9rem; }
.ux-layer p { font-size: 0.95rem; line-height: 1.8; color: var(--text-mid); font-weight: 300; }
.ux-layer p + p { margin-top: 1rem; }

.ux-bad { color: var(--red) !important; }
.rd-warn .ux-warn-h { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: 0.04em; line-height: 1; margin-bottom: 0.6rem; color: var(--white); }
.rd-warn a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(var(--pg-red-rgb), 0.8); }
.ux-contact .ux-contact-h { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; letter-spacing: 0.02em; color: var(--white); margin-bottom: 1.4rem; }
.ux-contact .ux-cols, .ux-contact .ux-prose { margin-top: 1.6rem; }

/* ---------- Fakten aus dem Seitenrand (IPServerSec) ---------- */
.ux-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--pg-line); border: 1px solid var(--pg-line); margin: 0; }
.ux-spec > span { display: block; background: #000; padding: 1rem 1.15rem; font-size: 0.92rem; line-height: 1.5; color: var(--white); }
.ux-spec > span strong { display: block; margin-bottom: 0.45rem; font-size: 0.6rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-faint); }
.ux-spec a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(var(--pg-red-rgb), 0.75); }
.ux-kicker { display: block; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; }

/* Kontaktwege als Knoepfe (Originalabsatz, nur anders dargestellt) */
/* Die Beschriftungen "Telegram:" und "E-Mail:" bleiben sichtbar; nur die
   Links werden zu Knoepfen, der Umbruch dazwischen entfaellt. */
.ux-contact-links { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 1.4rem !important; color: var(--text-dim); }
.ux-contact-links br { display: none; }
.ux-contact-links a {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.4rem;
    font-size: 0.78rem; line-height: 1; letter-spacing: 0.08em; color: var(--white) !important; text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18) !important; border-radius: 2px;
    transition: border-color 0.2s, background 0.2s;
}
.ux-contact-links a:hover { border-color: var(--red) !important; background: rgba(var(--pg-red-rgb), 0.1); }
.ux-contact-links a:first-of-type { background: var(--red); border-color: var(--red) !important; }

/* ---------- Breiten ---------- */
@media (max-width: 1024px) {
    .ux-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ux-stack { grid-template-columns: 1fr; }
    .ux-stack__visual { position: relative; top: 0; max-width: 420px; margin: 0 auto; padding-top: 7rem; }
}
@media (max-width: 900px) {
    .ux-cols, .ux-split, .ux-split--rev, .ux-split--even { grid-template-columns: 1fr; }
    .ux-sticky { position: static; }
}
@media (max-width: 640px) {
    .ux-cards, .ux-cards--3 { grid-template-columns: 1fr; }
    .ux-stats { grid-template-columns: 1fr 1fr; }
    .ux-stat__value { font-size: 2.4rem; }
    .ux-quote { padding: 22px 18px; }
    .ux-layer { padding-left: 58px; }
    .ux-plates { width: 70%; }
    .ux-cta-link a { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ux-js .ux-page [data-home-reveal]:not(.is-visible) { opacity: 1; transform: none; }
    .ux-card, .ux-card:hover { transition: none; transform: none; }
    .ux-live__num.is-tick, .ux-plate--mind, .ux-mail__checks li.is-bad::before { animation: none; }
    .ux-plate, .ux-layer { transition: none; }
}
/* ===== Bausteine fuer WordPress, Ueber, Kontakt und Rechtsseiten (01.10.2026) ===== */

/* ---------- Vergleich und Hinweis (WordPress) ---------- */
.ux-page .rd-compare { margin-top: clamp(28px, 3.5vw, 44px); }
.ux-legal-note { margin-top: clamp(32px, 4vw, 48px); max-width: var(--inner-content-max); font-size: 0.8rem; line-height: 1.7; color: var(--text-faint); }
.ux-legal-note em { font-style: normal; }

/* ---------- Abschluss-Box ---------- */
.ux-page .rd-cta { margin-top: clamp(32px, 4vw, 56px); }
.ux-cta-text { font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--white); max-width: 700px; }
.ux-cta-text strong { font-weight: 400; }
.ux-page .rd-cta .pg-btn { text-decoration: none; }

/* ---------- Portrait (Ueber) ---------- */
.ux-portrait { padding: clamp(14px, 1.6vw, 20px) !important; }
.ux-portrait .aside-figure { display: block; width: 100%; margin: 0; }
.ux-portrait .aside-figure img { width: 100%; height: auto; }
.ux-portrait .aside-figure-cap { display: block; margin-top: 0.9rem; }
.ux-person { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.ux-person .ux-head { margin-bottom: 1.6rem; }

/* ---------- Zeitleiste (Ueber) ---------- */
.ux-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(18px, 2.4vw, 28px); }
.ux-timeline::before {
    content: ''; position: absolute; left: 0; top: 0.6rem; bottom: 0.6rem; width: 1px;
    background: linear-gradient(180deg, var(--red), rgba(var(--pg-red-rgb), 0.15));
}
.ux-tl { position: relative; padding-left: clamp(28px, 3.5vw, 48px); display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 0.4rem clamp(18px, 3vw, 40px); align-items: baseline; }
.ux-tl::before {
    content: ''; position: absolute; left: -5px; top: 0.55rem; width: 11px; height: 11px;
    background: #000; border: 2px solid var(--red); border-radius: 2px;
}
.ux-tl:last-child::before { background: var(--red); box-shadow: 0 0 18px rgba(var(--pg-red-rgb), 0.8); }
.ux-tl__when { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: 0.03em; color: var(--red); }
.ux-tl p { font-size: 0.985rem; line-height: 1.85; color: var(--text-mid); font-weight: 300; }
.ux-tl a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(var(--pg-red-rgb), 0.75); }
.ux-tl a .lucide-icon { width: 0.85rem; height: 0.85rem; color: var(--red); margin-right: 0.3rem; vertical-align: -0.1em; }

/* ---------- Drei Schritte ---------- */
.rd-steps.ux-steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ux-steps3 .rd-step h3 { margin-bottom: 0; }

/* Karte mit grossem Zeichen links (Ueber: "der Richtige") */
.ux-card--wide { display: flex; gap: 1.4rem; align-items: flex-start; }
.ux-card--wide .ux-card__icon { flex-shrink: 0; margin-bottom: 0; }
.ux-card--wide p { font-size: 1.05rem; color: var(--text-strong); }

/* ---------- Kontakt ---------- */
.ux-contact-page { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.ux-contact-page .ux-head h2 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.ux-contact-side { position: sticky; top: calc(var(--header-h) + 32px); }
.ux-contact-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 0.4rem; }
.ux-contact-buttons a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 56px; padding: 0 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 2px;
    background: linear-gradient(180deg, #0c0c0c, #050505);
    color: var(--white); text-decoration: none; font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
}
.ux-contact-buttons a::after { content: '→'; color: var(--red); transition: transform 0.25s var(--pg-ease); }
.ux-contact-buttons a:hover { border-color: var(--red); background: rgba(var(--pg-red-rgb), 0.08); }
.ux-contact-buttons a:hover::after { transform: translateX(4px); }
.ux-contact-page .ux-steps3 { margin-top: clamp(28px, 3.5vw, 44px); grid-template-columns: 1fr; gap: 14px; }
.ux-contact-page .ux-steps3::before, .ux-contact-page .ux-steps3::after { display: none; }
.ux-contact-page .ux-steps3 .rd-step { display: flex; align-items: center; gap: 1rem; }
.ux-contact-page .ux-steps3 .rd-step h3 { margin: 0; }
.ux-form-card { padding: clamp(22px, 3.4vw, 44px) !important; }
.ux-form-card .contact-form { max-width: none; }

/* ---------- Rechtsseiten: ruhig, nur Ordnung ---------- */
.ux-legal .imprint-block {
    margin: 0; padding: clamp(20px, 2.4vw, 30px);
    border: 1px solid var(--pg-line); border-radius: 2px;
    background: linear-gradient(180deg, #0b0b0b, #050505);
    scroll-margin-top: calc(var(--header-h) + 24px);
}
.ux-legal .imprint-block:target { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.ux-legal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: none; }
.ux-legal--toc { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.ux-legal--toc .imprint-blocks { display: grid; gap: 14px; max-width: none; }
.ux-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 6px; }
.ux-toc__title { display: block; font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.9rem; }
.ux-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: ux-toc; border-left: 1px solid var(--pg-line); }
.ux-toc li { counter-increment: ux-toc; }
.ux-toc a {
    display: flex; gap: 0.7rem; padding: 0.38rem 0 0.38rem 0.9rem; margin-left: -1px;
    border-left: 1px solid transparent;
    font-size: 0.8rem; line-height: 1.4; color: var(--text-dim); text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}
.ux-toc a::before { content: counter(ux-toc, decimal-leading-zero); color: rgba(255, 255, 255, 0.28); font-variant-numeric: tabular-nums; }
.ux-toc a:hover, .ux-toc a.is-active { color: var(--white); border-left-color: var(--red); }
.ux-toc a.is-active::before { color: var(--red); }

/* ---------- Breiten ---------- */
@media (max-width: 1024px) {
    .ux-person { grid-template-columns: 1fr; }
    .ux-contact-page { grid-template-columns: 1fr; }
    .ux-contact-side { position: static; }
}
@media (max-width: 900px) {
    .ux-legal--toc { grid-template-columns: 1fr; }
    .ux-toc { position: static; max-height: none; }
    .ux-legal__grid { grid-template-columns: 1fr; }
    .ux-tl { grid-template-columns: 1fr; }
    .rd-steps.ux-steps3 { grid-template-columns: 1fr; row-gap: 28px; }
    .rd-steps.ux-steps3::before, .rd-steps.ux-steps3::after { display: none; }
}

/* Eine einzelne Karte nutzt die volle Breite statt einer halben Spalte. */
.ux-cards > .ux-card:only-child { grid-column: 1 / -1; }
.ux-cards > .ux-card:only-child p { max-width: 860px; }

/* ===== Nachbesserungen nach der Pruefung durch Sicherheit und Entwicklung (01.10.2026) ===== */

/* Weiss auf dem Marken-Rot ergab 4,34:1, gefordert sind 4,5:1 (WCAG AA).
   Nur die Knopfflaechen nutzen deshalb ein minimal dunkleres Rot: 5,04:1,
   beim Darueberfahren 5,56:1. Das Marken-Rot bleibt ueberall sonst. */
:root { --red-btn: #d42b22; --red-btn-hover: #c8281f; }
.pg-btn--primary, .ux-cta-link--primary a, .ux-contact-links a:first-of-type { background: var(--red-btn); border-color: var(--red-btn) !important; }
.pg-btn--primary:hover, .ux-cta-link--primary a:hover { background: var(--red-btn-hover); }

/* Kein sanftes Scrollen bei "Bewegung reduzieren" (Inhaltsverzeichnisse). */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Safari vor 16 kennt overflow-x: clip nicht; dort waere sonst seitliches Scrollen moeglich. */
@supports not (overflow-x: clip) { .ux-page.pg-page { overflow-x: hidden; } }

/* Der umlaufende Leuchtrand laeuft nur, solange die Karte im Bild ist
   (components.js setzt is-inview). Spart Rechenzeit auf langen Seiten. */
.ux-js .ux-page .pwgen-card { animation-play-state: paused; }
.ux-js .ux-page .pwgen-card.is-inview { animation-play-state: running; }

/* Live-Rechnung: ohne JavaScript stuende dort dauerhaft 0, bei reduzierter
   Bewegung waere eine endlos zaehlende Zahl ohne Pause-Moeglichkeit eine
   Barriere (WCAG 2.2.2). Der Absatz darunter nennt dieselben Zahlen. */
html:not(.ux-js) .ux-live-card { display: none; }
@media (prefers-reduced-motion: reduce) { .ux-live-card { display: none; } }

/* ---------- Haeufige Fragen (IPServerSec, WordPress) ----------
   Natives <details>/<summary> auf Basis von .rd-faq (Fernwartung, auf dem
   iPhone erprobt): ohne JavaScript bedienbar, Tastatur und Bildschirmleser
   bringen Auf/Zu selbst mit. Bewegung nur ohne "Bewegung reduzieren". */
.ux-faq { max-width: 980px; }
.ux-faq details { scroll-margin-top: calc(var(--header-h) + 24px); }
.ux-faq summary {
    position: relative;
    align-items: flex-start; gap: 1.4rem;
    min-height: 56px; padding: 1.3rem 0.2rem 1.3rem 0;
    font-size: clamp(1rem, 1.45vw, 1.1rem); line-height: 1.45; font-weight: 400;
    color: var(--text-strong);
    overflow-wrap: anywhere; hyphens: auto;          /* lange deutsche Woerter bei 375 px */
    -webkit-tap-highlight-color: transparent;
    transition: none;
}
/* Roter Strich oben links, wie bei .ux-sub: offen, Sprungziel oder Zeiger darauf. */
.ux-faq summary::before {
    content: ''; position: absolute; left: 0; top: -1px;
    width: 0; height: 2px; background: var(--red);
}
.ux-faq details[open] > summary,
.ux-faq details:target > summary { color: var(--white); }
.ux-faq details[open] > summary::before,
.ux-faq details:target > summary::before { width: 48px; }
@media (hover: hover) {
    .ux-faq summary:hover { color: var(--white); }
    .ux-faq summary:hover::before { width: 48px; }
}
.ux-faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }

/* Plus/Minus: zwei 2px-Striche, der senkrechte klappt beim Oeffnen weg. */
.ux-faq .rd-faq__plus { width: 16px; height: 16px; margin-top: 0.3em; }
.ux-faq .rd-faq__plus::before,
.ux-faq .rd-faq__plus::after { height: 2px; top: calc(50% - 1px); transition: none; }

.ux-faq .rd-faq__a { padding: 0 2.8rem 1.7rem 0; }
.ux-faq .rd-faq__a p { font-size: 0.985rem; line-height: 1.85; color: var(--text-mid); font-weight: 300; }
.ux-faq .rd-faq__a p + p { margin-top: 1rem; }
.ux-faq .rd-faq__a strong { color: var(--white); font-weight: 700; }
.ux-faq .rd-faq__a a { transition: color 0.2s, border-color 0.2s; }
.ux-faq .rd-faq__a a:hover { color: var(--red); border-color: var(--red); }
.ux-faq .rd-faq__a a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
/* .rd-faq blendet die Antwort immer ein; hier nur ohne reduzierte Bewegung (unten). */
.ux-faq details[open] .rd-faq__a { animation: none; }

@media (prefers-reduced-motion: no-preference) {
    .ux-faq summary { transition: color 0.2s var(--pg-ease); }
    .ux-faq summary::before { transition: width 0.3s var(--pg-ease); }
    .ux-faq .rd-faq__plus::before,
    .ux-faq .rd-faq__plus::after { transition: transform 0.3s var(--pg-ease); }
    .ux-faq details[open] .rd-faq__a { animation: ux-faq-in 0.32s var(--pg-ease) both; }
    /* Weiches Aufklappen der Hoehe, wo der Browser es kann (Chrome 131+).
       Andere Browser klappen ohne Hoehen-Animation auf, mit Einblenden. */
    @supports (interpolate-size: allow-keywords) and selector(::details-content) {
        .ux-faq { interpolate-size: allow-keywords; }
        .ux-faq details::details-content {
            height: 0; overflow: clip;
            transition: height 0.32s var(--pg-ease), content-visibility 0.32s allow-discrete;
        }
        .ux-faq details[open]::details-content { height: auto; }
    }
}
@keyframes ux-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
    .ux-faq summary { gap: 1rem; padding: 1.15rem 0; font-size: 1rem; }
    .ux-faq .rd-faq__a { padding-right: 0; }
}

/* Ueber: rechte Spalte ohne Namens-H2 braucht keinen Extra-Abstand; die neue
   H2 ist eine Aussage und bricht bei 375 px sauber um. */
