/*
  cysole.com – Gestaltung (Relaunch, Paket 2)
  Farben und Wirkung wie bisher: dunkler Verlauf, Weiß, Grün #50c878, Blau #4a90e2.
  Aufbau: 1 Grundwerte · 2 Basis · 3 Kopf und Menü · 4 Bausteine · 5 Seitenbereiche
          6 Formular · 7 Cookie-Banner · 8 Footer · 9 Bewegung und Druck
*/

/* ---------- 1 Grundwerte ---------- */
:root {
  --bg-top: #1a1d2e;
  --bg-bottom: #0a0d1a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --text-muted: #cdd3de;
  --accent: #50c878;
  --accent-hover: #72d995;
  --accent-ink: #0a0d1a;
  --blue: #4a90e2;
  --link: #93c4f6;
  --link-hover: #c6e0fb;
  --focus: #ffd166;
  --error: #ffb8b0;
  --error-border: #ff8a80;
  --radius: 16px;
  --radius-s: 10px;
  --pill: 999px;
  --container: 1160px;
  --gutter: 16px;
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 600px) {
  :root { --gutter: 24px; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
}

/* ---------- 2 Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg-bottom);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0, var(--bg-bottom) 1400px) no-repeat, var(--bg-bottom);
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.2rem); }
h3, .h3 { font-size: 1.25rem; }

p, ul, ol, dl { margin: 0 0 1em; }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main:focus { outline: none; }

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

strong { font-weight: 700; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent-ink);
  font-weight: 700;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container.narrow { max-width: calc(800px + 2 * var(--gutter)); }

.preview-note {
  margin: 0;
  padding: 6px 16px;
  background: var(--focus);
  color: var(--accent-ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

/* ---------- 3 Kopf und Menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 32, 0.96);
  border-bottom: 1px solid var(--border);
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header {
    background: rgba(14, 17, 32, 0.84);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand { flex: none; }
.brand img { width: 124px; height: auto; }

@media (min-width: 480px) {
  .brand img { width: 150px; }
}

@media (min-width: 960px) {
  .brand img { width: 170px; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--pill);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-bars { position: relative; width: 20px; height: 14px; }

.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 6px; }
.nav-toggle-bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
  background: #0e1120;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.nav-panel.is-open { display: block; }

.nav-list, .nav-sub, .lang-switch { list-style: none; margin: 0; padding: 0; }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--accent); }

.chevron {
  flex: none;
  width: 9px;
  height: 9px;
  margin: -4px 4px 0 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.has-sub.is-open .chevron { margin-top: 4px; transform: rotate(-135deg); }

.nav-sub { display: none; padding: 4px 0 8px 12px; }
.has-sub.is-open .nav-sub { display: block; }

.nav-sub a {
  display: block;
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-sub a:hover { color: var(--text); background: var(--surface-strong); }
.nav-sub a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.lang-nav { margin-top: 16px; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 8px; }

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--pill);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.lang-switch a:hover { background: var(--surface-strong); }
.lang-switch a[aria-current="true"] { background: var(--text); border-color: var(--text); color: var(--accent-ink); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .nav-panel,
  .nav-panel.is-open {
    display: flex;
    position: static;
    align-items: center;
    gap: 20px;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-item { position: relative; }

  .nav-link {
    width: auto;
    min-height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: var(--pill);
  }

  .nav-link:hover { background: var(--surface-strong); }

  .nav-cta {
    margin-left: 8px;
    padding: 6px 18px;
    border: 2px solid var(--accent);
  }

  .nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }

  .nav-sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 270px;
    padding: 8px;
    background: #141832;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  }

  .lang-nav { margin: 0; }
  .lang-switch { gap: 4px; flex-wrap: nowrap; }
  .lang-switch a { min-width: 40px; min-height: 36px; padding: 0 8px; font-size: 0.8125rem; }
}

/* ---------- 4 Bausteine ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: var(--text); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: #ffffff; color: var(--text); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

.text-link { font-weight: 700; }
.text-link::after { content: " \2192"; content: " \2192" / ""; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.checklist { display: grid; gap: 8px; list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }

.checklist li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.3em;
  width: 8px;
  height: 14px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(45deg);
}

.price { margin: 0 0 0.6rem; font-size: 1.375rem; font-weight: 800; }
.price-large { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.price-note { color: var(--text-muted); font-size: 0.9375rem; font-weight: 500; }
.fineprint { margin-top: 20px; color: var(--text-muted); font-size: 0.9375rem; }

.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: var(--pill);
  background: rgba(74, 144, 226, 0.22);
  color: #d4e7fc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card > :last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; padding-top: 8px; }

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  padding: 6px;
  border-radius: 50%;
  background: #eef3fb;
}

.card-grid { display: grid; gap: 16px; }

@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: 32px; align-items: start; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

.table-wrap {
  margin: 0 0 24px;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.table { width: 100%; border-collapse: collapse; }
.table caption { padding: 14px 16px; color: var(--text-muted); font-weight: 700; text-align: left; }

.table th, .table td {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (min-width: 600px) {
  .table th, .table td { padding: 12px 16px; }
}

.table thead th { color: var(--text-muted); font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; }
.table tbody th { width: 40%; font-weight: 700; }
.table-compare { min-width: 620px; }
.table-hint { margin: 0 0 8px; color: var(--text-muted); font-size: 0.875rem; }

@media (min-width: 760px) {
  .table-hint { display: none; }
}
.table-compare tbody th { width: 22%; }
.table-compare thead th:nth-child(2) { color: var(--accent); }

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  content: "+" / "";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.faq details p { margin: 0 4px 20px; color: var(--text-muted); }

/* ---------- 5 Seitenbereiche ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }

.section-band {
  background: rgba(255, 255, 255, 0.025);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--text-muted); }

.breadcrumb { padding-top: 20px; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.breadcrumb li + li::before { content: "/"; content: "/" / ""; margin-right: 8px; color: rgba(255, 255, 255, 0.45); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a[aria-current="page"] { color: var(--text); text-decoration: none; }

.hero {
  padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px);
  background: radial-gradient(ellipse at 85% 0%, rgba(74, 144, 226, 0.16), transparent 60%);
}

.breadcrumb + .hero { padding-top: clamp(24px, 4vw, 40px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-grid > *, .split > *, .contact-grid > * { min-width: 0; }
.hero h1 { max-width: 24ch; }
.hero-visual img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
}

.buy-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid rgba(80, 200, 120, 0.45);
  border-radius: var(--radius);
}

.buy-box .price { margin: 0; }
.buy-note { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

.section-nav ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 4px 0 12px;
  overflow-x: auto;
  list-style: none;
}

.section-nav a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text);
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.section-nav a:hover { background: var(--surface-strong); }

.ladder { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }

@media (min-width: 700px) {
  .ladder { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .ladder { grid-template-columns: repeat(3, 1fr); }
  .ladder-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ladder-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}

.ladder-step::before {
  content: counter(step);
  content: counter(step) / "";
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(80, 200, 120, 0.16);
  color: var(--accent);
  font-weight: 800;
}

.ladder-step-main { border-color: rgba(80, 200, 120, 0.65); box-shadow: inset 0 0 0 1px rgba(80, 200, 120, 0.35); }
.ladder-step h3 { padding-right: 44px; }
.ladder-step .text-link { margin-top: auto; }

.step-label {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-grid { display: grid; gap: 16px; }

@media (min-width: 800px) {
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
}

.quote {
  margin: 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.quote blockquote { margin: 0 0 16px; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: var(--text-muted); font-size: 0.9375rem; font-weight: 600; }
.quote-note { display: block; font-weight: 400; font-size: 0.875rem; }

.fact-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.fact-list li {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.fact-list span { color: var(--text-muted); }
.fact-logo { width: 280px; max-width: 100%; border-radius: 6px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 32px; }

.facts div { padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.facts dt { color: var(--text-muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-size: 1.125rem; font-weight: 700; }

.doc-list { column-gap: 20px; }

@media (min-width: 700px) {
  .doc-list { columns: 2; }
}

@media (min-width: 1040px) {
  .doc-list { columns: 3; }
}

.doc-group {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  break-inside: avoid;
}

.doc-group h3 { margin-bottom: 0.4rem; color: var(--accent); font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.doc-group ul { margin: 0; padding: 0; list-style: none; }

.doc-group li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.doc-group li:first-child { border-top: 0; }

.format {
  flex: none;
  align-self: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.format-word { background: rgba(74, 144, 226, 0.22); color: #d4e7fc; }
.format-excel { background: rgba(80, 200, 120, 0.2); color: #c8f2d6; }

.gallery-title { margin-top: 40px; }
.gallery { display: grid; gap: 24px; }

@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: 8px 8px 0 0; }
.gallery figcaption { margin-top: 8px; color: var(--text-muted); font-size: 0.9375rem; }

.columns { columns: 2 200px; column-gap: 24px; margin: 0; padding-left: 1.2em; }
.columns li { margin-bottom: 0.4em; break-inside: avoid; }

.logo-box {
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.logo-box img { width: 300px; }

.card-soon { border-style: dashed; }

.tip-box {
  padding: 24px;
  border: 1px dashed rgba(80, 200, 120, 0.55);
  border-radius: var(--radius);
}

.tip-box > :last-child { margin-bottom: 0; }

/* Informations- und Leistungsseiten (Paket 3) */
.hero-aside {
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(80, 200, 120, 0.45);
  border-radius: var(--radius);
}

.hero-aside > :last-child { margin-bottom: 0; }
.hero-aside .eyebrow { margin-bottom: 0.4rem; }
.hero-aside .checklist { margin-bottom: 20px; }
.hero-aside .buy-note { margin-top: 12px; }
.aside-image { width: 100%; height: auto; margin-bottom: 20px; border-radius: 8px 8px 0 0; }

.law-date {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 14px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.law-date strong { color: var(--text); }

.price-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.price-list li {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.price-list .price { margin: 0; font-size: 1.25rem; }

.offer { scroll-margin-top: calc(var(--header-h) + 16px); }
.offer .checklist { margin-bottom: 20px; }

.offer-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.offer-foot .price { margin: 0; }
.offer-foot .buy-note { margin: 0; }
.offer-terms { color: var(--text-muted); font-size: 0.9375rem; }

.deadlines {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .deadlines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .deadlines-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.deadlines li {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
}

.deadline-time {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.25;
}

.deadlines p { margin: 0; color: var(--text-muted); overflow-wrap: anywhere; hyphens: auto; }
.deadlines h3 { margin-bottom: 0.3rem; font-size: 1.0625rem; }

.duty-grid { display: grid; gap: 16px; }

@media (min-width: 700px) {
  .duty-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .duty-grid { grid-template-columns: repeat(3, 1fr); }
}

.law-ref { margin-top: auto; padding-top: 8px; color: var(--text-muted); font-size: 0.875rem; }

.sources { margin: 0; padding-left: 1.2em; color: var(--text-muted); font-size: 0.9375rem; }
.dot-list { display: grid; gap: 8px; margin: 0 0 1em; padding: 0; list-style: none; }
.dot-list li { position: relative; padding-left: 22px; }

.dot-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-nav-wrap ul { flex-wrap: wrap; overflow-x: visible; }
.class-grid { margin-bottom: 16px; }
.class-grid .card { border-top: 4px solid var(--accent); }
.class-dl { margin: 0; }
.class-dl dt { margin-top: 12px; color: var(--text-muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.class-dl dd { margin: 4px 0 0; }
.section-follow { padding-top: 0; }
.sources li { margin-bottom: 0.45em; }

.note {
  margin: 16px 0;
  padding: 16px 20px;
  background: rgba(74, 144, 226, 0.12);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.note > :last-child { margin-bottom: 0; }

.statement-list { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }

.statement-list li {
  padding: 14px 18px;
  background: var(--surface);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.term-list { display: grid; gap: 12px; margin: 0; }

.term-list div {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.term-list dt { font-weight: 700; overflow-wrap: anywhere; }
.term-list dd { margin: 4px 0 0; color: var(--text-muted); overflow-wrap: anywhere; }

@media (min-width: 800px) {
  .term-list:not(.term-list-single) { grid-template-columns: repeat(2, 1fr); }
  .columns-list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}

@media (min-width: 600px) {
  .card-row { flex-direction: row; gap: 24px; align-items: flex-start; }
  .card-row .card-icon { flex: none; }
}

.card-row > div > :last-child { margin-bottom: 0; }

.media-box { margin: 0; }

.brand-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #ffffff;
}

/* Rechtstexte */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; font-size: 1.3125rem; }
.prose h4 { margin-top: 1.6em; margin-bottom: 0.4em; font-size: 1.0625rem; }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.address { font-style: normal; }
.page-head { padding-block: clamp(32px, 5vw, 56px) 8px; }
.page-head h1 { margin-bottom: 0.4em; }

.status-page { padding-block: clamp(56px, 10vw, 120px) clamp(32px, 6vw, 64px); }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: 0.6em; }
.link-list { padding-left: 1.2em; }
.link-list li { margin-bottom: 0.4em; }
.other-langs { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-muted); }

/* ---------- 6 Formular ---------- */
.section-contact { padding-bottom: clamp(56px, 8vw, 96px); }
.contact-grid { display: grid; gap: 32px; align-items: start; }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
}

.contact-intro p { color: var(--text-muted); }
.contact-direct strong { color: var(--text); }

.contact-form {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.form-grid { display: grid; gap: 16px; }

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}

.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.optional { color: var(--text-muted); font-size: 0.9em; font-weight: 400; }
.req { color: var(--accent); }

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.field textarea { min-height: 170px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: #ffffff; }
.field [aria-invalid="true"] { border: 2px solid var(--error-border); }
.field-error { margin: 6px 0 0; color: var(--error); font-size: 0.9375rem; font-weight: 600; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note, .form-hint { color: var(--text-muted); font-size: 0.9375rem; }
.form-hint { margin-top: 16px; }
.form-status { margin-top: 16px; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status:focus { outline: none; }
.form-status.is-ok { padding: 14px 16px; background: rgba(80, 200, 120, 0.15); border: 1px solid rgba(80, 200, 120, 0.65); }
.form-status.is-error { padding: 14px 16px; background: rgba(255, 138, 128, 0.12); border: 1px solid var(--error-border); }
.form-status.is-busy { padding: 14px 16px; background: var(--surface-strong); }

.brevo-embed {
  margin-top: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.brevo-embed.is-loaded { padding: 8px; background: #ffffff; }
.brevo-note { color: var(--text-muted); font-size: 0.9375rem; }

.brevo-frame {
  display: block;
  width: 100%;
  max-width: 570px;
  height: 480px;
  margin-inline: auto;
  border: 0;
}

/* ---------- 7 Cookie-Banner ---------- */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px;
  pointer-events: none;
}

.consent-inner {
  max-width: 880px;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin-inline: auto;
  overflow-y: auto;
  padding: 20px;
  background: #121628;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.consent-title { margin-bottom: 0.4rem; font-size: 1.125rem; }
.consent-title:focus { outline: none; }
.consent-text { color: var(--text-muted); font-size: 0.9375rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.btn-consent {
  flex: 1 1 150px;
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.btn-consent:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.btn-consent[hidden] { display: none; }
.consent fieldset { margin: 4px 0 0; padding: 0; border: 0; }
.consent legend { margin-bottom: 4px; font-weight: 700; }
.consent-option { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.consent-option input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.consent-option label span { display: block; color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- 8 Footer ---------- */
.site-footer {
  padding-top: 56px;
  background: #080a15;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

.footer-grid { display: grid; gap: 32px; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1040px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

.footer-logo img { width: 150px; height: auto; margin-bottom: 12px; }
.site-footer p { color: var(--text-muted); }
.footer-title { margin: 0 0 10px; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 2px; margin: 0 0 24px; padding: 0; list-style: none; }

.footer-col a,
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover, .link-button:hover { color: var(--text); text-decoration: underline; }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.social-icon { flex: none; width: 18px; height: 18px; }
.footer-bottom { margin-top: 16px; padding-block: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; font-size: 0.875rem; }

/* ---------- 8b Blog (Paket 5) ---------- */
.brevo-lang { margin-bottom: 8px; }

.blog-overview { padding-top: 8px; }
.blog-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }

.blog-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.blog-item:hover { background: var(--surface-strong); }
.blog-thumb { width: 100%; border-radius: var(--radius-s); }
.blog-item h2 { margin: 0 0 4px; font-size: 1.1875rem; line-height: 1.3; overflow-wrap: anywhere; }
.blog-item h2 a { color: var(--text); text-decoration: none; }
/* ganze Karte klickbar, der Link bleibt der Titel */
.blog-item h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.blog-item h2 a:hover, .blog-item h2 a:focus-visible { text-decoration: underline; }
.blog-meta { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }
.blog-teaser { display: none; margin: 8px 0 0; color: var(--text-muted); }

@media (min-width: 600px) {
  .blog-item { grid-template-columns: 144px 1fr; gap: 24px; padding: 20px; }
  .blog-item h2 { font-size: 1.3125rem; }
  .blog-teaser { display: block; }
}

.blog-post .page-head h1 { overflow-wrap: anywhere; }
.blog-body { padding-bottom: clamp(32px, 5vw, 56px); }
.blog-figure { margin: 8px 0 32px; }
.blog-figure img { border-radius: var(--radius-s); }
.blog-body .prose h2 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem); }
.blog-body .prose h3 { font-size: 1.1875rem; }
.blog-body .prose ul ul { margin-top: 0.4em; }

.blog-hint {
  padding: 12px 16px;
  background: rgba(80, 200, 120, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.blog-sources { color: var(--text-muted); font-size: 0.9375rem; }

.blog-cta {
  margin: 40px 0 0;
  padding: 20px 24px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.blog-cta > :last-child { margin-bottom: 0; }

.blog-pager { padding-bottom: clamp(32px, 5vw, 56px); }
.blog-pager ul { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.blog-pager li { padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.blog-pager-label { display: block; color: var(--text-muted); font-size: 0.875rem; }
.blog-pager a { overflow-wrap: anywhere; }

@media (min-width: 700px) {
  .blog-pager ul { grid-template-columns: 1fr 1fr; }
  .blog-pager-older { grid-column: 2; }
}

/* ---------- 8c Startseite und Selfmade ISMS (Paket 7) ---------- */
/* Startseite: ruhige Grafik mit den zwei Bereichen (nur Dekoration, Inhalte stehen darunter) */
.area-visual { display: grid; gap: 16px; }

.area-tile {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.area-tile + .area-tile { border-left-color: var(--accent); }

.area-tile-icon,
.hero-visual .area-tile-icon {
  flex: none;
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 50%;
  background: #eef3fb;
  filter: none;
}

.area-tile > div { min-width: 0; }
.area-tile-title { margin: 0 0 10px; color: var(--text); font-size: 1.1875rem; font-weight: 800; line-height: 1.3; overflow-wrap: break-word; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.chips li {
  padding: 2px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--text-muted);
  font-size: 0.875rem;
  overflow-wrap: break-word;
}

@media (max-width: 479px) {
  .area-tile { gap: 14px; padding: 16px; }
  .area-tile-icon, .hero-visual .area-tile-icon { width: 56px; height: 56px; padding: 6px; }
}

/* Startseite: zwei gleichwertige Bereiche */
.area-grid { display: grid; gap: 16px; }

@media (min-width: 860px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
}

.area-list { display: grid; margin: 8px 0 0; padding: 0; list-style: none; }
.area-list li { padding: 14px 0; border-top: 1px solid var(--border); }
.area-list li:last-child { padding-bottom: 0; }
.area-list a { font-weight: 700; }
.area-list a::after { content: " \2192"; content: " \2192" / ""; }
.area-list span:not(.badge) { display: block; margin-top: 2px; color: var(--text-muted); font-size: 0.9375rem; }
.start-box { margin-top: 24px; }
.start-box .eyebrow { margin-bottom: 0.4rem; }
.fact-list .text-link { justify-self: start; }
.fact-logo-secunex { width: 240px; }

/* Selfmade ISMS: Basispaket und Upgrade als zwei Karten */
.package-grid { display: grid; gap: 16px; margin-top: 32px; }

@media (min-width: 860px) {
  .package-grid { grid-template-columns: 1fr 1fr; }
}

.package-card { border-top: 4px solid var(--accent); }
.package-card + .package-card { border-top-color: var(--blue); }
.package-card .eyebrow { margin-bottom: 0.4rem; }
.package-card .checklist { margin: 4px 0 20px; }
.package-card .buy-box {
  margin: auto 0 0;
  padding: 20px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
}

/* Footer: Hinweis auf Leitwerk (nur deutsche Seiten) */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- 9 Bewegung und Druck ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

@media print {
  .site-header, .consent, .site-footer, .section-nav, .button-row, .buy-box .btn, .contact-form { display: none !important; }
  body { background: #ffffff; color: #000000; }
  .section, .hero { padding-block: 16px; }
  a { color: #000000; }
}
