/* ==========================================================================
   Kuli Webdesign – Basis-Styles
   Keine externen Schriften oder CDNs (DSGVO): Schriften liegen lokal im Projekt.
   ========================================================================== */

/* Schriften liegen lokal (keine Verbindung zu Google & Co.) – Lizenzen: assets/fonts/LIZENZEN.txt */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variabel.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --mono: var(--font);
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-dark: #0c1222;

  /* Markenfarbe Flieder #b98fcb – für Text und Fokus die tiefere Stufe, Flieder selbst ist auf Hell zu blass */
  --brand: #88509f;
  --brand-ink: #6a3d7d;
  --brand-soft: #f1e8f4;

  /* Glas (frosted glass) – nur für schwebende Bedienelemente, unter denen Inhalt durchläuft */
  --glas-unschaerfe: blur(22px) saturate(180%);
  --glas-hell: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .6));
  --glas-hell-kante: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(21, 16, 23, .04), 0 0 0 .5px rgba(21, 16, 23, .14);
  --glas-dunkel: linear-gradient(180deg, rgba(56, 44, 62, .66), rgba(30, 23, 34, .6));
  --glas-dunkel-kante: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 0 0 .5px rgba(255, 255, 255, .14);
  --glas-schatten: 0 10px 30px -10px rgba(21, 16, 23, .22), 0 30px 60px -30px rgba(21, 16, 23, .3);
  --ok: #12b76a;
  --danger: #d92d20;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 12px 32px -12px rgba(16, 24, 40, .18), 0 4px 8px -4px rgba(16, 24, 40, .06);
  --shadow-l: 0 32px 64px -24px rgba(16, 24, 40, .28);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Ohne Unschärfe (alte Browser) oder mit „Transparenz reduzieren“: Glas wird fast deckend */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glas-hell: rgba(255, 255, 255, .96); --glas-dunkel: rgba(36, 28, 40, .96); }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glas-hell: rgba(255, 255, 255, .97); --glas-dunkel: rgba(36, 28, 40, .97); --glas-unschaerfe: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) { scroll-behavior: auto; }
  html:not([data-motion="full"]) *, html:not([data-motion="full"]) *::before, html:not([data-motion="full"]) *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  font-weight: 750;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: 0 8px 20px -8px rgba(136, 80, 159, .45);
}
.btn:hover { color: var(--btn-fg); background: var(--brand-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; box-shadow: none; }
.btn--dark { --btn-bg: #151017; --btn-fg: #fff; --btn-bd: #151017; box-shadow: 0 10px 24px -12px rgba(0,0,0,.55); }
.btn--dark:hover { background: #2c2131; color: #fff; }
.mono { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.btn--light:hover { background: #eef1f7; color: var(--ink); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__wordmark { display: block; width: 86px; height: auto; }
.logo__text { white-space: nowrap; }
.logo__text span { font-weight: 600; color: var(--brand-ink); letter-spacing: -0.02em; }
@media (max-width: 560px) { .site-header__inner { min-height: 76px; } .logo__wordmark { width: 72px; } }
/* Unterseiten (Kontakt, Impressum, Datenschutz): gut sichtbarer Weg zurück oben rechts,
   weil viele das Logo nicht als Link zur Startseite erkennen. */
.zurueck { min-height: 42px; padding: 9px 18px 9px 14px; background: #fff; font-size: .95rem; }
@media (max-width: 420px) { .zurueck { padding: 8px 14px 8px 11px; font-size: .9rem; } }
/* Kopfzeile: nur der Schriftzug „kuli“, ohne Zusatz und Rand – ein Viertel größer als die Buchstaben im vollen Logo */
.logo__wordmark--kuli { width: 94px; }
@media (max-width: 560px) { .logo__wordmark--kuli { width: 79px; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; padding: 8px 12px; border-radius: 999px; }
.nav a:not(.btn):hover { background: var(--bg-soft); color: var(--ink); }
.nav .btn { margin-left: 8px; min-height: 42px; padding: 9px 18px; }

.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }

/* ---------- Preise ---------- */
.price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; color: var(--ink); }
.price strong { font-size: 2.6rem; letter-spacing: -.04em; font-weight: 800; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.footnote { font-size: .88rem; color: var(--muted); margin-top: 22px; }

.offer {
  max-width: 940px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 52px); align-items: center;
  border: 2px solid var(--brand); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 46px);
}
.offer__main .price { margin: 10px 0 10px; }
.offer__main .price strong { font-size: clamp(2.9rem, 6vw, 3.8rem); }
.offer__main .btn { margin-top: 20px; }
.offer__note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.offer__list { gap: 12px; padding: clamp(18px, 3vw, 26px); background: var(--bg-soft); border-radius: var(--radius); }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-s); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 44px; border-top: 1px solid var(--line); font-size: .95rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.5em; }
.todo {
  background: #fff6e5; border: 1px dashed #f79009; color: #93370d;
  border-radius: 8px; padding: 1px 6px; font-weight: 600;
}
.note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: .95rem; }

/* ---------- Unterseiten im Stil der Startseite ---------- */
.seite { --canvas: #f6f4f7; --line: #e1dbe4; background: var(--canvas); color: #3a3a40; }
.seite ::selection { background: #e1cee8; color: #151017; }
.seite .site-header { background: var(--glas-hell); -webkit-backdrop-filter: var(--glas-unschaerfe); backdrop-filter: var(--glas-unschaerfe); border-bottom: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); transition: box-shadow .3s ease; }
.seite .site-header.is-scrolled { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 .5px 0 rgba(21, 16, 23, .14), 0 10px 30px -18px rgba(21, 16, 23, .25); }
.seite h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: .92; letter-spacing: .005em; color: #151017;
}
.seite .eyebrow { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; color: #6a6a72; }
.seite .eyebrow::before { display: none; }
.seite .site-footer { border-top-color: #e1dbe4; background: var(--canvas); }
.seite .site-footer nav a { color: #55555d; }
.seite .site-footer nav a:hover, .seite .site-footer nav a[aria-current] { color: #151017; }

.seite .legal h1 { font-size: clamp(2.1rem, 8.6vw, 5.6rem); margin-bottom: .4em; hyphens: auto; overflow-wrap: break-word; }
.seite .legal h2 { font-size: 1.4rem; padding-top: 1.4em; border-top: 1px solid #e1dbe4; }
.seite .legal h1 + h2 { border-top: 0; padding-top: 0; }

/* ---------- Animation beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
