/* ============================================================
   Bühne — zeigt den App-Entwurf in einem Geräterahmen.
   Bewusst zurückgenommen: das Gerät ist der Gegenstand,
   nicht die Seite drumherum.
   ============================================================ */

@font-face{
  font-family:"Inter";
  src:url("../fonts/inter.woff2") format("woff2");
  font-weight:100 900; font-display:swap;
}
@font-face{
  font-family:"Newsreader";
  src:url("../fonts/newsreader.woff2") format("woff2");
  font-weight:400 700; font-display:swap;
}

:root{
  --grund:#EDEFF2;
  --grund-tief:#E2E5EA;
  --tinte:#15171B;
  --tinte-2:#4B5262;
  --tinte-3:#6B7280;
  --linie:#D8DCE2;
  --rot:#C1212B;
  --ui:"Inter",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --redaktion:"Newsreader",Georgia,serif;
  --schwung:cubic-bezier(.32,.72,0,1);

  /* Bildschirmmaße des gezeigten Geräts */
  --b:390px;
  --h:844px;
  --skala:1;
}

*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:var(--ui);
  font-size:16px;line-height:1.55;
  color:var(--tinte);
  background:
    radial-gradient(120% 80% at 82% 8%,#F6F7F9 0%,transparent 55%),
    var(--grund);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
::selection{background:#F7E6E7;color:#9C1922}
:focus-visible{outline:2px solid var(--rot);outline-offset:3px;border-radius:6px}

.buehne{
  max-width:1180px;margin:0 auto;
  padding:clamp(2.5rem,6vw,5.5rem) clamp(1.25rem,4vw,3rem);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(2.5rem,6vw,5rem);
  align-items:center;
}

/* ---------------- Linke Spalte ---------------- */
.wort{max-width:30rem}
.logo{
  display:block;width:172px;height:auto;
  margin-bottom:clamp(1.75rem,4vw,2.75rem);
  mix-blend-mode:multiply;   /* das PNG hat weißen Grund */
}
.wort h1{
  font-family:var(--redaktion);
  font-size:clamp(2.2rem,4.4vw,3.15rem);
  line-height:1.06;font-weight:600;letter-spacing:-.028em;
  font-variation-settings:"opsz" 44;
  text-wrap:balance;
}
.lead{
  margin-top:1.15rem;
  font-size:1.0625rem;line-height:1.6;color:var(--tinte-2);
  text-wrap:pretty;
}
.lead b{color:var(--tinte);font-weight:600}

.punkte{margin-top:2.25rem;border-top:1px solid var(--linie)}
.punkte > div{
  padding:.95rem 0;
  border-bottom:1px solid var(--linie);
}
.punkte dt{
  font-size:.9375rem;font-weight:600;letter-spacing:-.01em;
  color:var(--tinte);
}
.punkte dd{
  margin-top:.25rem;
  font-size:.875rem;line-height:1.5;color:var(--tinte-3);
}
.punkte code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.9em;color:var(--rot);
  background:#fff;padding:.1em .35em;border-radius:4px;
  border:1px solid var(--linie);
}

.probier{
  margin-top:1.6rem;
  font-size:.875rem;line-height:1.65;color:var(--tinte-3);
}
.probier i{font-style:normal;color:var(--tinte-2);font-weight:500}

.knopf{
  margin-top:1.9rem;
  display:inline-flex;align-items:center;gap:.5em;
  padding:.85em 1.35em;
  background:var(--tinte);color:#fff;
  border-radius:999px;
  font-size:.9375rem;font-weight:500;letter-spacing:-.01em;
  text-decoration:none;
  transition:transform .22s var(--schwung),box-shadow .22s var(--schwung),background-color .2s linear;
  box-shadow:0 1px 2px rgba(21,23,27,.12),0 10px 24px -14px rgba(21,23,27,.5);
}
.knopf:hover{transform:translateY(-1.5px);box-shadow:0 2px 4px rgba(21,23,27,.14),0 16px 30px -16px rgba(21,23,27,.55)}
.knopf:active{transform:translateY(0)}
.knopf svg{
  width:17px;height:17px;fill:none;stroke:currentColor;
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .22s var(--schwung);
}
.knopf:hover svg{transform:translateX(3px)}

/* ---------------- Geräterahmen ---------------- */
.geraet-halter{
  display:flex;flex-direction:column;align-items:center;gap:1.1rem;
}
.geraet{
  position:relative;
  width:calc(var(--b) + 22px);
  height:calc(var(--h) + 22px);
  padding:11px;
  background:linear-gradient(150deg,#2C2F35 0%,#15171B 32%,#101216 68%,#2A2D33 100%);
  border-radius:56px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,.10) inset,
    0 0 0 1px rgba(0,0,0,.5),
    0 2px 6px rgba(21,23,27,.18),
    0 28px 50px -24px rgba(21,23,27,.45),
    0 60px 110px -50px rgba(21,23,27,.5);
  transform:scale(var(--skala));
  transform-origin:top center;
  /* holt den Platz zurück, den transform nicht aus dem Layout nimmt */
  margin-bottom:calc((var(--h) + 22px) * (var(--skala) - 1));
}

/* Seitentasten */
.taste{position:absolute;background:linear-gradient(90deg,#1A1C21,#34383F);border-radius:2px}
.taste.stumm{left:-2px;top:118px;width:3px;height:28px}
.taste.lauter{left:-2.5px;top:176px;width:3.5px;height:56px}
.taste.leiser{left:-2.5px;top:246px;width:3.5px;height:56px}
.taste.power{right:-2.5px;top:208px;width:3.5px;height:92px;background:linear-gradient(270deg,#1A1C21,#34383F)}

.schirm{
  position:relative;
  width:var(--b);height:var(--h);
  border-radius:45px;
  overflow:hidden;
  background:#fff;
}
.schirm iframe{
  width:100%;height:100%;
  border:0;display:block;
  background:#fff;
}

/* Statusleiste — liegt über der App */
.statusleiste{
  position:absolute;top:0;left:0;right:0;height:54px;z-index:5;
  display:flex;align-items:center;
  padding:14px 32px 0;
  pointer-events:none;
  color:#15171B;
}
.statusleiste .zeit{
  flex:1;
  font-size:15px;font-weight:600;letter-spacing:.01em;
  font-variant-numeric:tabular-nums;
  text-align:left;padding-left:6px;
}
.statusleiste .insel{
  position:absolute;left:50%;top:11px;transform:translateX(-50%);
  width:124px;height:35px;border-radius:999px;
  background:#08090B;
  box-shadow:0 0 0 .5px rgba(255,255,255,.06) inset;
}
.statusleiste .rechts{
  flex:1;display:flex;align-items:center;justify-content:flex-end;gap:6px;
}
.statusleiste svg{fill:currentColor;display:block}
.statusleiste .funk{width:18px;height:12px}
.statusleiste .wlan{width:16px;height:12px}
.statusleiste .akku{width:27px;height:12px}

/* Griffleiste unten */
.griff{
  position:absolute;bottom:8px;left:50%;transform:translateX(-50%);
  width:140px;height:5px;border-radius:999px;
  background:#15171B;opacity:.28;
  z-index:6;pointer-events:none;
}

.unterschrift{
  font-size:.8125rem;color:var(--tinte-3);
  text-align:center;
}

/* ---------------- Kleinere Fenster ---------------- */
@media (max-width:1000px){
  .buehne{grid-template-columns:1fr;justify-items:center;text-align:center}
  .wort{max-width:34rem}
  .logo{margin-left:auto;margin-right:auto}
  .punkte{text-align:left}
}
@media (max-width:560px){
  .buehne{padding-left:1rem;padding-right:1rem}
}

@media (prefers-reduced-motion:reduce){
  *{transition-duration:.01ms!important;animation-duration:.01ms!important}
}
