/* cocondi-web26: Baustellenseite. Farben aus dem Auftritt von cocondi (Rot, Anthrazit), Papierton aus den Bildern. */
:root {
  --papier: #f4f1ec;
  --papier-hell: #fbfaf7;
  --tinte: #30302e;
  --tinte-weich: #6b6a66;
  --rot: #d4202c;
  --rot-tief: #a81822;
  --blau: #01b4e5;
  --linie: #dedad2;
  --schrift: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.kopf {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}
.logo { display: block; background: #fff; padding: 10px 16px; border-radius: 14px; box-shadow: 0 10px 26px -18px rgba(48,48,46,.5); }
.logo img { width: clamp(150px, 16vw, 210px); height: auto; }
.marke {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 9px 16px; border: 1px solid var(--tinte); border-radius: 999px; background: var(--papier-hell);
}
.marke i { width: 9px; height: 9px; border-radius: 50%; background: var(--rot); animation: puls 1.8s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(1.7); opacity: 0.35; } }

.buehne {
  position: relative; min-height: 100vh; min-height: min(100svh, 1040px);
  display: flex; align-items: center;
  padding: 140px clamp(20px, 5vw, 72px) 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 72% 48%, #ffffff 0%, rgba(255,255,255,0) 70%),
    var(--papier);
}
#szene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.buehne-text { position: relative; z-index: 2; max-width: 560px; }
.vorzeile {
  margin: 0 0 18px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--rot);
}
.vorzeile.dunkel { color: var(--tinte-weich); }
h1 {
  margin: 0 0 26px; font-size: clamp(44px, 7.2vw, 96px); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em;
}
h1 em { font-style: normal; color: var(--rot); position: relative; white-space: nowrap; }
h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.09em; background: var(--rot);
  transform-origin: left; animation: strich 1.4s 0.5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes strich { from { transform: scaleX(0); } }
.einleitung { margin: 0 0 34px; font-size: clamp(17px, 1.5vw, 20px); color: var(--tinte-weich); max-width: 30em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.knopf {
  display: inline-block; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.knopf-voll { background: var(--rot); color: #fff; box-shadow: 0 10px 24px -10px rgba(212,32,44,.7); }
.knopf-voll:hover { background: var(--rot-tief); transform: translateY(-2px); }
.knopf-linie { border: 1.5px solid var(--tinte); }
.knopf-linie:hover { background: var(--tinte); color: var(--papier-hell); transform: translateY(-2px); }
.knopf:focus-visible, .logo:focus-visible, .fuss a:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }

.bau { max-width: 360px; }
.bau p { margin: 12px 0 0; font-size: 14px; color: var(--tinte-weich); }
.bau-balken {
  height: 10px; border-radius: 999px; overflow: hidden; background: #fff; border: 1px solid var(--linie);
}
.bau-balken span {
  display: block; height: 100%; width: 200%;
  background: repeating-linear-gradient(-45deg, var(--rot) 0 14px, #fff 14px 28px);
  animation: laufen 1.6s linear infinite;
}
@keyframes laufen { to { transform: translateX(-39.6px); } }
.hinweis-maus {
  position: absolute; right: clamp(20px, 5vw, 72px); bottom: 28px; z-index: 2; margin: 0;
  font-size: 13px; color: var(--tinte-weich);
}

.woran { padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px); background: var(--papier-hell); border-top: 1px solid var(--linie); }
.woran-kopf { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 34px); perspective: 1400px; }
.karte {
  --rx: 0deg; --ry: 0deg;
  background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--linie);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 18px 40px -28px rgba(48,48,46,.45);
  will-change: transform;
}
.karte:hover { box-shadow: 0 34px 60px -30px rgba(48,48,46,.55); }
.karte-bild { aspect-ratio: 3 / 2; overflow: hidden; background: #e9e6e0; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .6s ease; }
.karte:hover .karte-bild img { transform: scale(1.1); }
.karte-text { padding: 24px 26px 30px; transform: translateZ(26px); }
.nr { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--rot); }
h3 { margin: 6px 0 8px; font-size: 26px; letter-spacing: -0.015em; }
.karte-text p { margin: 0; font-size: 16px; color: var(--tinte-weich); }

.fuss {
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center;
  padding: 30px clamp(20px, 5vw, 72px); background: var(--tinte); color: #d9d7d2; font-size: 15px;
}
.fuss p { margin: 0; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.fuss a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; }
.fuss a:hover { color: #fff; border-color: var(--rot); }

@media (max-width: 900px) {
  .karten { grid-template-columns: 1fr; max-width: 560px; }
  .buehne { align-items: flex-end; padding-top: 52vh; padding-bottom: 60px; }
  .buehne { background: radial-gradient(ellipse 90% 40% at 50% 26%, #ffffff 0%, rgba(255,255,255,0) 70%), var(--papier); }
  .hinweis-maus { display: none; }
  .marke { font-size: 11px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
