/* Pek Solutions. Keine externen Schriften, keine Tracker. */
:root {
  /* Logofarben: Nachtblau #16233F, Orange #FF7A2F, Hell #E8EEF7 */
  --navy: #16233F;
  --orange: #FF7A2F;
  --bg: #f6f8fc;
  --card: #ffffff;
  --alt: #e8eef7;
  --text: #16233F;
  --muted: #4d5b72;
  --line: #d6dfeb;
  --accent: #16233F;
  --accent-hover: #24375f;
  --accent-soft: #e8eef7;
  --brand: #FF7A2F;
  --brand-hover: #f2691b;
  --on-brand: #16233F;
  --tile: #16233F;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1424;
    --card: #16233F;
    --alt: #101b31;
    --text: #E8EEF7;
    --muted: #a5b2c8;
    --line: #26375a;
    --accent: #FF7A2F;
    --accent-hover: #ff9b5e;
    --accent-soft: #1f2f52;
    --brand: #FF7A2F;
    --brand-hover: #ff9b5e;
    --on-brand: #16233F;
    --tile: #22345c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
main { flex: 1; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
section[id], main[id] { scroll-margin-top: 96px; }

/* Kopfzeile */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 3px 0 var(--brand);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand picture, .about picture { display: block; flex: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo-s {
  display: block; width: 36px; height: 36px;
}
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; font-size: 15px; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }
nav .nav-cta { color: var(--accent); font-weight: 600; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Hero */
.hero { padding: 88px 0 72px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .4px; text-transform: uppercase; margin: 0 0 12px; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--brand); }
.hl { box-shadow: inset 0 -0.28em 0 color-mix(in srgb, var(--brand) 45%, transparent); }
.hero h1 { font-size: clamp(32px, 5vw, 48px); max-width: 760px; margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: var(--brand); color: var(--on-brand); font-weight: 600;
  border: 1px solid var(--brand);
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-grid .hero-art { justify-self: end; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid .hero-art { justify-self: start; max-width: 340px; }
}

/* Grafiken */
.ic { display: block; width: 40px; height: 40px; color: var(--text); margin-bottom: 14px; }
.ic .i-o { stroke: var(--brand); stroke-width: 2; }
.ic .i-f { fill: var(--brand); stroke: none; }
.ic .i-b { fill: var(--brand); stroke: var(--card); stroke-width: 3; }
.ic .i-n { stroke: var(--on-brand); stroke-width: 2; }
.ic .i-p { fill: var(--card); stroke: var(--brand); stroke-width: 2; }
.hero-art { display: block; width: 100%; max-width: 440px; height: auto; }
.hero-art .h-tile { fill: var(--tile); }
.hero-art .h-ink { fill: #E8EEF7; }
.hero-art .h-o { fill: var(--brand); }
.hero-art .h-front { fill: var(--brand); stroke: var(--bg); stroke-width: 14; paint-order: stroke; }
.hero-art .h-navy { fill: none; stroke: #16233F; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .h-card { fill: var(--card); stroke: var(--line); stroke-width: 2; }
.hero-art .h-line { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .h-oline { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .h-dash { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 2 8; stroke-linecap: round; }

/* Abschnitte */
.section { padding: 72px 0; }
.section.alt { background: var(--alt); }
.section h2 { font-size: 28px; margin-bottom: 8px; }
.section-lead { color: var(--muted); margin: 0 0 32px; }
.section > .wrap > h2 + .audience, .section > .wrap > h2 + .steps { margin-top: 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.item { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 14px; padding: 24px; }
.item h3 { font-size: 18px; margin-bottom: 10px; }
.item p { margin: 0; color: var(--muted); }

.audience { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.audience li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.audience span { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 52px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before {
  content: counter(s);
  position: absolute; top: 16px; left: 20px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.steps span { color: var(--muted); }

.about { display: flex; gap: 32px; align-items: flex-start; }
.about-logo {
  display: block; flex: none; width: 200px; height: 200px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line);
  padding: 32px;
}
.about p { max-width: 680px; margin: 12px 0 0; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-box { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; color: var(--text); }
a.contact-box:hover { border-color: var(--brand); text-decoration: none; }
.contact-box .label { color: var(--muted); font-size: 14px; }
.contact-box .value { font-weight: 600; overflow-wrap: anywhere; }

/* Kontaktformular */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.contact-layout .contact-grid { grid-template-columns: 1fr; }
.contact-form { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 14px; padding: 24px; }
.contact-form label { font-weight: 600; font-size: 14px; margin-top: 8px; }
.contact-form input, .contact-form textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.contact-form .btn { align-self: flex-start; margin-top: 8px; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.form-status { margin: 8px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: var(--text); font-weight: 600; }
.form-status.err { color: #c4450f; font-weight: 600; }
@media (prefers-color-scheme: dark) { .form-status.err { color: #ff9b5e; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal-main { display: flex; justify-content: center; padding: 48px 16px; }
.legal { width: 100%; max-width: 720px; }
.legal h1 { margin-bottom: 24px; font-size: 28px; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; }
.back { display: inline-block; margin-bottom: 24px; }

footer { text-align: center; font-size: 14px; color: var(--muted); padding: 24px 16px; border-top: 1px solid var(--line); }
footer a { color: var(--muted); margin: 0 8px; }

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .about { flex-direction: column; gap: 16px; }
  .about-logo { width: 160px; height: 160px; }
}
