/* Convision — Grundlagen: dunkles Studio-Design mit dem Marken-Orange des Originals */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  /* Dunkles Studio + Original-Orange */
  --ink: #101013;
  --ink-deep: #0a0a0d;
  --ink-soft: #17171b;
  --paper: #f4f1ea;
  --paper-deep: #ebe7dd;
  --weiss: #ffffff;
  --line: rgba(16, 16, 19, 0.14);
  --line-hell: rgba(244, 241, 234, 0.16);
  --muted: #565259;
  --muted-hell: rgba(244, 241, 234, 0.66);
  --orange: #fcaf00;          /* Marken-Orange des Originals */
  --orange-flaeche: #e2a12d;  /* volle Orange-Bänder */
  --orange-tief: #c76d07;     /* Akzent auf hellen Flächen */

  --font-display: "Poppins", "Inter", sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --t-display: clamp(2.3rem, 1.2rem + 3.8vw, 4.15rem);
  --t-h2: clamp(1.9rem, 1.2rem + 2.8vw, 3.6rem);
  --t-h3: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  --t-body: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --t-zahl: clamp(2.6rem, 1.8rem + 3.4vw, 5rem);

  --raum: clamp(4.5rem, 3rem + 6vw, 10rem);
  --rand: clamp(1.1rem, 0.6rem + 2.6vw, 3.5rem);
  --radius: 22px;

  --zug: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  overflow-x: clip;
  background: var(--ink-deep);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); line-height: 1.06; }
h3 { font-size: var(--t-h3); letter-spacing: -0.01em; line-height: 1.25; }

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* Highlight-Kasten wie im Original-Claim */
.kasten {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  border-radius: 0.16em;
  padding: 0 0.2em 0.03em;
  line-height: 1.02;
}

p { text-wrap: pretty; }

.hand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: 0.005em;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 2px;
  background: var(--orange);
}

/* Flächenwechsel */
.flaeche-dunkel { background: var(--ink-deep); color: var(--paper); }
.flaeche-dunkel p { color: var(--muted-hell); }
.flaeche-hell { background: var(--paper); color: var(--ink); }
.flaeche-hell p { color: var(--muted); }

/* Orange Vollflächen mit schräger Kante (Original-Chevron) */
.band {
  background: var(--orange-flaeche);
  color: var(--ink);
  text-align: center;
  clip-path: polygon(0 0, 50% clamp(1.6rem, 4vw, 3.4rem), 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(1.6rem, 4vw, 3.4rem);
}
.band p { color: #3d3423; }

.spann { width: min(76rem, 100% - 2 * var(--rand)); margin-inline: auto; }

/* Pill-Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--zug), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0); }
.pill:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.pill--voll { background: var(--orange); color: var(--ink); }
.pill--voll:hover { background: #ffbc1f; }
.pill--dunkel { background: var(--ink); color: var(--paper); }
.pill--dunkel:hover { background: #26262c; }
.pill--rand { border: 1px solid var(--line-hell); color: var(--paper); }
.pill--rand:hover { border-color: var(--paper); }
.flaeche-hell .pill--rand { border-color: var(--line); color: var(--ink); }
.flaeche-hell .pill--rand:hover { border-color: var(--ink); }

/* Sichtbar-Animation (GSAP setzt die Endwerte) */
.zeig { opacity: 0; translate: 0 26px; }
@media (prefers-reduced-motion: reduce) {
  .zeig { opacity: 1; translate: none; }
}

::selection { background: var(--orange); color: var(--ink); }

/* Die Chevron-Kerbe zeigt die Fläche HINTER dem Band — die Hülle
   trägt darum die Farbe der vorangehenden Sektion. */
.band-huelle--hell { background: var(--paper); }
