@font-face {
  font-family: "Schibsted Grotesk";
  src: url(fonts/schibsted.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --blau: #1f4fd1;
  --orange: #f28a1a;
  --navy: #0e1b3d;
  --weiss: #ffffff;
  --grund: #eef2fb;
  --text: #0e1b3d;
  --leise: #4a5677;
  --hell: #d5ddf3;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Bühne (Kopf der Startseite) ---------- */
.buehne {
  position: relative;
  background: var(--blau);
  color: var(--weiss);
  padding: 0 16px 130px;
}
.leiste {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  font-size: 15px;
}
.leiste .wer { opacity: .85; }
.leiste a {
  font-weight: 700; text-decoration: none;
  background: var(--weiss); color: var(--navy);
  padding: 9px 16px; border-radius: 999px;
  box-shadow: 3px 3px 0 var(--navy);
}
.leiste a:hover { background: var(--orange); }

.buehne-innen { max-width: 1080px; margin: 0 auto; padding: 56px 0 0; }
.buehne h1 {
  font: italic 700 clamp(38px, 6.4vw, 78px)/1.04 var(--display);
  letter-spacing: -.02em;
  margin: 0; max-width: 15ch;
  text-shadow: 4px 4px 0 var(--navy);
}
.unterzeile { max-width: 46ch; margin: 28px 0 0; font-size: 19px; opacity: .92; }

/* Das Logo als Aufkleber, über die Kante geklebt */
.aufkleber {
  position: absolute;
  right: max(16px, calc((100vw - 1080px) / 2));
  bottom: -62px;
  width: clamp(230px, 34vw, 400px); height: auto;
  transform: rotate(-6deg);
  filter: drop-shadow(0 10px 18px rgba(14, 27, 61, .25));
  z-index: 2;
  animation: kleben .7s cubic-bezier(.2, 1.4, .4, 1) .25s both;
}
@keyframes kleben {
  from { transform: rotate(-14deg) scale(1.25); opacity: 0; }
  to   { transform: rotate(-6deg) scale(1); opacity: 1; }
}

/* ---------- Projekte ---------- */
.bogen { max-width: 1112px; margin: 0 auto; padding: 120px 16px 72px; }
.bogen-kopf { max-width: 560px; margin-bottom: 40px; }
.bogen h2, .auftrag h2 {
  font: italic 700 clamp(30px, 4vw, 44px)/1.1 var(--display);
  margin: 0 0 10px; letter-spacing: -.01em;
}
.bogen-kopf p { margin: 0; color: var(--leise); }

.projekte { list-style: none; margin: 0; padding: 0; }
.p {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center;
  padding: 28px 0;
  border-top: 2px dashed #c6d0ea;
}
.p:last-child { border-bottom: 2px dashed #c6d0ea; }

.sticker {
  justify-self: start;
  display: inline-block;
  font: italic 700 34px/1 var(--display);
  text-decoration: none;
  padding: 16px 26px 18px;
  border-radius: 20px;
  border: 5px solid var(--weiss);
  box-shadow: 0 0 0 3px var(--navy), 8px 8px 0 3px var(--navy);
  transform: rotate(var(--dreh, -2deg));
  transition: transform .15s ease;
}
.sticker:hover { transform: rotate(0deg) translateY(-3px); }
.p-blau   .sticker { background: var(--blau);   color: var(--weiss);  --dreh: -3deg; }
.p-orange .sticker { background: var(--orange); color: var(--navy);   --dreh: 2deg; border-radius: 999px; }
.p-navy   .sticker { background: var(--navy);   color: var(--orange); --dreh: -1.5deg; border-radius: 8px; }
.p-weiss  .sticker { background: var(--weiss);  color: var(--blau);   --dreh: 3deg; border-color: var(--orange); }

.p-text p { margin: 0 0 8px; max-width: 58ch; font-size: 18px; }
.p-art { font-size: 14px; color: var(--leise); }

/* ---------- Auftrag ---------- */
.auftrag { background: var(--navy); color: var(--weiss); padding: 88px 16px; }
.auftrag-innen { max-width: 1080px; margin: 0 auto; }
.auftrag h2 { font-size: clamp(34px, 5vw, 56px); max-width: 18ch; margin-bottom: 30px; }
.auftrag h2::after {
  content: ""; display: block; width: min(420px, 80%); height: 18px; margin-top: 10px;
  background: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M2 12 C80 2 200 18 298 5 L296 12 C200 24 80 9 2 18Z' fill='%23F28A1A'/%3E%3C/svg%3E");
}
.auftrag-lead { max-width: 60ch; font-size: 19px; margin: 0 0 44px; color: var(--hell); }

.ablauf {
  list-style: none; counter-reset: s; margin: 0 0 52px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.ablauf li { counter-increment: s; position: relative; padding-top: 60px; color: var(--hell); }
.ablauf li::before {
  content: counter(s);
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; display: grid; place-items: center;
  font: italic 700 24px/1 var(--display);
  background: var(--orange); color: var(--navy);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--blau);
}
.ablauf b { color: var(--weiss); }

.mail {
  display: inline-block;
  font: italic 700 clamp(24px, 4vw, 40px)/1.1 var(--display);
  text-decoration: none;
  background: var(--orange); color: var(--navy);
  padding: 18px 28px; border-radius: 16px;
  border: 4px solid var(--weiss);
  box-shadow: 6px 6px 0 var(--blau);
  transform: rotate(-1.5deg);
  transition: transform .15s ease;
  overflow-wrap: anywhere;
}
.mail:hover { transform: rotate(0) translateY(-2px); }

/* ---------- Fuß ---------- */
.fuss {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: 1112px; margin: 0 auto; padding: 26px 16px 40px;
  font-size: 15px; color: var(--leise);
}
.fuss nav a { margin-left: 20px; }

/* ---------- Unterseiten ---------- */
.kopf {
  background: var(--blau);
  padding: 16px max(16px, calc((100vw - 1080px) / 2));
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--weiss);
}
.kopf .marke { line-height: 0; }
.kopf .marke img { height: 64px; width: auto; }
.kopf .absender { margin: 0; text-align: right; font-size: 14px; opacity: .85; }
.text { max-width: 720px; margin: 0 auto; padding: 56px 16px 64px; }
.text h1 { font: italic 700 44px/1.1 var(--display); margin: 0 0 28px; }
.text h3 { font-size: 18px; margin: 30px 0 6px; }
.text p { margin: 0 0 14px; max-width: 64ch; }

@media (max-width: 760px) {
  .leiste .wer { display: none; }
  .buehne { padding-bottom: 100px; }
  .buehne-innen { padding-top: 24px; }
  .aufkleber { bottom: -46px; }
  .bogen { padding-top: 96px; }
  .p { grid-template-columns: 1fr; gap: 18px; }
  .sticker { font-size: 28px; }
  .ablauf { grid-template-columns: 1fr; }
  .kopf .absender { display: none; }
  .kopf .marke img { height: 52px; }
  .fuss nav a { margin: 0 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .aufkleber { animation: none; }
  .sticker, .mail { transition: none; }
}
