/* =========================================================
   LumenHost – Designschicht (wird überall zuletzt geladen)
   Fast schwarz, warmes Off-White, Punkteraster, Pillen-Knöpfe,
   ruhige Karten, gepunktete Pixel-Symbole. Keine externen Schriften.
   ========================================================= */

:root {
  --bg:          #060606;
  --bg-elev:     #0c0c0c;
  --card:        #0b0b0b;
  --card-hover:  #101010;
  --border:      rgba(255,255,255,.075);
  --border-str:  rgba(255,255,255,.14);
  --text:        #f2f1ee;
  --muted:       #a9a8a3;
  --muted-dim:   #77766f;
  --violet-lit:  #9fbefc;
  --paper:       #f5f4f1;
  --ink:         #0a0a0a;
  --mono:        ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius:      16px;
  --glass:       rgba(6,6,6,.82);
  --glass-solid: rgba(6,6,6,.97);
}

html body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--text);
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-weight: 560; letter-spacing: -.028em; }
h1 { font-weight: 560; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }
.lead { color: var(--muted); }
.accent { color: var(--text); }
.mono-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dim); }

.eyebrow {
  background: transparent; border: 1px solid var(--border-str); color: var(--muted);
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .16em;
  padding: 6px 12px; border-radius: 999px;
}

/* ---------- Knöpfe ---------- */
html body .btn { border-radius: 999px; padding: 12px 26px; font-weight: 600; transition: background .18s, border-color .18s, color .18s; }
html body .btn:hover { transform: none; }
html body .btn-sm { padding: 8px 16px; font-size: 13.5px; }
html body .btn-lg { padding: 14px 32px; font-size: 15.5px; }
html body .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 8px 30px -10px rgba(255,255,255,.35); }
html body .btn-primary:hover { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 10px 36px -10px rgba(255,255,255,.5); }
html body .btn-ghost { background: rgba(255,255,255,.02); color: var(--text); border: 1px solid var(--border-str); }
html body .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }

/* ---------- Kopfzeile ---------- */
/* Deckend, damit helle (schräg geschnittene) Abschnitte beim Scrollen nicht durch die Kopfzeile scheinen */
.site-header { background: #060606; border-bottom: 1px solid var(--border); backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-link { color: var(--muted); font-weight: 500; border-radius: 10px; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav-right .nav-link[href="login.php"] { border: 1px solid var(--border-str); border-radius: 999px; padding: 7px 16px; color: var(--text); }
.drop { background: #0b0b0b; border: 1px solid var(--border-str); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.drop .ico-box, .ico-box { background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text); }
.drop-item .price-hint { color: var(--muted); font-family: var(--mono); font-weight: 500; }
/* Yin & Yang im Dropdown: linke Spalte hell, rechte dunkel, dazwischen ein schräger Schnitt */
.site-header .drop { padding: 0; overflow: hidden; background: #0b0b0b; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.site-header .drop::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: #f5f4f1; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px); background-size: 24px 24px;
  clip-path: polygon(0 0, calc(50% + 26px) 0, calc(50% - 26px) 100%, 0 100%);
}
.site-header .drop-cols { position: relative; z-index: 1; gap: 0; }
.site-header .drop-cols > div { padding: 20px 20px 16px; }
.site-header .drop-cols > div:first-child {
  padding-right: 48px;
  --text: #0a0a0a; --muted: #4f4e49; --muted-dim: #6b6a64; --border: rgba(0,0,0,.12); color: #0a0a0a;
}
.site-header .drop-cols > div + div { padding-left: 48px; }
.site-header .drop-cols > div:first-child .drop-item:hover { background: rgba(0,0,0,.05); }
.site-header .drop-cols > div:first-child .ico-box { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.08); color: #0a0a0a; }
.site-header .drop-cols > div:first-child .drop-chip:hover { border-color: #0a0a0a; color: #0a0a0a; }
.site-header .drop-label { font-family: var(--mono); font-weight: 500; letter-spacing: .16em; }
.site-header .drop-foot { position: relative; z-index: 1; margin: 0; padding: 12px 20px 14px; border-top: 0; }
.site-header .drop-foot a { color: var(--text); }
.site-header .drop-chip:hover { border-color: var(--text); }

/* ---------- Karten ---------- */
.card { border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.card:hover { transform: none; background: var(--card-hover); border-color: var(--border-str); }

/* ---------- Gepunktete Pixel-Symbole ---------- */
.ico-dots { width: 60px; height: 60px; color: var(--text); opacity: .9; }
.ico-dots path, .ico-dots rect, .ico-dots circle { stroke-width: 1.9; stroke-dasharray: 0 2.5; stroke-linecap: round; }

/* ---------- Footer ---------- */
.site-footer { background: transparent; border-top: 1px solid var(--border); }
.foot-col h4 { font-family: var(--mono); font-weight: 500; letter-spacing: .16em; }
.foot-col a:hover { color: var(--text); }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding: 26px 0; margin-top: 46px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.foot-badges span { display: inline-flex; align-items: center; gap: 8px; }
.foot-badges span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.foot-bottom { margin-top: 26px; }

/* ---------- Status-Etiketten & Hinweise ---------- */
.alert-ok { background: rgba(74,222,128,.07); border-color: rgba(74,222,128,.25); color: #86efac; }

/* =========================================================
   Startseite
   ========================================================= */
.ln-hero { position: relative; padding: 120px 0 0; text-align: center; overflow: hidden; }
/* Kopfbereich: Text links, Yin & Yang rechts (Stile am Dateiende unter „Startseite: Kopf“) */

/* ---------- Mehr Rot ---------- */
html body .btn-ghost:hover { border-color: var(--red); color: #fff; }
.ln-prod, .ln-plan, .kvm-plan, .ab-card { transition: border-color .25s, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.ln-prod:hover, .ln-plan:hover, .kvm-plan:hover, .ab-card:hover { border-color: rgba(var(--red-rgb),.55) !important; box-shadow: 0 24px 50px -28px rgba(var(--red-rgb),.35) !important; }
.ln-prod:hover .ico-dots, .ln-prod:hover .svg-ico { color: var(--red); }
.ln-plan.is-top, .kvm-plan.is-popular { border-color: rgba(var(--red-rgb),.5) !important; }
.eyebrow { border-color: rgba(var(--red-rgb),.45); }
.foot-col a:hover { color: var(--red) !important; }
.lm-top:hover { background: var(--red); color: #fff; }
.prose a, .legal-body a { color: var(--red-light); }
html { scrollbar-color: rgba(var(--red-rgb),.7) #0b0b0b; }
.balance-chip { border-color: rgba(var(--red-rgb),.4) !important; }
.p-stat-ico, .activity-ico { color: var(--red); }
:focus-visible { outline-color: var(--red); }
/* Roter Schimmer am Ende jeder Überschrift-Linie + roter Punkt am Seitenanfang */
.ln-head .mono-label, .ab-head .mono-label { color: var(--red-light); }

/* ---------- Mehr Bewegung ---------- */
/* Hero-Überschrift: roter Strich zeichnet sich darunter */
.ln-hero h1 { position: relative; }
.ln-hero h1::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 90px; height: 3px; margin-left: -45px; background: var(--red); border-radius: 3px; }
.lm .ln-hero h1::after { transform-origin: left; animation: lm-line 1s cubic-bezier(.7,0,.2,1) .9s both; }
/* Produkt-Symbole hüpfen nacheinander kurz an */
@keyframes lh-hop { 0%, 86%, 100% { transform: translateY(0); } 91% { transform: translateY(-6px); } }
.lm .ln-prod .ico-dots { animation: lh-hop 6s ease-in-out infinite; }
.lm .ln-prod:nth-child(2) .ico-dots { animation-delay: .4s; }
.lm .ln-prod:nth-child(3) .ico-dots { animation-delay: .8s; }
.lm .ln-prod:nth-child(4) .ico-dots { animation-delay: 1.2s; }
/* Roter Punkt der Labels pulsiert */
@keyframes lh-dotpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--red-rgb),.6); } 60% { box-shadow: 0 0 0 6px rgba(var(--red-rgb),0); } }
.lm .mono-label::before { animation: lh-dotpulse 2.4s ease-out infinite; }
.ln-hero-inner { position: relative; z-index: 1; padding-bottom: 210px; }
.ln-hero h1 { font-size: clamp(56px, 10vw, 112px); letter-spacing: -.045em; line-height: 1; font-weight: 560; }
.ln-hero .lead { max-width: 560px; margin: 26px auto 0; font-size: 17.5px; }
.ln-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.ln-hero-glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(var(--red-rgb),.08), transparent); pointer-events: none; }

.ln-marquee { position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(6,6,6,.75); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ln-marquee-track { display: flex; width: max-content; animation: ln-marquee 60s linear infinite; }
.ln-marquee ul { display: flex; gap: 42px; padding: 18px 21px; margin: 0; list-style: none; }
.ln-marquee li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 14px; color: var(--muted); }
.ln-marquee li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted-dim); }
.ln-marquee:hover .ln-marquee-track { animation-play-state: paused; }
@keyframes ln-marquee { to { transform: translateX(-50%); } }
.ln-marquee-cat { position: absolute; right: 9%; top: -47px; width: 88px; z-index: 2; pointer-events: none; }
.ln-marquee-wrap { position: relative; }

.ln-sec { padding: 130px 0 0; }
.ln-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.ln-head .lead { margin-top: 18px; }

.ln-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ln-col { padding: 46px 40px 50px; }
.ln-col + .ln-col { border-left: 1px solid var(--border); }
.ln-col .ico-dots { margin: 0 auto 30px; display: block; }
.ln-col h3 { font-size: 19px; margin-bottom: 10px; }
.ln-col p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

.ln-products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ln-products > * { grid-column: span 2; }
.ln-products > :nth-child(n+4) { grid-column: span 3; }
/* Genau vier Produkte → sauberes 2×2-Raster */
.ln-products:has(> :nth-child(4):last-child) > * { grid-column: span 3; }
@media (max-width: 900px) { .ln-products { grid-template-columns: 1fr; } .ln-products > *, .ln-products > :nth-child(n+4) { grid-column: auto; } }
.ln-prod { display: flex; flex-direction: column; padding: 34px 30px 30px; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.005)); transition: border-color .2s, background .2s; }
.ln-prod:hover { border-color: var(--border-str); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); }
.ln-prod .ico-dots { margin: 6px auto 34px; width: 64px; height: 64px; }
.ln-prod h3 { font-size: 21px; }
.ln-prod .mono-label { margin: 8px 0 14px; }
.ln-prod p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ln-prod .ln-more { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--text); }
.ln-prod .ln-more::after { content: " →"; color: var(--muted); }

.ln-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.ln-feat { background: var(--bg); padding: 34px 32px 36px; }
.ln-feat .svg-ico { width: 22px; height: 22px; color: var(--text); margin-bottom: 18px; }
.ln-feat h3 { font-size: 17px; margin-bottom: 8px; }
.ln-feat p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.ln-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.ln-plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
.ln-plan.is-top { border-color: rgba(255,255,255,.3); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01) 60%); }
.ln-plan .ln-badge { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.ln-plan h3 { font-size: 19px; }
.ln-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 8px; }
.ln-price b { font-size: 42px; font-weight: 560; letter-spacing: -.04em; }
.ln-price span { color: var(--muted-dim); font-size: 14px; }
.ln-plan > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.ln-plan ul { display: grid; gap: 12px; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px solid var(--border); list-style: none; }
.ln-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.ln-plan li .svg-ico { flex: none; margin-top: 4px; color: var(--text); }
.ln-plan .btn { margin-top: auto; }

.ln-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.ln-step { padding: 30px 28px 32px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
.ln-step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted-dim); margin-bottom: 26px; }
.ln-step h3 { font-size: 18px; margin-bottom: 8px; }
.ln-step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.ln-final { position: relative; text-align: center; padding: 150px 0 140px; margin-top: 130px; border-top: 1px solid var(--border); overflow: hidden; }
.ln-final::before { content: ""; position: absolute; left: 50%; top: 55%; width: 900px; height: 520px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(159,190,252,.09), transparent); pointer-events: none; }
.ln-final h2 { position: relative; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.04em; }
.ln-final .lead { position: relative; margin: 20px auto 34px; max-width: 520px; }
.ln-final .btn { position: relative; }
.ln-final-cat { position: relative; width: 110px; margin: 0 auto 26px; }

.faq-item { border-radius: 14px; background: var(--card); }
.faq-item[open] { border-color: var(--border-str); background: var(--card-hover); }
.faq-item summary:hover { color: var(--text); }

/* ---------- Yin & Yang: helle Abschnitte mit S-Kurven ---------- */
.ln-light { position: relative; margin-top: 130px; }
.ln-wave { display: block; width: 100%; height: clamp(56px, 9vw, 140px); fill: #f5f4f1; margin-bottom: -1px; }
.ln-wave-bottom { transform: rotate(180deg); margin: -1px 0 0; }
.ln-light-body {
  --paper: #0a0a0a; --ink: #f5f4f1;
  --text: #0a0a0a; --muted: #4f4e49; --muted-dim: #77766f;
  --border: rgba(0,0,0,.09); --border-str: rgba(0,0,0,.2);
  --card: #fff; --card-hover: #fff; --bg: #f5f4f1;
  background-color: #f5f4f1;
  background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--text);
  padding: 70px 0 80px;
}
.ln-light-body h1, .ln-light-body h2, .ln-light-body h3, .ln-light-body b { color: var(--text); }
.ln-light-body .ln-head { margin-top: 0; }
.ln-light-body .ln-prod, .ln-light-body .ln-plan, .ln-light-body .kvm-plan { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -28px rgba(0,0,0,.35); }
.ln-light-body .ln-prod:hover { background: #fff; border-color: var(--border-str); transform: translateY(-2px); }
.ln-light-body .ln-prod { transition: border-color .2s, transform .2s; }
.ln-light-body .ln-plan.is-top, .ln-light-body .kvm-plan.is-popular { background: #0a0a0a; border-color: #0a0a0a; --text: #f5f4f1; --muted: #a9a8a3; --muted-dim: #77766f; --border: rgba(255,255,255,.1); --paper: #f5f4f1; --ink: #0a0a0a; color: var(--text); }
.ln-light-body .ln-plan.is-top h3, .ln-light-body .kvm-plan.is-popular h3, .ln-light-body .ln-plan.is-top b, .ln-light-body .kvm-plan.is-popular b { color: var(--text); }
.ln-light-body .btn-primary { box-shadow: 0 10px 30px -14px rgba(0,0,0,.55); }
.ln-light-body .btn-primary:hover { background: #222; color: var(--ink); box-shadow: 0 12px 34px -14px rgba(0,0,0,.7); }
.ln-light-body .is-top .btn-primary:hover, .ln-light-body .is-popular .btn-primary:hover { background: #fff; color: #0a0a0a; }
.ln-light-body .btn-ghost { background: transparent; }
.ln-light-body .btn-ghost:hover { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.3); }
.ln-light-body .tab { color: var(--muted); border-color: var(--border); background: #fff; }
/* Aktiver Reiter (z. B. „Ryzen 9950X“) muss sich klar abheben: schwarz auf hellem Grund */
.ln-light-body .tab.is-active, .ln-light-body .tab[aria-selected="true"] { background: #0a0a0a !important; color: #f5f4f1 !important; border-color: #0a0a0a !important; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.ln-light-body .tab.is-active .tab-name, .ln-light-body .tab[aria-selected="true"] .tab-name { color: #f5f4f1 !important; }
.ln-light-body .tab.is-active .tab-meta, .ln-light-body .tab[aria-selected="true"] .tab-meta { color: #a9a8a3 !important; }
.ln-light-body .tab .tab-meta { color: #77766f; }
.ln-light-body .tab:hover:not(.is-active) { border-color: rgba(0,0,0,.3); }
.ln-light-body .ico-dots { opacity: 1; }
.ln-light-body input, .ln-light-body select, .ln-light-body textarea { background: #fff; color: #0a0a0a; border-color: rgba(0,0,0,.16); }
.ln-light-body input::placeholder { color: #8a8983; }
.ln-light-body .card:hover { background: #fff; border-color: var(--border-str); }
.ln-light-body table th { color: var(--muted-dim); }
.ln-light-body table td, .ln-light-body table th { border-color: var(--border); }

/* Zwei Hälften mit Yin-Yang in der Mitte */
/* Heller Abschnitt auf Unterseiten: <section class="section ln-light-body ln-cut"> – oben und unten schräg geschnitten */
.ln-light-body.ln-cut {
  --cut: clamp(48px, 7vw, 120px);
  /* Diagonaler Schnitt mit Wellenschwung (gleiche Punktzahl wie der geschlossene Zustand → weich animierbar) */
  clip-path: polygon(0% calc(var(--cut) * 1), 6.25% calc(var(--cut) * 1.026), 12.5% calc(var(--cut) * 1.023), 18.75% calc(var(--cut) * 0.969), 25% calc(var(--cut) * 0.863), 31.25% calc(var(--cut) * 0.719), 37.5% calc(var(--cut) * 0.564), 43.75% calc(var(--cut) * 0.429), 50% calc(var(--cut) * 0.34), 56.25% calc(var(--cut) * 0.304), 62.5% calc(var(--cut) * 0.314), 68.75% calc(var(--cut) * 0.344), 75% calc(var(--cut) * 0.363), 81.25% calc(var(--cut) * 0.344), 87.5% calc(var(--cut) * 0.273), 93.75% calc(var(--cut) * 0.151), 100% 0%, 100% calc(100% - var(--cut) * 1), 93.75% calc(100% - var(--cut) * 1.026), 87.5% calc(100% - var(--cut) * 1.023), 81.25% calc(100% - var(--cut) * 0.969), 75% calc(100% - var(--cut) * 0.863), 68.75% calc(100% - var(--cut) * 0.719), 62.5% calc(100% - var(--cut) * 0.564), 56.25% calc(100% - var(--cut) * 0.429), 50% calc(100% - var(--cut) * 0.34), 43.75% calc(100% - var(--cut) * 0.304), 37.5% calc(100% - var(--cut) * 0.314), 31.25% calc(100% - var(--cut) * 0.344), 25% calc(100% - var(--cut) * 0.363), 18.75% calc(100% - var(--cut) * 0.344), 12.5% calc(100% - var(--cut) * 0.273), 6.25% calc(100% - var(--cut) * 0.151), 0% 100%);
  padding: calc(var(--cut) + 48px) 0 calc(var(--cut) + 56px) !important;
  margin: 24px 0 !important;
  border-top: 0 !important;
}
.ln-cut + section { border-top: 0 !important; }

/* Diagonal geschnitten wie ein Toast: oben links hell, unten rechts dunkel */
.ln-duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; border: 1px solid var(--border-str); border-radius: 28px; overflow: hidden; background: #070707; }
.ln-duo::before { content: ""; position: absolute; inset: 0; background-color: #f5f4f1; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px); background-size: 24px 24px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.ln-duo-half { position: relative; z-index: 1; align-self: start; max-width: 430px; padding: 52px 20px 52px 48px; }
.ln-duo-half + .ln-duo-half { align-self: end; justify-self: end; padding: 52px 48px 52px 20px; }
.ln-duo-half.is-light { color: #0a0a0a; --muted: #4f4e49; --muted-dim: #77766f; --border: rgba(0,0,0,.1); }
.ln-duo-half.is-light h3 { color: #0a0a0a; }
.ln-duo-half h3 { font-size: 26px; margin: 14px 0 10px; }
.ln-duo-half p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 26px; }
.ln-duo-half ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.ln-duo-half li a { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; font-weight: 550; transition: padding .2s; }
.ln-duo-half li a:hover { padding-left: 8px; }
.ln-duo-half li span { font-family: var(--mono); font-size: 12.5px; color: var(--muted-dim); font-weight: 400; }
.ln-duo-mark { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); }
.yin-yang .yy-spin { transform-box: view-box; transform-origin: 50px 56px; animation: yy-spin 24s linear infinite; }
.yin-yang:hover .yy-spin { animation-duration: 3s; }
@keyframes yy-spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .ln-duo { grid-template-columns: 1fr; min-height: 0; }
  .ln-duo::before { display: none; }
  .ln-duo-half, .ln-duo-half + .ln-duo-half { max-width: none; justify-self: stretch; padding: 40px 28px; }
  .ln-duo-half.is-light { background: #f5f4f1; padding-bottom: 96px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%); }
  .ln-duo-half + .ln-duo-half { padding-top: 48px; }
  .ln-duo-half + .ln-duo-half { order: 2; }
  .ln-duo-mark { order: 1; position: relative; left: auto; top: auto; z-index: 1; justify-self: center; width: 76px; height: 76px; margin: -38px 0; transform: none; }
}
@media (max-width: 900px) {
  .ln-light { margin-top: 96px; }
  .ln-light-body { padding: 50px 0 60px; }
  .ln-cols, .ln-feats, .ln-plans, .ln-steps { grid-template-columns: 1fr; }
  .ln-col + .ln-col { border-left: 0; border-top: 1px solid var(--border); }
  .ln-hero { padding-top: 84px; }
  .ln-hero-inner { padding-bottom: 150px; }
  .ln-sec { padding-top: 96px; }
  .ln-marquee-cat { right: 16px; width: 70px; top: -38px; }
}
@media (prefers-reduced-motion: reduce) { .ln-marquee-track, .yin-yang .yy-spin { animation: none; } }

/* =========================================================
   Unternehmen (Über uns & Unterseiten)
   ========================================================= */
/* Kopf: Reiter oben, riesiger Titel links unten, Yin-Yang + Einleitung rechts daneben */
.ab-hero { padding: 72px 0 40px; }
.ab-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; align-items: end; margin-top: 30px; }
/* Weiterblättern am Seitenende: dunkle und helle Hälfte, schräg geschnitten, Yin-Yang in der Mitte */
.ab-pager { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 170px; border: 1px solid var(--border-str); border-radius: 26px; overflow: hidden; background: #070707; }
.ab-pager a { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 34px 44px; text-decoration: none; color: var(--text); }
.ab-pager b { font-size: clamp(22px, 3vw, 34px); font-weight: 560; letter-spacing: -.03em; transition: transform .25s; }
.ab-pager-prev b::before { content: "← "; color: var(--muted-dim); }
.ab-pager-next { margin-left: -50px; padding-left: 110px !important; align-items: flex-end; text-align: right; color: #0a0a0a !important; background-color: #f5f4f1; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px); background-size: 24px 24px; clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%); }
.ab-pager-next .mono-label { color: #77766f; }
.ab-pager-next b::after { content: " →"; color: #77766f; }
.ab-pager-prev:hover b { transform: translateX(-6px); }
.ab-pager-next:hover b { transform: translateX(6px); }
.ab-pager-mark { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; transform: translate(-50%, -50%); pointer-events: none; filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); }
@media (max-width: 640px) {
  .ab-pager { grid-template-columns: 1fr; }
  .ab-pager a { padding: 26px 24px; }
  .ab-pager-next { margin: 0; padding: 40px 24px 26px !important; clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); margin-top: -24px; }
  .ab-pager-mark { display: none; }
}
/* Unterseiten-Leiste: nummerierte Felder, aktives Feld hell */
.ab-index { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; border: 1px solid var(--border-str); border-radius: 18px; overflow: hidden; }
.ab-index a { position: relative; display: grid; gap: 10px; padding: 18px 20px 20px; color: var(--muted); text-decoration: none; transition: background .2s, color .2s; }
.ab-index a + a { border-left: 1px solid var(--border-str); }
.ab-index b { font-size: 15.5px; font-weight: 560; color: var(--text); }
.ab-index .svg-ico { position: absolute; right: 18px; top: 18px; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.ab-index a:hover { background: rgba(255,255,255,.04); }
.ab-index a:hover .svg-ico { opacity: 1; transform: none; }
.ab-index a.on { background: #f5f4f1; color: #77766f; }
.ab-index a.on b, .ab-index a.on .svg-ico { color: #0a0a0a; }
.ab-index a.on .mono-label { color: #77766f; }
/* Unterseiten-Text: Überschrift links, Inhalt rechts */
.ab-doc-intro { max-width: 760px; margin-bottom: 30px; }
.ab-doc-intro > p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.ab-rows { border-top: 1px solid var(--border-str); }
.ab-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; padding: 44px 0; border-bottom: 1px solid var(--border); }
.ab-row-head h2 { font-size: 26px; margin-top: 10px; }
.ab-row-body > p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.ab-row-body > :last-child { margin-bottom: 0; }
.ab-row-body .ab-note { margin: 18px 0 0; }
.ab-hero h1 { font-size: clamp(48px, 8.5vw, 116px); letter-spacing: -.055em; line-height: .92; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.ab-hero h1.is-long { font-size: clamp(38px, 6vw, 80px); }
.ab-hero-side { display: grid; gap: 22px; justify-items: start; padding-bottom: 10px; }
.ab-hero .lead { margin: 0; font-size: 17px; border-left: 2px solid var(--text); padding-left: 18px; }
.ab-yy { width: 96px; height: auto; filter: drop-shadow(0 0 30px rgba(255,255,255,.1)); }
.ab-subnav { display: flex; flex-wrap: wrap; gap: 8px; }
/* Überschriften linksbündig; Abschnitte im Zickzack (rev = Überschrift rechts) */
.ab-head { max-width: 640px; margin: 0 0 48px; }
.ab-head h2 { margin-top: 14px; }
.ab-head .lead { margin-top: 16px; }
.ab-head-right { margin-left: auto; text-align: right; }
.ab-split.rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.ab-split.rev > .ab-split-head { order: 2; text-align: right; }
.ab-split.rev > .ab-split-head .lead { margin-left: auto; }
.ab-subnav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-str); color: var(--muted); font-size: 14px; text-decoration: none; transition: background .18s, color .18s, border-color .18s; }
.ab-subnav a:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.ab-subnav a.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.ab-sec { padding: 110px 0 0; }
.ab-sec-tight { padding-top: 40px; }
.ab-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ab-stats > div { padding: 30px 24px; }
.ab-stats > div + div { border-left: 1px solid var(--border); }
.ab-stats b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 560; letter-spacing: -.035em; }
.ab-stats span { color: var(--muted); font-size: 14px; }
.ab-stats-sm { margin: 0 0 40px; border-radius: 18px; border: 1px solid var(--border); }
.ab-stats-sm b { font-size: 26px; }

.ab-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.ab-split-head { position: sticky; top: 110px; }
.ab-split-head h2 { margin: 14px 0 0; }
.ab-split-head .lead { margin-top: 16px; }
.ab-split-inner { margin-top: 90px; }

.ab-timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border-str); }
.ab-timeline li { position: relative; padding: 0 0 34px 30px; }
.ab-timeline li::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--text); }
.ab-timeline li.now::before { background: var(--text); box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.ab-timeline h3 { font-size: 19px; margin: 8px 0 6px; }
.ab-timeline p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.ab-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ab-card { padding: 32px 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
.ab-card h3 { font-size: 20px; margin: 14px 0 8px; }
.ab-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.ab-n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted-dim); }
.ab-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.ab-values .svg-ico { width: 22px; height: 22px; color: var(--text); }
.ab-values h3 { font-size: 16.5px; margin: 14px 0 6px; }
.ab-values p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Yin & Yang Vergleich – die helle Hälfte ist schräg angeschnitten */
.ab-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-str); border-radius: 28px; overflow: hidden; background: #070707; }
.ab-vs-side { padding: 46px 64px 46px 44px; }
.ab-vs-side.is-light { position: relative; padding: 46px 44px 46px 124px; margin-left: -60px; background-color: #f5f4f1; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px); background-size: 24px 24px; color: #0a0a0a; clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%); --muted: #4f4e49; --muted-dim: #77766f; --border: rgba(0,0,0,.1); }
.ab-vs ul { list-style: none; margin: 22px 0 0; padding: 0; }
.ab-vs li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.ab-vs li b { font-weight: 600; }
.ab-vs-side:not(.is-light) li span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.ab-vs-mark { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); }

.ab-links { display: grid; gap: 10px; }
.ab-links a { display: grid; grid-template-columns: 26px 1fr 18px; gap: 18px; align-items: start; padding: 24px 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.ab-links a:hover { border-color: var(--border-str); background: var(--card-hover); }
.ab-links .svg-ico { width: 22px; height: 22px; margin-top: 2px; }
.ab-links h3 { font-size: 17.5px; margin-bottom: 4px; }
.ab-links p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ab-links .ab-go { margin-top: 5px; color: var(--muted-dim); transition: transform .2s, color .2s; }
.ab-links a:hover .ab-go { transform: translateX(3px); color: var(--text); }

.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--border-str); }
.ab-steps li { padding: 26px 22px 0 0; }
.ab-steps li + li { padding-left: 22px; border-left: 1px solid var(--border); }
.ab-steps h3 { font-size: 17px; margin: 14px 0 8px; }
.ab-steps p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.ab-text p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 18px; }
.ab-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.ab-lists > div { padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.ab-lists h3 { font-size: 16px; margin-bottom: 14px; }
.ab-lists ul, .ab-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ab-lists li, .ab-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.ab-lists li .svg-ico, .ab-checks li .svg-ico { flex: none; margin-top: 3px; color: var(--text); }

.ab-tiles { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.ab-tiles + .ab-tiles { margin-top: 16px; }
.ab-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.ab-tiles-5 { grid-template-columns: repeat(5, 1fr); }
.ab-tiles article { background: var(--bg); padding: 30px 28px; }
.ab-tiles .svg-ico { width: 22px; height: 22px; }
.ab-tiles h3 { font-size: 16.5px; margin: 16px 0 8px; }
.ab-tiles p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.ab-road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-road > div { padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.ab-road h3 { font-size: 17px; margin: 12px 0 6px; }
.ab-road p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ab-gloss { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.ab-gloss > div { padding: 18px 0; border-bottom: 1px solid var(--border); }
.ab-gloss dt { font-weight: 600; margin-bottom: 6px; }
.ab-gloss dd { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.ab-legal { margin: 0; border-top: 1px solid var(--border); }
.ab-legal > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ab-legal dt { color: var(--muted-dim); }
.ab-legal dd { margin: 0; }
.ab-small { margin-top: 18px; color: var(--muted); font-size: 14px; }
.ab-small a { color: var(--text); }
.ln-final-yy { width: 110px; height: 110px; margin: 0 auto 28px; display: block; position: relative; }

/* Unterseiten: Inhaltsverzeichnis links, Text rechts */
.ab-doc { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; }
.ab-doc-nav { position: sticky; top: 110px; align-self: start; display: grid; gap: 2px; }
.ab-doc-nav .mono-label { margin-bottom: 10px; }
.ab-doc-nav a { padding: 7px 0 7px 14px; border-left: 1px solid var(--border); color: var(--muted); font-size: 14px; text-decoration: none; }
.ab-doc-nav a:hover { color: var(--text); border-color: var(--text); }
.ab-doc-body h2 { font-size: 26px; margin: 48px 0 14px; scroll-margin-top: 100px; }
.ab-doc-body h2:first-child { margin-top: 0; }
.ab-doc-body > p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.ab-doc-body .ab-checks { margin: 8px 0 20px; }
.ab-note { margin: 28px 0; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--border-str); background: rgba(255,255,255,.03); color: var(--muted); font-size: 15px; }
.ab-note-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text); }

@media (max-width: 1000px) {
  .ab-hero-grid, .ab-split, .ab-split.rev, .ab-doc { grid-template-columns: 1fr; gap: 36px; }
  .ab-hero-grid { margin-top: 20px; }
  .ab-index { grid-template-columns: 1fr; margin-top: 40px; }
  .ab-index a + a { border-left: 0; border-top: 1px solid var(--border-str); }
  .ab-index a { grid-template-columns: 34px 1fr; align-items: center; padding: 14px 18px; }
  .ab-row { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .ab-split.rev > .ab-split-head { order: 0; text-align: left; }
  .ab-head-right { margin-left: 0; text-align: left; }
  .ab-split-head, .ab-doc-nav { position: static; }
  .ab-doc-nav { display: none; }
  .ab-values, .ab-road, .ab-tiles-5 { grid-template-columns: repeat(2, 1fr); }
  .ab-steps { grid-template-columns: 1fr; }
  .ab-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .ab-steps li { padding-bottom: 22px; }
  .ab-vs { grid-template-columns: 1fr; }
  .ab-vs-side { padding: 34px 26px; }
  .ab-vs-side.is-light { margin: 0; padding: 70px 26px 34px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); margin-top: -40px; }
  .ab-vs-mark { position: relative; left: auto; top: auto; transform: none; margin: -45px auto -30px; z-index: 2; order: 1; }
  .ab-vs-side.is-light { order: 2; }
}
@media (max-width: 640px) {
  .ab-hero { padding-top: 64px; }
  .ab-sec { padding-top: 80px; }
  .ab-grid2, .ab-lists, .ab-tiles-3, .ab-gloss, .ab-values, .ab-road, .ab-tiles-5 { grid-template-columns: 1fr; }
  .ab-stats > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .ab-vs li, .ab-legal > div { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   Angleichungen bestehender Seiten
   ========================================================= */
.kvm-hero, .kvm-final { background: none; }
.kvm-plan { border-radius: 20px; }
.kvm-plan.is-popular { border-color: rgba(255,255,255,.3); box-shadow: none; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01) 60%); }
.kvm-badge { background: var(--paper); color: var(--ink); font-family: var(--mono); letter-spacing: .12em; }
.kvm-chips li, .kvm-os li { border-radius: 999px; }
.tab.is-active { background: rgba(255,255,255,.06); border-color: var(--border-str); color: var(--text); }
.hero::before { background: radial-gradient(760px 420px at 50% 10%, rgba(159,190,252,.08), transparent 66%); }
.page-hero { background: none; }
.cta::before { background: radial-gradient(circle, rgba(159,190,252,.08), transparent 64%); }

h1, h2, h3 { text-wrap: balance; }
.lead { text-wrap: pretty; }

/* ---------- Kundenbereich: schlichte Navigation + Tabs ---------- */
.panel-shell { grid-template-columns: 232px 1fr; }
.panel-side { background: #080808; display: flex; flex-direction: column; }
.panel-brand { padding: 22px 22px 18px; border-bottom: 0; }
.panel-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 18px; }
.panel-group { padding: 18px 12px 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; color: var(--muted-dim); }
.panel-link { gap: 12px; padding: 6px 10px 6px 6px; margin: 0; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.panel-link .panel-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.04); box-shadow: none; color: var(--muted); transition: background .18s, color .18s; }
.panel-link .nav-emoji { display: block; width: 17px; height: 17px; }
.panel-link:hover { background: rgba(255,255,255,.04); color: var(--text); }
.panel-link:hover .panel-ico { color: var(--text); background: rgba(255,255,255,.07); }
.panel-link.is-active { background: rgba(255,255,255,.07); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-str); }
.panel-link.is-active .panel-ico { background: var(--paper); color: var(--ink); box-shadow: none; }
.panel-nav-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 2px; }
.panel-top { padding: 18px 34px; }
.panel-title { font-weight: 560; letter-spacing: -.02em; }
.balance-chip { background: rgba(255,255,255,.04); border-color: var(--border-str); color: var(--text); }
/* Einfarbig statt bunter Akzente – Farbe nur noch für Warnungen und Status */
.panel-body .accent, .panel-body .value.accent { color: var(--text) !important; }
.panel-body .tab.is-active .tab-name, .panel-body .tab.is-active .tab-count, .panel-body .tab.is-active .svg-ico { color: var(--ink) !important; }
/* Lange Seitenleiste: kompakter und mit dezentem Scrollbalken */
.panel-side { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
.panel-side::-webkit-scrollbar { width: 6px; }
.panel-side::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 6px; }
.panel-nav .panel-group { padding: 14px 12px 4px; }
.panel-nav .panel-link { padding-top: 4px; padding-bottom: 4px; font-size: 14px; }
.panel-nav .panel-link .panel-ico { width: 30px; height: 30px; }
.panel-body .p-stat-ico { background: rgba(255,255,255,.05) !important; color: var(--text) !important; }
.panel-body .p-stat-link, .panel-body .dash-exp-cta { color: var(--text) !important; }
.panel-body .tab.is-active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.panel-body .btn-primary { box-shadow: none; }
.panel-tabs { display: flex; gap: 4px; padding: 0 34px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.panel-tabs a { position: relative; padding: 14px 12px 13px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; text-decoration: none; }
.panel-tabs a:hover { color: var(--text); }
.panel-tabs a.is-active { color: var(--text); }
.panel-tabs a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--text); }
@media (max-width: 860px) {
  .panel-shell { grid-template-columns: 1fr; }
  .panel-side { height: auto; }
  .panel-nav { display: none; }
  .panel-nav.open { display: flex; }
  .panel-nav-foot { margin-top: 8px; }
  .panel-top, .panel-tabs { padding-left: 16px; padding-right: 16px; }
}

/* =========================================================
   Animationen (assets/js/lumen-motion.js setzt .lm auf <html>)
   Ohne JS oder bei „Bewegung reduzieren“ greift nichts davon.
   ========================================================= */
@keyframes lm-rise { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lm-char { from { opacity: 0; transform: translate3d(0, .55em, 0) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes lm-side { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes lm-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lm-from-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes lm-from-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lm-ripple { from { transform: translate(-50%, -50%) scale(0); opacity: .35; } to { transform: translate(-50%, -50%) scale(14); opacity: 0; } }
@keyframes lm-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }   /* nur transform – kein teurer Filter */
@keyframes lm-shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes lm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lm-glowpulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* Einblenden beim Scrollen */
.lm .lm-r { opacity: 0; }
/* „backwards“ statt „both“: nach dem Auftritt gelten wieder die normalen Hover-Transformationen */
.lm .lm-r.lm-in { opacity: 1; animation: lm-rise .8s cubic-bezier(.2,.8,.2,1) var(--lm-d, 0ms) backwards; }

/* Schräge helle Abschnitte öffnen sich wie ein Toast-Schnitt */
.lm .ln-light-body.ln-cut { transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.lm .ln-light-body.ln-cut:not(.lm-open) { clip-path: polygon(0% 50%, 6.25% 50%, 12.5% 50%, 18.75% 50%, 25% 50%, 31.25% 50%, 37.5% 50%, 43.75% 50%, 50% 50%, 56.25% 50%, 62.5% 50%, 68.75% 50%, 75% 50%, 81.25% 50%, 87.5% 50%, 93.75% 50%, 100% 50%, 100% 50%, 93.75% 50%, 87.5% 50%, 81.25% 50%, 75% 50%, 68.75% 50%, 62.5% 50%, 56.25% 50%, 50% 50%, 43.75% 50%, 37.5% 50%, 31.25% 50%, 25% 50%, 18.75% 50%, 12.5% 50%, 6.25% 50%, 0% 50%); }
.lm .ln-light .ln-wave { transition: transform .9s cubic-bezier(.7,0,.2,1); transform-origin: bottom; }
.lm .ln-light .ln-wave-bottom { transform-origin: center; }   /* um die Mitte drehen – sonst klappt die Kante über die Karten */
.lm .ln-light:not(.lm-open) .ln-wave { transform: scaleY(0); }
.lm .ln-light:not(.lm-open) .ln-wave-bottom { transform: rotate(180deg) scaleY(0); }
.lm .ln-light.lm-open .ln-wave-bottom { transform: rotate(180deg); }
.lm .ln-light .ln-light-body { transition: opacity .7s .2s; }
.lm .ln-light:not(.lm-open) .ln-light-body { opacity: 0; }

/* Überschriften Buchstabe für Buchstabe */
.lm .lm-split .lm-ch { display: inline-block; animation: lm-char .7s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 28ms + 80ms) both; }
.lm .ln-hero .lead, .lm .ln-hero-cta, .lm .ab-hero-side, .lm .kvm-hero .lead, .lm .kvm-hero-cta, .lm .kvm-chips { animation: lm-rise .9s cubic-bezier(.2,.8,.2,1) .45s both; }
.lm .ln-hero-cta, .lm .kvm-hero-cta { animation-delay: .6s; }
.lm .kvm-chips { animation-delay: .75s; }

/* Lichtkegel auf Karten */
.lm .lm-glow { position: relative; isolation: isolate; }
.lm .lm-glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 60%);
}
.lm .lm-glow:hover::after { opacity: 1; }
.lm .ln-light-body .lm-glow::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,.06), transparent 60%); }

/* Karten heben sich an */
.lm .ln-prod, .lm .ln-plan, .lm .ab-card, .lm .ab-tiles article, .lm .ab-road > *, .lm .kvm-plan { transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, background .25s, box-shadow .35s; }
.lm .ln-prod:hover, .lm .ln-plan:hover, .lm .ab-card:hover, .lm .ab-road > *:hover, .lm .kvm-plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.6); }
.lm .ln-prod .ico-dots, .lm .ln-col .ico-dots { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.lm .ln-prod:hover .ico-dots { transform: scale(1.12) rotate(-6deg); }

/* Knöpfe: Glanz beim Drüberfahren, Klick-Welle */
.lm .btn-primary { position: relative; overflow: hidden; }
.lm .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-120%) skewX(-20deg); }
.lm .btn-primary:hover::after { animation: lm-shine .8s ease; }
.lm .btn-lg { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .18s, box-shadow .18s; }
.lm-ripple { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: currentColor; pointer-events: none; animation: lm-ripple .65s ease-out forwards; }

/* Yin-Yang atmet, Katze schwebt */
.lm .yin-yang { animation: lm-breathe 4s ease-in-out infinite; }
.lm .ln-final-cat, .lm .ln-marquee-cat { animation: lm-float 4s ease-in-out infinite; }

/* Kopfzeile + Fortschrittsbalken */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 40px -20px rgba(0,0,0,.9); }
.lm-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.15), var(--paper)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Dropdowns: Einträge kommen gestaffelt */
.lm .has-drop.open .drop-item, .lm .has-drop.open .drop-label, .lm .has-drop.open .drop-sub { animation: lm-pop .45s cubic-bezier(.2,.8,.2,1) both; }
.lm .has-drop.open .drop-cols > div:nth-child(2) .drop-item, .lm .has-drop.open .drop-cols > div:nth-child(2) .drop-label { animation-delay: .08s; }
.lm .has-drop.open .drop-item:nth-of-type(2) { animation-delay: .05s; }
.lm .has-drop.open .drop-item:nth-of-type(3) { animation-delay: .1s; }

/* FAQ: Antwort gleitet auf */
.lm .faq-item[open] .faq-answer-inner { animation: lm-pop .45s cubic-bezier(.2,.8,.2,1) both; }

/* Kundenbereich & Admin */
.lm .lm-side { animation: lm-side .5s cubic-bezier(.2,.8,.2,1) calc(var(--lm-i) * 22ms) backwards; }
.lm .panel-link .panel-ico, .lm .admin-nav-link .adm-ico { transition: background .18s, color .18s, transform .3s cubic-bezier(.2,.8,.2,1); }
.lm .panel-link:hover .panel-ico, .lm .admin-nav-link:hover .adm-ico { transform: scale(1.1) rotate(-6deg); }
.lm .panel-link.is-active .panel-ico, .lm .admin-nav-link.active .adm-ico { animation: lm-pop .5s cubic-bezier(.2,.8,.2,1) backwards; }
.lm .panel-title, .lm .adm-bar h1 { animation: lm-rise .6s cubic-bezier(.2,.8,.2,1) both; }
.lm .dash-yy-dark { animation: lm-from-left .9s cubic-bezier(.2,.8,.2,1) .1s both; }
.lm .dash-yy-light { animation: lm-from-right .9s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes lm-mark { from { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-120deg); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes lm-breathe-c { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.05); } }
.lm .dash-yy-mark, .lm .ab-vs-mark, .lm .ln-duo-mark, .lm .ab-pager-mark { animation: lm-mark .9s cubic-bezier(.2,.8,.2,1) .4s both, lm-breathe-c 4s ease-in-out 1.4s infinite; }
@media (max-width: 1100px) { .lm .ln-duo-mark { animation: lm-breathe 4s ease-in-out infinite; } }
@media (max-width: 1000px) { .lm .ab-vs-mark { animation: lm-breathe 4s ease-in-out infinite; } }
.lm .balance-chip { animation: lm-pop .6s cubic-bezier(.2,.8,.2,1) .3s both; }
.lm .dash-expiring { border-color: rgba(250,204,21,.35); }
.lm .dash-expiring h3 .svg-ico { animation: lm-glowpulse 1.6s ease-in-out infinite; }
.lm .tour-card { animation: lm-pop .35s cubic-bezier(.2,.8,.2,1) both; }
.lm .nav-badge { animation: lm-glowpulse 2s ease-in-out infinite; }

/* ---------- Noch mehr Bewegung ---------- */
/* Seitenwechsel: neue Seite blendet weich über (View Transitions, sonst Fallback per JS) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lm-vt-out .25s ease both; }
::view-transition-new(root) { animation: lm-vt-in .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lm-vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes lm-vt-in { from { opacity: 0; transform: translateY(14px); } }
.lm body { transition: opacity .18s ease; }
.lm.lm-leave body { opacity: 0; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Zeilen und Listenpunkte nacheinander */
@keyframes lm-row { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.lm .lm-row { animation: lm-row .5s cubic-bezier(.2,.8,.2,1) calc(var(--lm-i) * 45ms + 150ms) backwards; }

/* 3D-Kippen */
.lm .lm-tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.lm .dash-yy.lm-tilt:hover { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.lm .dash-yy { transition: transform .4s cubic-bezier(.2,.8,.2,1); }

/* Licht im Kopf folgt der Maus */
.ln-hero, .ab-hero, .kvm-hero { position: relative; }
.lm-hero-light { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(520px circle at var(--hx, 50%) var(--hy, 30%), rgba(var(--red-rgb),.08), transparent 60%); transition: background .1s; }
.ab-hero > .wrap, .kvm-hero > .wrap { position: relative; z-index: 1; }

/* Mauszeiger als „+“ – immer blau, über Klickbarem größer (nur Maus/Trackpad, Textfelder behalten den Text-Cursor) */

/* Beliebtes Paket: umlaufender Lichtrand */
@property --lm-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes lm-spin-a { to { --lm-a: 360deg; } }
.lm .ln-plan.is-top, .lm .kvm-plan.is-popular { border-color: transparent; background-image: linear-gradient(#0a0a0a, #0a0a0a), conic-gradient(from var(--lm-a), rgba(255,255,255,.08), #f5f4f1, rgba(255,255,255,.08) 30%, rgba(255,255,255,.08)); background-origin: border-box; background-clip: padding-box, border-box; }
/* Lichtrand läuft nur beim Drüberfahren – dauerhaftes Neuzeichnen kostet Leistung */
.lm .ln-plan.is-top:hover, .lm .kvm-plan.is-popular:hover { animation: lm-spin-a 3s linear infinite; }

/* Überschriften: Unterstrich zeichnet sich beim Erscheinen */
.lm .ln-head h2, .lm .ab-head h2, .lm .ab-split-head h2 { position: relative; }
.lm .ln-head.lm-in h2::after, .lm .ab-head.lm-in h2::after, .lm .ab-split-head.lm-in h2::after { content: ""; display: block; width: 64px; height: 2px; margin: 18px auto 0; background: currentColor; opacity: .35; transform-origin: left; animation: lm-line .9s cubic-bezier(.7,0,.2,1) .35s both; }
.lm .ab-head.lm-in h2::after, .lm .ab-split-head.lm-in h2::after { margin-left: 0; }
.lm .ab-split.rev > .ab-split-head.lm-in h2::after, .lm .ab-head-right.lm-in h2::after { margin-left: auto; margin-right: 0; transform-origin: right; }
@keyframes lm-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Navigation: Linie unter dem Link wächst */
.lm .nav-center .nav-link { position: relative; }
.lm .nav-center .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.7,0,.2,1); }
.lm .nav-center .nav-link:hover::after, .lm .nav-center .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }

/* Laufband: Einträge leuchten beim Drüberfahren */
.lm .ln-marquee li { transition: color .2s; }
.lm .ln-marquee li:hover { color: var(--text); }
.lm .ln-marquee li::before { transition: background .2s, box-shadow .2s; }
.lm .ln-marquee li:hover::before { background: var(--text); box-shadow: 0 0 10px var(--text); }

/* Status-Punkte pulsieren */
@keyframes lm-dot { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 100% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } }
.lm .foot-badges span::before, .lm .state-active::before, .lm .dot-live { animation: lm-dot 1.8s ease-out infinite; }

/* Pfeile in Links schieben sich nach rechts */
.lm a .svg-ico, .lm .ln-more { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.lm .link-arrow:hover .svg-ico, .lm .p-stat-link:hover .svg-ico, .lm .drop-foot a:hover .svg-ico { transform: translateX(4px); }
.lm .ln-prod:hover .ln-more { transform: translateX(4px); }

/* Guthaben-Anzeige glänzt */
@keyframes lm-sheen { 0%, 70% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.lm .balance-chip { background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); background-size: 200% 100%; animation: lm-pop .6s cubic-bezier(.2,.8,.2,1) .3s backwards, lm-sheen 5s ease-in-out 2s infinite; }

/* ---------- Animationen, Runde 3 (nur transform/opacity – billig für den Browser) ---------- */
/* Magnetische Knöpfe */
.lm .lm-mag { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .18s, box-shadow .18s; }
.lm .lm-mag:hover { transform: translate3d(var(--gx, 0), var(--gy, 0), 0); }

/* Wellen-/Schnittkanten schwingen beim Erscheinen leicht nach */
@keyframes lm-sway { 0% { transform: scaleY(.6); } 60% { transform: scaleY(1.08); } 100% { transform: scaleY(1); } }
.lm .ln-light.lm-open .ln-wave:not(.ln-wave-bottom) { animation: lm-sway 1.2s cubic-bezier(.2,.8,.2,1) .2s backwards; }

/* Symbole in Karten wackeln kurz beim Drüberfahren */
@keyframes lm-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(7deg) scale(1.06); } }
.lm .ln-feat:hover .svg-ico, .lm .ab-card:hover .svg-ico, .lm .p-stat:hover .svg-ico, .lm .foot-badges span:hover .svg-ico { animation: lm-wiggle .6s ease; }

/* Rechtstexte: Abschnittsüberschrift im Blick bekommt eine Markierung */
.legal-body > h2 { position: relative; scroll-margin-top: 96px; }
.legal-body > h2::before { content: ""; position: absolute; left: -18px; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: currentColor; opacity: 0; transform: scaleY(0); transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.lm .legal-body > h2.lm-here::before { opacity: .55; transform: scaleY(1); }
.lm .legal-body ul li .svg-ico { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.lm .legal-body ul li:hover .svg-ico { transform: scale(1.25); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Scroll-gekoppelt (ohne JS, nur in Browsern mit animation-timeline): Yin-Yang dreht sich beim Scrollen mit */
@supports (animation-timeline: view()) {
  @keyframes lm-turn { from { rotate: -60deg; } to { rotate: 60deg; } }
  .lm .ln-final .yin-yang, .lm .ab-hero .yin-yang { animation: lm-turn linear both; animation-timeline: view(); }
  @keyframes lm-drift { from { translate: 0 30px; } to { translate: 0 -30px; } }
  .lm .ln-light-body .ln-head { animation: lm-drift linear both; animation-timeline: view(); }
}

/* Statusbalken wachsen von unten */
@keyframes lm-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lm .st-item.lm-in .st-bars > * { transform-origin: bottom; animation: lm-bar .5s cubic-bezier(.2,.8,.2,1) backwards; }
.lm .st-item.lm-in .st-bars > *:nth-child(3n) { animation-delay: .05s; }
.lm .st-item.lm-in .st-bars > *:nth-child(3n+1) { animation-delay: .1s; }

/* Footer: Links rutschen beim Drüberfahren */
.lm .foot-col a { display: inline-block; transition: transform .25s cubic-bezier(.2,.8,.2,1), color .2s; }
.lm .foot-col a:hover { transform: translateX(4px); }

/* ---------- Animationen, Runde 4 ---------- */
/* Kopfzeile gleitet beim Laden von oben herein */
@keyframes lm-drop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.lm .site-header { animation: lm-drop .6s cubic-bezier(.2,.8,.2,1) both; }

/* Schwebende Lichtpunkte im Startseiten-Kopf (Elemente setzt lumen-motion.js) */
@keyframes lm-mote { 0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; } 15% { opacity: var(--o, .5); } 100% { transform: translate3d(var(--dx, 20px), -220px, 0) scale(1); opacity: 0; } }
.lm-motes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lm-motes i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: lm-mote var(--t, 9s) linear var(--d, 0s) infinite; will-change: transform, opacity; }
.ln-hero-inner { position: relative; z-index: 1; }

/* Haupt-Knopf im Kopf: Pfeil stupst regelmäßig nach rechts */
@keyframes lm-nudge { 0%, 80%, 100% { transform: translateX(0); } 88% { transform: translateX(5px); } 94% { transform: translateX(-1px); } }
.lm .ln-hero-cta .btn-primary::before, .lm .kvm-hero-cta .btn-primary::before { content: "→"; order: 2; display: inline-block; margin-left: 8px; animation: lm-nudge 3s ease-in-out 2s infinite; }
.lm .ln-hero-cta .btn-primary, .lm .kvm-hero-cta .btn-primary { display: inline-flex; align-items: center; }

/* Augenbrauen-Label mit blinkendem Cursor */
@keyframes lm-caret { 50% { opacity: 0; } }
.lm .eyebrow::after, .lm .ln-head .mono-label::after { content: "_"; margin-left: 2px; animation: lm-caret 1s steps(1) infinite; }

/* Preise hüpfen beim Drüberfahren über das Paket */
.lm .ln-price { display: inline-block; transition: transform .35s cubic-bezier(.3,1.6,.5,1); transform-origin: left bottom; }
.lm .ln-plan:hover .ln-price { transform: scale(1.08); }

/* Merkmal-Listen in Paketen: Häkchen erscheinen nacheinander beim Drüberfahren */
.lm .ln-plan li .svg-ico, .lm .kvm-plan li .svg-ico { transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.lm .ln-plan:hover li .svg-ico, .lm .kvm-plan:hover li .svg-ico { transform: scale(1.25); }
.lm .ln-plan:hover li:nth-child(2) .svg-ico, .lm .kvm-plan:hover li:nth-child(2) .svg-ico { transition-delay: .05s; }
.lm .ln-plan:hover li:nth-child(3) .svg-ico, .lm .kvm-plan:hover li:nth-child(3) .svg-ico { transition-delay: .1s; }
.lm .ln-plan:hover li:nth-child(4) .svg-ico, .lm .kvm-plan:hover li:nth-child(4) .svg-ico { transition-delay: .15s; }
.lm .ln-plan:hover li:nth-child(n+5) .svg-ico, .lm .kvm-plan:hover li:nth-child(n+5) .svg-ico { transition-delay: .2s; }

/* Nach-oben-Knopf mit Fortschrittsring */
.lm-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #0b0b0b; color: var(--text); cursor: pointer; z-index: 900; display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 10px 30px -12px rgba(0,0,0,.8); }
.lm-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.lm-top:hover { transform: translateY(-3px); }
.lm-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.lm-top circle { fill: none; stroke-width: 2; }
.lm-top .bg { stroke: rgba(255,255,255,.12); }
.lm-top .fg { stroke: var(--paper); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: var(--off, 132); }
.lm-top b { font-size: 16px; line-height: 1; }
body:has(.cookie.show) .lm-top { bottom: 110px; }

/* Abschnitte im Kundenbereich: Zahlen in Statistik-Kacheln wippen kurz */
@keyframes lm-tick { 0% { transform: translateY(6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.lm .p-stat.lm-in strong, .lm .stat.lm-in strong { display: inline-block; animation: lm-tick .5s cubic-bezier(.2,.8,.2,1) .25s backwards; }

/* Links im Fließtext: Unterstrich wächst */
.lm .prose a, .lm .legal-body a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s cubic-bezier(.7,0,.2,1); }
.lm .prose a:hover, .lm .legal-body a:hover { background-size: 100% 1px; }

@media (prefers-reduced-motion: reduce) { .lm-motes { display: none; } }

/* ---------- Status-Seite (status.php) ---------- */
.st-banner { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--border-str); background: #0b0b0b; max-width: 900px; }
.st-banner b { display: block; font-size: 18px; }
.st-banner small { color: var(--muted); font-size: 14px; }
.st-banner .st-time { margin-left: auto; color: var(--muted-dim); font-size: 12.5px; font-family: var(--mono); white-space: nowrap; }
.st-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: #4ade80; box-shadow: 0 0 0 6px rgba(74,222,128,.15); }
.st-banner.st-ok { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.st-banner.st-ok small, .st-banner.st-ok .st-time { color: #6b6a64; }
.st-banner.st-degraded .st-dot { background: #fbbf24; box-shadow: 0 0 0 6px rgba(251,191,36,.15); }
.st-banner.st-down .st-dot { background: #f87171; box-shadow: 0 0 0 6px rgba(248,113,113,.15); }
.st-list { display: grid; gap: 12px; max-width: 900px; }
.st-item { padding: 20px 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.st-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.st-top h3 { font-size: 16.5px; margin: 0; }
.st-top p { color: var(--muted-dim); font-size: 13.5px; margin-top: 3px; }
.st-right { display: flex; align-items: center; gap: 12px; flex: none; }
.st-ms { font-family: var(--mono); font-size: 12px; color: var(--muted-dim); }
.st-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--border-str); }
.st-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dim); }
.st-badge.st-ok span { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.st-badge.st-degraded span { background: #fbbf24; }
.st-badge.st-down { color: #fca5a5; border-color: rgba(248,113,113,.4); }
.st-badge.st-down span { background: #f87171; }
.st-badge.st-off { color: var(--muted-dim); }
.st-bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin-top: 16px; height: 30px; }
.st-bar { border-radius: 4px; background: rgba(255,255,255,.08); transition: transform .2s; }
.st-bar:hover { transform: scaleY(1.15); }
.st-bar.st-ok { background: #4ade80; }
.st-bar.st-degraded { background: #fbbf24; }
.st-bar.st-down { background: #f87171; }
.st-foot { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted-dim); font-size: 12px; }
.st-info { max-width: 900px; margin-top: 26px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.st-info a { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 13.5px; }
.foot-status:hover { color: var(--text); }
.foot-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dim); }
.foot-status.st-ok .foot-status-dot { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.foot-status.st-degraded .foot-status-dot { background: #fbbf24; }
.foot-status.st-down .foot-status-dot { background: #f87171; box-shadow: 0 0 8px #f87171; }
@media (max-width: 640px) { .st-banner { flex-wrap: wrap; } .st-banner .st-time { margin-left: 0; } .st-top { flex-direction: column; } .st-bars { gap: 2px; } }

/* ---------- Serververwaltung: Firewall ---------- */
.fw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.fw-sub { color: var(--muted-dim); font-size: 13px; margin-top: 4px; max-width: 620px; }
.fw-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-str); font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.fw-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dim); }
.fw-status.on { color: var(--text); }
.fw-status.on span { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.fw-toggle { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.02); }
.fw-toggle label, .fw-form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.fw-toggle label { flex: 1; min-width: 240px; }
.fw-toggle select, .fw-form select, .fw-form input { padding: 9px 12px; border: 1px solid var(--border-str); border-radius: 10px; background: var(--bg-elev, #0c0c0c); color: var(--text); font: inherit; font-size: 14px; }
.fw-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.fw-table { margin: 0; min-width: 720px; }
.fw-table td, .fw-table th { white-space: nowrap; }
.fw-table form { margin: 0; }
.fw-empty { text-align: center; color: var(--muted-dim); padding: 24px !important; }
.fw-act { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.fw-accept { background: rgba(74,222,128,.13); color: #4ade80; }
.fw-drop, .fw-reject { background: rgba(248,113,113,.13); color: #f87171; }
.fw-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; font-size: 13px; color: var(--muted-dim); }
.fw-presets form { margin: 0; }
.fw-form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 10px; align-items: end; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.02); }
.fw-note { margin-top: 14px; color: var(--muted-dim); font-size: 13px; line-height: 1.6; }

/* ---------- Firewall Verwaltung (neu) + Modals ---------- */
:root { --lh-blue: #ff4655; --lh-blue-h: #ff5d6a; --lh-orange: #f57a27; }
.btn-accent { background: var(--lh-blue); color: #fff; border: 1px solid var(--lh-blue); }
.btn-accent:hover { background: var(--lh-blue-h); border-color: var(--lh-blue-h); color: #fff; }
.btn-outline-accent { background: transparent; color: var(--red-light); border: 1px solid var(--lh-blue); }
.btn-outline-accent:hover { background: rgba(var(--red-rgb),.12); color: var(--red-pale); }
.fw-card .fw-head { align-items: center; }
.fw-card .fw-head h3 { margin: 0; font-size: 19px; }
.fw-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fw-empty-box { display: flex; align-items: center; gap: 34px; padding: 40px 48px; border: 1px solid rgba(245,122,39,.22); border-radius: 6px; background: #2b1f1a; color: var(--lh-orange); }
.fw-empty-box h4 { font-size: 24px; color: var(--lh-orange); margin: 0 0 10px; letter-spacing: -.01em; }
.fw-empty-box p { margin: 0; color: #e56f22; font-size: 15px; }
.fw-empty-shield { font-size: 72px; line-height: 1; flex: none; color: var(--lh-orange); }
.fw-empty-box .fw-presets { margin: 18px 0 0; color: #c7865a; }
.fw-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(245,122,39,.35); background: rgba(245,122,39,.08); color: var(--lh-orange); font: inherit; font-size: 13px; cursor: pointer; transition: background .2s, transform .25s cubic-bezier(.3,1.6,.5,1); }
.fw-chip:hover { background: rgba(245,122,39,.18); transform: translateY(-2px); }
.fw-dir { font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); }
.fw-table tr.is-off td { opacity: .45; }
.fw-table tr.is-off td:nth-last-child(-n+2) { opacity: 1; }
.fw-demo { border-top: 1px dashed var(--border); padding-top: 12px; }
.fw-switch { position: relative; width: 38px; height: 21px; border-radius: 999px; border: 0; background: rgba(255,255,255,.15); cursor: pointer; transition: background .25s; padding: 0; }
.fw-switch span { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.fw-switch.on { background: var(--lh-blue); }
.fw-switch.on span { transform: translateX(17px); }
@media (max-width: 760px) { .fw-empty-box { flex-direction: column; text-align: center; padding: 28px 20px; gap: 16px; } .fw-empty-box .fw-presets { justify-content: center; } }

/* Modal (nativer <dialog>) */
.lh-modal { margin: auto; inset: 0; position: fixed; padding: 0; border: 0; border-radius: 10px; width: min(800px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: #14171c; color: #f1f3f6; box-shadow: 0 40px 120px -20px rgba(0,0,0,.85); }
.lh-modal-sm { width: min(500px, calc(100vw - 32px)); }
.lh-modal::backdrop { background: rgba(4,6,10,.7); backdrop-filter: blur(3px); }
.lh-modal[open] { animation: lh-modal-in .32s cubic-bezier(.2,.9,.2,1.15); }
.lh-modal[open]::backdrop { animation: lh-fade .3s ease; }
.lh-modal.is-closing { animation: lh-modal-out .2s ease forwards; }
@keyframes lh-modal-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes lh-modal-out { to { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes lh-fade { from { opacity: 0; } }
.lh-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid #2a3240; }
.lh-modal-head h3 { margin: 0; font-size: 20px; color: #fff; }
.lh-modal-x { border: 0; background: none; color: #6b7280; font-size: 30px; line-height: 1; cursor: pointer; transition: color .2s, transform .3s; }
.lh-modal-x:hover { color: #fff; transform: rotate(90deg); }
.lh-modal-body { padding: 20px; }
.lh-modal-foot { padding: 16px 12px 12px; border-top: 1px solid #2a3240; }
.lh-modal-foot .btn { padding: 13px; font-size: 16px; border-radius: 6px; }
.lh-modal label, .lh-modal .fw-status-field > span { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: #fff; }
.lh-modal select, .lh-modal input[type=text] { width: 100%; padding: 11px 13px; border: 1px solid #2c3a52; border-radius: 6px; background: #12151a; color: #e5e7eb; font: inherit; font-size: 14.5px; transition: border-color .2s, box-shadow .2s, background .2s; }
.lh-modal select:focus, .lh-modal input:focus { outline: none; border-color: var(--lh-blue); box-shadow: 0 0 0 3px rgba(var(--red-rgb),.25); }
.lh-modal input:disabled { background: #4a5260; border-color: #4a5260; color: #cbd2dc; cursor: not-allowed; }
.lh-modal input:disabled::placeholder { color: #d6dbe3; }
.fw-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 24px; }
.fw-grid > * { grid-column: span 2; }
.fw-grid > .span-2, .fw-grid > .span-1b { grid-column: span 3; }
.fw-grid-2 { grid-template-columns: 1fr 1fr; }
.fw-grid-2 > * { grid-column: auto; }
.fw-status-field { display: grid; gap: 8px; align-content: start; }
.lh-toggle { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 10px !important; cursor: pointer; padding-top: 8px; }
.lh-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.lh-toggle > span { position: relative; width: 32px; height: 18px; border-radius: 999px; background: #4a5260; transition: background .25s; }
.lh-toggle > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.lh-toggle input:checked + span { background: var(--lh-blue); }
.lh-toggle input:checked + span::after { transform: translateX(14px); }
.lh-toggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--red-rgb),.35); }
@media (max-width: 640px) { .fw-grid > *, .fw-grid > .span-2, .fw-grid > .span-1b { grid-column: 1 / -1; } .fw-grid-2 { grid-template-columns: 1fr; } }
/* Felder im Modal erscheinen nacheinander */
.lm .lh-modal[open] .lh-modal-body > * { animation: lm-pop .4s cubic-bezier(.2,.8,.2,1) backwards; }
.lm .lh-modal[open] .lh-modal-body > *:nth-child(2) { animation-delay: .03s; }
.lm .lh-modal[open] .lh-modal-body > *:nth-child(3) { animation-delay: .06s; }
.lm .lh-modal[open] .lh-modal-body > *:nth-child(4) { animation-delay: .09s; }
.lm .lh-modal[open] .lh-modal-body > *:nth-child(5) { animation-delay: .12s; }
.lm .lh-modal[open] .lh-modal-body > *:nth-child(n+6) { animation-delay: .15s; }
.lm .fw-empty-shield { animation: lm-float 4s ease-in-out infinite; }

/* ---------- Backend-Animationen (Kundenbereich + Admin) ---------- */
/* Diagramm-Balken wachsen */
@keyframes lm-grow-y { from { transform: scaleY(0); } }
@keyframes lm-grow-x { from { transform: scaleX(0); } }
.lm .chart-bar, .lm .rev-bar { transform-origin: bottom; animation: lm-grow-y .8s cubic-bezier(.2,.8,.2,1) backwards; }
.lm .chart-col:nth-child(2n) .chart-bar, .lm .rev-bar:nth-child(2n) { animation-delay: .06s; }
.lm .chart-col:nth-child(3n) .chart-bar, .lm .rev-bar:nth-child(3n) { animation-delay: .12s; }
.lm .health-row .bar > *, .lm .meter > *, .lm .progress > * { transform-origin: left; animation: lm-grow-x 1s cubic-bezier(.2,.8,.2,1) .2s backwards; }
/* Panels/Karten heben sich */
.lm .panel, .lm .adm-card, .lm .panel-main .card, .lm .inbox-item, .lm .feed-item { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .25s; }
.lm .panel:hover, .lm .adm-card:hover, .lm .panel-main .card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(0,0,0,.8); }
.lm .inbox-item:hover, .lm .feed-item:hover { transform: translateX(4px); }
/* Tabellenzeilen: Hover-Leiste links */
.lm .data-table tbody tr, .lm .admin-table tbody tr { transition: background .2s, box-shadow .25s; }
.lm .data-table tbody tr:hover, .lm .admin-table tbody tr:hover { box-shadow: inset 3px 0 0 var(--lh-blue); }
/* Knöpfe geben beim Klicken nach */
.lm .btn:active, .lm .btn-icon:active, .lm .fw-chip:active { transform: scale(.96); transition-duration: .08s; }
/* Status-Pillen: aktive pulsieren leicht */
.lm .pill-active, .lm .pill-on { position: relative; }
.lm .pill-active::before, .lm .pill-on::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(74,222,128,.45); animation: lm-pillpulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes lm-pillpulse { to { box-shadow: 0 0 0 7px rgba(74,222,128,0); } }
/* Meldungen gleiten herein */
.lm .alert { animation: lm-pop .45s cubic-bezier(.2,.8,.2,1) both; }
/* Reiter-Inhalt blendet beim Umschalten ein */
.lm [data-vtab-panel]:not([hidden]), .lm [data-dtab-panel]:not([hidden]), .lm [data-topup-panel]:not([hidden]) { animation: lm-pop .35s cubic-bezier(.2,.8,.2,1); }
.lm .tab { transition: color .2s, background .25s, transform .2s; }
.lm .tab:hover { transform: translateY(-1px); }
/* Admin-Navigation: aktiver Punkt mit Leuchtleiste */
.lm .admin-nav-link, .lm .panel-link { position: relative; }
.lm .admin-nav-link.active::after, .lm .panel-link.is-active::after { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 3px; background: currentColor; animation: lm-grow-y .4s cubic-bezier(.2,.8,.2,1); }
/* Suche im Admin: Feld wird breiter beim Fokus */
.lm .adm-search input { transition: width .35s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
/* Kopier-Knopf bestätigt */
.lm .btn-icon.is-copied { animation: lm-pop .35s cubic-bezier(.3,1.6,.5,1); color: #4ade80; }

/* ---------- Website-Animationen, Runde 5 ---------- */
/* Überschriften: Wörter steigen aus einer Maske (Spans setzt lumen-motion.js) */
.lm-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.lm-w > span { display: inline-block; }
.lm .lm-words .lm-w > span { transform: translateY(105%); }
.lm .lm-in .lm-words .lm-w > span, .lm .lm-in.lm-words .lm-w > span, .lm .edns-show-text.lm-in .lm-w > span {
  transform: none; transition: transform .7s cubic-bezier(.2,.8,.2,1) calc(var(--wi) * 60ms + 100ms);
}
/* Wörter-Animation ersetzt das bisherige Einwischen der Überschrift */
.lm .ln-head.lm-in h2.lm-words, .lm .ab-head.lm-in h2.lm-words { animation: none; }


/* Schritte: rote Verbindungslinie zeichnet sich zwischen den Karten */
.ln-steps { position: relative; }
.ln-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); transform: scaleX(0); transform-origin: left; z-index: 0; pointer-events: none; transition: transform 1.4s cubic-bezier(.7,0,.2,1) .3s; }
.lm .ln-steps:has(.ln-step.lm-in)::before { transform: scaleX(1); }
.ln-step { position: relative; z-index: 1; }
.ln-step::before { transition: color .3s, transform .3s; }
.ln-step:hover::before { color: var(--red); transform: translateX(4px); }
@media (max-width: 900px) { .ln-steps::before { display: none; } }

/* Vorteile: Symbole drehen sich beim Erscheinen ein */
@keyframes lh-spinin { from { transform: rotate(-90deg) scale(.4); opacity: 0; } }
.lm .ln-feat.lm-in .svg-ico { animation: lh-spinin .7s cubic-bezier(.3,1.4,.5,1) calc(var(--lm-d, 0ms) + 200ms) backwards; }
.ln-feat .svg-ico { transition: color .25s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.ln-feat:hover .svg-ico { color: var(--red); transform: scale(1.18); }

/* „Beliebt“-Abzeichen glänzt */
.ln-badge { position: relative; overflow: hidden; }
.ln-badge::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transform: translateX(-150%) skewX(-20deg); }
.lm .ln-badge::after { animation: lm-shine 1.2s ease 2s infinite; animation-duration: 4s; }

/* FAQ: Symbol dreht sich beim Öffnen, Frage wird rot */
.faq-item summary .faq-chev { transition: transform .35s cubic-bezier(.3,1.5,.5,1), color .2s; }
.faq-item[open] summary .faq-chev { color: var(--red); }
.faq-item summary { transition: color .2s; }
.faq-item summary:hover { color: #fff; }
.faq-item[open] { border-color: rgba(var(--red-rgb),.35); }

/* Etwas Blau auf der Startseite: Schritte-Linie, Vorteile */
:root { --blue: #4f74ff; }
.ln-steps::before { background: linear-gradient(90deg, transparent, var(--red), var(--blue), transparent) !important; }
.ln-feat:hover .svg-ico { color: var(--blue) !important; }
.lm .ln-feat:hover { box-shadow: inset 0 0 0 1px rgba(79,116,255,.35); }

/* Klick-Funken */
.lm-spark { position: fixed; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--red); border-radius: 50%; pointer-events: none; z-index: 3500; animation: lm-spark .55s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes lm-spark { to { transform: translate(var(--sx), var(--sy)) scale(.2); opacity: 0; } }

/* Abschluss-Bereich: Yin-Yang zieht beim Drüberfahren schneller */
.ln-final .yin-yang:hover .yy-ring { animation-duration: 3s; }

/* ---------- Backend-Animationen, Runde 2 ---------- */
/* Roter Ladebalken oben beim Seitenwechsel */
.lm-navbar { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 3000; background: linear-gradient(90deg, var(--red), var(--red-light)); box-shadow: 0 0 10px var(--red); transform: scaleX(0); transform-origin: left; pointer-events: none; opacity: 0; }
.lm-navbar.is-go { opacity: 1; animation: lm-navbar 2.5s cubic-bezier(.1,.7,.2,1) forwards; }
@keyframes lm-navbar { 0% { transform: scaleX(0); } 30% { transform: scaleX(.55); } 100% { transform: scaleX(.92); } }
/* Gleitende rote Leiste unter dem aktiven Reiter */
.lm-tab-ind { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--red); border-radius: 2px; pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), opacity .2s; box-shadow: 0 0 8px rgba(var(--red-rgb),.6); }
.tabs:has(.lm-tab-ind) .tab.is-active, .admin-tabs:has(.lm-tab-ind) a.active { box-shadow: none; border-bottom-color: transparent; }
/* Seitentitel: roter Strich zeichnet sich */
.panel-title, .adm-bar h1, .dash2-hero h1 { position: relative; }
.lm .panel-title::after, .lm .adm-bar h1::after, .lm .dash2-hero h1::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 36px; height: 2px; background: var(--red); border-radius: 2px; transform-origin: left; animation: lm-line .8s cubic-bezier(.7,0,.2,1) .3s both; }
/* Langsam wandernder roter Lichtfleck im Hintergrund */
@keyframes lm-orb { 0% { transform: translate(0, 0); } 50% { transform: translate(-18vw, 22vh); } 100% { transform: translate(6vw, 40vh); } }
.lm .panel-main::before, .lm .admin-main::before { content: ""; position: fixed; right: -10vw; top: -20vh; width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--red-rgb),.07), transparent); pointer-events: none; z-index: 0; animation: lm-orb 40s ease-in-out infinite alternate; }
.lm .panel-main, .lm .admin-main { isolation: isolate; }
.lm .panel-main::before, .lm .admin-main::before { z-index: -1; }
/* Statistik-Kacheln: rote Linie oben wischt beim Drüberfahren */
.stat, .p-stat { position: relative; overflow: hidden; }
.stat::before, .p-stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.7,0,.2,1); z-index: 2; }
.stat:hover::before, .p-stat:hover::before { transform: scaleX(1); }
/* Seitenleiste: Symbole leuchten rot beim Drüberfahren, Badge hüpft */
.panel-link:hover .panel-ico, .admin-nav-link:hover .adm-ico { color: var(--red) !important; }
@keyframes lm-bounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } 60% { transform: translateY(1px); } }
.lm .nav-badge { animation: lm-bounce .7s ease 1s 2, lm-glowpulse 2s ease-in-out 2.4s infinite; }
/* Profil-Bild mit drehendem rotem Ring */
.panel-user img, .adm-user img { box-shadow: 0 0 0 2px #0b0b0b, 0 0 0 3px rgba(var(--red-rgb),.7); }
/* Leere Zustände: Symbol schwebt */
.lm .empty-state .svg-ico, .lm .empty-state svg { animation: lm-float 4s ease-in-out infinite; }
/* Guthaben-Anzeige: roter Puls beim Laden */
@keyframes lm-chippulse { 0% { box-shadow: 0 0 0 0 rgba(var(--red-rgb),.5); } 100% { box-shadow: 0 0 0 12px rgba(var(--red-rgb),0); } }
.lm .balance-chip { animation: lm-pop .6s cubic-bezier(.2,.8,.2,1) .3s backwards, lm-chippulse 1.2s ease-out 1s 2, lm-sheen 5s ease-in-out 2s infinite; }
/* Formularfelder: rote Linie wächst beim Fokus */
.panel-main input:focus, .panel-main select:focus, .panel-main textarea:focus, .admin-main input:focus, .admin-main select:focus, .admin-main textarea:focus { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(var(--red-rgb),.15) !important; transition: border-color .2s, box-shadow .2s; }
@media (prefers-reduced-motion: reduce) { .lm-navbar, .lm-tab-ind { transition: none; animation: none; } }

/* ---------- Domain-Verwaltung (konto-domain.php) ---------- */
.dm-title { font-size: 21px; margin: 4px 0 16px; }
.dm-title span { font-size: 14px; font-weight: 500; color: var(--muted); }
.dm-info { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding: 28px 22px !important; margin-bottom: 18px; text-align: center; }
.dm-info b { display: block; font-size: 14.5px; margin-bottom: 6px; color: var(--text); }
.dm-info span { color: var(--muted); font-size: 14px; word-break: break-all; }
.dm-tabs { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 0 !important; padding: 0 !important; margin: 0 0 26px !important; border-radius: 8px !important; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.dm-tabs .tab { justify-content: center; padding: 13px 10px; border-radius: 6px !important; font-weight: 600; color: var(--text); background: transparent; transition: background .25s, color .25s; }
.dm-tabs .tab.is-active { background: var(--lh-blue) !important; color: #fff !important; box-shadow: none !important; }
.dm-tabs .tab:not(.is-active):hover { background: rgba(255,255,255,.05); }
.dm-tabs .lm-tab-ind { display: none; }
.dm-grid { display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.dm-card { padding: 14px 14px 14px !important; border-radius: 6px !important; }
.dm-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.dm-card-head h3 { margin: 0; font-size: 19px; font-weight: 600; }
.dm-card-head .btn { border-radius: 4px; padding: 6px 12px; font-size: 12px; font-weight: 600; }

/* Hinweis: Nameserver zeigen woanders hin */
.dns-warn { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 14px; border-radius: 4px; background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.25); font-size: 13px; }
.dns-warn b { display: block; color: #fcd34d; margin-bottom: 2px; }
.dns-warn span { color: var(--muted); }
.dns-warn-ico { color: #fbbf24; margin-top: 1px; }

/* Tabelle wie im Screenshot: Kopfzeile fett, Trennlinien, eingerahmte Felder */
.dns-head, .dns-row { display: grid; grid-template-columns: 1.45fr 1fr 1.45fr .36fr 52px; gap: 7px; align-items: center; }
.dns-head { padding-bottom: 10px; border-bottom: 1px solid #2a3240; font-size: 14.5px; font-weight: 700; color: var(--text); }
.dns-row { padding: 7px 0; border-bottom: 1px solid #2a3240; }
.dns-row input, .dns-row select, .ns-input { width: 100%; height: 36px; padding: 0 11px; border-radius: 4px; border: 1px solid #2c3a52; background: #12151a; color: var(--text); font: inherit; font-size: 13.5px; transition: border-color .2s, box-shadow .2s; }
.dns-row input:focus, .dns-row select:focus, .ns-input:focus { outline: none; border-color: var(--lh-blue) !important; box-shadow: 0 0 0 3px rgba(var(--red-rgb), .2) !important; }
.dns-row input::placeholder, .ns-input::placeholder { color: #8b94a3; }
.dns-del { justify-self: center; width: 38px; height: 28px; border: 0; border-radius: 4px; background: #e5484d; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.dns-del:hover { background: #ff5a5f; transform: scale(1.06); }
.dns-row.is-new { animation: lm-pop .35s cubic-bezier(.2,.8,.2,1); }
.dns-row.is-gone { opacity: 0; transform: translateX(14px); transition: opacity .2s, transform .2s; }
.dm-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.dm-actions .btn { border-radius: 4px; padding: 9px 18px; font-size: 14.5px; font-weight: 600; }
html body .btn-teal { background: #1aa6b7; border: 1px solid #1aa6b7; color: #fff; border-radius: 4px; }
html body .btn-teal:hover { background: #22bccf; border-color: #22bccf; color: #fff; }
.dns-hint[hidden] { display: none; }
.dns-hint { margin-left: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #fcd34d; animation: lm-pop .3s ease; }

/* Nameserver: Beschriftung über jedem Feld, Speichern über die volle Breite */
.dm-ns { display: grid; gap: 0; }
.dm-ns label { font-weight: 700; font-size: 14.5px; margin: 0 0 9px; }
.dm-ns .ns-input { height: 37px; margin-bottom: 16px; }
.dm-ns .btn { margin-top: 2px; border-radius: 4px; padding: 10px; font-size: 14.5px; font-weight: 600; }
/* Domain-Verwaltung: Layout wie im Screenshot, aber Schwarz/Weiß statt Blau
   (gilt auch für Easy DNS + AuthCode-Dialog, nur der Löschen-Knopf bleibt rot) */
.dm-scope { --red: #f5f4f1; --red-rgb: 245,244,241; --red-light: #e7e5df; --red-pale: #f5f4f1; --lh-blue: #f5f4f1; --lh-blue-h: #ffffff; }
.dm-scope .btn-accent, .dm-scope .btn-accent:hover { color: #0a0a0a !important; }
.dm-scope .dm-tabs .tab.is-active { color: #0a0a0a !important; }
.dm-scope .dm-tabs { background: #0b0b0b; }
.dm-scope .btn-teal { background: #0b0b0b !important; border: 1px solid var(--border-str) !important; color: var(--text) !important; }
.dm-scope .btn-teal:hover { background: #161616 !important; border-color: rgba(255,255,255,.35) !important; }
.dm-scope .dm-card { background: #0b0b0b; }
.dm-scope .dns-head, .dm-scope .dns-row { border-color: rgba(255,255,255,.1); }
.dm-scope .dns-row input, .dm-scope .dns-row select, .dm-scope .ns-input { background: #060606; border-color: rgba(255,255,255,.14); }
.dm-scope .dns-row input:focus, .dm-scope .dns-row select:focus, .dm-scope .ns-input:focus { border-color: rgba(255,255,255,.55) !important; box-shadow: 0 0 0 3px rgba(255,255,255,.08) !important; }
@media (max-width: 700px) { .dm-ns { grid-template-columns: 1fr; } }

/* Domain-Verwaltung größer und enger: volle Breite, größere Felder/Schrift, weniger Abstand */
.panel-main:has(.dm-scope) { max-width: none; }
.dm-scope .dm-title { font-size: 24px; margin: 0 0 12px; }
.dm-scope .dm-info { padding: 22px 20px !important; margin-bottom: 10px; }
.dm-scope .dm-info b { font-size: 16px; }
.dm-scope .dm-info span { font-size: 15px; }
.dm-scope .dm-tabs { margin-bottom: 12px !important; }
.dm-scope .dm-tabs .tab { padding: 15px 10px; font-size: 16px; }
.dm-scope .dm-grid { grid-template-columns: minmax(0, 3fr) minmax(340px, 1fr); gap: 12px; }
.dm-scope .dm-card { padding: 18px 18px 18px !important; }
.dm-scope .dm-card-head { margin-bottom: 12px; }
.dm-scope .dm-card-head h3 { font-size: 22px; }
.dm-scope .dm-card-head .btn { padding: 8px 14px; font-size: 13.5px; }
.dm-scope .dns-head, .dm-scope .dns-row { grid-template-columns: 1.3fr 1fr 1.8fr .45fr 56px; gap: 8px; }
.dm-scope .dns-head { font-size: 17px; padding-bottom: 10px; }
.dm-scope .dns-row { padding: 7px 0; }
.dm-scope .dns-row input, .dm-scope .dns-row select { height: 54px; font-size: 17px; padding: 0 16px; border-radius: 6px; }
.dm-scope .ns-input { height: 44px; font-size: 15.5px; padding: 0 13px; }
.dm-scope .dns-del { width: 50px; height: 46px; border-radius: 6px; }
.dm-scope .dm-actions { margin-top: 12px; gap: 6px; }
.dm-scope .dm-actions .btn { padding: 12px 22px; font-size: 16px; }
.dm-scope .dm-ns label { font-size: 16px; margin-bottom: 6px; }
.dm-scope .dm-ns .ns-input { height: 44px; margin-bottom: 10px; }
.dm-scope .dm-ns .btn { padding: 13px; font-size: 16px; }
.dm-scope .dns-warn { margin-bottom: 10px; font-size: 14px; }
@media (max-width: 1100px) { .dm-scope .dm-grid { grid-template-columns: 1fr; } }

/* Alter Nach-oben-Knopf (style.css) neutral statt Violett */
.to-top { background: #121212 !important; color: var(--text) !important; border: 1px solid var(--border-str) !important; box-shadow: 0 10px 30px -12px rgba(0,0,0,.8) !important; }
.to-top:hover { background: #1c1c1c !important; }

.dm-auth { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
@media (max-width: 1100px) { .dm-info { grid-template-columns: repeat(3, 1fr); } .dm-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .dm-info { grid-template-columns: 1fr 1fr; text-align: left; }
  .dns-head { display: none; }
  .dns-row { grid-template-columns: 1fr 1fr; }
  .dns-row .dns-target { grid-column: 1 / -1; }
}

/* ---------- Easy DNS ---------- */
.edns-body { display: grid; gap: 18px; }
.edns-sub { display: flex; border: 1px solid #2c3a52; border-radius: 6px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.edns-sub:focus-within { border-color: var(--lh-blue); box-shadow: 0 0 0 3px rgba(var(--red-rgb),.25); }
.lh-modal .edns-sub input { border: 0; border-radius: 0; box-shadow: none !important; }
.edns-sub em { font-style: normal; font-weight: 500; padding: 11px 13px; background: #1b2028; border-left: 1px solid #2c3a52; color: #cbd2dc; white-space: nowrap; }
.edns-preview { margin: 0; padding: 10px 12px; border-radius: 6px; background: rgba(var(--red-rgb),.08); border: 1px dashed rgba(var(--red-rgb),.4); color: var(--red-pale); font: 12.5px/1.6 var(--mono); word-break: break-word; }
.edns-promo { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; padding: 20px 24px; margin-bottom: 22px; border-radius: 16px; border: 1px solid rgba(var(--red-rgb),.35); background: linear-gradient(110deg, rgba(var(--red-rgb),.16), rgba(var(--red-rgb),.04) 60%); }
.edns-promo::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.lm .edns-promo::after { animation: lm-shine 1.6s ease 1s; }
.edns-promo b { font-size: 17px; }
.edns-promo p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.edns-promo .btn { margin-left: auto; flex: none; }
.edns-ico { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--lh-blue); color: #fff; }
.lm .edns-ico { animation: lm-breathe 3s ease-in-out infinite; }
@media (max-width: 760px) { .edns-promo { flex-direction: column; align-items: flex-start; } .edns-promo .btn { margin-left: 0; } }
.edns-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--red-light); transition: color .2s, transform .25s; }
.edns-link:hover { color: var(--red-pale); transform: translateX(3px); }

/* Werbe-Abschnitt auf domains.php */
.edns-show { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.edns-show h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; margin: 10px 0 14px; }
.edns-show-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: var(--muted); }
.edns-show-list li { display: flex; gap: 10px; align-items: center; }
.edns-show-demo { padding: 22px; border-radius: 18px; background: #14171c; border: 1px solid #2a3240; box-shadow: 0 40px 80px -40px rgba(var(--red-rgb),.5); display: grid; gap: 12px; }
.edns-demo-row { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #2c3a52; border-radius: 8px; font-size: 14px; }
.edns-demo-row span { color: #8b94a3; font-size: 12.5px; }
.edns-demo-row em { font-style: normal; color: #8b94a3; font-weight: 400; }
.edns-demo-out { display: grid; gap: 6px; padding: 12px; border-radius: 8px; background: rgba(var(--red-rgb),.08); border: 1px dashed rgba(var(--red-rgb),.4); }
.edns-demo-out code { font: 12.5px var(--mono); color: var(--red-pale); }
.edns-demo-ok { display: inline-flex; align-items: center; gap: 6px; color: #4ade80; font-weight: 600; font-size: 13px; margin-top: 4px; }
.edns-typing { display: inline-block; overflow: hidden; white-space: nowrap; font-family: var(--mono); border-right: 2px solid var(--lh-blue); width: 13ch; }
.lm .edns-show-demo.lm-in .edns-typing { animation: lm-type 1.4s steps(13) .4s backwards, lm-caret 1s steps(1) 1.8s infinite; }
@keyframes lm-type { from { width: 0; } }
.lm .edns-show-demo.lm-in .edns-demo-out code { animation: lm-pop .45s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: 1.9s; }
.lm .edns-show-demo.lm-in .edns-demo-out code + code { animation-delay: 2.1s; }
.lm .edns-show-demo.lm-in .edns-demo-ok { animation: lm-pop .5s cubic-bezier(.3,1.6,.5,1) 2.4s backwards; }
@media (max-width: 900px) { .edns-show { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 1100px) { .fw-form { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fw-form { grid-template-columns: 1fr; } .fw-head { flex-direction: column; } }

/* ---------- Font Awesome in den Seitenleisten ----------
   Solange das Kit nicht geladen ist, zeigen wir die eigenen Symbole; danach (html.fa-ok) die von Font Awesome. */
.nav-fa { display: inline-block; font-size: 16px; line-height: 1; width: 18px; text-align: center; }
/* Font-Awesome-Symbole in Größe und Farbe wie bisher (das Kit wandelt <i> in <svg class="svg-inline--fa …"> um) */
.svg-ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
svg.svg-inline--fa.svg-ico { overflow: visible; }
i.svg-ico { font-size: inherit; line-height: 1; text-align: center; }
.ico-dots { font-size: 54px; }

/* ---------- Cookie-Hinweis im Yin-Yang-Stil ---------- */
.cookie { background: #0b0b0b; border-color: var(--border-str); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden; }
.cookie::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 120px; background-color: var(--paper); background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px); background-size: 24px 24px; clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%); opacity: .95; pointer-events: none; }
.cookie > * { position: relative; padding-right: 90px; }
.cookie .cookie-prefs, .cookie .cookie-actions { padding-right: 0; }
.cookie-head { position: relative; }
.cookie-cat { width: 56px; height: auto; margin-top: -6px; }
.cookie p a { color: var(--text); }
.cookie .pref-row { background: rgba(255,255,255,.03); border-radius: 12px; }
.switch input:checked + span { background: var(--paper); border-color: var(--paper); }
.switch input:checked + span::after { background: var(--ink); }
.switch input:focus-visible + span { outline-color: var(--paper); }
@media (max-width: 640px) { .cookie::before { display: none; } .cookie > * { padding-right: 0; } }

/* ---------- Landrick-Elemente: Badge mit Puls, schwebende Info-Kärtchen ---------- */
.lr-badge { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: 0 8px 24px -12px rgba(0,0,0,.6); }
.lr-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: lr-ping 1.8s ease-out infinite; }
.lr-badge-oos .lr-dot { background: #dc2626; animation-name: lr-ping-red; }
@keyframes lr-ping { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55); } 100% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } }
@keyframes lr-ping-red { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.55); } 100% { box-shadow: 0 0 0 8px rgba(220,38,38,0); } }
.lr-floats { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 36vw); pointer-events: none; z-index: 2; }
.lr-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 11px 15px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); animation: lr-bob 5s ease-in-out infinite; }
.lr-float > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.lr-float > span .svg-ico { width: 17px; height: 17px; }
.lr-float b { display: block; font-size: 14.5px; color: var(--ink); }
.lr-float small { color: #6b6a64; font-size: 12px; }
.lr-float.is-oos > span { background: #dc2626; }
.lr-f1 { left: 0; top: 12%; }
.lr-f2 { right: -8px; top: 44%; animation-delay: -1.7s; }
.lr-f3 { left: 18%; bottom: 8%; animation-delay: -3.3s; }
@keyframes lr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1000px) { .lr-floats { display: none; } }

/* Konfigurator: Plattform-Auswahl */
.cfg-models { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 26px; max-width: 900px; }
.cfg-models a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--border-str); border-radius: 14px; color: var(--muted); text-decoration: none; transition: border-color .2s, background .2s, transform .25s; }
.cfg-models a:hover { border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.cfg-models b { color: var(--text); font-size: 14.5px; font-weight: 600; }
.cfg-models span { font-family: var(--mono); font-size: 12px; }
.cfg-models a.on { background: var(--paper); border-color: var(--paper); color: #6b6a64; }
.cfg-models a.on b { color: var(--ink); }

/* Instant Dedicated: Out of stock */
.oos-banner { max-width: 760px; margin: 0 auto 40px; padding: 40px 36px; text-align: center; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.oos-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(220,38,38,.1); color: #b91c1c; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.oos-dot { width: 7px; height: 7px; border-radius: 50%; background: #dc2626; animation: lr-ping-red 1.8s ease-out infinite; }
.oos-banner h3 { margin: 18px 0 10px; font-size: 24px; color: var(--text); }
.oos-banner p { margin: 0 auto 24px; max-width: 520px; color: var(--muted); line-height: 1.65; }
.oos-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dedi-card.is-oos { position: relative; opacity: .72; }
.dedi-card.is-oos .btn { pointer-events: none; }
.oos-tag { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .lr-dot, .lr-float, .oos-dot { animation: none; } }

/* ---------- Dashboard: Yin & Yang Kopf + Kennzahlen-Leiste ---------- */
.dash-yy { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; margin-bottom: 18px; border: 1px solid var(--border-str); border-radius: 24px; overflow: hidden; background: #080808; min-height: 230px; }
.dash-yy-dark { padding: 30px 70px 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.dash-yy-dark h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; margin: 2px 0 0; }
.dash-yy-dark p { color: var(--muted); font-size: 15px; }
.dash-yy-dark p strong { color: var(--text); }
.dash-yy-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dash-yy-pin { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--muted-dim); }
.dash-yy-pin strong { font-family: var(--mono); color: var(--text); letter-spacing: .08em; margin-left: 4px; }
.dash-yy-light {
  margin-left: -60px; padding: 30px 32px 28px 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background-color: #f5f4f1; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px); background-size: 24px 24px; color: #0a0a0a;
  clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%);
}
.dash-yy-light .mono-label { color: #77766f; }
.dash-yy-balance { font-size: clamp(34px, 4.4vw, 52px); font-weight: 560; letter-spacing: -.045em; line-height: 1.05; }
.dash-yy-light p { color: #4f4e49; font-size: 14px; margin-bottom: 6px; }
.panel-body .dash-yy-light .btn-primary { background: #0a0a0a; color: #f5f4f1; border-color: #0a0a0a; }
.dash-yy-mark { position: absolute; left: 53.5%; top: 50%; width: 78px; height: 78px; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); pointer-events: none; }
.dash-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.dash-strip > * { display: grid; gap: 6px; padding: 18px 22px; color: inherit; text-decoration: none; }
.dash-strip > * + * { border-left: 1px solid var(--border); }
.dash-strip b { font-size: 26px; font-weight: 560; letter-spacing: -.03em; }
.dash-strip small { color: var(--muted-dim); font-size: 12.5px; }
.dash-strip a:hover { background: rgba(255,255,255,.03); }
@media (max-width: 760px) {
  .dash-yy { grid-template-columns: 1fr; }
  .dash-yy-dark { padding: 26px 22px 40px; }
  .dash-yy-light { margin: -30px 0 0; padding: 50px 22px 24px; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); }
  .dash-yy-mark { display: none; }
  .dash-strip { grid-template-columns: 1fr; }
  .dash-strip > * + * { border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- Kundenbereich: Einführungs-Tour (assets/js/tour.js) ---------- */
.panel-nav button.panel-link { width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.tour-dim { position: fixed; inset: 0; z-index: 900; }
.tour-spot { position: fixed; z-index: 901; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(0,0,0,.72), 0 0 0 2px var(--paper); transition: left .3s, top .3s, width .3s, height .3s; }
.tour-card { position: fixed; z-index: 902; width: 340px; padding: 22px 22px 18px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.6); transition: left .3s, top .3s; }
.tour-card .tour-step { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #77766f; }
.tour-card h3 { margin: 8px 0 8px; font-size: 19px; color: var(--ink); }
.tour-card p { color: #4f4e49; font-size: 14.5px; line-height: 1.6; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.tour-skip { background: none; border: 0; padding: 0; color: #77766f; font: inherit; font-size: 13.5px; cursor: pointer; }
.tour-skip:hover { color: var(--ink); }
.tour-card .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tour-card .btn-ghost { color: var(--ink); border-color: rgba(0,0,0,.2); background: transparent; }
@media (prefers-reduced-motion: reduce) { .tour-spot, .tour-card { transition: none; } }

/* ---------- Kundenbereich: Benutzer + Discord ---------- */
.panel-user { display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; transition: border-color .18s, background .18s; }
.panel-user:hover { border-color: var(--border-str); background: rgba(255,255,255,.04); }
.pu-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.pu-initial { display: grid; place-items: center; background: #5865f2; color: #fff; font-size: 13px; font-weight: 700; }
.pu-text { display: flex; flex-direction: column; line-height: 1.15; }
.pu-text b { font-size: 13.5px; font-weight: 600; }
.pu-text small { font-size: 11.5px; color: var(--muted-dim); }
.discord-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dc-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dc-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.dc-empty { display: grid; place-items: center; background: rgba(88,101,242,.16); color: #8b95ff; }
.dc-sub { color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 560px; }
.dc-sub b { color: var(--text); }
.dc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dc-actions form { margin: 0; }
@media (max-width: 640px) { .pu-text small { display: none; } }

/* ---------- Rote Akzente (sparsam, neben Schwarz/Weiß) ---------- */
:root { --red: #ff4655; --red-rgb: 255,70,85; --red-light: #ff7a85; --red-pale: #ffb3b9; }
/* Kundenbereich + Admin: Blau statt Rot (wie im Screenshot) – alle Akzente laufen über diese Variablen */
.panel-body, .admin-body {
  /* Kundenbereich + Admin: nur Schwarz/Weiß – kein Blau, kein Rot (die Website behält ihre Farben) */
  --red: #f5f4f1; --red-rgb: 245,244,241; --red-light: #e7e5df; --red-pale: #f5f4f1; --lh-blue: #f5f4f1; --lh-blue-h: #ffffff;
  --violet: #f5f4f1; --violet-lit: #f5f4f1; --violet-deep: #d8d6d0; --violet-fade: rgba(255,255,255,.08); --accent: #f5f4f1;
}
.panel-body .btn-accent, .panel-body .btn-accent:hover, .admin-body .btn-accent, .admin-body .btn-accent:hover { color: #0a0a0a !important; }
.panel-body .btn-outline-accent, .admin-body .btn-outline-accent { color: var(--text); border-color: var(--border-str); }
.panel-body .fw-switch.on span, .admin-body .fw-switch.on span, .panel-body .lh-toggle input:checked + span::after { background: #0a0a0a; }
.panel-body .lm-navbar, .admin-body .lm-navbar { background: #f5f4f1; box-shadow: 0 0 10px rgba(255,255,255,.35); }
.admin-body .inbox { background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.admin-body .chart-bar, .admin-body .rev-bar { background: linear-gradient(180deg, #f5f4f1, #8a8984) !important; }
.admin-body .stat-bar-fill, .panel-body .stat-bar-fill, .panel-body .rs-bar-fill { background: linear-gradient(90deg, #8a8984, #f5f4f1) !important; }
.panel-body .ico-violet, .admin-body .ico-violet { color: var(--text) !important; }
.panel-body .dns-del, .admin-body .dns-del { background: rgba(255,255,255,.08); color: var(--text); }
.panel-body .dns-del:hover, .admin-body .dns-del:hover { background: rgba(255,255,255,.16); }
.lm-progress { background: var(--red) !important; }
.lm .nav-center .nav-link::after { background: var(--red); }
.mono-label::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; vertical-align: 2px; border-radius: 50%; background: var(--red); }
.lm .ln-head.lm-in h2::after, .lm .ab-head.lm-in h2::after, .lm .ab-split-head.lm-in h2::after { background: var(--red); opacity: 1; }
/* Rote Linie entlang der Wellen-/Schnittkante, zeichnet sich beim Erscheinen */
.ln-wave-edge { stroke-dasharray: 1600; stroke-dashoffset: 0; }
.ln-wave-bottom .ln-wave-edge { display: none; }
.lm .ln-light:not(.lm-open) .ln-wave-edge { stroke-dashoffset: 1600; }
.lm .ln-light.lm-open .ln-wave-edge { transition: stroke-dashoffset 1.4s cubic-bezier(.7,0,.2,1) .3s; }
/* Yin-Yang: feiner roter Ring dreht gegenläufig */
.yin-yang .yy-ring { transform-box: view-box; transform-origin: 50px 56px; animation: yy-spin 18s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) { .yin-yang .yy-ring { animation: none; } }
/* Kundenbereich & Admin: aktiver Menüpunkt mit roter Leiste */
.lm .admin-nav-link.active::after, .lm .panel-link.is-active::after { background: var(--red); }
.tab.is-active { box-shadow: inset 0 -2px 0 var(--red); }
.lm-top .fg { stroke: var(--red); }
/* =========================================================
   Saubere Bewegung (überschreibt frühere Runden)
   Eine Kurve für alles (sanftes Auslaufen), kürzere Wege, keine Hüpfer/Wackler.
   ========================================================= */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }
@keyframes lm-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes lm-char { from { opacity: 0; transform: translate3d(0, .3em, 0); } to { opacity: 1; transform: none; } }
@keyframes lm-pop  { from { opacity: 0; transform: translate3d(0, 6px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lm-side { from { opacity: 0; transform: translate3d(-8px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes lm-row  { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }
.lm .lm-r.lm-in { animation-duration: .9s; animation-timing-function: var(--ease); }
.lm .lm-split .lm-ch { animation-duration: .9s; animation-timing-function: var(--ease); }
.lm .lm-row { animation-duration: .6s; animation-timing-function: var(--ease); }
.lm .lm-words .lm-w > span, .lm .lm-in .lm-words .lm-w > span { transition-timing-function: var(--ease) !important; transition-duration: .9s !important; }

/* Weniger Unruhe: Hüpfen, Wackeln, Dauer-Pulsieren raus bzw. leiser */
.lm .ln-prod .ico-dots { animation: none !important; }
.lm .nav-badge { animation: none !important; }
.lm .mono-label::before { animation: lh-dotpulse 4s ease-out infinite; }
.lm .pill-active::before, .lm .pill-on::before { animation-duration: 3.5s; }
.lm .ln-feat:hover .svg-ico, .lm .ab-card:hover .svg-ico, .lm .p-stat:hover .svg-ico, .lm .foot-badges span:hover .svg-ico { animation: none; }
.lm .panel-link:hover .panel-ico, .lm .admin-nav-link:hover .adm-ico { transform: translateX(2px); }
.lm .lm-tilt:hover { transform: translateY(-4px); }   /* kein 3D-Kippen mehr, nur sanftes Anheben */

/* Einheitliches Hover: alles Anklickbare gleitet weich */
.lm .btn { transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.lm .btn:hover { transform: translateY(-1px); }
.lm .btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.lm .card, .lm .ln-prod, .lm .ln-plan, .lm .kvm-plan, .lm .ab-card, .lm .stat, .lm .p-stat { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease, background .3s ease; }

/* Neu: Kopfzeile wird beim Scrollen schlanker */
.site-header .nav-inner, .site-header .wrap { transition: padding .4s var(--ease), height .4s var(--ease); }
/* Kopfzeile bleibt beim Scrollen deckend – sonst scheinen Überschriften und helle Abschnitte durch */
.site-header, .site-header.is-scrolled { background: #060606 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* Neu: Merkmal-Listen in Paketen erscheinen Zeile für Zeile */
.lm .ln-plan.lm-in li, .lm .kvm-plan.lm-in li { animation: lm-rise .7s var(--ease) backwards; }
.lm .ln-plan.lm-in li:nth-child(2), .lm .kvm-plan.lm-in li:nth-child(2) { animation-delay: .06s; }
.lm .ln-plan.lm-in li:nth-child(3), .lm .kvm-plan.lm-in li:nth-child(3) { animation-delay: .12s; }
.lm .ln-plan.lm-in li:nth-child(4), .lm .kvm-plan.lm-in li:nth-child(4) { animation-delay: .18s; }
.lm .ln-plan.lm-in li:nth-child(n+5), .lm .kvm-plan.lm-in li:nth-child(n+5) { animation-delay: .24s; }

/* Neu: Bilder/Symbole in Karten zoomen beim Erscheinen leicht heran */
@keyframes lm-zoomin { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.lm .ln-prod.lm-in .ico-dots, .lm .ab-card.lm-in .svg-ico { animation: lm-zoomin .8s var(--ease) .15s backwards; }

/* Neu: Footer-Spalten gleiten nacheinander herein */
.lm .foot-col.lm-in a { display: inline-block; animation: lm-rise .6s var(--ease) backwards; }
.lm .foot-col.lm-in li:nth-child(2) a { animation-delay: .04s; }
.lm .foot-col.lm-in li:nth-child(3) a { animation-delay: .08s; }
.lm .foot-col.lm-in li:nth-child(n+4) a { animation-delay: .12s; }

/* Neu: Klick-Ring statt Funken (ruhiger) */

/* Neu: Reiter-Inhalt blendet weich über statt zu springen */
.lm [data-vtab-panel]:not([hidden]), .lm [data-dtab-panel]:not([hidden]), .lm [data-topup-panel]:not([hidden]) { animation: lm-rise .5s var(--ease); }

/* Neu: Eingabefelder heben sich beim Fokus minimal */
.lm input:focus, .lm select:focus, .lm textarea:focus { transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }


/* =========================================================
   Domain-Verwaltung – neues Design, nur Schwarz/Weiß (kein Blau, kein Rot)
   Gilt für die ganze Seite inkl. Seitenleiste, Titelstrich und Dialoge.
   ========================================================= */
.panel-body:has(.dm-scope) { --red: #f5f4f1; --red-rgb: 245,244,241; --red-light: #e7e5df; --red-pale: #f5f4f1; --lh-blue: #f5f4f1; --lh-blue-h: #fff; }
.panel-body:has(.dm-scope) .panel-link.is-active .panel-ico { color: #fff !important; }
.panel-body:has(.dm-scope) .lm-navbar { background: #f5f4f1; box-shadow: 0 0 10px rgba(255,255,255,.4); }

/* Kopf-Karte */
.dm-hero { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; padding: 28px 30px; margin-bottom: 14px; border-radius: 18px; border: 1px solid var(--border); background: radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.06), transparent 55%), #0b0b0b; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.2px), radial-gradient(120% 140% at 0% 0%, rgba(255,255,255,.06), transparent 55%); background-size: 22px 22px, auto; }
.dm-kicker { font: 600 11.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dim); }
.dm-domain { margin: 6px 0 14px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; word-break: break-all; }
.dm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-size: 14.5px; }
.dm-meta .mono { font-size: 13px; color: var(--muted-dim); }
.dm-state { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border-str); color: var(--muted); font-weight: 600; font-size: 13px; }
.dm-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-dim); }
.dm-state.is-on { color: var(--text); }
.dm-state.is-on i { background: #f5f4f1; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.dm-hero-side { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 260px; }
.dm-expiry-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--muted); }
.dm-expiry-top b { font-size: 18px; color: var(--text); }
.dm-bar { height: 6px; margin: 10px 0 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.dm-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #8a8984, #f5f4f1); transform-origin: left; }
.lm .dm-bar i { animation: lm-grow-x 1.2s var(--ease, ease) .3s backwards; }
.dm-expiry small { color: var(--muted-dim); font-size: 12.5px; }
.dm-hero-actions { display: flex; gap: 8px; justify-content: flex-end; }
.dm-hero-actions .btn { padding: 10px 18px; font-size: 14px; }

/* Reiter als kompakter Umschalter */
.dm-seg { display: inline-flex !important; gap: 4px !important; padding: 4px !important; margin: 0 0 14px !important; border-radius: 12px !important; background: #0b0b0b; border: 1px solid var(--border); }
.dm-seg .tab { padding: 10px 18px; border-radius: 9px !important; font-weight: 600; font-size: 14.5px; color: var(--muted); background: transparent; box-shadow: none !important; transition: background .3s var(--ease, ease), color .3s; }
.dm-seg .tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.dm-seg .tab.is-active { background: #f5f4f1 !important; color: #0a0a0a !important; }
.dm-seg .lm-tab-ind { display: none; }

/* Karten */
.dm-scope .dm-grid { grid-template-columns: minmax(0, 3fr) minmax(320px, 1fr); gap: 14px; }
.dm-scope .dm-card { padding: 22px !important; border-radius: 18px !important; background: #0b0b0b; }
.dm-scope .dm-card-head h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.dm-count { min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.08); color: var(--muted); }

/* DNS als echte Tabelle: Felder sehen wie Text aus, Rahmen erst beim Bearbeiten */
.dm-scope .dns-head, .dm-scope .dns-row { grid-template-columns: 1.2fr 150px 1.9fr 90px 44px; gap: 0; }
.dm-scope .dns-head { padding: 0 0 10px; border-bottom: 1px solid var(--border-str); font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dim); }
.dm-scope .dns-head > span { padding: 0 14px; }
.dm-scope .dns-row { padding: 0; border-bottom: 1px solid var(--border); transition: background .25s; }
.dm-scope .dns-row:hover { background: rgba(255,255,255,.025); }
.dm-scope .dns-row:focus-within { background: rgba(255,255,255,.04); }
.dm-scope .dns-row input, .dm-scope .dns-row select { height: 56px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 16.5px; }
.dm-scope .dns-row input:hover, .dm-scope .dns-row select:hover { background: rgba(255,255,255,.04); }
.dm-scope .dns-row input:focus, .dm-scope .dns-row select:focus { border-color: rgba(255,255,255,.5) !important; background: #060606; box-shadow: none !important; }
.dm-scope .dns-row input[name="rname[]"] { font-weight: 600; }
.dm-scope .dns-target { font-family: var(--mono); font-size: 15px !important; }
.dm-scope .dns-row select[data-dns-type] { font: 700 13.5px var(--mono); letter-spacing: .05em; }
.dm-scope .dns-ttl { color: var(--muted) !important; }
.dm-scope .dns-del { justify-self: center; width: 38px; height: 38px; border-radius: 9px; background: transparent; color: var(--muted-dim); transform: none; }
.dm-scope .dns-del:hover { background: rgba(255,255,255,.08); color: var(--text); transform: none; }
.dm-scope .dm-actions { justify-content: space-between; margin-top: 14px; }
.dm-scope .dm-actions .btn-teal { order: -1; background: transparent !important; border: 1px dashed var(--border-str) !important; }
.dm-scope .dm-actions .btn-teal:hover { border-color: rgba(255,255,255,.45) !important; background: rgba(255,255,255,.03) !important; }
.dm-scope .dm-actions .btn-teal { margin-right: auto; }
.dm-scope .dm-actions .btn-accent { order: 2; }
.dm-scope .dns-hint { order: 1; margin: 0 6px 0 0; color: var(--muted); }
.dm-scope .dns-warn { background: rgba(255,255,255,.03); border-color: var(--border-str); }
.dm-scope .dns-warn b, .dm-scope .dns-warn-ico { color: var(--text); }

/* Nameserver: nummerierte Liste */
.dm-scope .dm-ns { counter-reset: ns; }
.dm-scope .dm-ns label { display: none; }
.dm-scope .dm-ns .ns-input { counter-increment: ns; height: 46px; margin-bottom: 8px; padding-left: 14px; border-radius: 10px; background: #060606; border: 1px solid var(--border); font: 14.5px var(--mono); }
.dm-scope .dm-ns .ns-input:focus { border-color: rgba(255,255,255,.5) !important; box-shadow: none !important; }
.dm-scope .dm-ns .btn { margin-top: 6px; border-radius: 10px; }

/* Einblenden */
.lm .dm-hero { animation: lm-rise .8s var(--ease, ease) both; }
.lm .dm-seg { animation: lm-rise .8s var(--ease, ease) .08s both; }
.lm .dm-scope .dm-card { animation: lm-rise .8s var(--ease, ease) .14s both; }
.lm .dm-scope .dm-card + .dm-card { animation-delay: .2s; }
.lm .dm-scope .dns-row { animation: lm-rise .6s var(--ease, ease) backwards; }

@media (max-width: 1100px) { .dm-hero { flex-direction: column; } .dm-hero-actions { justify-content: flex-start; } .dm-scope .dm-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .dm-hero { padding: 22px 18px; }
  .dm-seg { display: flex !important; overflow-x: auto; }
  .dm-scope .dns-head { display: none; }
  .dm-scope .dns-row { grid-template-columns: 1fr 100px 44px; padding: 6px 0; }
  .dm-scope .dns-row .dns-target { grid-column: 1 / -1; grid-row: 2; }
  .dm-scope .dns-row .dns-ttl { grid-row: 3; }
}

/* ---------- Domain-Verwaltung: mehr Yin-Yang ---------- */
/* Kopf-Karte schräg geteilt: links schwarz (Yin), rechts hell (Yang), Yin-Yang in der Mitte */
.dm-yy { position: relative; padding: 0 !important; overflow: hidden; gap: 0; background: #0b0b0b !important; }
.dm-yy .dm-hero-main { flex: 1.25; padding: 30px 90px 30px 32px; background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.2px); background-size: 22px 22px; }
.dm-yy .dm-hero-side { flex: 1; padding: 28px 30px 28px 96px; margin-left: -70px; color: #0a0a0a; background-color: #f5f4f1; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px); background-size: 22px 22px; clip-path: polygon(70px 0, 100% 0, 100% 100%, 0 100%); }
.dm-yy .dm-expiry-top { color: #4f4e49; }
.dm-yy .dm-expiry-top b { color: #0a0a0a; }
.dm-yy .dm-bar { background: rgba(0,0,0,.1); }
.dm-yy .dm-bar i { background: linear-gradient(90deg, #77766f, #0a0a0a); }
.dm-yy .dm-expiry small { color: #77766f; }
.dm-yy .dm-hero-side .btn-primary { background: #0a0a0a !important; color: #f5f4f1 !important; border-color: #0a0a0a !important; box-shadow: none !important; }
.dm-yy .dm-hero-side .btn-primary:hover { background: #1c1c1c !important; }
.dm-yy .dm-hero-side .btn-ghost { background: transparent !important; color: #0a0a0a !important; border-color: rgba(0,0,0,.25) !important; }
.dm-yy .dm-hero-side .btn-ghost:hover { border-color: #0a0a0a !important; background: rgba(0,0,0,.04) !important; }
.dm-yy-mark { position: absolute; left: 55.5%; top: 50%; width: 74px; height: 74px; transform: translate(-50%, -50%); z-index: 2; filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); }
.lm .dm-yy-mark { animation: lm-mark .9s var(--ease, ease) .3s both, lm-breathe-c 5s ease-in-out 1.4s infinite; }
.lm .dm-yy .dm-hero-side { animation: lm-from-right .9s var(--ease, ease) .1s both; }

/* Nameserver-Karte als helles Gegenstück (Yang) zur dunklen DNS-Karte (Yin) */
.dm-scope .dm-yang { background-color: #f5f4f1 !important; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.2px) !important; background-size: 22px 22px !important; color: #0a0a0a; border-color: #f5f4f1 !important; }
.dm-scope .dm-yang h3 { color: #0a0a0a; }
.dm-scope .dm-yang .dm-ns .ns-input { background: #fff; border-color: rgba(0,0,0,.14); color: #0a0a0a; }
.dm-scope .dm-yang .dm-ns .ns-input::placeholder { color: #8a8984; }
.dm-scope .dm-yang .dm-ns .ns-input:focus { border-color: #0a0a0a !important; }
.dm-scope .dm-yang .btn-accent { background: #0a0a0a !important; border-color: #0a0a0a !important; color: #f5f4f1 !important; }
.dm-scope .dm-yang .btn-accent:hover { background: #1c1c1c !important; }
/* Kleines Yin-Yang-Zeichen vor den Kartentiteln */
.dm-scope .dm-card-head h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; background: linear-gradient(90deg, #f5f4f1 50%, #0a0a0a 50%); box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.dm-scope .dm-yang .dm-card-head h3::before { background: linear-gradient(90deg, #0a0a0a 50%, #f5f4f1 50%); box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
.dm-scope .dm-yang .dm-card-head h3 { display: flex; align-items: center; gap: 10px; }

@media (max-width: 1100px) {
  .dm-yy { flex-direction: column; }
  .dm-yy .dm-hero-main { padding: 26px 22px 40px; }
  .dm-yy .dm-hero-side { margin: -30px 0 0; padding: 50px 22px 24px; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); }
  .dm-yy-mark { display: none; }
}

/* =========================================================
   Professionelle Feinheiten (Runde 6)
   ========================================================= */
/* Navigation: weiche Hover-Fläche gleitet mit */
.lm-hl { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 0; border-radius: 10px; background: rgba(255,255,255,.06); opacity: 0; pointer-events: none; transition: transform .35s var(--ease, ease), width .35s var(--ease, ease), height .35s var(--ease, ease), opacity .25s ease; }
.lm-hl.is-on { opacity: 1; }
.nav-center .nav-link, .panel-nav .panel-link, .adm-nav .admin-nav-link { position: relative; z-index: 1; }
.panel-nav .panel-link:hover, .adm-nav .admin-nav-link:hover, .nav-center .nav-link:hover { background: transparent !important; box-shadow: none !important; }
.panel-nav .lm-hl, .adm-nav .lm-hl { border-radius: 10px; }

/* Spotlight: Rand leuchtet unter der Maus (Maske nur auf den Rand) */
.lm-spot { position: relative; }
.lm-spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(255,255,255,.45), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s ease;
}
.lm-spot:hover::before { opacity: 1; }
/* Karten, die ::before schon nutzen, behalten ihren eigenen Effekt */
.ln-step.lm-spot::before, .stat.lm-spot::before, .p-stat.lm-spot::before { content: none; }
.ln-light-body .lm-spot::before { background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(0,0,0,.35), transparent 65%); }

/* Große Blöcke öffnen sich von der Mitte (clip-path, kein Layout-Sprung) */
.lm .lm-unveil { clip-path: inset(0 8% 0 8% round 24px); opacity: .001; transform: translateY(18px); transition: clip-path 1.1s var(--ease, ease), opacity .8s ease, transform 1.1s var(--ease, ease); }
.lm .lm-unveil.lm-unveiled { clip-path: inset(0 0 0 0 round 0); opacity: 1; transform: none; }
.lm .dash-yy.lm-unveil.lm-unveiled { clip-path: none; }

/* Knöpfe: feiner Lichtrand beim Drüberfahren */
.lm .btn-primary { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
.lm .btn-primary:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.08), 0 12px 30px -14px rgba(255,255,255,.45); }
.lm .btn-ghost:hover { box-shadow: 0 0 0 4px rgba(255,255,255,.04); }

/* Überschriften-Strich, Unterstreichungen: einheitlich weich */
.lm .nav-center .nav-link::after { transition: transform .45s var(--ease, ease); }

/* Dropdown-Menüs: weiches Aufklappen mit leichter Skalierung */
.lm .has-drop .drop { transform-origin: top center; }
.lm .has-drop.open .drop { animation: lm-dropin .35s var(--ease, ease); }
@keyframes lm-dropin { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Formularfelder: Fokus wächst weich */
.lm input, .lm select, .lm textarea { transition: border-color .25s var(--ease, ease), box-shadow .3s var(--ease, ease), background .25s ease; }

/* Bilder/Logos/Avatare: weiches Einblenden nach dem Laden */
.lm img { animation: lm-imgin .6s ease both; }
@keyframes lm-imgin { from { opacity: 0; } }

/* Alerts: weich herein, Icon-Kreis zieht sich zusammen */
.lm .alert { animation: lm-rise .5s var(--ease, ease) both; }

@media (prefers-reduced-motion: reduce) {
  .lm-hl { transition: none; }
  .lm .lm-unveil { clip-path: none; opacity: 1; transform: none; transition: none; }
}

/* ---------- Impressum (recht.php?s=impressum) – schlicht: Inhaltsverzeichnis links, Inhalt rechts ---------- */
.imp { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; align-items: start; }
.imp-toc { position: sticky; top: 96px; display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid var(--border); }
.imp-toc-title { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dim); }
.imp-toc a { position: relative; padding: 6px 0; font-size: 13.5px; line-height: 1.4; color: var(--muted-dim); transition: color .2s; }
.imp-toc a:hover, .imp-toc a.is-here { color: var(--text); }
.imp-toc a.is-here::before { content: ""; position: absolute; left: -15px; top: 6px; bottom: 6px; width: 1px; background: var(--text); }
.imp-block { padding: 34px 0; border-top: 1px solid var(--border); scroll-margin-top: 96px; }
.imp-block:first-child { padding-top: 0; border-top: 0; }
.imp-block h2 { margin: 0 0 14px !important; font-size: 20px !important; font-weight: 600; letter-spacing: -.015em; }
.imp-block h2::before { display: none; }
.imp-block p, .imp-block li { font-size: 15px; line-height: 1.75; color: var(--muted); }
.imp-block p + p { margin-top: 12px; }
.imp-block a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.imp-block a:hover { text-decoration-color: var(--text); }
/* Angaben als ruhige Tabelle: Beschriftung links, Wert rechts, feine Linien */
.imp-table { margin: 6px 0 4px; border-top: 1px solid var(--border); }
.imp-table > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.imp-table dt { font-size: 14px; color: var(--muted-dim); }
.imp-table dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.imp-stand { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted-dim); }
@media (max-width: 960px) {
  .imp { grid-template-columns: 1fr; gap: 28px; }
  .imp-toc { position: static; display: none; }
  .imp-table > div { grid-template-columns: 1fr; gap: 4px; }
}
/* =========================================================
   Backend-Stil 2 (Kundenbereich + Admin) – ruhiger, schwebend, Yin-Yang-Kontrast
   ========================================================= */
/* Seitenleiste schwebt als Karte mit Abstand zum Rand */
.panel-body .panel-shell { grid-template-columns: 272px 1fr; }
.panel-body .panel-side, .admin-body .adm-side {
  margin: 12px 0 12px 12px; height: calc(100vh - 24px); top: 12px; border-radius: 20px !important;
  border: 1px solid var(--border) !important; background: #0a0a0a !important; background-image: linear-gradient(180deg, rgba(255,255,255,.035), transparent 40%) !important;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.9);
}
.panel-body .panel-brand, .admin-body .adm-brand { padding-top: 18px; }
/* Gruppen-Titel ruhiger */
.panel-body .panel-group, .admin-body .adm-nav-label { font-size: 10.5px; letter-spacing: .18em; color: #5f5e5a; padding-top: 18px; }
/* Menüpunkte: großzügiger, aktiv = weiße Pille mit schwarzer Schrift (Yang in Yin) */
.panel-body .panel-link, .admin-body .admin-nav-link { border-radius: 12px !important; padding: 9px 10px; font-weight: 500; }
.panel-body .panel-ico, .admin-body .adm-ico { width: 32px; height: 32px; border-radius: 10px !important; background: rgba(255,255,255,.04) !important; color: var(--muted) !important; box-shadow: none !important; }
.panel-body .panel-link.is-active, .admin-body .admin-nav-link.active { background: #f5f4f1 !important; color: #0a0a0a !important; box-shadow: 0 8px 24px -12px rgba(255,255,255,.35) !important; }
.panel-body .panel-link.is-active .panel-ico, .admin-body .admin-nav-link.active .adm-ico { background: #0a0a0a !important; color: #f5f4f1 !important; }
.panel-body .panel-link.is-active::after, .admin-body .admin-nav-link.active::after { display: none; }
.panel-body .panel-link.is-active .nav-badge, .admin-body .admin-nav-link.active .nav-badge { background: #0a0a0a !important; color: #f5f4f1 !important; }

/* Obere Leiste: schlank, Glas, mit feiner Linie */
.panel-body .panel-top { position: sticky; top: 0; z-index: 30; background: rgba(6,6,6,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.panel-body .panel-title, .admin-body .adm-bar h1 { font-size: 22px; letter-spacing: -.02em; }
.admin-body .adm-bar { background: rgba(6,6,6,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.panel-body .balance-chip { border-radius: 12px !important; background: #f5f4f1 !important; color: #0a0a0a !important; border-color: #f5f4f1 !important; font-weight: 600; }
.panel-body .panel-user { border-radius: 14px; }

/* Karten: größere Rundung, feine helle Oberkante, ruhiger Hintergrund */
.panel-body .panel-main .card, .admin-body .admin-main .panel, .admin-body .stat, .panel-body .p-stat, .admin-body .inbox {
  border-radius: 18px !important; border-color: var(--border) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0) 120px), #0b0b0b !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.panel-body .dm-scope .dm-yang { box-shadow: none; }
.admin-body .panel-head { border-bottom-color: var(--border) !important; }
.admin-body .stat .label, .panel-body .p-stat .mono-label { letter-spacing: .14em; }
.admin-body .stat .value, .panel-body .p-stat strong { letter-spacing: -.03em; }

/* Tabellen: Kopf ruhiger, Zeilen mit weicher Hover-Fläche */
.panel-body .data-table th, .admin-body .admin-table th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6f6e69; font-weight: 600; }
.panel-body .data-table tbody tr:hover td, .admin-body .admin-table tbody tr:hover td { background: rgba(255,255,255,.025); }

/* Reiter im Backend: Segment-Optik wie in der Domain-Verwaltung */
.panel-body .panel-main .tabs:not(.dm-seg), .admin-body .admin-tabs { border-radius: 12px; }
.panel-body .tab.is-active { background: #f5f4f1 !important; color: #0a0a0a !important; box-shadow: none !important; }
.panel-body .tabs .lm-tab-ind { display: none; }

/* Knöpfe im Backend: primär weiß, sekundär dunkel umrandet */
.panel-body .btn-primary, .admin-body .btn-primary { background: #f5f4f1; color: #0a0a0a; border-color: #f5f4f1; }
.panel-body .btn-ghost, .admin-body .btn-ghost { background: #0f0f0f; }

@media (max-width: 900px) {
  .panel-body .panel-side, .admin-body .adm-side { margin: 0; height: auto; border-radius: 0 !important; }
}

/* Reiterleisten im Kundenbereich: nie quetschen – lieber waagerecht scrollen */
.panel-main .tabs { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
.panel-main .tabs::-webkit-scrollbar { display: none; }
.panel-main .tabs .tab { flex: 1 0 auto; }
.panel-main .tabs .tab-name { white-space: nowrap; }

/* Server-Übersicht: vier Messwerte – Beschriftung oben, Wert groß darunter; 2×2 auf schmaleren Bildschirmen */
.srv-meters { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 14px !important; }
.srv-meters .srv-meter { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 12px; }
.srv-meters .srv-meter > span:first-child { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); white-space: nowrap; }
.srv-meters .srv-meter > span:last-child { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
@media (max-width: 1400px) { .srv-meters { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .srv-meters { grid-template-columns: 1fr !important; } }


/* DDoS-Bereich im Server-Dashboard */
.dx { border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.015); padding: 24px; }
.dx [hidden] { display: none !important; }
.dx-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
.dx-head h3 { margin: 0; font-size: 20px; }
.dx-badge { margin: 6px 0 0; font-size: 12.5px; color: var(--muted-dim); }
.dx-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--text); vertical-align: 1px; }
.dx-seg { display: inline-flex; padding: 3px; border: 1px solid var(--border-str); border-radius: 10px; }
.dx-seg button { padding: 8px 16px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: inherit; transition: background .2s, color .2s; }
.dx-seg button:hover { color: var(--text); }
.dx-seg button.is-on { background: var(--text); color: var(--bg, #0a0a0a); }
.dx-range { display: flex; gap: 18px; margin-top: 20px; border-bottom: 1px solid var(--border); }
.dx-range button { padding: 0 0 10px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted-dim); font: inherit; font-size: 13.5px; cursor: inherit; transition: color .2s, border-color .2s; }
.dx-range button:hover { color: var(--text); }
.dx-range button.is-on { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }
.dx-state { padding: 56px 16px; margin: 0; text-align: center; color: var(--muted-dim); font-size: 14px; }
.dx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0; border: 1px solid var(--border); border-radius: 12px; }
.dx-stats > div { padding: 15px 18px; min-width: 0; }
.dx-stats > div + div { border-left: 1px solid var(--border); }
.dx-stats span { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); }
.dx-stats strong { display: block; margin-top: 6px; font-size: 20px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.dx-empty { padding: 44px 16px; text-align: center; }
.dx-empty strong { color: var(--text); }
.dx-empty p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted-dim); }
.dx-table { overflow-x: auto; }
.dx-table .data-table th, .dx-table .data-table td { padding: 13px 14px; white-space: nowrap; }
.dx-strong { color: var(--text) !important; }
.dx-peak { display: block; color: var(--text); font-variant-numeric: tabular-nums; }
.dx-bar { display: block; width: 110px; height: 3px; margin-top: 6px; border-radius: 2px; background: var(--border); overflow: hidden; }
.dx-bar i { display: block; height: 100%; background: var(--text); }
.dx-pill { display: inline-block; padding: 3px 10px; border: 1px solid var(--border-str); border-radius: 99px; font-size: 12px; color: var(--text); }
.dx-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; font-size: 12.5px; color: var(--muted); }
.dx-legend i { display: inline-block; width: 14px; margin-right: 7px; vertical-align: middle; }
.dx-legend .is-in { height: 2px; background: var(--text); }
.dx-legend .is-out { height: 2px; background: var(--muted-dim); }
.dx-legend .is-threshold { border-top: 2px dashed var(--muted); }
.dx-legend .is-band { height: 10px; background: var(--border-str); }
.dx-plot { position: relative; min-height: 300px; }
.dx-plot svg { display: block; touch-action: pan-y; }
.dx-graph-empty { padding: 120px 16px; margin: 0; text-align: center; font-size: 14px; color: var(--muted-dim); }
.dx-grid { stroke: var(--border); stroke-width: 1; }
.dx-axis { fill: var(--muted-dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.dx-band { fill: var(--text); opacity: .1; }
.dx-area { fill: var(--text); opacity: .07; }
.dx-line-in, .dx-line-out { fill: none; stroke-linejoin: round; }
.dx-line-in { stroke: var(--text); stroke-width: 1.6; }
.dx-line-out { stroke: var(--muted-dim); stroke-width: 1.2; }
.dx-threshold { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 6 5; }
.dx-cursor { stroke: var(--border-str); stroke-width: 1; }
.dx-dot-in { fill: var(--text); }
.dx-dot-out { fill: var(--muted-dim); }
.dx-tip { position: absolute; top: 20px; z-index: 2; display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--border-str); border-radius: 9px; background: #111; font-size: 12px; color: #a9a8a3; white-space: nowrap; pointer-events: none; }
.dx-tip time { color: #f5f4f1; font-weight: 600; }
.dx-tip span { display: flex; justify-content: space-between; gap: 16px; }
.dx-tip b { color: #f5f4f1; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .dx { padding: 16px; }
  .dx-seg { width: 100%; }
  .dx-seg button { flex: 1; padding: 8px 6px; }
  .dx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-stats > div:nth-child(3) { border-left: 0; }
  .dx-stats > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .dx-stats strong { font-size: 17px; }
}

.dx-bar-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.dx-bar-top .dx-legend { margin: 0; }
.dx-tools { display: flex; gap: 6px; }
.dx-tools button { min-width: 34px; height: 32px; padding: 0 11px; border: 1px solid var(--border-str); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: inherit; transition: background .2s; }
.dx-tools button:hover { background: rgba(255,255,255,.08); }
.dx-plot { min-height: 0; }
.dx-plot > [data-dx="graph"] { height: 440px; cursor: crosshair; }
.dx-plot svg { user-select: none; }
.dx-select { fill: var(--text); opacity: .14; }
.dx-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted-dim); }
.dx-plot-wrap.is-full { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; padding: 22px; background: #0a0a0a; }
.dx-plot-wrap.is-full .dx-plot { flex: 1; min-height: 0; }
.dx-plot-wrap.is-full .dx-plot > [data-dx="graph"] { height: 100%; }
@media (max-width: 720px) { .dx-plot > [data-dx="graph"] { height: 320px; } }

/* Footer: Trustpilot-Link und Rechtliches */
.foot-trust { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 22px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.foot-trust a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--text); }
.panel-legal { justify-content: center; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border); }


/* =========================================================
   Kundenbereich und Admin: schlicht und ruhig. Diese Regeln stehen zuletzt und gelten vor den älteren Backend-Stilen.
   ========================================================= */
body.panel-body, body.admin-body { background: #0c0c0d; }
body.panel-body .panel-shell { grid-template-columns: 248px 1fr; }

/* Seitenleiste: feste Spalte, kein schwebendes Element */
body.panel-body .panel-side, body.admin-body .adm-side { margin: 0; height: 100vh; top: 0; border: 0 !important; border-right: 1px solid var(--border) !important; border-radius: 0 !important; background: #101011 !important; background-image: none !important; box-shadow: none; }
body.panel-body .panel-group, body.admin-body .adm-nav-label { font-size: 11px; letter-spacing: .06em; color: var(--muted-dim); padding-top: 16px; }
body.panel-body .panel-link, body.admin-body .admin-nav-link { border-radius: 7px !important; padding: 7px 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
body.panel-body .panel-link:hover, body.admin-body .admin-nav-link:hover { background: rgba(255,255,255,.05) !important; color: var(--text); }
body.panel-body .panel-ico, body.admin-body .adm-ico { width: 22px; height: 22px; border-radius: 0 !important; background: transparent !important; }
body.panel-body .panel-link.is-active, body.admin-body .admin-nav-link.active { background: rgba(255,255,255,.09) !important; color: var(--text) !important; box-shadow: none !important; }
body.panel-body .panel-link.is-active .panel-ico, body.admin-body .admin-nav-link.active .adm-ico { background: transparent !important; color: var(--text) !important; }
body.panel-body .panel-link.is-active .nav-badge, body.admin-body .admin-nav-link.active .nav-badge { background: var(--text) !important; color: #0c0c0d !important; }
body.panel-body .panel-user { border-radius: 8px; }

/* Kopfzeile */
body.panel-body .panel-top, body.admin-body .adm-bar { background: #0c0c0d; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.panel-body .panel-title, body.admin-body .adm-bar h1 { font-size: 18px; font-weight: 600; letter-spacing: 0; }
body.panel-body .balance-chip { border-radius: 7px !important; background: transparent !important; color: var(--text) !important; border-color: var(--border-str) !important; font-weight: 500; }

/* Karten und Kennzahlen: flache Flächen */
body.panel-body .panel-main .card, body.admin-body .admin-main .panel, body.admin-body .stat, body.panel-body .p-stat, body.admin-body .inbox { border-radius: 10px !important; background: #121213 !important; background-image: none !important; box-shadow: none !important; }
body.panel-body .panel-main .card:hover, body.panel-body .p-stat:hover, body.admin-body .stat:hover, body.admin-body .admin-main .panel:hover { transform: none !important; box-shadow: none !important; }
body.admin-body .stat .label, body.panel-body .p-stat .mono-label { letter-spacing: .02em; text-transform: none; font-size: 13px; }
body.admin-body .stat .value, body.panel-body .p-stat strong { letter-spacing: -.01em; font-weight: 600; }
body.panel-body .mono-label, body.admin-body .mono-label { font-family: inherit; letter-spacing: .02em; text-transform: none; font-size: 13px; }
body.panel-body .mono-label::before, body.admin-body .mono-label::before { content: none; }

/* Tabellen */
body.panel-body .data-table th, body.admin-body .admin-table th { font-size: 12.5px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--muted-dim); }

/* Reiter: Linie unter dem aktiven Reiter */
body.panel-body .panel-main .tabs:not(.dm-seg), body.admin-body .admin-tabs { gap: 2px; padding: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
body.panel-body .panel-main .tabs:not(.dm-seg) .tab { flex: 0 0 auto; margin-bottom: -1px; padding: 9px 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent !important; }
body.panel-body .panel-main .tabs:not(.dm-seg) .tab.is-active { background: transparent !important; border-bottom-color: var(--text); color: var(--text) !important; }
body.panel-body .panel-main .tabs:not(.dm-seg) .tab.is-active .tab-name, body.panel-body .panel-main .tabs:not(.dm-seg) .tab.is-active .tab-count, body.panel-body .panel-main .tabs:not(.dm-seg) .tab.is-active .svg-ico { color: var(--text) !important; }

/* Knöpfe */
body.panel-body .btn, body.admin-body .btn { border-radius: 7px; box-shadow: none; font-weight: 500; }
body.panel-body .btn:hover, body.admin-body .btn:hover { transform: none; box-shadow: none; }
body.panel-body .btn-ghost, body.admin-body .btn-ghost { background: transparent; }
body.panel-body .btn-ghost:hover, body.admin-body .btn-ghost:hover { background: rgba(255,255,255,.06); }

/* Fortschrittsbalken */
body.panel-body .stat-bar, body.admin-body .stat-bar { height: 5px; }
body.admin-body .stat-bar-fill, body.panel-body .stat-bar-fill, body.panel-body .rs-bar-fill { background: var(--text) !important; }

/* Dashboard: zwei ruhige Karten statt Yin-Yang */
body.panel-body .dash-yy { gap: 14px; grid-template-columns: 1.4fr 1fr; min-height: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
body.panel-body .dash-yy-dark, body.panel-body .dash-yy-light { --text: #f2f1ed; --muted: #a9a8a3; --muted-dim: #77766f; padding: 22px 24px; border: 1px solid var(--border); border-radius: 10px; background: #121213; background-image: none; color: var(--text); clip-path: none; margin: 0; }
body.panel-body .dash-yy-dark h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
body.panel-body .dash-yy-light .mono-label, body.panel-body .dash-yy-light p { color: var(--muted); }
body.panel-body .dash-yy-balance { font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
body.panel-body .dash-yy-light .btn-primary { align-self: flex-start; background: #f5f4f1; color: #0a0a0a; border-color: #f5f4f1; }
body.panel-body .dash-yy-mark, body.panel-body .dm-yy-mark { display: none; }
@media (max-width: 760px) { body.panel-body .dash-yy { grid-template-columns: 1fr; } }

/* DDoS-Bereich */
body.panel-body .dx { border-radius: 10px; background: #121213; }
body.panel-body .dx-seg { border-radius: 8px; }
body.panel-body .dx-seg button { border-radius: 6px; font-weight: 500; }
body.panel-body .dx-seg button.is-on { background: rgba(255,255,255,.12); color: var(--text); }
body.panel-body .dx-stats { border-radius: 8px; }
body.panel-body .dx-stats span { letter-spacing: .02em; text-transform: none; font-size: 13px; }
body.panel-body .dx-stats strong { font-size: 19px; }
.dx-stop { stop-color: var(--text); }
.dx-grid { stroke: rgba(255,255,255,.06); }
.dx-line-in { stroke-width: 1.5; }
.dx-line-out { stroke: #6b6a65; stroke-width: 1; }
.dx-band { opacity: .08; }
.dx-threshold { stroke: #8a8984; stroke-dasharray: 4 4; }
.dx-dot-in { stroke: #121213; stroke-width: 2; }
.dx-dot-out { stroke: #121213; stroke-width: 2; }
.dx-tip { border-radius: 8px; background: #1a1a1b; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.dx-tools button { border-radius: 7px; font-size: 13px; }
.dx-plot-wrap.is-full { background: #0c0c0d; }

/* Profil: DDoS-Einstellungen */
.ddos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ddos-grid .field { margin: 0; }
.ddos-rate { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 6px; }
.ddos-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ddos-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
@media (max-width: 900px) { .ddos-grid { grid-template-columns: 1fr; } }

/* DDoS-Bereich: Kopf und Traffic-Graph */
.dx { --dx-in: #22b8f0; --dx-out: #2ecf91; }
.dx-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-top { margin-top: 20px; }
.dx-top .dx-stats { margin: 0 0 12px; }
.dx-stats { background: rgba(255,255,255,.015); }
.dx-head + .dx-state, .dx-head ~ [data-dx="content"] { margin-top: 18px; }
.dx-bar-top h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.dx-stop-in { stop-color: var(--dx-in); }
.dx-stop-out { stop-color: var(--dx-out); }
.dx-line-in, .dx-line-out { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.dx-line-in { stroke: var(--dx-in); stroke-width: 1.6; }
.dx-line-out { stroke: var(--dx-out); stroke-width: 1.6; }
.dx-dot-in { fill: var(--dx-in); }
.dx-dot-out { fill: var(--dx-out); }
.dx-tick { stroke: rgba(255,255,255,.14); stroke-width: 1; }
.dx-band { opacity: .045; }
.dx-plot-wrap .dx-legend { justify-content: center; margin: 14px 0 0; font-size: 13px; }
.dx-legend i { border-radius: 50%; }
.dx-legend .is-in, .dx-legend .is-out { width: 11px; height: 11px; }
.dx-legend .is-in { background: var(--dx-in); }
.dx-legend .is-out { background: var(--dx-out); }
.dx-legend .is-threshold { width: 14px; border-radius: 0; }
.dx-legend .is-band { width: 11px; height: 11px; border-radius: 2px; }
.dx-plot-wrap .dx-hint { text-align: center; }
@media (max-width: 720px) { .dx-controls, .dx-controls .dx-seg { width: 100%; } }

/* Neutrale Scrollleiste und Profilbild im Backend */
html:has(body.panel-body), html:has(body.admin-body), body.panel-body, body.admin-body { scrollbar-color: #3a3a3c transparent; }
html:has(body.panel-body)::-webkit-scrollbar-thumb, html:has(body.admin-body)::-webkit-scrollbar-thumb, body.panel-body ::-webkit-scrollbar-thumb, body.admin-body ::-webkit-scrollbar-thumb { background: #3a3a3c; }
body.panel-body .pu-initial { background: #2a2a2c !important; color: var(--text) !important; }

/* Server-Übersicht: Betriebssystem als Zeile, Neuinstallation im Dialog */
.os-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.os-row h3 { margin: 0; font-size: 15px; }
.os-row p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.os-warn { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--border-str); border-radius: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.os-warn strong { color: var(--text); }
.os-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
#os-submit:disabled { opacity: .4; cursor: not-allowed; }

/* Backend: einheitliche Formulare, Fokus und Hinweise */
body.panel-body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea),
body.admin-body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) {
  border-radius: 7px; border: 1px solid var(--border-str); background-color: #0e0e0f; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
body.panel-body :is(input, select, textarea):focus-visible, body.admin-body :is(input, select, textarea):focus-visible {
  outline: none; border-color: #8a8984; box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
body.panel-body :is(a, button, .btn):focus-visible, body.admin-body :is(a, button, .btn):focus-visible { outline: 2px solid #8a8984; outline-offset: 2px; }
body.panel-body .alert, body.admin-body .alert { border-radius: 8px; font-size: 14px; }
body.panel-body .panel-main .card > h3:first-child, body.panel-body .panel-main .card h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
body.panel-body .kv-row dt, body.admin-body .kv-row dt { color: var(--muted-dim); }
body.panel-body .lh-modal .lh-modal-box, body.admin-body .lh-modal .lh-modal-box { border-radius: 12px; }

/* Guthaben aufladen: aktiver Reiter war weiß auf weiß (--violet ist im Backend hell) */
body.panel-body .topup-tab.is-active { background: rgba(255,255,255,.12); color: var(--text); }

/* Dashboard: Ausgaben und Status-Hinweis */
.status-banner { display: block; margin-bottom: 18px; text-decoration: none; }
.usage-card { margin: 0 0 18px; }
.usage-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.usage-head h3 { margin: 0; font-size: 15px; }
.usage-head span { font-size: 13px; color: var(--muted-dim); }
.usage-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; }
.usage-col { display: grid; justify-items: center; gap: 6px; }
.usage-val { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.usage-bar { display: flex; align-items: flex-end; width: 100%; max-width: 46px; height: 90px; border-radius: 6px; background: rgba(255,255,255,.04); overflow: hidden; }
.usage-bar i { display: block; width: 100%; background: #55544f; border-radius: 6px 6px 0 0; }
.usage-col.is-now .usage-bar i { background: var(--text); }
.usage-col small { font-size: 12px; color: var(--muted-dim); }
@media (max-width: 560px) { .usage-val { display: none; } }

/* Profil: Discord-Webhook als Karte, Einrichtung im Dialog */
.hook-card { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; }
.hook-card h2 { margin: 0; font-size: 17px; }
.hook-card p { margin: 4px 0 0; font-size: 13px; color: var(--muted-dim); }
.hook-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #5865f2; color: #fff; }
.hook-steps { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.hook-steps strong { color: var(--text); font-weight: 600; }
.hook-preview { display: grid; gap: 3px; margin: 4px 0 0; padding: 10px 12px; border-left: 4px solid #ed4245; border-radius: 6px; background: #2b2d31; font-size: 12.5px; color: #b5bac1; }
.hook-preview-author { font-size: 12px; color: #f2f3f5; }
.hook-preview strong { color: #00a8fc; font-weight: 600; }
.hook-manage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
@media (max-width: 640px) { .hook-card { grid-template-columns: auto 1fr; } .hook-card .dx-pill, .hook-actions { grid-column: 1 / -1; } }

/* Discord-Webhook im DDoS-Bereich */
.dx-hook { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.dx-hook-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dx-hook-head h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.dx-hook-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dx-hook-form input { flex: 1 1 280px; min-width: 0; padding: 8px 12px; border: 1px solid var(--border-str); border-radius: 7px; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; }
.dx-hook-msg { margin: 10px 0 0; font-size: 13px; color: var(--text); }

/* Admin: Umsatz-Diagramm mit Raster und Beschriftung */
.rev-plot { position: relative; height: 230px; padding-left: 74px; }
.rev-grid { position: absolute; inset: 0 0 24px 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.rev-grid > div { position: relative; height: 0; border-top: 1px solid rgba(255,255,255,.06); }
.rev-grid span { position: absolute; left: 0; top: -9px; padding-right: 8px; background: #121213; font-size: 11px; color: var(--muted-dim); font-variant-numeric: tabular-nums; }
.rev-plot .rev-chart { position: relative; height: 100%; gap: 10px; padding: 0; }
.rev-plot .rev-col { gap: 0; }
.rev-plot .rev-slot { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: calc(100% - 24px); }
.rev-plot small { height: 24px; line-height: 28px; }
body.admin-body .rev-plot .rev-bar { max-width: 30px; min-height: 0; border-radius: 3px 3px 0 0; background: #55544f !important; animation: none; transition: background .15s; }
body.admin-body .rev-plot .rev-col.is-now .rev-bar, body.admin-body .rev-plot .rev-col:hover .rev-bar { background: #f5f4f1 !important; filter: none; }
.rev-plot .tip { bottom: calc(100% - 20px); }

/* Header springt nicht mehr seitlich, wenn eine Seite eine Scrollleiste bekommt oder verliert */
html { scrollbar-gutter: stable; }

/* Filterleiste (Aktivität): Felder so hoch wie die Buttons, CSV-Export rechts */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 16px; }
.filter-bar label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted-dim); }
.filter-bar select, .filter-bar input[type="date"] {
  height: 40px; padding: 0 12px; min-width: 150px; border-radius: 8px; font: inherit; font-size: 14px;
  background: #0e0e0f; color: var(--text); border: 1px solid var(--border-str); color-scheme: dark;
}
.filter-bar select:focus, .filter-bar input[type="date"]:focus { outline: none; border-color: rgba(255,255,255,.35); }
.filter-bar .btn { height: 40px; display: inline-flex; align-items: center; gap: 8px; }
.filter-bar .filter-export { margin-left: auto; }
@media (max-width: 700px) {
  .filter-bar label { flex: 1 1 140px; }
  .filter-bar select, .filter-bar input[type="date"] { width: 100%; min-width: 0; }
  .filter-bar .filter-export { margin-left: 0; flex: 1 1 100%; justify-content: center; }
}

/* Partnerprogramm */
.partner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
.partner-card { padding: 20px 22px; }
.partner-card h3 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.partner-hint { font-size: 13px; color: var(--muted-dim); margin-top: 10px; line-height: 1.6; }
.partner-inline { margin-top: 16px; display: grid; gap: 6px; }
.partner-inline label { font-size: 12.5px; color: var(--muted-dim); }
.partner-inline > div { display: flex; gap: 8px; }
.partner-inline input { flex: 1; height: 40px; padding: 0 12px; border-radius: 8px; background: #0e0e0f; color: var(--text); border: 1px solid var(--border-str); font: inherit; letter-spacing: .06em; }
.partner-inline .btn { height: 40px; }
.partner-inline small { font-size: 12px; color: var(--muted-dim); }
.tier-list { display: grid; gap: 8px; }
.tier-row { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13.5px; color: var(--muted); }
.tier-row strong { color: var(--text); font-weight: 600; }
.tier-row b { color: var(--text); font-weight: 600; }
.tier-row.is-on { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.tier-progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); margin-top: 14px; overflow: hidden; }
.tier-progress i { display: block; height: 100%; background: #f2f1ee; border-radius: inherit; }
.payout-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; margin-top: 12px; }
.payout-sum span { color: var(--muted); font-size: 13.5px; }
.payout-sum strong { font-size: 20px; }
.payout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 16px; }
.payout-form .field select { width: 100%; height: 44px; padding: 0 12px; border-radius: 8px; background: #0e0e0f; color: var(--text); border: 1px solid var(--border-str); font: inherit; }
.payout-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.payout-actions small { font-size: 12px; color: var(--muted-dim); flex: 1 1 260px; line-height: 1.5; }
.payout-st { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; border: 1px solid var(--border-str); }
.payout-paid { color: #4ade80; border-color: rgba(74,222,128,.35); }
.payout-rejected { color: #f87171; border-color: rgba(248,113,113,.35); }
@media (max-width: 860px) { .partner-grid, .payout-form { grid-template-columns: 1fr; } }

/* =========================================================
   Startseite: Kopf – ruhig und klar. Text links, Yin & Yang rechts.
   ========================================================= */
.ln-hero.ln-hero-yy { padding: 112px 0 104px; text-align: left; border-bottom: 1px solid var(--border); }
.ln-hero-yy .ln-hero-glow, .ln-hero-yy .lm-motes { display: none; }
.ln-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.ln-hero-yy .mono-label { margin-bottom: 22px; }
.ln-hero-yy h1 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -.045em; line-height: .98; font-weight: 600; margin: 0; }
.ln-hero-yy h1::after { display: none; }
.ln-hero-yy .lead { max-width: 520px; margin: 24px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--muted); }
.ln-hero-yy .ln-hero-cta { justify-content: flex-start; margin-top: 34px; }
.ln-hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.ln-hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.ln-hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #f2f1ee; opacity: .7; }
.ln-hero-art { display: flex; justify-content: center; }
.ln-hero-mark { width: min(100%, 380px); height: auto; display: block; }
.yy-plain-spin { transform-origin: 100px 100px; }
@keyframes yy-plain-spin { to { transform: rotate(360deg); } }
.lm .yy-plain-spin { animation: yy-plain-spin 80s linear infinite; }
@media (prefers-reduced-motion: reduce) { .lm .yy-plain-spin { animation: none; } }
@media (max-width: 900px) {
  .ln-hero.ln-hero-yy { padding: 72px 0 64px; }
  .ln-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ln-hero-art { order: -1; justify-content: flex-start; }
  .ln-hero-mark { width: 140px; }
}

/* =========================================================
   Öffentliche Website: überwiegend weiß (body.site-light, gesetzt in includes/header.php).
   Schwarz bleibt Akzent: die früher hellen Bänder (.ln-light-body) sind jetzt die dunkle Seite.
   Kundenbereich und Admin sind davon nicht betroffen.
   ========================================================= */
body.site-light {
  --bg: #ffffff; --bg-elev: #f6f6f4; --card: #ffffff; --card-hover: #fbfbfa;
  --border: rgba(0,0,0,.09); --border-str: rgba(0,0,0,.16);
  --text: #0a0a0a; --muted: #55544f; --muted-dim: #7a7973;
  --paper: #0a0a0a; --ink: #ffffff;
  --glass: rgba(255,255,255,.86); --glass-solid: rgba(255,255,255,.97);
  --violet-lit: #2b4fd8;
  background-color: #ffffff !important;
  background-image: radial-gradient(rgba(0,0,0,.055) 1px, transparent 1.2px) !important;
  color: var(--text);
}
body.site-light ::selection { background: #0a0a0a; color: #fff; }
html:has(body.site-light) { scrollbar-color: rgba(0,0,0,.35) #f3f3f1; }

/* Knöpfe: schwarz auf weiß */
body.site-light .btn-primary { background: #0a0a0a; color: #fff; border-color: #0a0a0a; box-shadow: 0 10px 28px -14px rgba(0,0,0,.45); }
body.site-light .btn-primary:hover { background: #222; color: #fff; box-shadow: 0 12px 32px -14px rgba(0,0,0,.6); }
body.site-light .btn-ghost { background: #fff; color: #0a0a0a; border-color: rgba(0,0,0,.16); }
body.site-light .btn-ghost:hover { background: #f4f4f2; border-color: rgba(0,0,0,.35); color: #0a0a0a; }

/* Kopfzeile */
body.site-light .site-header, body.site-light .site-header.is-scrolled { background: #ffffff !important; border-bottom-color: rgba(0,0,0,.08); box-shadow: none; }
body.site-light .site-header.is-scrolled { box-shadow: 0 8px 30px -22px rgba(0,0,0,.35); }
body.site-light .nav-link { color: #55544f; }
body.site-light .nav-link:hover, body.site-light .nav-link[aria-expanded="true"] { color: #0a0a0a; background: rgba(0,0,0,.05); }
body.site-light .brand-word { color: #0a0a0a; }
body.site-light .lm-progress { background: #0a0a0a; }
body.site-light .mobile-nav { background: #fff; }

/* Karten, Felder, Tabellen */
body.site-light .card, body.site-light .ln-prod, body.site-light .ln-plan, body.site-light .kvm-plan, body.site-light .faq-item { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 16px 36px -30px rgba(0,0,0,.35); }
body.site-light input, body.site-light select, body.site-light textarea { background: #fff; color: #0a0a0a; border-color: rgba(0,0,0,.16); }
body.site-light input::placeholder, body.site-light textarea::placeholder { color: #8a8983; }
body.site-light .ico-box, body.site-light .drop .ico-box { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.08); color: #0a0a0a; }
body.site-light .ln-plan.is-top, body.site-light .kvm-plan.is-popular { background: #0a0a0a; border-color: #0a0a0a; --text: #f5f4f1; --muted: #a9a8a3; --muted-dim: #8a8983; --border: rgba(255,255,255,.12); --paper: #f5f4f1; --ink: #0a0a0a; color: var(--text); }
body.site-light .ln-plan.is-top .btn-primary, body.site-light .kvm-plan.is-popular .btn-primary { background: #fff; color: #0a0a0a; border-color: #fff; }

/* Startseiten-Kopf: Yin & Yang braucht auf Weiß eine Kontur */
body.site-light .yy-plain > circle:first-child { stroke: rgba(0,0,0,.08); }
body.site-light .yy-plain > circle:last-child { stroke: rgba(0,0,0,.55); }
body.site-light .ln-hero-facts li::before { background: #0a0a0a; }

/* Ehemals helle Bänder = jetzt die dunkle Seite */
body.site-light .ln-wave { fill: #0a0a0a; }
body.site-light .ln-light-body {
  --paper: #f5f4f1; --ink: #0a0a0a;
  --text: #f5f4f1; --muted: #a9a8a3; --muted-dim: #8a8983;
  --border: rgba(255,255,255,.1); --border-str: rgba(255,255,255,.2);
  --card: #111; --card-hover: #151515; --bg: #0a0a0a;
  background-color: #0a0a0a; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px);
  color: var(--text);
}
body.site-light .ln-light-body .ln-prod, body.site-light .ln-light-body .ln-plan, body.site-light .ln-light-body .kvm-plan, body.site-light .ln-light-body .card { background: #111; box-shadow: none; }
body.site-light .ln-light-body .ln-prod:hover, body.site-light .ln-light-body .card:hover { background: #151515; }
body.site-light .ln-light-body .btn-primary { background: #f5f4f1; color: #0a0a0a; border-color: #f5f4f1; box-shadow: none; }
body.site-light .ln-light-body .btn-primary:hover { background: #fff; color: #0a0a0a; }
body.site-light .ln-light-body .btn-ghost { background: transparent; color: #f5f4f1; border-color: rgba(255,255,255,.22); }
body.site-light .ln-light-body .btn-ghost:hover { background: rgba(255,255,255,.06); }
body.site-light .ln-light-body .ln-plan.is-top, body.site-light .ln-light-body .kvm-plan.is-popular { background: #f5f4f1; border-color: #f5f4f1; --text: #0a0a0a; --muted: #55544f; --muted-dim: #7a7973; --border: rgba(0,0,0,.1); color: var(--text); }
body.site-light .ln-light-body .ln-plan.is-top .btn-primary, body.site-light .ln-light-body .kvm-plan.is-popular .btn-primary { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
body.site-light .ln-light-body .tab { background: #111; color: var(--muted); border-color: var(--border); }
body.site-light .ln-light-body .tab.is-active, body.site-light .ln-light-body .tab[aria-selected="true"] { background: #f5f4f1 !important; color: #0a0a0a !important; border-color: #f5f4f1 !important; }
body.site-light .ln-light-body .tab.is-active .tab-name, body.site-light .ln-light-body .tab[aria-selected="true"] .tab-name { color: #0a0a0a !important; }
body.site-light .ln-light-body .tab.is-active .tab-meta, body.site-light .ln-light-body .tab[aria-selected="true"] .tab-meta { color: #55544f !important; }
body.site-light .ln-light-body input, body.site-light .ln-light-body select, body.site-light .ln-light-body textarea { background: #111; color: #f5f4f1; border-color: rgba(255,255,255,.18); }

/* Yin-&-Yang-Karte: Rand sichtbar auf Weiß */
body.site-light .ln-duo { border-color: rgba(0,0,0,.14); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }

/* Footer: schwarzer Abschluss als Gegenstück zum weißen Kopf */
body.site-light .site-footer {
  --text: #f5f4f1; --muted: #a9a8a3; --muted-dim: #8a8983; --border: rgba(255,255,255,.1); --border-str: rgba(255,255,255,.2);
  background: #0a0a0a; color: var(--text); border-top: 0;
}
body.site-light .site-footer .brand-word { color: #f5f4f1; }

/* =========================================================
   Öffentliche Website am Handy: kürzer, größere Tippflächen, nichts ragt über den Rand
   ========================================================= */
html:has(body.site-light), body.site-light { overflow-x: clip; }
@media (max-width: 700px) {
  body.site-light .wrap { padding-left: 18px; padding-right: 18px; }
  /* Abstände: die Seite war am Handy über 11 000 px lang */
  body.site-light .ln-sec { padding-top: 60px; }
  body.site-light .ln-light { margin-top: 60px; }
  body.site-light .ln-light-body { padding: 36px 0 44px; }
  body.site-light .ln-wave { height: 44px; }
  body.site-light .ln-head { margin-bottom: 26px; }
  body.site-light .ln-head .lead { font-size: 15.5px; }
  body.site-light h2 { font-size: 28px; line-height: 1.12; }
  body.site-light .ln-final { padding: 72px 0 64px; margin-top: 64px; }
  body.site-light .ln-final h2 { font-size: 30px; }
  body.site-light .section, body.site-light .page-hero { padding-top: 56px; padding-bottom: 56px; }
  body.site-light .ln-light-body.ln-cut { --cut: 36px; padding: calc(var(--cut) + 28px) 0 calc(var(--cut) + 32px) !important; }

  /* Kopf */
  body.site-light .ln-hero.ln-hero-yy { padding: 40px 0 44px; }
  body.site-light .ln-hero-grid { gap: 22px; }
  body.site-light .ln-hero-mark { width: 84px; }
  body.site-light .ln-hero-yy h1 { font-size: 46px; }
  body.site-light .ln-hero-yy .lead { font-size: 16px; margin-top: 16px; }
  body.site-light .ln-hero-yy .ln-hero-cta { margin-top: 24px; flex-direction: column; align-items: stretch; }
  body.site-light .ln-hero-yy .ln-hero-cta .btn { justify-content: center; text-align: center; }
  body.site-light .ln-hero-facts { margin-top: 24px; padding-top: 16px; gap: 6px 16px; font-size: 13px; }

  /* Karten kompakter */
  body.site-light .ln-prod, body.site-light .ln-plan, body.site-light .card { padding: 20px; }
  body.site-light .ln-prod .ico-dots { width: 44px; height: 44px; }
  body.site-light .ln-products, body.site-light .ln-plans { gap: 12px; }
  body.site-light .ln-duo-half, body.site-light .ln-duo-half + .ln-duo-half { padding: 30px 22px; }
  body.site-light .ln-duo-half h3 { font-size: 22px; }

  /* Tippflächen mindestens 44 px hoch */
  body.site-light .btn, body.site-light .btn-sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  body.site-light .faq-item summary { min-height: 52px; }
  body.site-light .foot-col a { display: inline-block; padding: 6px 0; }
  body.site-light input, body.site-light select, body.site-light textarea { font-size: 16px; }   /* iPhone zoomt sonst beim Antippen */

  /* Domain-Preisliste: Transfer-Spalte ausblenden, Knopf kompakt */
  #tld-table th:nth-child(4), #tld-table td:nth-child(4) { display: none; }
  #tld-table th, #tld-table td { padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
  #tld-table .btn { padding: 8px 12px; font-size: 13px; }

  /* Fußzeile */
  body.site-light .foot-grid { gap: 26px 18px; }
  body.site-light .foot-badges { gap: 8px 16px; margin-top: 30px; }
}
@media (max-width: 380px) {
  body.site-light .ln-hero-yy h1 { font-size: 40px; }
  body.site-light .nav-right .btn-sm { padding: 8px 12px; }
}

/* Cookie-Hinweis passend zur hellen Website */
body.site-light .cookie { background: #fff; color: #0a0a0a; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 24px 60px -20px rgba(0,0,0,.35); }
body.site-light .cookie p, body.site-light .cookie label, body.site-light .cookie small { color: #55544f; }
body.site-light .cookie h3, body.site-light .cookie h4, body.site-light .cookie strong { color: #0a0a0a; }
body.site-light .cookie a { color: #0a0a0a; text-decoration: underline; }
@media (max-width: 700px) {
  body.site-light .cookie { padding: 18px; max-height: 70vh; overflow-y: auto; }
  body.site-light .cookie-actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   Kundenbereich & Admin am Handy (steht zuletzt, damit die festen Desktop-Spalten oben nicht greifen)
   ========================================================= */
@media (max-width: 900px) {
  body.panel-body .panel-shell { grid-template-columns: minmax(0, 1fr) !important; display: block; }
  body.panel-body .panel-content { min-width: 0; }
  /* Seitenleiste wird zur Kopfzeile mit Menü-Knopf */
  body.panel-body .panel-side {
    position: sticky !important; top: 0; z-index: 50; height: auto !important; width: auto; max-height: none;
    border-right: 0 !important; border-bottom: 1px solid var(--border) !important; overflow: visible;
  }
  body.panel-body .panel-brand { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px !important; min-height: 60px; }
  body.panel-body .panel-brand .brand-mark { width: 40px; }
  body.panel-body .panel-brand .brand-word { font-size: 17px; }
  body.panel-body .panel-toggle { display: inline-flex !important; width: 44px; height: 44px; align-items: center; justify-content: center; }
  body.panel-body .panel-nav { display: none; max-height: calc(100vh - 61px); overflow-y: auto; padding: 6px 12px 18px; border-top: 1px solid var(--border); }
  body.panel-body .panel-nav.open { display: block; }
  body.panel-body .panel-link { padding: 11px 10px; font-size: 15px; }

  /* Obere Leiste: Titel links, Guthaben + Konto kompakt rechts, nichts ragt raus */
  body.panel-body .panel-top { position: static; padding: 14px 16px !important; gap: 10px; flex-wrap: nowrap; }
  body.panel-body .panel-title { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  body.panel-body .panel-top-right { gap: 8px; flex: none; }
  body.panel-body .balance-chip { padding: 7px 10px; font-size: 13.5px; white-space: nowrap; }
  body.panel-body .panel-user { padding: 4px; }
  body.panel-body .panel-user > span:not(:first-child), body.panel-body .panel-user .panel-user-name { display: none; }
  body.panel-body .panel-tabs { padding: 0 16px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  body.panel-body .panel-tabs::-webkit-scrollbar { display: none; }
  body.panel-body .panel-tabs a { white-space: nowrap; }

  /* Inhalt */
  body.panel-body .panel-main { padding: 16px 14px 56px !important; max-width: 100%; }
  body.panel-body .panel-main .card { padding: 18px !important; }
  body.panel-body .p-stats { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  body.panel-body .p-stat { padding: 14px !important; }
  body.panel-body .p-stat .value { font-size: 20px; word-break: break-word; }
  body.panel-body .partner-grid, body.panel-body .topup-grid, body.panel-body .detail-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.panel-body .data-table { font-size: 13.5px; }
  body.panel-body .panel-main > * { max-width: 100%; }
  body.panel-body .panel-main table { display: block; overflow-x: auto; }
  body.panel-body input, body.panel-body select, body.panel-body textarea { font-size: 16px; }

  /* Dashboard-Begrüßung (Yin & Yang): untereinander statt nebeneinander */
  body.panel-body .dash-yy { display: grid; grid-template-columns: minmax(0, 1fr) !important; clip-path: none; }
  body.panel-body .dash-yy-dark, body.panel-body .dash-yy-light { clip-path: none !important; padding: 22px 18px !important; min-width: 0; }
  body.panel-body .dash-yy-dark h2 { font-size: 26px; }
  body.panel-body .dash-yy-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  body.panel-body .dash-yy-actions .btn { flex: 1 1 140px; justify-content: center; min-height: 44px; }
  body.panel-body .dash-yy-balance { font-size: 34px; }
  body.panel-body .dash-yy-mark { display: none; }
  body.panel-body .dash-yy-pin { display: block; margin-top: 14px; word-break: break-all; }

}
@media (max-width: 420px) {
  body.panel-body .p-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px; }
  body.panel-body .p-stat { padding: 12px !important; }
  body.panel-body .p-stat .p-stat-label, body.panel-body .p-stat .mono-label { font-size: 12.5px; }
  body.panel-body .p-stat .value { font-size: 18px; }
  body.panel-body .panel-title { font-size: 18px; }
}
@media (max-width: 330px) {
  body.panel-body .p-stats { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Formulare im Kundenbereich am Handy: zweispaltige Felder dürfen die Karte nicht sprengen */
@media (max-width: 900px) {
  body.panel-body .checkout { grid-template-columns: minmax(0, 1fr) !important; }
  body.panel-body .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  body.panel-body .grid-2 input, body.panel-body .grid-2 select { width: 100%; min-width: 0; }
}
@media (max-width: 480px) {
  body.panel-body .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.panel-body .grid-2 > [style*="span 2"] { grid-column: auto !important; }
}
@media (max-width: 900px) {
  body.panel-body .code-row { display: flex; gap: 8px; }
  body.panel-body .code-row input { flex: 1 1 auto; min-width: 0; }
  body.panel-body .code-row .btn { flex: none; padding-left: 16px; padding-right: 16px; }
}

/* =========================================================
   Kopfbereich sofort sichtbar: keine Einblend-Animationen für Kopfzeile, Titel, Text und Knöpfe.
   Am Handy blieb die Seite oben sonst sekundenlang leer (Titel wurde Buchstabe für Buchstabe eingeblendet).
   ========================================================= */
.lm body.site-light .site-header,
.lm body.site-light .lm-split .lm-ch,
.lm body.site-light .ln-hero h1, .lm body.site-light .ln-hero .lead, .lm body.site-light .ln-hero-cta, .lm body.site-light .ln-hero-facts, .lm body.site-light .ln-hero .mono-label,
.lm body.site-light .ab-hero h1, .lm body.site-light .ab-hero-side, .lm body.site-light .kvm-hero h1, .lm body.site-light .kvm-hero .lead, .lm body.site-light .kvm-hero-cta, .lm body.site-light .kvm-chips,
.lm body.site-light .page-hero h1, .lm body.site-light .page-hero .lead, .lm body.site-light .hero h1,
.lm body.panel-body .panel-title, .lm body.panel-body .balance-chip {
  animation: none !important; opacity: 1 !important; transform: none !important;
}
.lm body.site-light .lm-split .lm-ch { display: inline; }
body.site-light .ln-hero h1::after, body.site-light .ab-hero h1::after { animation: none !important; }
