/* skari.io – Stylesheet */

@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #0B1B3A;
  --navy-2: #13284F;
  --ink: #1E2A44;
  --muted: #56637D;
  --blue: #2F6BFF;
  --blue-dark: #1F55E0;
  --teal: #18C8C2;
  --paper: #F5F8FC;
  --white: #FFFFFF;
  --line: #DCE3EE;
  --line-dark: rgba(255,255,255,.14);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --wrap: 1160px;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --text: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--text); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 22px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.04em; line-height: 1; padding-bottom: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav .btn { padding: 12px 18px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; overflow-wrap: break-word; }
.hero-lead { margin-top: 22px; font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* Hero flow panel */
.flow { margin: 0; background: var(--navy); color: #fff; border-radius: var(--radius-l); padding: 28px; box-shadow: 0 30px 60px -30px rgba(11,27,58,.55); }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.7); }
.flow-head strong { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.flow-before { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.flow-before li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-s); background: rgba(255,255,255,.06); color: rgba(255,255,255,.62); font-size: .95rem; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.flow-before li span { margin-left: auto; white-space: nowrap; padding-left: 10px; text-decoration: none; font-variant-numeric: tabular-nums; font-size: .85rem; color: rgba(255,255,255,.45); }
.flow-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; color: var(--teal); font-weight: 600; font-size: .95rem; }
.flow-divider::before, .flow-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.flow-svg { width: 100%; height: auto; }
.flow-svg .node rect { fill: var(--navy-2); stroke: rgba(255,255,255,.18); }
.flow-svg .node.is-core rect { fill: url(#coreGrad); stroke: none; }
.flow-svg .node text { fill: #fff; font-family: var(--text); font-size: 13px; font-weight: 600; }
.flow-svg .node .sub { fill: rgba(255,255,255,.6); font-weight: 400; font-size: 11px; }
.flow-svg .track { stroke: rgba(255,255,255,.22); stroke-width: 2; stroke-dasharray: 4 6; fill: none; }
.flow-svg .pulse { fill: var(--teal); }
.flow-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.7); }
.flow-foot b { color: var(--teal); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .flow-svg .pulse { display: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { padding: 22px 18px; }
  .hero h1 { max-width: 16ch; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.12rem; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service { padding: 34px 32px 38px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 6px 20px; }
.service:nth-child(2n) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.service:last-child:nth-child(odd) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.service .icon { grid-row: span 2; width: 52px; height: 52px; border-radius: var(--radius-m); background: var(--paper); color: var(--blue); display: grid; place-items: center; }
.service .icon svg { width: 26px; height: 26px; }
.service p { color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(2n) { padding: 28px 0; border-left: 0; }
}

/* Warum */
.why { background: var(--navy); color: #fff; }
.why h2 { color: #fff; max-width: 20ch; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 56px); }
.why-item { padding: 6px 28px 6px 0; }
.why-item + .why-item { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.why-item h3 { color: #fff; font-size: 1.15rem; }
.why-item h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--teal); margin-bottom: 18px; }
.why-item p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 1rem; }
@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 0; border-left: 0; }
}

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: calc((100% - 84px) / 4 - 24px); height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .35; }
.step { position: relative; counter-increment: step; }
.step::before { content: counter(step); position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 22px; }
.step:last-child::before { border-color: var(--teal); color: var(--navy); background: var(--teal); }
.step p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--teal)); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 30px; }
  .step::before { grid-row: span 2; margin-bottom: 0; }
  .step h3 { padding-top: 11px; }
}

/* Referenzen */
.refs-section { background: var(--paper); }
.refs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ref { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; display: flex; flex-direction: column; }
.ref-logo { height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.ref-logo img { max-height: 56px; width: auto; max-width: 220px; object-fit: contain; }
.ref-kind { font-size: .92rem; font-weight: 600; color: var(--blue); }
.ref h3 { margin-top: 2px; }
.ref p { margin-top: 12px; color: var(--ink); font-size: 1rem; flex: 1; }
.ref-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ref-links .ref-link { margin-top: 0; }
.ref-link { margin-top: 20px; font-weight: 600; font-size: .98rem; text-decoration: none; }
.ref-link:hover { text-decoration: underline; }
.ref-soon { margin-top: 20px; align-self: flex-start; font-size: .85rem; font-weight: 600; color: var(--navy); background: rgba(24,200,194,.16); padding: 6px 12px; border-radius: 999px; }

.logo-vat4 { display: inline-flex; align-items: center; gap: 10px; }
.logo-vat4 .sq { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, #10B981, #059669); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(5,150,105,.45); }
.logo-vat4 .sq svg { width: 24px; height: 24px; }
.logo-vat4 b { font-family: var(--text); font-weight: 600; font-size: 1.6rem; color: #0F172A; letter-spacing: -0.02em; }
.logo-wiw { display: inline-flex; align-items: center; gap: 12px; }
.logo-wiw img { width: 46px; height: 46px; }
.logo-wiw span { display: grid; line-height: 1.15; }
.logo-wiw b { font-weight: 600; font-size: 1.12rem; color: var(--navy); }
.logo-wiw small { font-size: .85rem; color: var(--muted); }
.logo-wodu { display: inline-flex; align-items: center; gap: 12px; }
.logo-wodu img { width: 46px; height: 46px; border-radius: 11px; box-shadow: 0 4px 10px -4px rgba(11,27,58,.3); }
.logo-wodu span { display: grid; line-height: 1.15; }
.logo-wodu b { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.logo-wodu small { font-size: .85rem; color: var(--muted); }
.logo-seller { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.logo-seller .sq { width: 46px; height: 46px; border-radius: 11px; background: var(--navy); color: #FFB547; display: grid; place-items: center; }
.logo-seller .sq svg { width: 24px; height: 24px; }
.logo-seller b { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }

@media (max-width: 960px) {
  .refs { grid-template-columns: repeat(2, 1fr); }
  .ref { grid-column: span 1; }
}
@media (max-width: 620px) {
  .refs { grid-template-columns: 1fr; }
}

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-copy p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--navy); }
.contact-mail svg { width: 22px; height: 22px; color: var(--blue); }
.contact-mail:hover { color: var(--blue); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D93A3A; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--ink); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-foot small { color: var(--muted); }
.form-status { grid-column: 1 / -1; border-radius: var(--radius-s); padding: 14px 16px; font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: rgba(24,200,194,.14); color: #0A5753; }
.form-status.is-error { display: block; background: #FDECEC; color: #9B1C1C; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 36px; font-size: .97rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 36ch; }
.footer-address { font-style: normal; line-height: 1.75; }
.footer-address a { color: #fff; text-decoration: none; }
.footer-address a:hover { color: var(--teal); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-links a:hover { color: var(--teal); }

/* Rechtstexte */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 112px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal .stand { margin-top: 10px; color: var(--muted); }
.legal h2 { font-size: 1.3rem; margin-top: 44px; letter-spacing: -0.01em; }
.legal h3 { font-size: 1.05rem; margin-top: 26px; }
.legal p, .legal li { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 1.2em; margin: 0; }
.legal address { font-style: normal; margin-top: 12px; }
.back { display: inline-block; margin-bottom: 28px; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }
