/* ===== Watchtower Protect – B2B-Portal (gemeinsames Stylesheet für alle Seiten) ===== */

/* ===== Schrift: Inter (lokal eingebunden, SIL Open Font License) ===== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink-950: #070b12;
  --ink-900: #0c121c;
  --ink-800: #121a27;
  --ink-700: #1a2433;
  --ink-600: #263243;
  --gold: #f5b81e;          /* aus Logo.svg */
  --gold-dark: #d99c08;
  --gold-soft: rgba(245, 184, 30, 0.12);
  --text: #19202b;
  --muted: #5d6878;
  --line: #e4e8ee;
  --line-dark: rgba(255, 255, 255, 0.09);
  --bg: #ffffff;
  --bg-muted: #f5f7fa;
  --danger: #c62828;
  --danger-bg: #fdecea;
  --ok: #18a957;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 28, 0.04), 0 4px 12px rgba(12, 18, 28, 0.05);
  --shadow: 0 2px 4px rgba(12, 18, 28, 0.04), 0 18px 40px rgba(12, 18, 28, 0.09);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.35);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; color: var(--ink-900); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
a  { color: inherit; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--ink-950); box-shadow: 0 8px 24px rgba(245, 184, 30, 0.25); }
.btn-primary:hover { background: #ffc73a; box-shadow: 0 12px 30px rgba(245, 184, 30, 0.35); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-outline { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn-outline:hover { border-color: var(--ink-900); }
.btn-small { padding: 10px 18px; font-size: 0.9rem; }
.btn-large { padding: 17px 32px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(24, 169, 87, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(24, 169, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 169, 87, 0); }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { height: 60px; max-height: 60px; width: auto; }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-seal {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 5px 8px;
  line-height: 0;
}
.header-seal img { height: 34px; width: auto; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  background: #fff;
  content: "";
  transition: transform 0.2s, top 0.2s, opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ===== Hero (Startseite) ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 120px 0;
  background:
    linear-gradient(100deg, rgba(7, 11, 18, 0.97) 0%, rgba(7, 11, 18, 0.88) 50%, rgba(12, 18, 28, 0.7) 100%),
    var(--hero-img, none) center / cover no-repeat,
    var(--ink-900);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 72px;
  align-items: center;
}
.hero h1 { color: #fff; }
.accent { color: var(--gold); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.hero-lead { font-size: 1.2rem; color: rgba(255, 255, 255, 0.74); max-width: 640px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.cert-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px 32px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cert-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.cert-seal {
  display: flex;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.cert-seal img { width: 174px; }
.cert-text { font-size: 0.95rem; color: rgba(255, 255, 255, 0.74); margin-bottom: 24px; }
.cert-text strong { color: #fff; }
.cert-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cert-facts li { display: flex; flex-direction: column; gap: 2px; }
.cert-facts li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.cert-facts strong { color: #fff; font-size: 1.05rem; }
.cert-facts span { color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; line-height: 1.3; }

/* ===== Page-Hero (Unterseiten) ===== */
.page-hero {
  position: relative;
  color: #fff;
  padding: 110px 0 100px;
  background:
    linear-gradient(100deg, rgba(7, 11, 18, 0.96) 0%, rgba(7, 11, 18, 0.82) 55%, rgba(7, 11, 18, 0.55) 100%),
    var(--hero-img, none) center / cover no-repeat,
    var(--ink-900);
}
.page-hero-small { padding: 80px 0 70px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .hero-lead { margin-bottom: 36px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: #fff; }

/* ===== Referenzen-Ticker ===== */
.refs {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 40px;
}
.refs-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticker {
  overflow: hidden;
  /* weiche Ränder links und rechts */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track img {
  height: 45px;
  width: auto;
  max-width: none;
  margin-right: 72px;   /* Abstand als margin statt gap, damit die Schleife exakt bei -50 % nahtlos ist */
  border-radius: 6px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.ticker-track img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Werte-Leiste ===== */
.trust-bar { background: var(--ink-900); border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.8); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; }
.trust-inner div { padding: 24px 0; text-align: center; }
.trust-inner div + div { border-left: 1px solid var(--line-dark); }
.trust-inner div::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 10px;
  background: var(--gold);
  transform: rotate(45deg) translateY(-2px);
}

/* ===== Sections ===== */
.section { padding: 120px 0; }
.section-tight { padding: 88px 0; }
.section-muted { background: var(--bg-muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink-900); color: rgba(255, 255, 255, 0.75); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.lead-light { font-size: 1.1rem; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.7); }

/* ===== Nischen-Kacheln (Startseite) ===== */
.niche-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.niche-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.niche-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.niche-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s; }
.niche-card:hover img { transform: scale(1.04); }
.niche-media { overflow: hidden; }
.niche-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.niche-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.niche-link { font-weight: 700; font-size: 0.92rem; color: var(--gold-dark); }
.niche-card:hover .niche-link { color: var(--ink-900); }

/* ===== Bild + Text ===== */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.feature + .feature { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.feature-reverse .feature-media { order: 2; }
.feature-media { position: relative; margin: 0; }
.feature-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
.feature-reverse .feature-media::before { inset: 22px 22px -22px -22px; }
.feature-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-media figcaption {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  font-size: 0.8rem;
  color: var(--muted);
}
.feature-tag {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a6100;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.feature-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-text h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 800; }
.feature-text p { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d99c08' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list-dark li { border-color: var(--line-dark) !important; font-weight: 400; }
.check-list-dark strong { color: #fff; }

/* ===== Karten ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card:hover::after { transform: scaleY(1); }
.card-num { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--gold-dark); margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.card li { margin-bottom: 4px; }
.card a.card-more { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 0.9rem; color: var(--gold-dark); text-decoration: none; }

/* ===== Prozess-Schritte ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line-dark); }
.step { padding: 36px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step h3 { color: #fff; font-size: 1.1rem; }
.step p { font-size: 0.95rem; margin: 0; }

/* ===== Compliance-Box ===== */
.compliance {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.compliance-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--ink-900);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.1rem;
}
.compliance h3 { margin-bottom: 0.4em; }
.compliance p { color: var(--muted); margin: 0; }

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }

.benefit-box {
  background: var(--ink-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.benefit-box ul { list-style: none; padding: 0; margin: 0 0 32px; }
.benefit-box li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.85); }
.benefit-box li::before { content: "—"; color: var(--gold); margin-right: 12px; }

.testimonials { display: grid; gap: 18px; }
.testimonials blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.testimonials p { margin: 0 0 12px; font-size: 1.02rem; color: var(--text); }
.testimonials cite { font-style: normal; font-weight: 700; font-size: 0.88rem; color: var(--gold-dark); }
.testimonials cite::before { content: "— "; }

/* ===== Sicherheitscheck ===== */
.check-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.check-intro ul { list-style: none; padding: 0; margin: 28px 0 0; }
.check-intro li { padding: 10px 0; border-top: 1px solid var(--line-dark); }
.check-intro li::before { content: "—"; color: var(--gold); margin-right: 12px; }

.check-card {
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  min-height: 460px;
}
.check-card h3 { color: var(--ink-900); }
.check-progress { margin-bottom: 32px; }
.check-progress-top { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.04em; }
.check-bar { height: 6px; background: var(--bg-muted); border-radius: 99px; overflow: hidden; }
.check-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px; transition: width 0.35s ease; }

.check-category { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.check-question { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; line-height: 1.3; margin-bottom: 28px; color: var(--ink-900); }
.check-answers { display: grid; gap: 12px; }
.check-answer {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-weight: 600;
  text-align: left;
  color: var(--ink-900);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.check-answer:hover, .check-answer:focus-visible { border-color: var(--gold); background: #fffaf0; outline: none; }
.check-answer:active { transform: scale(0.99); }
.check-answer .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot-yes { background: var(--ok); }
.dot-partly { background: var(--gold); }
.dot-no { background: var(--danger); }
.check-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.check-back { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.9rem; cursor: pointer; padding: 6px 0; }
.check-back:hover { color: var(--ink-900); }
.check-back[hidden] { display: none; }
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.check-gate p { color: var(--muted); }
.check-gate .gate-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold-soft);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.check-result-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.score-ring {
  --p: 0;
  --c: var(--ok);
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--bg-muted) 0);
}
.score-ring span {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink-900);
}
.result-level { font-size: 1.3rem; font-weight: 800; margin: 0 0 4px; color: var(--ink-900); }
.result-sub { margin: 0; color: var(--muted); font-size: 0.95rem; }
.result-list { list-style: none; padding: 0; margin: 0 0 28px; max-height: 360px; overflow-y: auto; }
.result-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.result-list .dot { margin-top: 6px; width: 12px; height: 12px; border-radius: 50%; }
.result-list strong { display: block; color: var(--ink-900); }
.result-list span.tip { color: var(--muted); }
.result-note { font-size: 0.85rem; color: var(--muted); }

/* ===== Kontakt & Formulare ===== */
.split-contact { grid-template-columns: 0.8fr 1.2fr; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 32px 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-list a { text-decoration: none; color: var(--ink-900); }
.contact-list a:hover { color: var(--gold-dark); }
.contact-seal {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.contact-seal img { width: 140px; }

.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 44px;
}

/* Rote Warnbox für Bewerber */
.applicant-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--danger-bg);
  border: 2px solid var(--danger);
  border-left-width: 8px;
  border-radius: var(--radius-sm);
  color: #7f1d1d;
  padding: 18px 20px;
  margin-bottom: 32px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.applicant-notice .warn-icon { font-size: 1.4rem; line-height: 1.1; }
.applicant-notice strong { color: var(--danger); }

.form .field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--ink-900); }
.req { color: var(--danger); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-muted);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form select.select-strong { border-color: var(--ink-600); background-color: #fff; font-weight: 600; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 184, 30, 0.2);
}
.form textarea { resize: vertical; }
.form .checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.checkbox input { margin-top: 4px; accent-color: var(--gold-dark); }

/* ===== Rechtstexte (Impressum) ===== */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.08rem; margin-top: 1.6em; }
.legal p, .legal li { color: #3b4453; }
.legal a { overflow-wrap: anywhere; }
.legal address { font-style: normal; line-height: 1.8; margin-bottom: 1em; }
.todo {
  background: #fff3cd;
  border: 1px dashed #d4a017;
  border-radius: 4px;
  padding: 1px 6px;
  color: #6b4e00;
  font-weight: 600;
}

/* ===== CTA-Band ===== */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(245, 184, 30, 0.16), transparent 60%),
    var(--ink-900);
  color: #fff;
  padding: 72px 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.7); }

/* ===== Footer ===== */
.site-footer { background: var(--ink-950); color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { margin: 0 0 16px; line-height: 1.6; }
.footer-seal { display: inline-flex; background: #fff; border-radius: 6px; padding: 6px 10px; }
.footer-seal img { height: 36px; width: auto; margin: 0; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
}
.footer-bottom nav { display: flex; gap: 22px; }

/* ===== Formularversand ===== */
/* Spam-Schutz: unsichtbares Feld, das nur Bots ausfüllen */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--danger-bg);
  border: 1px solid var(--danger);
  color: #7f1d1d;
  font-size: 0.92rem;
}
.form-error[hidden] { display: none; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Danke- / Fehlerseite */
.status-box { max-width: 720px; }
.status-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 1.8rem;
  font-weight: 800;
}
.status-lead { font-size: 1.15rem; color: var(--ink-900); }
.status-box p { color: var(--muted); }
.status-box .hero-actions { margin-top: 32px; }

/* ===== Fester Anruf-Button (nur Handy) ===== */
.mobile-call {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink-950);
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.mobile-call strong { font-weight: 800; margin-right: 4px; }
.mobile-call:active { background: var(--gold-dark); }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 24px;
    background: var(--ink-950);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--gold); }
  .header-actions { margin-left: auto; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .cert-card { max-width: 460px; }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .split, .check-layout { gap: 56px; }
  .check-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
  .container { padding: 0 18px; }
  .header-inner { gap: 12px; }
  .logo img { height: 46px; }
  .header-cta { display: none; }
  .header-seal img { height: 28px; }
  .main-nav { padding: 4px 18px 20px; }
  .hero { padding: 72px 0 80px; }
  .page-hero { padding: 64px 0 60px; }
  .hero-lead { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cert-card { padding: 28px 22px 22px; max-width: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-inner div { padding: 16px 0; }
  .trust-inner div:nth-child(3) { border-left: 0; }
  .trust-inner div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .section { padding: 80px 0; }
  .section-tight { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .feature, .split, .split-contact, .card-grid, .card-grid-2, .niche-grid, .field-row { grid-template-columns: 1fr; }
  .feature { gap: 48px; }
  .feature + .feature { margin-top: 64px; padding-top: 64px; }
  .feature-reverse .feature-media { order: 0; }
  .feature-media::before,
  .feature-reverse .feature-media::before { inset: 14px -10px -14px 10px; }
  .split { gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-dark); }
  .compliance { grid-template-columns: 1fr; padding: 26px 22px; gap: 16px; }
  .form-wrap { padding: 26px 20px; }
  .check-card { padding: 26px 20px; min-height: 0; }
  .check-result-head { flex-direction: column; align-items: flex-start; }
  .benefit-box { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band-inner .btn { width: 100%; }
  .mobile-call { display: flex; }
  /* Platz unter dem Footer, damit der Anruf-Button nichts verdeckt */
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
