/* ==========================================================================
   Conspectum® 2.0 — Design System
   Marke: Navy #1a2332 · Akzent-Rot #c41e3a · Slogan "Strategy. Culture. Excellence."
   ========================================================================== */

/* ---------- Fonts (selbst gehostet, DSGVO-konform, OFL) ---------- */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lexend-600.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lexend-700.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/source-sans-3-500.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-700.woff2") format("woff2"); }

:root {
  --ink: #1a2332;
  --ink-deep: #0f1722;
  --accent: #c41e3a;
  --accent-dark: #a01830;
  --slate: #5a6b7b;
  --slate-light: #606e7b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e6ebf1;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 34, .06), 0 1px 2px rgba(15, 23, 34, .04);
  --shadow: 0 4px 20px rgba(15, 23, 34, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 34, .14);
  --maxw: 1200px;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Lexend", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, .calc-tab:focus-visible { outline-offset: 3px; }
.section--ink :focus-visible, .footer :focus-visible, .hero-visual :focus-visible { outline-color: #ff5a73; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 3000;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 8px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card:hover, .btn:hover { transform: none !important; }
}

body {
  font-family: var(--font);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
/* In-Fließtext-Links erkennbar machen (nicht nur über Farbe) */
main p a, main .check li a, .faq-item a { text-decoration: underline; text-underline-offset: 2px; }
main p a:hover, main .check li a:hover, .faq-item a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.logo, .eyebrow { font-family: var(--font-head); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { color: var(--slate); }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.brand-highlight { color: var(--accent); font-weight: 700; }

.section { padding: 6rem 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink p { color: rgba(255,255,255,.72); }

.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.9rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.logo .reg { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .96rem; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; min-width: 44px; min-height: 44px; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .6rem; min-width: 300px;
  opacity: 0; visibility: hidden; transition: .2s;
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop a { display: block; padding: .7rem .9rem; border-radius: 8px; font-size: .92rem; }
.drop a:hover { background: var(--bg-soft); color: var(--accent); }
.drop a small { display: block; color: var(--slate-light); font-weight: 400; font-size: .8rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 11rem 0 6rem;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(196,30,58,.07), transparent 60%),
              linear-gradient(160deg, #f8fafc 0%, #ffffff 55%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -10%; top: 10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,35,50,.05), transparent 70%); border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-deep) 100%);
  border-radius: var(--radius-lg); padding: 2.5rem; color: var(--white);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-visual::before { content:""; position:absolute; inset:0; background: radial-gradient(400px 200px at 90% 0%, rgba(196,30,58,.35), transparent 70%); }
.hero-visual h3 { color: var(--white); position: relative; }
.hero-visual .metric { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-visual .metric:last-child { border-bottom: 0; }
.hero-visual .metric b { font-size: 1.9rem; color: var(--white); letter-spacing: -.02em; }
.hero-visual .metric span { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ---------- Trust band ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2.5rem 0; }
.trust-item { text-align: center; }
.trust-item b { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.trust-item span { font-size: .9rem; color: var(--slate); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(196,30,58,.08); color: var(--accent); margin-bottom: 1.3rem;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; color: var(--accent); font-weight: 600; font-size: .95rem; }
.card .more:hover { gap: .7rem; }
.card--link { cursor: pointer; }
.tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); background:rgba(196,30,58,.08); padding:.3rem .7rem; border-radius:99px; margin-bottom:1rem; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-weight: 800; color: var(--accent); font-size: 1.1rem; background: rgba(196,30,58,.08);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
}
.step h4 { margin-bottom: .2rem; }

/* ---------- ROI Calculator ---------- */
.calc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.calc-tab { flex: 1; min-width: 140px; padding: 1rem; border: 0; background: transparent; cursor: pointer; font-weight: 600; color: var(--slate); border-bottom: 3px solid transparent; transition: .2s; font-size: .92rem; }
.calc-tab.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--white); }
.calc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.calc-inputs { padding: 2.2rem; border-right: 1px solid var(--border); }
.calc-results { padding: 2.2rem; background: linear-gradient(160deg, var(--ink), var(--ink-deep)); color: var(--white); }
.field { margin-bottom: 1.4rem; }
.field label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.field label .val { color: var(--accent); }
.field input[type="range"] { width: 100%; accent-color: var(--accent); }
.field input[type="number"] {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 8px;
  font-size: 1rem; font-family: var(--font); color: var(--ink);
}
.field input[type="number"]:focus { outline: none; border-color: var(--accent); }
.field small { color: var(--slate-light); font-size: .8rem; }
.result { padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: baseline; }
.result:last-of-type { border-bottom: 0; }
.result .r-label { color: rgba(255,255,255,.7); font-size: .92rem; max-width: 60%; }
.result .r-val { font-size: 1.8rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.result .r-val.accent { color: #ff5a73; }
.calc-disclaimer { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 1.4rem; line-height: 1.5; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--ink), var(--ink-deep)); color: var(--white); border-radius: var(--radius-lg); padding: 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 250px at 80% 120%, rgba(196,30,58,.4), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 56ch; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: rgba(255,255,255,.7); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: .7rem; }
.footer a { color: rgba(255,255,255,.7); font-size: .94rem; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer .logo { color: var(--white); margin-bottom: 1rem; }
.footer-about { font-size: .94rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .86rem; color: rgba(255,255,255,.5); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 6.5rem 0 0; font-size: .88rem; color: var(--slate); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--ink); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 2rem 0 4rem; background: linear-gradient(160deg, var(--bg-soft), #fff); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.4rem 0; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.faq-item p { font-size: .98rem; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2000;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); max-width: 760px; margin: 0 auto;
}
.cookie-inner { display: flex; align-items: center; gap: 1.4rem; padding: 1.2rem 1.5rem; flex-wrap: wrap; }
.cookie-inner p { font-size: .9rem; color: var(--slate); margin: 0; flex: 1; min-width: 240px; }
.cookie-inner a { color: var(--accent); }
.cookie-actions { display: flex; gap: .7rem; flex-shrink: 0; }
.cookie-actions .btn { padding: .7rem 1.4rem; font-size: .92rem; }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }

/* ---------- Images / media ---------- */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); line-height: 0; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.ratio { aspect-ratio: 4 / 3; }
.media-frame.ratio-wide { aspect-ratio: 16 / 9; }
img.rounded { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-hero-media { margin-top: 2.5rem; }
.logo-img { height: 64px; width: auto; display: block; border-radius: 4px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mb-1 { margin-bottom: 1rem; }
.check { list-style: none; display: grid; gap: .8rem; }
.check li { position: relative; padding-left: 2rem; color: var(--slate); }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .calc-body, .grid-2, .grid-3, .grid-4, .footer-grid, .trust-grid { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 88px; left: 0; width: 100%; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2rem 2rem; gap: .4rem; transform: translateY(-120%); transition: transform .3s; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .6rem 0; width: 100%; }
  .nav-toggle { display: block; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .section { padding: 4rem 0; }
  .cta-band, .hero-visual { padding: 2rem; }
  .container { padding: 0 1.3rem; }
}
