/* TKND Unity GbR – Website-Styles inkl. Mobile */
:root {
  --bg: #0a1216;
  --panel: #0f151a;
  --text: #e6f2ff;
  --border: #1b222c;
  --muted: #cbd6e0;
  --orange: #f97316;
  --teal: #0ea5e9;
  --header-h: 64px;
  --container: min(1100px, 100% - 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

/* Lebendiger, sich langsam bewegender Farbverlauf (Mesh) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  contain: strict;
  background:
    radial-gradient(ellipse 100% 70% at 15% 5%, rgba(14, 165, 233, 0.22), transparent 52%),
    radial-gradient(ellipse 90% 60% at 88% 15%, rgba(56, 189, 248, 0.12), transparent 48%),
    radial-gradient(ellipse 80% 50% at 70% 95%, rgba(249, 115, 22, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 10% 85%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--bg);
  background-size: 140% 140%, 130% 130%, 120% 120%, 120% 120%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 80% 100%, 0% 100%, center;
  animation: tknd-mesh-drift 22s ease-in-out infinite;
}

@keyframes tknd-mesh-drift {
  0%, 100% {
    background-position: 0% 10%, 100% 20%, 75% 90%, 15% 85%, center;
    opacity: 1;
  }
  33% {
    background-position: 25% 0%, 85% 35%, 95% 75%, 5% 95%, center;
    opacity: 0.97;
  }
  66% {
    background-position: 10% 25%, 95% 10%, 60% 100%, 25% 70%, center;
    opacity: 1;
  }
}

/* Wellen-Silhouette unten (bewegt, über dem Mesh) */
body::after {
  content: "";
  position: fixed;
  left: -5%;
  right: -5%;
  bottom: -8vh;
  height: min(45vh, 420px);
  z-index: -1;
  pointer-events: none;
  contain: strict;
  will-change: transform;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%230ea5e9;stop-opacity:0.14'/%3E%3Cstop offset='50%25' style='stop-color:%23f97316;stop-opacity:0.09'/%3E%3Cstop offset='100%25' style='stop-color:%2338bdf8;stop-opacity:0.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23w)' d='M0,160L48,154.7C96,149,192,139,288,154.7C384,171,480,213,576,218.7C672,224,768,192,864,181.3C960,171,1056,181,1152,186.7C1248,192,1344,192,1392,192L1440,192L1440,320L0,320Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  opacity: 0.9;
  animation: tknd-wave-nudge 18s ease-in-out infinite alternate;
}

@keyframes tknd-wave-nudge {
  0% { transform: translateX(-1.5%) scaleY(1); }
  100% { transform: translateX(1.5%) scaleY(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }

/* Header & Nav */
.site-header { background: var(--panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand a { display: flex; }
.site-logo { height: 40px; width: auto; display: block; }
.brand .name { font-weight: 600; font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.nav-links a { padding: 0.5rem 0.75rem; color: var(--text); text-decoration: none; border-radius: 8px; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { background: rgba(255,255,255,0.08); }
.nav-links a[aria-current="page"] { font-weight: 600; background: rgba(14, 165, 233, 0.15); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); padding: 0.5rem 1rem; border-radius: 8px; font: inherit; cursor: pointer; }
.nav-toggle:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }
  .nav-links.is-open { display: flex; }
  .site-header .nav { position: relative; }
  .nav-links a { width: 100%; padding: 0.75rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.95; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: linear-gradient(135deg, #38bdf8, #0ea5e9); border-color: #0ea5e9; color: #fff; font-weight: 600; }
.btn.ghost { background: transparent; }
.btn.orange { background: linear-gradient(135deg, #fb923c, #f97316); border-color: #f97316; color: #fff; }

/* Hero & Sections */
.hero { padding: 2.5rem 0; }
.hero .container { max-width: 700px; }
.hero h1 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; }
.hero p { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.05rem; }
.section { padding: 2rem 0; }
.section h2 { margin: 0 0 1.25rem; font-size: 1.35rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card { background: linear-gradient(180deg, var(--panel), #0c1217); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; transition: border-color 0.2s; }
.card:hover { border-color: rgba(14, 165, 233, 0.4); }
.card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Service grid (Leistungen) */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.service-card { background: linear-gradient(180deg, var(--panel), #0c1217); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; transition: border-color 0.2s, transform 0.2s; }
.service-card:hover { border-color: rgba(14, 165, 233, 0.3); transform: translateY(-2px); }
.service-icon { width: 48px; height: 48px; margin-bottom: 0.75rem; color: var(--teal); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.service-card p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.95rem; }
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--muted); }
.bullets li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--teal); }

@media (max-width: 600px) {
  .hero { padding: 1.5rem 0; }
  .section { padding: 1.5rem 0; }
  .service-grid { grid-template-columns: 1fr; }
}

/* Forms */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 0.5rem; }
.field label { display: block; margin-bottom: 0.25rem; color: var(--muted); font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0c1519;
  color: var(--text);
  font: inherit;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.8; }
textarea { min-height: 120px; resize: vertical; }
button.btn { border: none; }

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .field[style*="grid-column"] { grid-column: 1 / -1; }
}

/* Notice (Erfolg/Fehler) */
.notice { padding: 1rem; border-radius: 8px; border: 1px solid var(--border); background: rgba(14, 165, 233, 0.1); margin-bottom: 1rem; }
.notice.error { border-color: #e11d48; background: rgba(225, 29, 72, 0.12); color: #fecdd3; }
.notice.ok { border-color: #059669; background: rgba(5, 150, 105, 0.12); color: #a7f3d0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; margin-top: 2rem; background: var(--panel); }
.site-footer .container { text-align: center; }
.site-footer p { margin: 0.35rem 0; color: var(--muted); font-size: 0.9rem; }
.site-footer a { color: var(--teal); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { margin-bottom: 0.25rem; }
.small { font-size: 0.85rem; }

/* Utility */
.num { white-space: nowrap; }

/* ─── Auth-Seite: Anmelden / Registrieren ─── */
body.tknd-auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.tknd-auth-page #main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.tknd-auth-page .site-header {
  background: rgba(15, 21, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(27, 34, 44, 0.85);
}

.auth-page-root {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-shell {
  padding: clamp(1.25rem, 4vw, 2.5rem) 1rem clamp(2rem, 5vw, 3.5rem);
  width: 100%;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 400px);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 880px) {
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .auth-panel-wrap {
    order: -1;
  }
}

.auth-visual {
  position: relative;
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(155deg, rgba(14, 165, 233, 0.18) 0%, rgba(12, 24, 32, 0.92) 45%, rgba(249, 115, 22, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 28px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  min-height: 220px;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle at 28% 38%, rgba(56, 189, 248, 0.28), transparent 42%),
    radial-gradient(circle at 72% 62%, rgba(249, 115, 22, 0.16), transparent 38%);
  animation: auth-glow 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auth-glow {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.88; }
  100% { transform: translate(3%, -2%) rotate(2deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-visual::before {
    animation: none;
  }
}

.auth-visual-inner {
  position: relative;
  z-index: 1;
}

.auth-visual-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.95);
}

.auth-visual h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3.8vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.auth-visual-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 38ch;
}

.auth-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: 1px solid rgba(14, 165, 233, 0.6);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.auth-pill:hover {
  opacity: 0.96;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.32);
}

.auth-pill--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.auth-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(14, 165, 233, 0.35);
}

.auth-panel-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

@media (min-width: 881px) {
  .auth-panel-wrap {
    margin-inline: 0;
    margin-left: auto;
  }
}

.auth-glass {
  background: rgba(10, 16, 20, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 22px;
  padding: clamp(1.35rem, 3.2vw, 1.85rem);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  margin-bottom: 1.5rem;
  background: rgba(6, 12, 16, 0.95);
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* Explizite Button-Reset – sonst OS-/Browser-Standard (Opera, Safari, …) */
button.auth-tab {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  font-family: inherit;
}

.auth-tab {
  flex: 1;
  min-height: 44px;
  padding: 0.5rem 0.5rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1.2;
}

.auth-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.auth-tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.auth-tab:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.auth-panel {
  display: none;
}

.auth-panel.is-active {
  display: block;
}

.auth-panel-title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.auth-panel .auth-lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-field-grid {
  display: grid;
  gap: 1rem;
}

.auth-field-stack {
  grid-template-columns: 1fr;
  max-width: 100%;
}

.auth-field-grid.two {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 520px) {
  .auth-field-grid.two {
    grid-template-columns: 1fr;
  }
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-row label {
  color: rgba(230, 242, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Passwort-Feld + „Anzeigen“: immer eine Zeile, Toggle rechts im Feld */
.input-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.input-wrap input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 5.25rem 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(27, 34, 44, 0.95);
  background: rgba(5, 10, 14, 0.9);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.input-wrap input:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(14, 165, 233, 0.18);
}

button.toggle-pw {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.toggle-pw:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
}

.toggle-pw:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
  align-items: center;
}

.auth-actions .btn {
  min-height: 46px;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (max-width: 520px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
}

button.role-card {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  font-family: inherit;
  text-align: left;
}

.role-card {
  padding: 1rem 1rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(5, 12, 16, 0.75);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.role-card:hover {
  border-color: rgba(14, 165, 233, 0.5);
  background: rgba(14, 165, 233, 0.1);
}

.role-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.role-card[aria-pressed="true"] {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.14);
}

.role-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.role-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.reg-step-details {
  margin-top: 0.35rem;
}

.hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.ds-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.1rem 0 0.25rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.ds-row input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.ds-row a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ds-row a:hover {
  color: #bae6fd;
}

/* Produkt / NIS2 – Preiskarten */
.pricing-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 900px;
}

.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.pricing-card .pricing-price {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-card .pricing-note {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.pricing-card .pricing-cta {
  margin-top: 0.25rem;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Lizenz-Link unter der Karte – gut lesbar (nicht Standard-Linkfarbe auf dunklem Card-Hintergrund) */
.pricing-card .pricing-legal {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(27, 34, 44, 0.9);
}

.pricing-card .pricing-legal a {
  color: #7dd3fc;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.5);
}

.pricing-card .pricing-legal a:hover {
  color: #e0f2fe;
  border-bottom-color: #bae6fd;
}

.pricing-card--highlight {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.12);
}

/* NIS2 Produktseite – Verkaufstext & BSP-Galerie */
.nis2-prose {
  max-width: 52rem;
}

.nis2-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.nis2-prose h2:first-child {
  margin-top: 0;
}

.nis2-prose p,
.nis2-prose ul {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.nis2-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.nis2-prose li {
  margin-bottom: 0.35rem;
}

.nis2-gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 56rem;
  margin-top: 1rem;
}

.nis2-gallery figure {
  margin: 0;
  background: rgba(10, 18, 22, 0.65);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.nis2-gallery img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.nis2-gallery figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.nis2-pdf-cta {
  margin-top: 0.75rem;
}

/* Eingebettete Beispiel-PDF (Browser-eigenes PDF-Plugin / Viewer) */
.nis2-pdf-embed-wrap {
  margin-top: 1.25rem;
  max-width: 56rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 18, 22, 0.85);
  min-height: 32rem;
}

.nis2-pdf-embed,
.nis2-pdf-embed-object {
  display: block;
  width: 100%;
  height: min(75vh, 720px);
  min-height: 28rem;
  border: 0;
}

.nis2-pdf-embed-object {
  background: #1a1a1a;
}

@media (max-width: 600px) {
  .nis2-pdf-embed,
  .nis2-pdf-embed-object {
    height: 55vh;
    min-height: 22rem;
  }
}

.infobox-site {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  background: rgba(14, 165, 233, 0.08);
  max-width: 52rem;
}

.infobox-site-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
}

.infobox-site .bullets li {
  margin-bottom: 0.45rem;
}

details.nis2-admin-hint summary {
  list-style: none;
}

details.nis2-admin-hint summary::-webkit-details-marker {
  display: none;
}

details.nis2-admin-hint[open] summary {
  margin-bottom: 0;
}

/* NIS2 Lizenzvertrag */
.lizenz-contract-wrap {
  max-width: 46rem;
}

.lizenz-modell-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.lizenz-nav-active {
  border-color: rgba(14, 165, 233, 0.55) !important;
  background: rgba(14, 165, 233, 0.12) !important;
  color: var(--text) !important;
}

.lizenz-block {
  margin-bottom: 1.5rem;
}

.lizenz-block .lizenz-block-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lizenz-block p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lizenz-block .lizenz-paragraf {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Landing: NIS2-Betroffenheits-Check (1 €) */
.lp-hero .container {
  max-width: 40rem;
}
.lp-hero h1 {
  line-height: 1.22;
}
.lp-hero-subh {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 600;
  color: var(--muted);
}
.lp-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.lp-trust {
  list-style: none;
  margin: 1.15rem 0;
  padding: 0;
}
.lp-trust li {
  position: relative;
  padding-left: 1.65rem;
  margin: 0.45rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.lp-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 0.75rem;
  background-position: center;
  background-repeat: no-repeat;
}
.lp-price {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.lp-cta-row {
  margin-top: 0.75rem;
}
.lp-cta-main {
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
}
.lp-narrow {
  max-width: 40rem;
}
.bullets-plain {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}
.bullets-plain li {
  margin-bottom: 0.35rem;
}
.lp-hint-arrow::before {
  content: "👉 ";
}
.lp-ampel-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lp-ampel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lp-ampel-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.lp-ampel-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.lp-ampel-gruen {
  border-left: 4px solid #4ade80;
}
.lp-ampel-gelb {
  border-left: 4px solid #fbbf24;
}
.lp-ampel-rot {
  border-left: 4px solid #f87171;
}
.lp-legal-box {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(251, 191, 36, 0.08);
  border-left: 4px solid rgba(251, 191, 36, 0.65);
}
.lp-legal-box h2 {
  margin-top: 0;
  font-size: 1.15rem;
}
.lp-badge {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--teal);
  vertical-align: middle;
}
.lp-faq-item {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.lp-faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.lp-faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}
.lp-faq-item p {
  margin: 0;
}
.lp-footer-cta {
  padding-bottom: 3rem;
}
.lp-footer-cta-inner {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.06);
}
.lp-footer-cta-line {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}
