/* Co-Fox GmbH – co-fox.de
   Bewusst ohne externe Ressourcen (Fonts, CDNs, Tracking): keine Datenübertragung an Dritte. */

:root {
  --fox: #e14b50;
  --fox-dark: #c23a40;
  --fox-soft: #fdeceb;
  --ink: #171a21;
  --ink-2: #222631;
  --text: #2a2e38;
  --muted: #5d6372;
  --line: #e4e2de;
  --paper: #faf8f5;
  --white: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.65 var(--font);
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fox-dark); text-underline-offset: 3px; }
a:hover { color: var(--fox); }
:focus-visible { outline: 3px solid var(--fox); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 26, 33, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand:hover { color: var(--white); }
.brand img { width: 34px; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: #a8adbb; letter-spacing: .04em; }
.nav { display: flex; gap: 28px; }
.nav a { color: #d3d6de; text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--white); }
@media (max-width: 640px) {
  .nav { gap: 18px; }
  .brand small { display: none; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 16px; }
  .brand img { width: 28px; }
  .nav { gap: 12px; }
  .nav a { font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(225,75,80,.22), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white);
  padding: 96px 0 112px;
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero .wrap > *, .split > *, .grid > *, .facts li { min-width: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fox); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 7.5vw, 64px); hyphens: auto; overflow-wrap: break-word; line-height: 1.06; margin: 0 0 24px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--fox); }
.hero p.lead { font-size: 20px; color: #c9ccd6; max-width: 34em; margin: 0 0 36px; }
.hero .fox { width: min(320px, 70%); justify-self: center; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--fox); color: var(--white); }
.btn-primary:hover { background: var(--fox-dark); color: var(--white); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
@media (max-width: 820px) {
  .hero { padding: 64px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .fox { order: -1; width: 120px; justify-self: start; }
}

/* ---------- Facts strip ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts li { font-size: 15px; color: var(--muted); }
.facts strong { display: block; font-size: 22px; color: var(--ink); }
@media (max-width: 820px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 16px; color: var(--ink); letter-spacing: -.015em; }
.section-head p { margin: 0; color: var(--muted); font-size: 19px; }
@media (max-width: 640px) { section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
}
.alt .card { background: var(--paper); }
.card h3 { margin: 18px 0 10px; font-size: 20px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--fox-soft); color: var(--fox-dark);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Funktionen ---------- */
.highlights { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .feature-list { grid-template-columns: 1fr; } }
.feature {
  display: flex; gap: 20px; align-items: flex-start; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--fox);
  border-radius: var(--radius); padding: 30px 28px;
}
.feature .icon { flex: none; }
.feature h3 { margin: 6px 0 10px; font-size: 21px; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fox-dark); }
@media (max-width: 480px) { .feature { flex-direction: column; gap: 12px; padding: 24px 20px; } }

/* ---------- Split (Philosophie) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 20px; color: var(--ink); letter-spacing: -.015em; }
.split p { margin: 0 0 16px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li:first-child { padding-top: 0; }
.checklist li:first-child::before { top: 2px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--fox) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist strong { display: block; color: var(--ink); }
.checklist span { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Zertifikate ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .certs { grid-template-columns: 1fr; } }
.cert {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600;
  transition: border-color .15s ease, transform .15s ease;
}
.cert:hover { border-color: var(--fox); color: var(--ink); transform: translateY(-2px); }
.cert small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.cert .icon { flex: none; }

/* ---------- Team ---------- */
.team h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.people { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.people li {
  padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 16px; color: var(--ink);
}
.people.lead li { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Kontakt ---------- */
.contact { background: var(--ink); color: #c9ccd6; }
.contact .section-head h2 { color: var(--white); }
.contact .section-head p { color: #a8adbb; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--fox); }
.contact-card p { margin: 0; font-size: 18px; color: var(--white); }
.contact-card a { color: var(--white); text-decoration: none; }
.contact-card a:hover { color: var(--fox); }

/* ---------- Footer ---------- */
.site-footer { background: #101217; color: #8a8f9c; font-size: 14px; padding: 28px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #c9ccd6; text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); color: var(--ink); margin: 0 0 32px; letter-spacing: -.015em; }
.legal h2 { font-size: 26px; color: var(--ink); margin: 48px 0 12px; }
.legal h3 { font-size: 20px; color: var(--ink); margin: 32px 0 8px; }
.legal h4 { font-size: 17px; color: var(--ink); margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 24px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 10px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cert { transition: none; }
}
