/* Bildbereiche: Foto-Hero, Rennband, App-Ansichten, Testen-Foto. Reines CSS, keine Skripte, Bilder nur von dieser Domain. */

/* Handy-/Tablet-Rahmen um App-Screenshots */
.gerat { --rand: 5px; position: relative; width: 100%; border: var(--rand) solid #0A0C0D; border-radius: 13% / 6%; background: #0A0C0D; overflow: hidden; box-shadow: 0 0 0 1px #3A434A, 0 28px 60px -20px rgba(0,0,0,.85), 0 0 60px -16px rgba(114,242,62,.28); }
.gerat img { display: block; width: 100%; height: auto; }
.gerat.tablet { border-radius: 2.4% / 3.4%; --rand: 6px; }

/* Pfeil-Link */
.pfeil { color: var(--akzent); font-weight: 600; white-space: nowrap; }

/* Hero: Foto vom Auto, davor ein großes Handy */
.hero-bild { position: relative; container-type: inline-size; width: 100%; max-width: 640px; aspect-ratio: 5 / 4; justify-self: center; }
.hero-bild::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 62% 56% at 38% 58%, rgba(114,242,62,.2), transparent 72%); }
.hero-bild .auto { position: absolute; left: -6%; top: 4%; width: 100%; height: auto; filter: drop-shadow(0 4cqw 4cqw rgba(0,0,0,.55)); }
.hero-bild .gerat { position: absolute; right: -1%; bottom: -8%; width: 38%; transform: rotate(4deg); --rand: .9cqw; }
.einstieg-raster { align-items: center; }
@media (min-width: 921px) { .einstieg-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } .einstieg h1 { font-size: clamp(44px, 6vw, 80px); } }

/* Rennband: Foto der Strecke, links Text, rechts drei App-Ansichten */
.rennband { position: relative; padding: 88px 0 0; overflow: hidden; background: #0E1012 url("/bilder/foto-kurve.webp") 62% 30% / cover no-repeat; border-block: 1px solid var(--linie); }
.rennband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,18,.95) 0%, rgba(14,16,18,.82) 40%, rgba(14,16,18,.1) 78%); }
.rennband-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: end; }
.rennband-text { padding-bottom: 72px; }
.rennband h2 { font-size: clamp(36px, 4.8vw, 62px); text-transform: uppercase; margin-bottom: 14px; }
.werkzeuge { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.werkzeuge li { background: rgba(14,16,18,.72); border: 1px solid var(--linie); border-left: 4px solid var(--akzent); border-radius: 12px; padding: 14px 18px; backdrop-filter: blur(4px); }
.werkzeuge h3 { font-size: 26px; margin-bottom: 4px; color: var(--akzent); }
.werkzeuge p { margin: 0 0 6px; color: var(--text2); font-size: 16.5px; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin-bottom: -60px; }
.phones .ph { margin: 0; width: min(31%, 190px); display: flex; flex-direction: column-reverse; }
.phones .ph1 { transform: rotate(-5deg) translateY(10px); }
.phones .ph2 { transform: translateY(-14px); z-index: 2; }
.phones .ph3 { transform: rotate(5deg) translateY(18px); }
.phones figcaption { margin: 0 0 12px; text-align: center; font: 700 15px/1.1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #F2F4F5; text-shadow: 0 2px 10px rgba(0,0,0,.9); }

/* So sieht es aus: zwei Handys und ein Tablet */
.zeig-raster { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 250px) minmax(0, 1fr); gap: 36px; align-items: end; margin-top: 40px; }
.zeig-raster figure { margin: 0; }
.zeig-raster figcaption { margin-top: 14px; color: var(--text3); font-size: 15px; }
.zeig-tablet .gerat { --rand: 7px; }

/* Testen-Seite: Foto neben dem Text */
.testen-raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.kopf-foto { margin: 0; justify-self: center; max-width: 380px; }
.kopf-foto img { display: block; width: 100%; height: auto; border-radius: 20px; border: 3px solid #F2F4F5; box-shadow: 0 0 0 14px rgba(0,0,0,.22), 0 30px 70px -20px rgba(0,0,0,.9), 0 0 80px -20px rgba(114,242,62,.25); }
.kopf-foto figcaption { margin-top: 22px; text-align: center; color: var(--text3); font-size: 15px; }
.neu-hier { margin: 22px 0 0; color: var(--text2); font-size: 17px; }

@media (max-width: 1080px) {
  .zeig-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-inline: auto; }
  .zeig-tablet { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .hero-bild { max-width: 520px; margin-top: 12px; }
  .rennband { padding-top: 64px; background-position: 70% 0; }
  .rennband::before { background: linear-gradient(180deg, rgba(14,16,18,.55) 0%, rgba(14,16,18,.9) 28%, rgba(14,16,18,.95) 100%); }
  .rennband-raster { grid-template-columns: 1fr; gap: 12px; }
  .rennband-text { padding-bottom: 8px; }
  .phones { margin-bottom: -40px; padding-top: 10px; }
  .testen-raster { grid-template-columns: 1fr; gap: 36px; }
  .kopf-foto { max-width: 340px; }
}
@media (max-width: 480px) {
  .gerat { --rand: 4px; }
  .phones figcaption { font-size: 12px; letter-spacing: .05em; }
  .phones { gap: 8px; }
  .zeig-raster { gap: 20px; }
}
