/* ==========================================================================
   MUNLabs – Stylesheet
   Schriften liegen auf dem eigenen Server (assets/fonts), keine externen Aufrufe.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-wght-italic.woff2") format("woff2-variations");
}

:root {
  --font-display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --paper: #F3F4F1;
  --paper-2: #E9EBE6;
  --card: #FFFFFF;
  --ink: #171B20;
  --ink-2: #4A525E;
  --ink-3: #8B939F;
  --rule: #DCE0E3;
  --rule-2: #C9CFD4;
  --blue: #2451F0;
  --blue-ink: #FFFFFF;
  --blue-2: #1B41C7;
  --blue-soft: rgba(36, 81, 240, .10);
  --sticker: #FFD84A;
  --sticker-ink: #2A2306;
  --navy: #0D1B2A;
  --navy-2: #122438;
  --cyan: #1FC3DD;
  --grid: rgba(23, 27, 32, .07);
  --shadow: 0 1px 2px rgba(23, 27, 32, .05), 0 10px 30px rgba(23, 27, 32, .07);
  --r: 18px;
  --r-sm: 10px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121518;
    --paper-2: #181C21;
    --card: #1A1F25;
    --ink: #ECEEF0;
    --ink-2: #AEB5BE;
    --ink-3: #7B838E;
    --rule: #2A3037;
    --rule-2: #3A424B;
    --blue: #7FA3FF;
    --blue-ink: #0B1733;
    --blue-2: #9DB8FF;
    --blue-soft: rgba(127, 163, 255, .14);
    --grid: rgba(236, 238, 240, .06);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { 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(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-2); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--font-mono); font-size: .86em; }

/* --------------------------------------------------------------- Kopf */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; }
.logo .lab { font-weight: 400; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.ext { color: var(--ink); border: 1px solid var(--rule-2); margin-left: 6px; }
.nav a.ext:hover { border-color: var(--ink-3); }
.burger { display: none; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 64px; padding: 10px 14px 16px; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .nav.open a { padding: 12px 14px; font-size: 17px; border-radius: 10px; }
  .nav.open a.ext { margin: 6px 0 0; text-align: center; }
  .burger { display: inline-flex !important; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--rule-2); background: transparent; color: var(--ink); cursor: pointer; }
  .burger svg { width: 20px; height: 20px; }
}

/* --------------------------------------------------------------- Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 20px; height: 48px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--blue); color: var(--blue-ink); }
.btn.primary:hover { background: var(--blue-2); color: var(--blue-ink); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.secondary:hover { border-color: var(--ink-3); background: var(--card); color: var(--ink); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: var(--ink-2); color: var(--paper); }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,0) 92%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,0) 92%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; max-width: 11ch; }
.hero h1 em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.hero .lead { margin-top: 24px; font-size: 19px; color: var(--ink-2); max-width: 54ch; }
.hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.sticker-wrap { display: flex; justify-content: center; }
.sticker {
  position: relative; width: min(340px, 100%); aspect-ratio: 1 / 1; padding: 34px 32px;
  background: var(--sticker); color: var(--sticker-ink);
  transform: rotate(-3deg);
  box-shadow: 0 18px 40px rgba(23, 27, 32, .18), 0 2px 4px rgba(23, 27, 32, .12);
  font-family: var(--font-display); display: flex; flex-direction: column; justify-content: space-between;
}
.sticker::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.10) 50%); }
.sticker .big { font-size: clamp(30px, 4vw, 40px); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
.sticker .small { font-family: var(--font-body); font-size: 15px; line-height: 1.45; font-weight: 500; }
.sticker .pin { position: absolute; top: -10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: rgba(255,255,255,.55); transform: rotate(1.5deg); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .sticker { transform: rotate(-2deg); width: min(300px, 100%); }
}

/* --------------------------------------------------------------- Abschnitte */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }

/* Projekt-Blatt */
.sheet {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden;
}
.sheet + .sheet { margin-top: 24px; }
.sheet-side { padding: 36px; border-right: 1px solid var(--rule); background: var(--paper-2); display: flex; flex-direction: column; gap: 22px; }
.sheet-main { padding: 36px; display: flex; flex-direction: column; gap: 24px; }
.sheet .mark { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--rule); overflow: hidden; }
.sheet .mark svg { width: 30px; height: 30px; }
.sheet .mark img { width: 100%; height: 100%; object-fit: cover; }
.sheet h3 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.025em; }
.sheet .tagline { font-size: 18px; color: var(--ink-2); margin-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--blue-soft); color: var(--blue); }
.tag.free { background: rgba(30, 158, 106, .14); color: #1E8C5E; }
@media (prefers-color-scheme: dark) { .tag.free { color: #5AD6A3; } }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.meta dt { color: var(--ink-3); }
.meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.meta dd a { font-weight: 500; }
.sheet-main p.desc { font-size: 17px; color: var(--ink); max-width: 62ch; }
.sheet-main p.desc + p.desc { margin-top: -10px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.features li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }
.features li b { color: var(--ink); font-weight: 600; }
.sheet .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.note { font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet-side { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px 24px; }
  .sheet-main { padding: 28px 24px; }
  .features { grid-template-columns: 1fr; }
}

.shot { margin: 6px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule-2); box-shadow: 0 10px 30px rgba(23, 27, 32, .18); background: #0F141B; }
.shot img { width: 100%; height: auto; display: block; }

/* Preise & Anleitung (Klicker) */
.prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.price { display: block; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 10px 10px 9px; background: var(--paper); min-width: 0; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .12s, background .15s; }
a.price:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); transform: translateY(-1px); }
a.price .s:last-child { color: var(--blue); font-weight: 600; margin-top: 4px; }
.prices.badges .price { position: relative; padding-left: 14px; }
.prices.badges .price::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: var(--rule-2); }
.price.badge-silber::before { background: #A7B0BB; }
.price.badge-gold::before { background: #E3B341; }
.price.badge-platin::before { background: #8FD3E8; }
.price.badge-diamant::before { background: #6EA8FF; }
.price.badge-elite::before { background: #B98CFF; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); }
.price .d { font-size: 13px; color: var(--ink-3); }
.price .p { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.01em; }
.price.best { border-color: var(--blue); background: var(--blue-soft); }
.price .s { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 860px) { .prices { grid-template-columns: repeat(2, 1fr); } .price:last-child { grid-column: span 2; } }
.steps { counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 15.5px; color: var(--ink-2); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-top: 1px; }
.steps li b { color: var(--ink); font-weight: 600; }
.subhead { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }

/* --------------------------------------------------------------- Über uns */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.about .text { font-size: 18px; color: var(--ink); max-width: 58ch; }
.about .text p + p { margin-top: 16px; }
.about .names { margin-top: 24px; display: flex; gap: 28px; flex-wrap: wrap; }
.about .names div { font-size: 15px; color: var(--ink-2); }
.about .names b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.agency {
  background: var(--navy); color: #E6EEF5; border-radius: var(--r); padding: 32px;
  background-image: radial-gradient(600px 300px at 110% -20%, rgba(31, 195, 221, .28), transparent 60%);
  box-shadow: var(--shadow);
}
.agency .eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.agency h3 { font-size: 30px; font-weight: 800; margin-top: 10px; color: #fff; letter-spacing: -0.02em; }
.agency p { margin-top: 12px; color: #B9C8D6; font-size: 16px; }
.agency .btn { margin-top: 22px; background: var(--cyan); color: #06222A; border-color: transparent; }
.agency .btn:hover { background: #4BD4EA; color: #06222A; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Kontakt / Unterstützen */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact .box { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.contact h3 { font-size: 24px; font-weight: 700; }
.contact p { margin-top: 8px; color: var(--ink-2); }
.contact .btn { margin-top: 18px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Fuß */
.foot { border-top: 1px solid var(--rule); padding: 28px 0 36px; font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* --------------------------------------------------------------- Rechtstexte */
.legal-page { padding: 48px 0 72px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.025em; }
.legal-page .lead { margin-top: 10px; color: var(--ink-2); font-size: 18px; }
.legal-page .body { margin-top: 36px; }
.legal-page h2 { font-size: 24px; font-weight: 700; margin: 36px 0 12px; }
.legal-page h2:first-child { margin-top: 0; }
.legal-page h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.legal-page p { margin: 0 0 12px; max-width: 72ch; }
.legal-page ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; max-width: 72ch; }
.legal-page li { margin: 4px 0; }
.legal-page address { font-style: normal; margin: 0 0 12px; }
.legal-page .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.legal-page .back:hover { color: var(--ink); }
.legal-page .box { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 18px 20px; margin: 16px 0 20px; }
.legal-page .toc { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 18px 20px 18px 38px; margin: 24px 0 8px; columns: 2; column-gap: 28px; font-size: 15px; }
.legal-page .toc li { break-inside: avoid; }
.legal-page .toc a { text-decoration: none; }
.legal-page .toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal-page .toc { columns: 1; } }
