/* =====================================================================
   Papierkarte – Stil
   Foto-Attrappe: dunkler Schreibtisch, salbeigrünes Unterblatt,
   cremeweißes Hauptblatt mit Markerstreifen, Pinselband und Randnotiz.
   Alle Maße in px für die Entwurfsfläche 1920 x 1080.
   ===================================================================== */

/* ---------- 1. Farben und Grundwerte ---------- */
:root {
  --buehne: #121312;

  --tisch: #2a2b2a;
  --tisch-hell: #343533;
  --tisch-dunkel: #1b1c1b;
  --salbei: #7f907c;
  --papier: #f1eee5;
  --linie: #d8d2c4;

  --titel: #2e3a33;
  --text: #2f3431;
  --text-leise: #444444;

  --gruen: #2f4e3d;
  --orange: #c8682a;
  --marker: #d5dbc9;
  --notizbuch: #213a2e;

  --schrift: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
}

/* ---------- 2. Folie (Box gehört der Engine) ---------- */
.folie {
  padding: 0;
  background: var(--tisch);
  color: var(--text);
  font-family: var(--schrift);
  font-weight: 400;
}

.folie :where(h1, h2, h3, p) {
  margin: 0;
}

/* ---------- 3. Szene: Schreibtisch mit Ebenen ---------- */
.szene {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  /* Körnung des Tisches: feine helle Punkte und grobe dunkle Flecken als
     gekacheltes Rauschen (Daten-Grafik, einmal gerastert, kein Live-Filter) */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0.32 0 0 0 -0.11'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 200px 200px repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.012' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0.55 0 0 0 -0.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 300px 300px repeat,
    radial-gradient(ellipse 70% 65% at 50% 45%, var(--tisch-hell) 0%, var(--tisch) 55%, var(--tisch-dunkel) 100%);
}

/* Dunkelgrüne Notizbuch-Ecke links, angeschnitten */
.notizbuch {
  position: absolute;
  left: -140px;
  top: 600px;
  width: 250px;
  height: 380px;
  z-index: 1;
  border-radius: 10px 18px 18px 10px;
  background: linear-gradient(90deg, #18291f 0%, var(--notizbuch) 40%, #2a4a3a 75%, #1c3127 100%);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55), inset -2px 0 0 rgba(255, 255, 255, 0.06);
  transform: rotate(3deg);
}

/* Gummiband */
.notizbuch::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  right: 30px;
  width: 12px;
  background: #121b16;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Seitenschnitt */
.notizbuch::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: -7px;
  width: 8px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(180deg, #e8e3d4 0 2px, #c9c2b0 2px 3px);
}

/* Salbeigrünes Unterblatt, leicht verdreht */
.blatt-unten {
  position: absolute;
  left: 172px;
  top: 40px;
  width: 1632px;
  height: 992px;
  z-index: 2;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.08)),
    var(--salbei);
  transform: rotate(-2deg);
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.3),
    0 22px 46px rgba(0, 0, 0, 0.45);
}

/* Cremeweißes Hauptblatt */
.blatt {
  position: absolute;
  left: 150px;
  top: 56px;
  width: 1620px;
  height: 964px;
  z-index: 3;
  box-sizing: border-box;
  padding: 50px 110px 40px;
  display: flex;
  flex-direction: column;
  /* Papierstruktur: sehr zarte, warme Fasern als gekacheltes Rauschen */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7 0.5' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.3  0 0 0 0 0.2  0.26 0 0 0 -0.07'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 240px 240px repeat,
    linear-gradient(170deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%, rgba(120, 100, 60, 0.05) 100%),
    var(--papier);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 14px 28px rgba(0, 0, 0, 0.32),
    0 40px 80px rgba(0, 0, 0, 0.35);
}

/* Inhalt als Bezugsrahmen (die Randnotiz liegt absolut) */
.blatt > :not(.randnotiz) {
  position: relative;
}

/* ---------- 4. Dekoration (rein SVG) ---------- */
.zweig {
  position: absolute;
  left: -46px;
  top: -44px;
  width: 300px;
  height: 217px;
  z-index: 6;
  filter: drop-shadow(6px 10px 8px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.klammer {
  position: absolute;
  left: 1716px;
  top: 12px;
  width: 64px;
  height: 184px;
  z-index: 6;
  transform: rotate(7deg);
  filter: drop-shadow(3px 5px 3px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.fueller {
  position: absolute;
  left: 1752px;
  top: 770px;
  width: 54px;
  height: 576px;
  z-index: 6;
  transform: rotate(16deg);
  transform-origin: 50% 0;
  filter: drop-shadow(10px 14px 10px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

/* ---------- 5. Wortzeichen (Platzhalter) ---------- */
.marke {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  color: #3a4540;
}

.marke__zeichen {
  width: 60px;
  height: 48px;
  flex: none;
}

.marke__name {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.marke--gross .marke__zeichen { width: 76px; height: 61px; }
.marke--gross .marke__name   { font-size: 42px; }

.marke--klein .marke__zeichen { width: 44px; height: 35px; }
.marke--klein .marke__name   { font-size: 28px; }

/* ---------- 6. Markerstreifen hinter Überschriften ---------- */
.marker {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 0.3em 0 0.12em;
}

.marker::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.22em;
  right: -0.35em;
  top: 0.1em;
  bottom: 0.02em;
  background: var(--marker);
  border-radius: 3px 8px 5px 2px;
  transform: rotate(-1.2deg) skewX(-4deg);
  filter: url(#marker-rand);
}

.marker--gross::before {
  top: 0.18em;
  bottom: 0.06em;
  transform: rotate(-1.6deg) skewX(-4deg);
}

/* ---------- 7. Handschriftliche Randnotiz ---------- */
.randnotiz {
  position: absolute;
  right: 80px;
  top: 52px;
  width: 270px;
  height: 210px;
  color: var(--gruen);
  transform: rotate(-6deg);
}

.randnotiz__striche {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  overflow: visible;
}

.randnotiz__schwung {
  stroke-width: 4.5;
}

.randnotiz__text {
  position: absolute;
  left: 56px;
  top: 12px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 54px;
  line-height: 0.95;
}

.randnotiz--gross {
  right: 150px;
  top: 90px;
  width: 340px;
  height: 260px;
}

.randnotiz--gross .randnotiz__text {
  left: 66px;
  top: 14px;
  font-size: 70px;
}

/* ---------- 8. Pinselband ---------- */
.pinselband {
  position: relative;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.pinselband__grund {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.18));
}

.pinselband__spross {
  position: relative;
  flex: none;
  color: var(--papier);
}

.pinselband__text {
  position: relative;
  font-family: var(--hand);
  font-weight: 700;
  line-height: 1.02;
  color: #ffffff;
}

/* Orange Freihand-Unterstreichung */
.pinselband__strich {
  position: absolute;
  left: 18%;
  bottom: -18px;
  height: 22px;
  width: 78%;
  fill: none;
  stroke: var(--orange);
  stroke-width: 5;
  stroke-linecap: round;
  overflow: visible;
}

/* Kleine Akzentstriche am rechten Rand */
.pinselband__funken {
  position: absolute;
  fill: none;
  stroke: #e9c9a6;
  stroke-width: 3.5;
  stroke-linecap: round;
}

/* Kleines Band (Übersicht) */
.pinselband--klein {
  width: 660px;
  height: 178px;
  padding: 0 40px 0 54px;
  gap: 24px;
  transform: rotate(-2deg);
}

.pinselband--klein .pinselband__spross {
  width: 68px;
  height: 68px;
}

.pinselband--klein .pinselband__text {
  font-size: 42px;
  white-space: nowrap;
}

.pinselband--klein .pinselband__funken {
  right: 26px;
  top: 30px;
  width: 26px;
  height: 40px;
}

/* Großes Band (Abschluss) */
.pinselband--gross {
  width: 1360px;
  height: 330px;
  padding: 0 80px 0 100px;
  gap: 40px;
  transform: rotate(-2deg);
}

.pinselband--gross .pinselband__spross {
  width: 120px;
  height: 120px;
}

.pinselband--gross .pinselband__text {
  font-size: 120px;
  white-space: nowrap;
}

.pinselband--gross .pinselband__strich {
  bottom: -14px;
  height: 30px;
  stroke-width: 8;
}

.pinselband--gross .pinselband__funken {
  right: 50px;
  top: 64px;
  width: 44px;
  height: 66px;
  stroke-width: 4.5;
}

/* ---------- 9. Folie 1: Titel ---------- */
.folie--titel .blatt {
  padding: 70px 120px 60px;
}

.titelblock {
  margin-top: 120px;
  max-width: 1240px;
}

.titelblock__titel {
  font-size: 112px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--titel);
}

.titelblock__schwung {
  display: block;
  width: 420px;
  height: 30px;
  margin: 18px 0 0 4px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 6;
  stroke-linecap: round;
}

.titelblock__untertitel {
  margin-top: 30px;
  font-size: 46px;
  line-height: 1.25;
  color: var(--text-leise);
}

.titelblock__einleitung {
  margin-top: 40px;
  max-width: 1120px;
  font-size: 31px;
  line-height: 1.45;
  color: var(--text-leise);
}

/* ---------- 10. Folie 2: Übersicht ---------- */
.kopf {
  display: flex;
  align-items: center;
  gap: 34px;
}

.kopf__trenner {
  flex: none;
  width: 3px;
  height: 104px;
  border-radius: 2px;
  background: var(--titel);
  opacity: 0.85;
}

.kopf__text {
  max-width: 810px;
}

.kopf__titel {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--titel);
}

.kopf__untertitel {
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.25;
  color: var(--text-leise);
}

.einleitung {
  margin-top: 24px;
  max-width: 1180px;
  font-size: 27px;
  line-height: 1.42;
  color: var(--text-leise);
}

/* Raster: 2 Spalten x 3 Zeilen mit beigen Trennlinien */
.raster {
  flex: 1;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  column-gap: 56px;
  border-top: 2px solid var(--linie);
}

.punkt {
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  column-gap: 30px;
  padding: 14px 0;
}

/* Waagerechte Trennlinien unter den ersten beiden Zeilen */
.punkt:nth-child(-n + 4) {
  border-bottom: 2px solid var(--linie);
}

/* Senkrechte Mittellinie in den ersten beiden Zeilen */
.punkt:nth-child(1)::after,
.punkt:nth-child(3)::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  right: -29px;
  width: 2px;
  background: var(--linie);
}

.punkt:nth-child(1),
.punkt:nth-child(3) {
  position: relative;
}

.punkt__kreis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.punkt__kreis svg {
  width: 58px;
  height: 58px;
}

.punkt__kreis--gruen  { background: var(--gruen); }
.punkt__kreis--orange { background: var(--orange); }

.punkt__titel {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2a24;
}

.punkt__text {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.36;
  color: var(--text);
}

/* Zelle für das Pinselband rechts unten */
.punkt--band {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ---------- 11. Folie 3: Abschluss ---------- */
.abschluss {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.abschluss__hinweis {
  margin-top: 84px;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--titel);
  text-align: center;
}

.abschluss .marke--klein {
  margin-top: 64px;
}
