/* INCO DIGITAL – gemeinsames Stylesheet für index, impressum, datenschutz.
   Alles lokal: keine Google Fonts, kein CDN. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --bg: #f8fafc;
  --bg-soft: #eef6fa;
  --card: #ffffff;
  --ink: #132231;
  --ink-2: #44566a;
  --ink-3: #5f6e7c;
  --line: #e2e9ef;
  --brand: #22acdf;          /* Logo-Cyan */
  --brand-strong: #0a78a6;   /* Text und Knöpfe, Kontrast ≥ 4,5:1 auf Weiß */
  --brand-deep: #075a7e;
  --mint: #8fd4d8;
  --mint-soft: #e4f5f6;
  --sun: #ffc35c;
  --sun-soft: #fff4dc;
  --ok: #15803d;
  --radius: 22px;
  --shadow-1: 0 1px 2px rgba(19, 34, 49, .05), 0 10px 28px -16px rgba(19, 34, 49, .16);
  --shadow-2: 0 2px 6px rgba(19, 34, 49, .06), 0 36px 70px -28px rgba(8, 72, 110, .32);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--brand-strong); }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; z-index: 100; text-decoration: none; font-weight: 700; }
.skip:focus { top: 0; color: #fff; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
  padding-top: env(safe-area-inset-top);
}
.kopf.gescrollt { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(19, 34, 49, .3); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: inline-flex; color: var(--ink); }
.logo svg { height: 40px; width: auto; }
@media (max-width: 360px) { .logo svg { height: 32px; } .kopf .btn-klein { padding: 9px 14px; font-size: 14px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-link:hover { color: var(--ink); }
@media (max-width: 880px) { .nav .nav-link { display: none; } }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn-primaer { background: var(--brand-strong); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 120, 166, .7); }
.btn-primaer:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn-zweit { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-zweit:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-1px); }
.btn-klein { padding: 10px 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Abschnitte */
.abschnitt { padding: 96px 0; }
section[id] { scroll-margin-top: 64px; }
.abschnitt-weich { background: var(--bg-soft); }
.oberzeile { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 14px; }
.titel { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 800; }
.einleitung { color: var(--ink-2); font-size: 18px; max-width: 640px; margin-top: 16px; }
.kopfblock { margin-bottom: 48px; }
.kopfblock.mitte { text-align: center; }
.kopfblock.mitte .einleitung { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .abschnitt { padding: 68px 0; } .kopfblock { margin-bottom: 32px; } }

.karte { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-1); }
.raster { display: grid; gap: 20px; }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.raster-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .raster-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .raster-2 { grid-template-columns: 1fr; } }

.symbol { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-soft); color: var(--brand-deep); margin-bottom: 18px; }
.symbol svg { width: 24px; height: 24px; }
.karte h3 { font-size: 20px; margin-bottom: 8px; }
.karte p { color: var(--ink-2); }

.haken { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.haken li { position: relative; padding-left: 30px; color: var(--ink-2); }
.haken li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075a7e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Erscheinen beim Scrollen */
.auftauchen { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.auftauchen.sichtbar { opacity: 1; transform: none; }

/* Fußzeile */
.fuss { background: #eaf2f7; border-top: 1px solid var(--line); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--ink-2); font-size: 15px; }
.fuss .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.fuss h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { color: var(--ink-2); text-decoration: none; }
.fuss a:hover { color: var(--brand-strong); text-decoration: underline; }
.fuss .logo svg { height: 36px; margin-bottom: 14px; }
.herz { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; color: #e5484d; animation: herzschlag 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes herzschlag { 0%, 60%, 100% { transform: scale(1); } 10% { transform: scale(1.18); } 20% { transform: scale(1); } 30% { transform: scale(1.12); } }
.fuss-unten { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .fuss .wrap { grid-template-columns: 1fr; } }

/* Rechtstexte (Impressum, Datenschutz) */
.recht { padding: 72px 0 96px; }
.recht .wrap { max-width: 780px; }
.recht h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 36px; }
.recht h2 { font-size: 20px; margin: 36px 0 10px; }
.recht h3 { font-size: 16px; margin: 20px 0 6px; letter-spacing: 0; }
.recht p { color: var(--ink-2); margin-bottom: 12px; }
.recht .stand { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.zurueck { font-weight: 600; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .auftauchen { opacity: 1; transform: none; }
}
@media print {
  .kopf, .netz, .buehne, .buehne-hinweis, form { display: none !important; }
  body { background: #fff; }
}
