/* TSCHAN technology – www.tschan.ch
   Kein JavaScript, keine externen Ressourcen, keine Cookies. */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --ink: #0d1726;
  --ink-2: #3c4a5d;
  --ink-3: #6b7889;
  --line: #dde3ea;
  --accent: #0e8fa3;
  --accent-ink: #0a6f80;
  --energy: #5f9e12;
  --grad: linear-gradient(120deg, #0e9fb5 0%, #3fae74 55%, #8cc63f 100%);
  --hero-bg: #0b1422;
  --hero-ink: #eef3f8;
  --hero-ink-2: #a9b7c8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 23, 38, .05), 0 8px 24px rgba(13, 23, 38, .06);
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111c;
    --surface: #111b2a;
    --surface-2: #162235;
    --ink: #e8eef5;
    --ink-2: #b4c1d1;
    --ink-3: #8696aa;
    --line: #22314a;
    --accent: #38c6d9;
    --accent-ink: #6fd8e6;
    --energy: #9bd14f;
    --hero-bg: #060c15;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::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;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 34, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.brand svg { flex: none; }
.brand b { font-weight: 800; letter-spacing: .08em; }
.brand span { font-weight: 400; color: var(--hero-ink-2); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--hero-ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .btn { color: #06202a; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--grad); color: #06202a; font-weight: 650; font-size: 15px;
  text-decoration: none; border: 0; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(14, 159, 181, .25);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14, 159, 181, .35); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--hero-ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg); color: var(--hero-ink);
  padding: 96px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 380px at 85% 10%, rgba(14, 159, 181, .32), transparent 70%),
    radial-gradient(520px 340px at 70% 95%, rgba(140, 198, 63, .22), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hero-ink-2); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero h1 {
  margin: 18px 0 20px; max-width: 15ch;
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.025em; font-weight: 750;
}
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 60ch; font-size: clamp(17px, 2vw, 20px); color: var(--hero-ink-2); margin: 0 0 34px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  margin: 64px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden;
}
.facts li { background: rgba(11, 20, 34, .88); padding: 20px 22px; }
.facts strong { display: block; font-size: 22px; color: #fff; letter-spacing: -.01em; }
.facts span { font-size: 14px; color: var(--hero-ink-2); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Abschnitte ---------- */
section { padding: 96px 0; scroll-margin-top: 64px; }
section.alt { background: var(--surface-2); }
@media (max-width: 560px) { section { padding: 68px 0; } .hero { padding: 64px 0 60px; } }

.head { max-width: 680px; margin-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.02em; margin: 10px 0 14px; font-weight: 720; }
.head p { color: var(--ink-2); margin: 0; font-size: 18px; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.card.energy::before { background: linear-gradient(90deg, #3fae74, #8cc63f); }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-ink); margin-bottom: 18px; }
.card.energy .icon { color: var(--energy); }
.card h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.01em; }
.card .sub { color: var(--ink-3); font-size: 15px; margin: 0 0 18px; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.card.energy li::before { border-color: var(--energy); }

.note { margin-top: 26px; color: var(--ink-3); font-size: 15px; }

/* Vorgehen */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }
.audience div { border-left: 3px solid var(--line); padding: 4px 0 4px 18px; }
.audience h3 { margin: 0 0 4px; font-size: 17px; }
.audience p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Über mich */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }
.portrait { position: relative; max-width: 300px; margin: 0; isolation: isolate; }
.portrait img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.portrait picture { position: relative; display: block; isolation: isolate; }
.portrait picture::after { content: ""; position: absolute; inset: auto -10px -10px auto; width: 70%; height: 70%; border-radius: 20px; background: var(--grad); opacity: .22; z-index: -1; }
.portrait figcaption { margin-top: 16px; font-size: 15px; color: var(--ink-3); }
.portrait figcaption strong { display: block; color: var(--ink); font-size: 17px; }
.about p { color: var(--ink-2); margin: 0 0 16px; }
.about p:first-of-type { font-size: 19px; color: var(--ink); }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.skills li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.quote { margin: 30px 0 0; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.quote strong { color: var(--ink); }

/* Kontakt */
.contact {
  background: var(--hero-bg); color: var(--hero-ink); border-radius: 22px; padding: 56px;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(14, 159, 181, .3), transparent 70%), radial-gradient(420px 260px at 0% 100%, rgba(140, 198, 63, .18), transparent 70%); pointer-events: none; }
.contact > * { position: relative; }
.contact h2 { color: #fff; margin-top: 0; }
.contact p { color: var(--hero-ink-2); margin: 0 0 24px; }
.contact .kicker { color: #6fd8e6; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.channels a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  color: #fff; text-decoration: none; font-weight: 550; overflow-wrap: anywhere;
}
.channels a:hover { background: rgba(255, 255, 255, .09); }
.channels small { display: block; font-weight: 400; color: var(--hero-ink-2); font-size: 13px; }
.channels svg { flex: none; color: #6fd8e6; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; padding: 36px 24px; } }

/* Fusszeile */
footer { padding: 36px 0 48px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--ink-3); }

/* Rechtstexte */
.legal { padding: 72px 0 40px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -.02em; margin: 8px 0 24px; line-height: 1.1; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal address { font-style: normal; color: var(--ink-2); }
.back { display: inline-block; margin-top: 32px; }
