/* crftn.de – CRAFTON CI: Schwarz #111, Orange #FF5C00, Grund #F3F3F1 */
:root {
  --orange: #FF5C00;
  --orange-hover: #F05400;
  --schwarz: #111111;
  --tief: #0B0B0B;
  --grau: #6A6A6A;
  --grau-hell: #9C9C98;
  --linie: #EAEAE6;
  --grund: #F3F3F1;
  --weiss: #FFFFFF;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--grund);
  color: var(--schwarz);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: var(--orange); }

/* ---------- Warnband oben ---------- */
.band {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--schwarz) 14px 28px);
  background-size: 40px 40px;
  animation: band 1.6s linear infinite;
}
@keyframes band { to { background-position: 40px 0; } }

/* ======================= STARTSEITE ======================= */
body.start {
  background: var(--tief);
  color: var(--weiss);
  overflow-x: hidden;
}

.buehne {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 6vw, 88px);
  isolation: isolate;
}

/* feines Raster wie auf Werkplan-Papier */
.buehne::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

/* riesiger Schriftzug im Hintergrund */
.riese {
  position: absolute;
  z-index: -1;
  right: -4vw;
  bottom: 4vh;
  width: min(92vw, 1500px);
  opacity: .055;
  pointer-events: none;
  user-select: none;
}

.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(48px, 10vh, 120px);
}
.kopf .logo { width: clamp(150px, 22vw, 240px); height: auto; display: block; }

.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.punkt {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255,92,0,.7);
  animation: puls 1.8s ease-out infinite;
}
@keyframes puls {
  0%   { box-shadow: 0 0 0 0 rgba(255,92,0,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,92,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,92,0,0); }
}

.schlagzeile {
  font-size: clamp(2.75rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -0.045em;
  margin: 0 0 1.75rem;
  max-width: 12ch;
}
.schlagzeile .zeile { display: block; overflow: hidden; }
.schlagzeile .zeile > span { display: inline-block; }
.schlagzeile .akzent { color: var(--orange); }

.unterzeile {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--grau-hell);
  max-width: 34rem;
  margin: 0 0 2.5rem;
}

.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.6rem;
  border-radius: 14px;
  background: var(--orange);
  color: var(--schwarz);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.btn .pfeil { transition: transform .18s ease; }
.btn:hover { background: var(--orange-hover); color: var(--schwarz); transform: translateY(-2px); }
.btn:hover .pfeil { transform: translateX(4px); }
.btn:focus-visible { outline: 3px solid var(--weiss); outline-offset: 3px; }

.mail { color: var(--grau-hell); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); }
.mail:hover { color: var(--weiss); border-color: var(--orange); }

/* ---------- Laufband ---------- */
.laufband {
  background: var(--orange);
  color: var(--schwarz);
  overflow: hidden;
  white-space: nowrap;
  border-block: 2px solid var(--schwarz);
  transform: rotate(-1.2deg) scale(1.03);
  margin: 0 0 18px;
}
.laufband-spur { display: inline-flex; animation: lauf 26s linear infinite; }
.laufband-spur span {
  padding: .8rem 0;
  font-weight: 900;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.laufband-spur span::after { content: "✕"; margin: 0 1.6rem; font-weight: 400; }
@keyframes lauf { to { transform: translateX(-50%); } }

/* ---------- Fußzeile Startseite ---------- */
body.start footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px clamp(16px, 6vw, 88px) 26px;
  color: var(--grau);
  font-size: .875rem;
}
body.start footer nav a { color: var(--grau-hell); text-decoration: none; margin-left: 1.25rem; }
body.start footer nav a:first-child { margin-left: 0; }
body.start footer nav a:hover { color: var(--orange); }

/* ---------- Einblenden ---------- */
.rein { opacity: 0; transform: translateY(18px); animation: rein .7s cubic-bezier(.2,.7,.2,1) forwards; }
.schlagzeile .zeile > span { transform: translateY(105%); animation: hoch .8s cubic-bezier(.2,.7,.2,1) forwards; }
.schlagzeile .zeile:nth-child(2) > span { animation-delay: .12s; }
.d1 { animation-delay: .35s; } .d2 { animation-delay: .5s; } .d3 { animation-delay: .65s; }
@keyframes rein { to { opacity: 1; transform: none; } }
@keyframes hoch { to { transform: none; } }

@media (max-width: 560px) {
  .kopf { flex-direction: column; align-items: flex-start; }
  .riese { bottom: 2vh; width: 140vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rein, .schlagzeile .zeile > span { opacity: 1; transform: none; }
}

/* ======================= RECHTSTEXTE ======================= */
.leiste {
  background: var(--tief);
  padding: 18px clamp(16px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.leiste img { width: 150px; height: auto; display: block; }
.leiste a { color: var(--grau-hell); text-decoration: none; font-size: .95rem; }
.leiste a:hover { color: var(--orange); }

.seite { flex: 1; padding: 40px 16px 24px; }
.karte {
  max-width: 760px;
  margin: 0 auto;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(17,17,17,.03);
  padding: 32px clamp(20px, 5vw, 48px);
  border-top: 4px solid var(--orange);
}
.karte h1 { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 1.5rem; }
.karte h2 { font-size: 1.1rem; margin: 2rem 0 .5rem; }
.karte p, .karte ul { margin: 0 0 1rem; }
.karte ul { padding-left: 1.25rem; }
.stand { color: var(--grau); font-size: .9rem; margin-top: 2rem; }

body:not(.start) footer {
  padding: 20px 16px 28px;
  text-align: center;
  font-size: .875rem;
  color: var(--grau);
}
body:not(.start) footer a { color: var(--grau); text-decoration: none; margin: 0 .6rem; }
body:not(.start) footer a:hover { color: var(--orange); }
