/* Dunkles Bastelpapier: Karten wie ausgeschnitten, leicht schief, mit hartem Schatten */

:root {
  --bg: #1c1f23;
  --paper: #2b3036;
  --paper-2: #262a2f;
  --ink: #ece6d8;
  --ink-soft: #b9b2a3;
  --accent: #e3a63b;
  --accent-ink: #1c1f23;
  --red: #d8584a;
  --tape: rgba(236, 230, 216, 0.22);
  --shadow: rgba(0, 0, 0, 0.55);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='turbulence' baseFrequency='.012 .09' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--grain), var(--fibers);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 16px 40px;
}

h1, h2 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: var(--accent); }

/* Ausgeschnittenes Papier: Schatten am Wrapper, Zackenrand am Kind */
.cut {
  position: relative;
  margin: 0 0 36px;
  filter: drop-shadow(4px 5px 0 var(--shadow));
  transition: transform 0.25s steps(3);
}
.tilt-l { transform: rotate(-0.7deg); }
.tilt-r { transform: rotate(0.6deg); }

.paper {
  background-color: var(--paper);
  background-image: var(--grain), var(--fibers);
  clip-path: polygon(0.4% 1.6%, 18% 0.3%, 41% 1.1%, 63% 0%, 86% 0.9%, 99.6% 0.2%, 100% 22%, 99.3% 51%, 100% 78%, 99.5% 99.1%, 74% 100%, 52% 99.2%, 27% 100%, 0.3% 99.4%, 0% 71%, 0.7% 44%, 0% 17%);
}

.card { padding: 30px 32px 26px; }
.card h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: inline-block;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 2px;
}
.card p { margin: 0 0 14px; }
.card p:last-child { margin-bottom: 0; }

/* Kopfbereich */
.hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 52px;
}

.photo { margin: 0; width: 200px; }
.photo-paper {
  aspect-ratio: 4 / 5;
  padding: 10px;
  background-color: #d9d2c3;
  background-image: var(--grain);
  clip-path: polygon(1% 0.6%, 52% 0%, 99.2% 1%, 100% 48%, 99.4% 99.5%, 47% 100%, 0% 99.2%, 0.8% 52%);
}
.photo-paper picture,
.photo-paper img,
.photo-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-placeholder {
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--accent);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
}

.tape {
  position: absolute;
  width: 70px;
  height: 22px;
  background: var(--tape);
  backdrop-filter: blur(1px);
}
.tape-a { top: -9px; left: 18px; transform: rotate(-8deg); }
.tape-b { bottom: -8px; right: 14px; transform: rotate(6deg); }

.note {
  font-family: "Gochi Hand", cursive;
  font-size: 1.5rem;
  color: var(--ink-soft);
  margin: 0 0 4px;
  transform: rotate(-2deg);
  display: inline-block;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 16px; }
.strip {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.05em 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  clip-path: polygon(0 4%, 100% 0, 99% 96%, 1% 100%);
}

.lead { font-size: 1.15rem; margin: 0 0 10px; }
.meta { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Listen */
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  padding: 12px 0;
  border-bottom: 2px dashed rgba(236, 230, 216, 0.14);
}
.list li:first-child { padding-top: 2px; }
.list li:last-child { border-bottom: 0; padding-bottom: 0; }
.item-title { display: block; font-weight: 700; }
.item-note { display: block; color: var(--ink-soft); font-size: 0.97rem; }

/* Kontakt */
.contact-links { margin-top: 18px; }
.button {
  display: inline-block;
  background: var(--red);
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 10px 22px;
  clip-path: polygon(2% 6%, 98% 0, 100% 92%, 0 100%);
  transition: transform 0.2s steps(2);
}
.button:hover, .button:focus-visible { transform: rotate(-2deg) scale(1.04); }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.footer {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* Beim Überfahren wackelt das Papier kurz, ruckelig wie im Legetrick */
@media (hover: hover) {
  .cut.tilt-l:hover { transform: rotate(0.2deg); }
  .cut.tilt-r:hover { transform: rotate(-0.3deg); }
}

@media (max-width: 600px) {
  .page { padding-top: 36px; }
  .hero { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .photo { width: 150px; }
  .card { padding: 24px 20px 20px; }
  .cut { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .cut, .button { transition: none; }
}
.nowrap { white-space: nowrap; }

/* Hinweis oben: Entwurf, wie ein schief aufgeklebter Notizzettel */
.draft-note {
  margin: 0 auto 40px;
  max-width: 520px;
  padding: 10px 16px;
  background: var(--red);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  transform: rotate(-1deg);
  clip-path: polygon(0.6% 4%, 99% 0, 100% 94%, 0 100%);
  filter: drop-shadow(3px 4px 0 var(--shadow));
}
@media (max-width: 600px) {
  .draft-note { margin-bottom: 28px; }
}
