/*
 * Office@Home TS (10.10.2026) - Stile fuer die Terminal-Server-Seite
 * (terminal-server.php) und den Hinweis-Bereich auf der Startseite.
 * Eigene Datei, damit style.css unveraendert bleibt; nutzt dieselben
 * Farben (Variablen aus style.css, mit Rueckfallwerten).
 */
:root {
    --ts-teal: var(--teal, #1a7f88);
    --ts-coral: var(--coral, #e0574c);
    --ts-text: var(--text, #2b3a42);
    --ts-muted: var(--muted, #9a8062);
    --ts-card: var(--card-bg, #ffffff);
    --ts-line: var(--card-border, #eee0cb);
    --ts-bg: var(--bg, #fdf6ea);
}

/* ---- Startseite: Bereich "Lizenz wählen" ------------------------------------ */
.steps li strong a { color: var(--ts-teal); text-decoration: none; border-bottom: 1.5px solid rgba(26, 127, 136, 0.35); }
.steps li strong a:hover { border-bottom-color: var(--ts-teal); }

.lic { margin: 64px 0 8px; scroll-margin-top: 24px; }
.lic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.lic-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    padding: 32px 30px 30px;
    overflow: hidden;
    text-align: left;
}
.lic-office {
    background: var(--ts-card);
    border: 1px solid var(--ts-line);
    box-shadow: 0 14px 34px rgba(120, 90, 40, 0.12);
    color: var(--ts-text);
}
.lic-office::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: linear-gradient(90deg, #f0895f, var(--ts-coral));
}
.lic-ts {
    background: linear-gradient(135deg, #14515a 0%, #1a7f88 60%, #3d9a8e 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(18, 82, 92, 0.28);
}
.lic-ts::after {
    content: "";
    position: absolute;
    right: -70px; top: -90px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 214, 140, 0.34), transparent 68%);
    pointer-events: none;
}
.lic-card > * { position: relative; z-index: 1; }
.lic-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lic-icon {
    flex: 0 0 auto;
    width: 50px; height: 50px;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
}
.lic-icon img { width: 32px; height: 32px; }
.lic-icon svg { width: 28px; height: 28px; }
.lic-office .lic-icon { background: rgba(26, 127, 136, 0.10); }
.lic-ts .lic-icon { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.32); color: #fff; }
.lic-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }
.lic-office .lic-tag { color: var(--ts-teal); }
.lic-ts .lic-tag { color: rgba(255, 255, 255, 0.92); }
.lic-card h3 { margin: 0 0 8px; font-size: 27px; font-weight: 800; line-height: 1.15; }
.lic-office h3 { color: var(--ts-text); }
.lic-ts h3 { color: #fff; }
.lic-text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; }
.lic-office .lic-text { color: var(--ts-muted); }
.lic-ts .lic-text { color: rgba(255, 255, 255, 0.9); }
.lic-price { margin: 0 0 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; }
.lic-price b { font-size: 36px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lic-office .lic-price b { color: var(--ts-teal); }
.lic-office .lic-price span { color: var(--ts-muted); }
.lic-ts .lic-price span { color: rgba(255, 255, 255, 0.9); }
.lic-list { list-style: none; margin: 0 0 26px; padding: 0; font-size: 14px; line-height: 1.5; }
.lic-list li { position: relative; padding: 7px 0 7px 30px; }
.lic-list li::before {
    content: "\2713";
    position: absolute;
    left: 0; top: 8px;
    width: 20px; height: 20px;
    border-radius: 50%;
    font-size: 11.5px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.lic-office .lic-list li { color: var(--ts-text); }
.lic-office .lic-list li::before { background: rgba(26, 127, 136, 0.14); color: var(--ts-teal); }
.lic-ts .lic-list li { color: rgba(255, 255, 255, 0.95); }
.lic-ts .lic-list li::before { background: rgba(255, 255, 255, 0.2); color: #fff; }
.lic-card .btn { display: block; text-align: center; margin-top: auto; }
@media (max-width: 760px) {
    .lic-grid { grid-template-columns: 1fr; }
    .lic-card { padding: 28px 22px 26px; }
}

/* ---- Terminal-Server-Seite ------------------------------------------------ */
.ts-main { max-width: 980px; }
.ts-usp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 0 0 54px;
}
.ts-usp-item {
    background: var(--ts-card);
    border: 1px solid var(--ts-line);
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 10px 30px rgba(120, 90, 40, 0.10);
}
.ts-usp-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(26, 127, 136, 0.14), rgba(26, 127, 136, 0.06));
    color: var(--ts-teal);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.ts-usp-icon svg { width: 26px; height: 26px; }
.ts-usp-item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--ts-teal); }
.ts-usp-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ts-text); }

.ts-section-title { text-align: center; margin: 0 0 6px; font-size: 28px; font-weight: 800; color: var(--ts-text); }
.ts-section-sub { text-align: center; margin: 0 0 28px; color: var(--ts-muted); font-size: 14px; line-height: 1.6; }

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 14px;
    margin: 0 0 26px;
}
.pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    background: var(--ts-card);
    border: 2px solid var(--ts-line);
    border-radius: 18px;
    padding: 22px 12px 18px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(120, 90, 40, 0.08);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.pkg:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(120, 90, 40, 0.14); }
.pkg.static { cursor: default; }
.pkg.static:hover { transform: none; box-shadow: 0 8px 22px rgba(120, 90, 40, 0.08); }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg.sel { border-color: var(--ts-teal); box-shadow: 0 0 0 4px rgba(26, 127, 136, 0.14), 0 12px 28px rgba(26, 127, 136, 0.16); }
.pkg input:focus-visible + .pkg-seats { outline: 2px solid var(--ts-teal); outline-offset: 6px; border-radius: 8px; }
.pkg.sel::after {
    content: "\2713";
    position: absolute;
    top: 10px; right: 10px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--ts-teal);
    color: #fff;
    font-size: 13px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.pkg-seats { font-size: 14px; color: var(--ts-muted); font-weight: 600; }
.pkg-seats b { display: block; font-size: 40px; line-height: 1.05; font-weight: 800; color: var(--ts-teal); }
.pkg-price { margin-top: 10px; font-size: 24px; font-weight: 800; color: var(--ts-text); }
.pkg-net { font-size: 11.5px; color: var(--ts-muted); }
.pkg-per { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--ts-teal); background: rgba(26, 127, 136, 0.09); border-radius: 999px; padding: 3px 11px; }

.ts-buy {
    background: var(--ts-card);
    border: 1px solid var(--ts-line);
    border-radius: 18px;
    padding: 32px 30px;
    max-width: 520px;
    margin: 0 auto 54px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(120, 90, 40, 0.10);
}
.ts-summary { text-align: left; margin: 0 0 20px; font-size: 14.5px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--ts-line); color: var(--ts-text); }
.sum-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-row.total { border-bottom: none; padding-top: 12px; font-weight: 800; font-size: 17px; }
.sum-row.total span:last-child { color: var(--ts-teal); }
.ts-soon {
    background: var(--ts-bg);
    border: 1px dashed var(--ts-teal);
    border-radius: 14px;
    padding: 20px 22px;
    max-width: 560px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--ts-text);
    font-size: 14.5px;
    line-height: 1.65;
}
.ts-soon strong { color: var(--ts-teal); }
.ts-soon a { color: var(--ts-teal); }
.pkg-grid.done { opacity: 0.5; pointer-events: none; }
.buy-code-box a { color: var(--ts-teal); }
.ts-code-steps { text-align: left; margin: 14px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.65; color: var(--ts-text); }

.ts-req { max-width: 720px; margin: 0 auto 36px; }
.ts-req h2 { text-align: center; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ts-muted); }
.ts-req ul {
    list-style: none; margin: 0; padding: 0;
    background: var(--ts-card);
    border: 1px solid var(--ts-line);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(120, 90, 40, 0.07);
}
.ts-req li { padding: 14px 20px 14px 46px; position: relative; font-size: 14px; line-height: 1.6; color: var(--ts-text); border-bottom: 1px solid var(--ts-line); }
.ts-req li:last-child { border-bottom: none; }
.ts-req li::before {
    content: "\2713";
    position: absolute; left: 16px; top: 15px;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(26, 127, 136, 0.14); color: var(--ts-teal);
    font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.ts-req li strong { color: var(--ts-teal); }
.ts-back { text-align: center; margin: 0 0 8px; font-size: 14px; }
.ts-back a { color: var(--ts-teal); }

@media (max-width: 560px) {
    .ts-buy { padding: 26px 18px; }
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
    .ts-section-title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .pkg { transition: none; }
    .pkg:hover { transform: none; }
}

/* ---- Terminal-Server-Seite: Kopfbereich nach dem Werbebild (10.10.2026) ---------
   Der Verlauf, die Sonne und die Sterne kommen unveraendert aus .hero (style.css).
   Hier: Logo-Pille, Titel mit "TS"-Pille, Schaubild "@Home -> verschluesselt -> @Server".
   Das Schaubild skaliert mit seiner Breite (Container-Einheiten cqw); ab 700 px
   Fensterbreite wird es senkrecht (drei @Home oben, @Server unten). */
.ts-hero { padding: 44px 20px 110px; }
.ts-hero .ts-hero-inner { max-width: 820px; }
/* Sonnenscheibe hinter Logo und Titel (wie im Werbebild) */
.ts-hero .ts-hero-inner::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: 50%; top: -250px; width: 560px; height: 560px; transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, #fff4d6 0%, #ffd166 38%, rgba(255, 154, 86, 0) 72%);
    opacity: 0.85;
}
.ts-hero .hero-tag { display: table; font-size: 11px; padding: 6px 16px; margin: 0 auto 14px; background: rgba(10, 40, 48, 0.34); border-color: rgba(255, 255, 255, 0.5); }
.ts-hero h1.ts-hero-title {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px 16px;
    margin: 0;
    font-size: clamp(30px, 9.4vw, 64px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fffdf8;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.28);
}
.ts-hero-title .at { color: #ffd166; }
/* Die Sonne hinter dem Titel "Office@Home" pulsiert (Fassung 8; Fassung 9: etwas langsamer): alle 6 Sekunden wird sie langsam groesser und heller, dann wieder kleiner.
   Nur die Sonnenscheibe (::before von .ts-hero-inner) bewegt sich - Titel, Schrift, Groesse und Umbruch bleiben unveraendert, das Layout verschiebt sich nicht.
   Der Animationsname ts-title-shine bleibt (die Pruefung des Server-Skripts sucht ihn). Am Geraet "Bewegung reduzieren": die Sonne steht still. */
.ts-hero .ts-hero-inner::before {
    animation: ts-title-shine 6s ease-in-out infinite;
    will-change: transform, filter;
}
@keyframes ts-title-shine {
    0%, 100% { transform: translateX(-50%) scale(0.9);  filter: brightness(0.82); }
    50%      { transform: translateX(-50%) scale(1.18); filter: brightness(1.3); }
}
.ts-hero-name { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }   /* ruhiger Schein um den Titel, ohne Bewegung */
@media (prefers-reduced-motion: reduce) { .ts-hero .ts-hero-inner::before { animation: none; will-change: auto; } }
.ts-hero-ts {
    font-size: 0.72em;
    letter-spacing: 0.02em;
    padding: 0.16em 0.4em 0.2em;
    border-radius: 0.38em;
    background: linear-gradient(135deg, #ff7a5c, #ff9a56);
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
    box-shadow: 0 14px 30px rgba(255, 106, 88, 0.50), 0 0 0 4px rgba(255, 255, 255, 0.30);
    transform: rotate(-3deg);
}
.ts-hero-tagline {
    margin: 12px auto 0;
    max-width: 640px;
    font-size: clamp(15px, 2.5vw, 19px);
    font-weight: 600;
    line-height: 1.4;
    color: #fff6e6;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.20);
}

.ts-flow {
    max-width: 780px;
    margin: 22px auto 0;
    padding: 22px 22px 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.ts-flow-stage {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 940 / 480;
    container-type: inline-size;
}
.ts-flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ts-flow-svg-v { display: none; }
.ts-node, .ts-lock, .ts-lockcap { position: absolute; left: var(--hx); top: var(--hy); }
.ts-node {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    transform: translate(-50%, calc(var(--ic) / -2));
    z-index: 2;
}
.ts-home { --ic: 84px; --ic: clamp(52px, 8.94cqw, 84px); }
.ts-server { --ic: 132px; --ic: clamp(80px, 14.04cqw, 132px); }
.ts-ic {
    display: flex; align-items: center; justify-content: center;
    width: var(--ic); height: var(--ic);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 0 0 5px rgba(255, 255, 255, 0.16), 0 0 0 12px rgba(255, 255, 255, 0.08);
}
.ts-home .ts-ic img { width: 60%; height: 60%; }
.ts-server .ts-ic svg { width: 62%; height: 62%; }
.ts-lb {
    font-size: 24px; font-size: clamp(14px, 2.55cqw, 24px);
    font-weight: 800; color: #fff; line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.ts-server .ts-lb { font-size: 28px; font-size: clamp(16px, 2.98cqw, 28px); }
.ts-lock {
    z-index: 3;
    width: 64px; height: 64px; width: clamp(40px, 6.8cqw, 64px); height: clamp(40px, 6.8cqw, 64px);
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-size: clamp(18px, 2.98cqw, 28px);
    border-radius: 50%;
    background: linear-gradient(160deg, #ffffff, #fff1d8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 0 0 5px rgba(255, 255, 255, 0.22);
}
.ts-lockcap {
    z-index: 3;
    transform: translate(-50%, -50%);
    font-size: 15px; font-size: clamp(10px, 1.6cqw, 15px);
    font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.ts-flow-caption {
    margin: 6px 0 0;
    font-size: clamp(13px, 2.2vw, 18px);
    font-weight: 800; line-height: 1.4;
    color: #fffdf8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.ts-flow-caption b { color: #ffd166; }
.ts-flow-caption { text-wrap: balance; }
.ts-hero-cta { margin: 20px 0 0; }

@media (max-width: 700px) {
    .ts-hero { padding: 48px 14px 120px; }
    .ts-flow-caption { font-size: 15px; }
    .ts-flow-caption .ts-dot { display: none; }
    .ts-flow-caption b { display: block; }
    .ts-flow { padding: 20px 14px 14px; border-radius: 24px; }
    .ts-flow-stage { max-width: 360px; aspect-ratio: 320 / 460; }
    .ts-flow-svg-h { display: none; }
    .ts-flow-svg-v { display: block; }
    .ts-node, .ts-lock, .ts-lockcap { left: var(--vx); top: var(--vy); }
    .ts-home { --ic: 64px; --ic: clamp(46px, 20cqw, 72px); }
    .ts-server { --ic: 100px; --ic: clamp(76px, 31.25cqw, 112px); }
    .ts-lb { font-size: 15px; font-size: clamp(12px, 4.7cqw, 17px); }
    .ts-server .ts-lb { font-size: 18px; font-size: clamp(14px, 5.6cqw, 20px); }
    .ts-lock { width: 44px; height: 44px; width: clamp(34px, 13.7cqw, 48px); height: clamp(34px, 13.7cqw, 48px); font-size: 20px; font-size: clamp(16px, 6.2cqw, 22px); }
    .ts-lockcap { transform: translate(0, -50%); left: calc(var(--vx) + clamp(22px, 8.5cqw, 30px) + 10px); text-align: left; font-size: 11px; font-size: clamp(9px, 3.4cqw, 12px); }
}
