/* ==========================================================================
   IT-Sicherheit für Anfänger — zentrales Stylesheet
   Aufbau: 1. Tokens  2. Reset  3. Layout  4. Komponenten  5. Seiten  6. Utilities
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root,
:root[data-theme="dark"] {
  --bg: #090c14;
  --bg-secondary: #0d111c;
  --card-bg: #12172400;
  --card-bg-solid: #131926;
  --card-border: rgba(148, 163, 184, 0.12);
  --text: #e7eaf1;
  --text-muted: #8a92a8;
  --accent: #3d7eff;
  --accent-light: #74a3ff;
  --accent-dark: #245ad1;
  --accent-glow: rgba(61, 126, 255, 0.35);
  --success: #22c55e;
  --warning: #f5a524;
  --danger: #f0455c;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.38);
  --glass: rgba(17, 22, 35, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --scrollbar-track: #0d111c;
  --scrollbar-thumb: #2b3547;
  --font-display: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --max-width: 1180px;
  --header-h: 76px;
}

:root[data-theme="light"] {
  --bg: #f4f6fb;
  --bg-secondary: #ffffff;
  --card-bg: #ffffff00;
  --card-bg-solid: #ffffff;
  --card-border: rgba(15, 23, 42, 0.09);
  --text: #10152a;
  --text-muted: #4c5670;
  --accent: #2158e0;
  --accent-light: #3b6fe8;
  --accent-dark: #17429f;
  --accent-glow: rgba(33, 88, 224, 0.22);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(15, 23, 42, 0.08);
  --scrollbar-track: #e7eaf1;
  --scrollbar-thumb: #c2c9db;
}

/* 2. RESET --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

:root[data-theme="light"] html,
html[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

/* Eigener Scrollbalken */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 20px;
  border: 3px solid var(--scrollbar-track);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* Sichtbarer Fokus für Tastaturbedienung */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 3. LAYOUT --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Ladeanimation (initial) --------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-shield {
  width: 56px;
  height: 56px;
  stroke: var(--accent);
}

.loader-shield path {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw-shield 1.3s ease-in-out infinite;
}

@keyframes draw-shield {
  0% { stroke-dashoffset: 240; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -240; }
}

/* Animierter Mauszeiger (nur Desktop, Pointer fein) -------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-light);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--accent-glow);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cursor-ring.is-active {
  width: 52px;
  height: 52px;
  border-color: var(--accent-light);
  background: var(--accent-glow);
}

/* 4. HEADER / NAVIGATION --------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--glass-border);
}

.nav-links a.is-active {
  color: var(--accent-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Umschalter */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: var(--glass-border);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  padding: 3px;
}

.theme-toggle .knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
}

:root[data-theme="light"] .theme-toggle .knob {
  transform: translateX(22px);
}

.theme-toggle .knob svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
}

/* 5. BUTTONS -------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 22px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* 6. HERO ------------------------------------------------------------------*/
.hero {
  padding: 72px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust div {
  font-family: var(--font-mono);
}

.hero-trust strong {
  display: block;
  font-size: 1.5rem;
  color: var(--text);
  font-family: var(--font-display);
}

.hero-trust span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Terminal-Signaturelement */
.terminal {
  border-radius: var(--radius-lg);
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: rgba(148, 163, 184, 0.06);
  border-bottom: 1px solid var(--card-border);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--card-border);
}

.terminal-bar .label {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 22px 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  min-height: 220px;
}

.terminal-body .line {
  margin-bottom: 10px;
  opacity: 0;
  color: var(--text-muted);
}

.terminal-body .line.done {
  opacity: 1;
}

.terminal-body .ok {
  color: var(--success);
}

.terminal-body .prompt {
  color: var(--accent-light);
}

.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent-light);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

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

/* Hero Shield mit Scan Effekt */
.shield-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 30%, rgba(61,126,255,0.12), transparent 60%), var(--card-bg-solid);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 24px;
}

.shield-visual svg {
  width: 40%;
  stroke: var(--accent);
}

.shield-visual .scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  animation: scan 2.6s linear infinite;
  box-shadow: 0 0 14px var(--accent-glow);
}

@keyframes scan {
  0% { top: 8%; }
  100% { top: 92%; }
}

/* 7. KARTEN / CARDS --------------------------------------------------------*/
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

a.card {
  display: block;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-glow);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
}

.card h3 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* Scroll Fade-In */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 8. STUFEN / PROCESS ------------------------------------------------------*/
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
}

.step .step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-light);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.step h3 {
  font-size: 1.03rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* 9. BILD-SEKTIONEN mit Fallback ------------------------------------------*/
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: linear-gradient(135deg, #16203a, #0b0f19);
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-md);
}

:root[data-theme="light"] .media-frame {
  background: linear-gradient(135deg, #dfe8ff, #eef2fb);
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame .media-fallback-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-frame .media-fallback-icon svg {
  width: 30%;
  stroke: var(--accent);
  opacity: 0.5;
}

/* 10. CTA BAND --------------------------------------------------------------*/
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px;
  background: linear-gradient(135deg, rgba(61,126,255,0.14), rgba(61,126,255,0.03));
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--text-muted);
}

/* 11. FOOTER -----------------------------------------------------------------*/
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 12. ZURÜCK NACH OBEN -------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px var(--accent-glow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 400;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

/* 13. COOKIE BANNER -----------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  margin-inline: auto;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  z-index: 700;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1 1 260px;
}

.cookie-banner strong {
  color: var(--text);
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* 14. SEITEN-HEADER (Unterseiten) --------------------------------------------*/
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--card-border);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--accent-light);
}

/* 15. FAQ -----------------------------------------------------------------*/
.faq-search {
  position: relative;
  max-width: 480px;
  margin: 0 auto 48px;
}

.faq-search input {
  width: 100%;
  padding: 15px 20px 15px 48px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg-solid);
  color: var(--text);
  font-size: 0.98rem;
}

.faq-search input::placeholder {
  color: var(--text-muted);
}

.faq-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
}

.faq-count {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg-solid);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-glow);
}

.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1rem;
}

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

.faq-item summary .faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s ease, background-color 0.2s ease;
}

.faq-item[open] summary .faq-plus {
  transform: rotate(45deg);
  background: var(--accent);
}

.faq-item summary .faq-plus svg {
  width: 13px;
  height: 13px;
  stroke: var(--text);
}

.faq-item[open] summary .faq-plus svg {
  stroke: #fff;
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.is-hidden {
  display: none;
}

.faq-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  display: none;
}

.faq-empty.is-visible {
  display: block;
}

/* 16. TOOLS ----------------------------------------------------------------*/
.tool-card {
  padding: 30px;
}

.tool-card .tool-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--success);
  margin-bottom: 16px;
}

.tool-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.password-meter {
  margin-top: 18px;
}

.password-meter input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.meter-track {
  height: 8px;
  border-radius: 999px;
  background: var(--glass-border);
  margin-top: 14px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--danger);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.meter-label {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.meter-tips {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meter-tips li {
  padding: 4px 0 4px 22px;
  position: relative;
}

.meter-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
}

.meter-tips li.is-met::before {
  background: var(--success);
  border-color: var(--success);
}

/* Phishing Check Tool */
.phish-check textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  resize: vertical;
}

.phish-result {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
  border: 1px solid var(--card-border);
}

.phish-result.is-visible {
  display: block;
}

.phish-result.level-low {
  border-color: var(--success);
  color: var(--success);
}

.phish-result.level-mid {
  border-color: var(--warning);
  color: var(--warning);
}

.phish-result.level-high {
  border-color: var(--danger);
  color: var(--danger);
}

/* 17. KONTAKTFORMULAR --------------------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group .required {
  color: var(--accent-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--card-bg-solid);
  color: var(--text);
  font-size: 0.96rem;
  transition: border-color 0.2s ease;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-light);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--danger);
}

.form-error {
  display: none;
  font-size: 0.82rem;
  color: var(--danger);
  margin-top: 6px;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--success);
  color: var(--success);
  font-size: 0.92rem;
  margin-top: 18px;
}

.form-success.is-visible {
  display: block;
}

/* 18. FEHLERSEITE / 404 ------------------------------------------------------*/
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.error-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 7.5rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 20px;
}

.error-page p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 30px;
}

/* 19. RECHTLICHE SEITEN -------------------------------------------------------*/
.legal-content {
  max-width: 720px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 40px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-content ul {
  color: var(--text-muted);
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}

/* 20. TEAM / ÜBER MICH --------------------------------------------------------*/
.profile-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  font-size: 0.84rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* 21. UTILITIES ---------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* 22. RESPONSIVE ---------------------------------------------------------------*/
@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 16px 18px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .menu-toggle {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-band {
    padding: 36px 26px;
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .cookie-banner {
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .menu-toggle { display: none; }
}
