/* ==========================================================================
   itcheck.info — vetosec
   Navy #0B1838 · Green #117847 · Space Grotesk / Inter / JetBrains Mono
   Light, informational sibling of sicherheitsaudit.at
   ========================================================================== */

:root {
  --navy: #0b1838;
  --navy-deep: #071022;
  --green: #117847;
  --green-dark: #0d5f38;
  --green-bright: #1a9a5c;
  --green-soft: #e3f1ea;
  --mint: #97deb9;

  --paper: #f4f6f9;
  --white: #ffffff;
  --ink: #0b1838;
  --ink-soft: #3f4d6e;
  --line: rgba(11, 24, 56, 0.12);
  --line-soft: rgba(11, 24, 56, 0.08);
  --line-light: rgba(236, 244, 255, 0.14);

  --red: #b3261e;
  --amber: #b45309;
  --amber-soft: #f8ecdd;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1160px;
  --radius: 0px;
  --radius-sm: 0px;
  --cut: 16px;
  --cut-sm: 9px;
  --shadow-card: 0 1px 2px rgba(11, 24, 56, 0.05), 0 8px 28px -18px rgba(11, 24, 56, 0.25);
  --shadow-pop: 0 24px 60px -30px rgba(7, 16, 34, 0.55);

  --parallax-x: 0px;
  --parallax-y: 0px;
}

/* ---------- Base ---------- */

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

/* The hidden attribute must always win, even over display:flex/grid rules */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

button {
  font: inherit;
}

::selection {
  background: rgba(17, 120, 71, 0.22);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Buttons, kickers ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(17, 120, 71, 0.55);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ink);
  background: rgba(11, 24, 56, 0.03);
  color: var(--ink);
}

.btn-outline-light {
  border-color: rgba(236, 244, 255, 0.32);
  color: #ecf4ff;
  background: rgba(236, 244, 255, 0.02);
}

.btn-outline-light:hover {
  border-color: #ecf4ff;
  color: #fff;
  background: rgba(236, 244, 255, 0.08);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14.5px;
}

.btn-large {
  padding: 15px 32px;
  font-size: 16.5px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kicker-light {
  color: var(--mint);
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(26, 154, 92, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 154, 92, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(26, 154, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 154, 92, 0); }
}

/* ---------- Topbar (light) ---------- */

/* Solid white at the top of the page, translucent glass after scrolling */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgba(11, 24, 56, 0.35);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--navy);
  text-decoration: none;
}

.brand-mask {
  width: 30px;
  height: 30px;
}

.brand-tld {
  color: var(--green);
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--navy);
  text-decoration: none;
}

/* ---------- Hero (light) ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(17, 120, 71, 0.1), transparent 62%),
    linear-gradient(180deg, #fdfefe 0%, var(--paper) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-dots {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(rgba(11, 24, 56, 0.13) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 85% 90% at 70% 20%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 70% 20%, black 20%, transparent 75%);
  transform: translate3d(calc(var(--parallax-x) * -0.35), calc(var(--parallax-y) * -0.35), 0);
}

.hero-beam {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 46%;
  height: 160%;
  background: linear-gradient(115deg, transparent 0%, rgba(17, 120, 71, 0.07) 40%, rgba(17, 120, 71, 0.14) 50%, rgba(17, 120, 71, 0.07) 60%, transparent 100%);
  transform: rotate(8deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 92px 24px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero-inner > * {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.lede {
  font-size: clamp(16.5px, 1.6vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 28px;
}

.lede strong {
  color: var(--navy);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.hero-chips li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 7px 13px;
  border-radius: 999px;
}

/* Live check card */

.hero-visual {
  display: flex;
  justify-content: center;
}

.check-card {
  position: relative;
  width: min(430px, 100%);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  transform: translate3d(calc(var(--parallax-x) * 0.4), calc(var(--parallax-y) * 0.4), 0);
}

.check-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--navy);
  color: #ecf4ff;
}

.check-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
}

.check-card-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mint);
  letter-spacing: 0.06em;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0.35;
  transition: opacity 0.4s ease, background 0.4s ease;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.check-list li.is-done {
  opacity: 1;
}

.check-list li.is-done em {
  opacity: 1;
}

.check-list li[data-state="ok"].is-done em {
  color: var(--green);
}

.check-list li[data-state="warn"].is-done em {
  color: var(--amber);
}

.check-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.check-list li.is-done .check-ico {
  border-color: transparent;
}

.check-list li[data-state="ok"].is-done .check-ico {
  background: var(--green-soft);
}

.check-list li[data-state="warn"].is-done .check-ico {
  background: var(--amber-soft);
}

.check-list li.is-done .check-ico::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2.5px;
  width: 5px;
  height: 8px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.check-list li[data-state="warn"].is-done .check-ico::after {
  border-color: var(--amber);
  border-width: 0 2px 2px 0;
}

.check-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  height: 34px;
  background: linear-gradient(180deg, rgba(26, 154, 92, 0.1), rgba(26, 154, 92, 0));
  border-top: 1.5px solid rgba(26, 154, 92, 0.5);
  pointer-events: none;
  will-change: transform, opacity;
  animation: scan-move 4.2s linear infinite;
}

/* One continuous top-to-bottom sweep that fades at the edges and wraps */
@keyframes scan-move {
  0% { transform: translateY(-38px); opacity: 0; }
  10% { opacity: 0.9; }
  82% { opacity: 0.9; }
  100% { transform: translateY(400px); opacity: 0; }
}

.check-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
  background: #fbfcfe;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.check-live {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.check-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse 2s ease-out infinite;
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}

.section-tinted {
  background: linear-gradient(180deg, #eef2f7 0%, var(--paper) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-dark {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(17, 120, 71, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: #ecf4ff;
}

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section-inner-narrow {
  max-width: 860px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
}

.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
}

.section-dark .section-lead {
  color: rgba(236, 244, 255, 0.75);
}

/* ---------- Definition box ---------- */

.define-box {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 34px 38px;
  max-width: 860px;
  margin: 0 auto 56px;
}

.define-term {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 10px;
}

.define-gram {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin-left: 10px;
}

.define-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.define-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.define-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ---------- Why cards ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 22px;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 120, 71, 0.35);
}

.why-card::before {
  content: "?";
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.why-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
}

.why-note {
  text-align: center;
  color: var(--ink-soft);
  margin: 32px 0 0;
  font-size: 16px;
}

/* ---------- Scope grid ---------- */

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

.scope-item {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.scope-item:hover {
  border-color: rgba(17, 120, 71, 0.35);
  transform: translateX(3px);
}

.scope-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  padding-top: 3px;
  flex-shrink: 0;
}

.scope-item h3 {
  font-size: 16.5px;
  margin-bottom: 5px;
}

.scope-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Result cards ---------- */

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.result-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}

.result-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 16px;
}

.result-ico svg {
  width: 24px;
  height: 24px;
}

.result-card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}

.result-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Flow (Ablauf) ---------- */

.flow {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: flow;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(236, 244, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #ecf4ff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.flow-step:hover {
  border-color: rgba(151, 222, 185, 0.4);
  background: rgba(236, 244, 255, 0.08);
}

.flow-step span {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--mint);
  border: 1px solid rgba(151, 222, 185, 0.4);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-note {
  margin: 0;
  color: rgba(236, 244, 255, 0.65);
  font-size: 15px;
}

.flow-note a {
  color: var(--mint);
}

.flow-note a:hover {
  color: #fff;
}

/* ---------- Price panel ---------- */

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  padding: 44px 48px;
  align-items: center;
}

.price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  color: var(--navy);
  line-height: 1;
  margin: 0 0 6px;
}

.price-note {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 22px;
}

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

.price-includes li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.price-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
}

.price-includes li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 8px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ---------- PDF ---------- */

.pdf-frame {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}

.pdf-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: var(--navy);
  color: #ecf4ff;
}

.pdf-bar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.pdf-bar-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.pdf-viewer {
  display: block;
  width: 100%;
  height: 660px;
  border: 0;
  background: #525659;
}

.pdf-fallback {
  display: none;
  padding: 44px 28px 10px;
  text-align: center;
  color: var(--ink-soft);
}

.pdf-icon {
  width: 46px;
  height: 46px;
  color: var(--green);
  margin: 0 auto 12px;
}

.pdf-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 20px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

/* ---------- Cal / Termin ---------- */

.cal-shell {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 380px;
  display: grid;
}

.cal-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 28px;
  max-width: 520px;
  margin: 0 auto;
}

.cal-consent-icon {
  width: 44px;
  height: 44px;
  color: var(--green);
  margin-bottom: 16px;
}

.cal-consent h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.cal-consent .btn {
  white-space: normal;
}

.cal-consent p {
  font-size: 15px;
  color: var(--ink-soft);
}

.cal-fineprint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.cal-embed {
  min-height: 620px;
  padding: 8px;
}

.cal-fallback {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: var(--ink-soft);
  padding: 24px;
}

/* ---------- FAQ ---------- */

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(17, 120, 71, 0.4);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
}

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

.faq-marker {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: transform 0.2s ease;
}

.faq-marker::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.faq-marker::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}

.faq-list details[open] .faq-marker::after {
  transform: scaleY(0);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 68ch;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(17, 120, 71, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #ecf4ff;
  border-top: 1px solid rgba(151, 222, 185, 0.15);
}

.cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: #fff;
  margin-bottom: 8px;
}

.cta-inner p {
  margin: 0;
  color: rgba(236, 244, 255, 0.78);
  font-size: 16.5px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-deep);
  color: rgba(236, 244, 255, 0.78);
  font-size: 14.5px;
}

.footer a {
  color: rgba(236, 244, 255, 0.85);
}

.footer a:hover {
  color: #fff;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  height: 26px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 34ch;
  line-height: 1.7;
  color: rgba(236, 244, 255, 0.62);
}

.footer-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--mint);
  margin-top: 6px;
}

.footer-home svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.footer-home:hover {
  color: #fff;
  text-decoration: none;
}

.footer-home:hover svg {
  transform: translateX(3px);
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 244, 255, 0.45);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-consent {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(236, 244, 255, 0.85);
  cursor: pointer;
  font-size: 14.5px;
}

.footer-consent:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px 30px;
  border-top: 1px solid rgba(236, 244, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(236, 244, 255, 0.5);
}

/* ---------- Consent banner ---------- */

.consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 120;
  width: min(430px, calc(100vw - 40px));
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 70px -25px rgba(7, 16, 34, 0.55);
  padding: 22px 24px 18px;
  animation: consent-in 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes consent-in {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.consent h2 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.consent p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.consent-opts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.consent-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  transition: border-color 0.15s ease;
}

.consent-opt:hover {
  border-color: rgba(17, 120, 71, 0.4);
}

.consent-opt input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.consent-opt input:disabled {
  cursor: default;
}

.consent-opt strong {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.consent-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}

.consent-links {
  display: flex;
  gap: 16px;
  margin: 0;
  font-size: 12.5px;
}

.consent-links a {
  color: var(--ink-soft);
}

.consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(7, 16, 34, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Opened via the footer button: centered so it cannot be missed */
.consent.consent-center {
  left: 50%;
  right: auto;
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(470px, calc(100vw - 40px));
  animation: none;
}

.cal-loading {
  text-align: center;
  padding: 28px 20px 0;
  color: var(--ink-soft);
  font-size: 15px;
}


.legal-block h2 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 30px 0 8px;
}

.legal-block p {
  margin: 0 0 4px;
  color: var(--ink-soft);
}

.legal-block {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 14px 34px 34px;
  margin-bottom: 28px;
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}



/* ---------- Fallstudien ---------- */

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.badge-red {
  background: #f7e6e5;
  color: var(--red);
}

.badge-green {
  background: var(--green-soft);
  color: var(--green);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 28px 30px;
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
  filter: drop-shadow(0 10px 24px rgba(11, 24, 56, 0.1));
}

.case-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.case-file {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.case-stamp {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 3px 9px;
}

.case-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.case-meta {
  margin: 0 0 20px;
  display: grid;
  gap: 6px;
}

.case-meta div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  font-size: 14px;
}

.case-meta dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 2px;
}

.case-meta dd {
  margin: 0;
  color: var(--ink);
}

.case-block {
  margin-top: 16px;
}

.case-block h4 {
  margin: 0 0 8px;
}

.case-block p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Polygon layer: chamfered corners, diagonal edges ---------- */

.btn {
  clip-path: polygon(
    var(--cut-sm) 0, 100% 0,
    100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%,
    0 100%, 0 var(--cut-sm)
  );
}

.check-card,
.define-box,
.why-card,
.scope-item,
.result-card,
.price-panel,
.pdf-frame,
.cal-shell,
.consent,
.legal-block {
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
  box-shadow: none;
  filter: drop-shadow(0 10px 24px rgba(11, 24, 56, 0.1));
}

.why-card,
.scope-item {
  filter: none;
}

.faq-list details {
  clip-path: polygon(
    var(--cut-sm) 0, 100% 0,
    100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%,
    0 100%, 0 var(--cut-sm)
  );
}

.define-tags span,
.hero-chips li,
.check-card-count {
  clip-path: polygon(
    6px 0, 100% 0,
    100% calc(100% - 6px), calc(100% - 6px) 100%,
    0 100%, 0 6px
  );
  border-radius: 0;
}

.result-ico {
  border-radius: 0;
  clip-path: polygon(
    8px 0, 100% 0,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    0 100%, 0 8px
  );
}

.check-ico,
.doc-mock-no {
  border-radius: 0;
}

.price-includes li::before {
  border-radius: 0;
}

.flow-step {
  border-radius: 0;
  clip-path: polygon(
    var(--cut-sm) 0, 100% 0,
    100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%,
    0 100%, 0 var(--cut-sm)
  );
}

.flow-step span {
  border-radius: 0;
}

.section-dark {
  clip-path: polygon(0 0, 100% clamp(24px, 4vw, 56px), 100% 100%, 0 100%);
  padding-top: clamp(24px, 4vw, 56px);
}

.cta-band {
  clip-path: polygon(0 clamp(24px, 4vw, 56px), 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(24px, 4vw, 56px);
  border-top: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 72px 24px;
  }

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

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

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

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

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

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

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

  .section {
    padding: 64px 0;
  }

  .define-box {
    padding: 26px 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(30px, 8.6vw, 38px);
  }

  .hero-ctas .btn {
    width: 100%;
  }

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

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

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

  .price-panel {
    padding: 30px 24px;
  }

  /* PDF iframes are unreliable on phones: show fallback instead */
  .pdf-viewer {
    display: none;
  }

  .pdf-fallback {
    display: block;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

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

/* ---------- Prose, Kontakt, Disclaimer ---------- */

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 24px;
  margin: 44px 0 12px;
}

.prose h3 {
  font-size: 18px;
  margin: 28px 0 8px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 16px;
}

.prose ul {
  padding-left: 22px;
  margin: 0 0 1em;
}

.prose .lead-in {
  font-size: 17.5px;
}

.disclaimer-box {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 44px;
  max-width: 760px;
}

.footer-note-legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 10px;
  font-size: 12.5px;
  color: rgba(236, 244, 255, 0.4);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 26px;
}

.contact-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.contact-form {
  max-width: 640px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.contact-form .btn {
  justify-self: start;
}

.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

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

.contact-card,
.disclaimer-box {
  clip-path: polygon(
    var(--cut-sm) 0, 100% 0,
    100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%,
    0 100%, 0 var(--cut-sm)
  );
}

/* ---------- Know-Callout + earlier mobile nav ---------- */

.know-wrap {
  padding: 0 0 88px;
}

.know-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 30px 34px;
}

.know-callout h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.know-callout p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 60ch;
}

.know-callout .kicker {
  margin-bottom: 8px;
}

@media (max-width: 1120px) {
  .nav {
    display: none;
  }

  .topbar-inner {
    justify-content: space-between;
  }
}

.know-callout {
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .check-list li {
    opacity: 1;
  }

  .check-list li em {
    opacity: 1;
  }

  .check-scan {
    display: none;
  }
}
