/* Steuern für Creator · styles.css */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --graphit: #222326;
  --limette: #c3eb4c;
  --limette-hover: #d4f57a;
  --hell: #f5f5f2;
  --grau: #96989f;
  --weiss: #ffffff;

  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 11vw, 136px);

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--graphit);
  background: var(--graphit);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

strong {
  font-weight: 800;
}

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

/* Schmaler Inhalt, aber an derselben linken Kante wie die übrigen Abschnitte */
.container.narrow > * {
  max-width: 820px;
}

/* ---------- Farbflächen ---------- */

.dark {
  background: var(--graphit);
  color: var(--hell);
  --focus: var(--limette);
}

.light {
  background: var(--hell);
  color: var(--graphit);
  --focus: var(--graphit);
}

:focus-visible {
  outline: 3px solid var(--focus, var(--limette));
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--limette);
  color: var(--graphit);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
  --focus: var(--hell);
}

/* ---------- Typo-Bausteine ---------- */

.section {
  padding-block: var(--section-space);
}

.section h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.kicker {
  color: var(--limette);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.55;
}

.dark .lead {
  color: var(--hell);
}

.accent {
  color: var(--limette);
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--limette);
  color: var(--graphit);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.placeholder {
  background: rgb(195 235 76 / 0.16);
  border-bottom: 2px dashed var(--limette);
  padding-inline: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--limette);
  color: var(--graphit);
}

.btn-primary:hover {
  background: var(--limette-hover);
}

.btn-secondary {
  border-color: var(--hell);
  color: var(--hell);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--hell);
  color: var(--graphit);
}

.btn-block {
  width: 100%;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 560px) {
  .button-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 2;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.header-logo {
  display: block;
  /* Logo-SVG hat eigenen Innenabstand, daher leicht nach links ziehen */
  margin-left: -14px;
}

.header-logo img {
  width: clamp(168px, 30vw, 214px);
  height: auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 4px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--limette);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.header-link:hover {
  color: var(--limette);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(40px, 8vw, 104px) clamp(88px, 13vw, 160px);
}

/* Angeschnittener Ring wie in den Reels, unten rechts */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(420px, 95vw, 980px);
  aspect-ratio: 1;
  right: clamp(-360px, -32vw, -180px);
  bottom: clamp(-480px, -42vw, -200px);
  border-radius: 50%;
  border: clamp(56px, 10vw, 120px) solid rgb(195 235 76 / 0.07);
  pointer-events: none;
}

.hero-inner > * + * {
  margin-top: 24px;
}

.hero h1 {
  font-size: clamp(2.75rem, 9.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  display: block;
}

.hero .lead {
  max-width: 38rem;
}

.hero .button-row {
  margin-top: 36px;
}

.note {
  color: var(--grau);
  font-size: 0.9375rem;
}

/* ---------- Kommt dir das bekannt vor? ---------- */

.question-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px) !important;
}

@media (min-width: 720px) {
  .question-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.question-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--weiss);
  border: 1px solid rgb(34 35 38 / 0.1);
}

.question-card p {
  font-weight: 800;
  font-size: clamp(1.1875rem, 2.4vw, 1.4375rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.question-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--limette);
}

.question-icon svg,
.topic-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.question-icon svg {
  width: 24px;
  height: 24px;
  color: var(--graphit);
}

.statement {
  margin-top: clamp(40px, 6vw, 64px);
  max-width: 36rem;
  font-size: clamp(1.25rem, 2.8vw, 1.625rem);
  line-height: 1.4;
}

/* ---------- Was du hier lernst ---------- */

.topic-grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px) !important;
}

@media (min-width: 640px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.topic {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgb(245 245 242 / 0.12);
}

.topic-icon {
  width: 36px;
  height: 36px;
  color: var(--limette);
  margin-bottom: 20px;
}

.topic h3 {
  font-size: 1.3125rem;
  letter-spacing: -0.01em;
}

.topic p {
  margin-top: 8px;
  color: var(--grau);
}

/* ---------- Starterpaket ---------- */

.paket {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 920px) {
  .paket {
    grid-template-columns: 1.35fr 1fr;
  }
}

.paket-text > * + * {
  margin-top: 20px;
}

.paket-text h2 {
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 32px !important;
}

.check-list li {
  position: relative;
  padding-left: 40px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--limette)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222326' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.price {
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--limette);
  color: var(--limette);
  font-weight: 800;
  font-size: 0.9375rem;
}

.price-card .btn {
  margin-top: 8px;
}

/* ---------- Über den Account ---------- */

.about-inner {
  display: grid;
  gap: 32px;
}

@media (min-width: 760px) {
  .about-inner {
    grid-template-columns: auto minmax(0, 46rem);
    justify-content: start;
    gap: 48px;
    align-items: start;
  }
}

.about-icon {
  width: clamp(88px, 14vw, 140px);
  height: auto;
}

.about h2 + .lead {
  margin-top: 24px;
}

.about .lead + .lead {
  margin-top: 16px;
}

/* ---------- FAQ ---------- */

.faq {
  margin-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgb(34 35 38 / 0.16);
}

.faq details {
  border-bottom: 1px solid rgb(34 35 38 / 0.16);
}

.faq summary {
  position: relative;
  display: block;
  padding: 22px 52px 22px 0;
  font-weight: 800;
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Plus/Minus-Zeichen als Fläche in Limette */
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--limette)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222326' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after {
    transition: none;
  }
}

.faq details p {
  padding: 0 52px 24px 0;
  max-width: 42rem;
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */

.legal {
  padding-block: clamp(56px, 9vw, 112px);
  /* Kurze Seiten: Footer bleibt unten statt mitten im Bild */
  min-height: calc(100vh - 120px);
  min-height: calc(100svh - 120px);
}

.legal h1 {
  font-size: clamp(1.875rem, 7vw, 3.5rem);
  hyphens: auto;
  overflow-wrap: break-word;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 8px;
}

.legal p + p,
.legal ul + p {
  margin-top: 16px;
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Platzhalter auf hellem Grund: Limette nur als Fläche, Text bleibt Graphit */
.light .placeholder {
  background: rgb(195 235 76 / 0.45);
  border-bottom-color: var(--graphit);
}

.footer-links a[aria-current="page"] {
  color: var(--limette);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid rgb(245 245 242 / 0.08);
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-logo {
  width: 200px;
  height: auto;
  margin-left: -14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-left: 0;
}

.footer-links li + li::before {
  content: "·";
  color: var(--grau);
  padding-inline: 10px;
}

.footer-links li {
  display: flex;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--limette);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-note,
.footer-copy {
  color: var(--grau);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 48px;
  }

  .footer-links {
    justify-self: end;
  }

  .footer-note {
    grid-column: 1;
  }

  .footer-copy {
    grid-column: 2;
    justify-self: end;
  }
}
