/* Plugin-Seiten: dieselbe weiße Ruhe wie die Startseite. */

:root {
  --tinte: #0A0A0A;
  --grau: #6F6F76;
  --linie: #E8E8EA;
  --papier: #fff;
  --rand: max(16px, 4vw);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.plugin-seite {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 17px/1.5 Geist, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.plugin-seite a { color: inherit; text-decoration: none; }
.plugin-seite :focus-visible { outline: 2px solid var(--farbe); outline-offset: 4px; border-radius: 3px; }

.leiste { padding: 26px var(--rand); }
.heim { font-size: 21px; font-weight: 600; letter-spacing: -.04em; }
.heim span { color: var(--farbe); }

.plugin-seite main { width: min(100%, 1240px); margin: 0 auto; padding: clamp(28px, 7vh, 72px) var(--rand) 0; }

.vorn { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 32px); }
.vorn .icon { width: clamp(76px, 9vw, 112px); height: auto; flex: none; border-radius: 22.4%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.vorn h1 { margin: 0; font-size: clamp(38px, 6.4vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.zeile { margin: 10px 0 0; font-size: clamp(18px, 1.9vw, 24px); font-weight: 430; letter-spacing: -.015em; color: var(--grau); }
.text { max-width: 44ch; margin: clamp(26px, 4vh, 40px) 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 430; line-height: 1.36; letter-spacing: -.018em; }

/* Das Plugin in Betrieb bekommt eine eigene Fläche. */
.betrieb { margin-top: clamp(44px, 8vh, 84px); }
.schild { margin: 0 0 12px; font-size: 15px; color: var(--grau); }
.buehne { padding: clamp(14px, 2.4vw, 32px); border-radius: 22px; background: #F6F6F7; overflow: hidden; }
.betrieb-titel-tags .buehne { padding: 0; }
.betrieb-titel-tags .ttp-hero { margin: 0; }
.betrieb-card-holder-gallery .buehne { padding-inline: 0; }
/* Der Scrabble-Dialog ist position:fixed. Hier bleibt er auf dem Brett,
   statt die ganze Seite abzudecken; overflow:clip lässt die Seitenspalte kleben. */
.betrieb-scrabble-counter .buehne { padding: 0; background: none; overflow: clip; transform: translateZ(0); }
.betrieb-scrabble-counter .scc-setup { width: 100%; max-width: none; }
.buehne > :first-child { margin-top: 0; }
.buehne > :last-child { margin-bottom: 0; }

.zettel { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; padding: clamp(10px, 4vw, 44px) 0; }
.zettel .postit-note { max-width: 100%; white-space: pre-wrap; }
.nur-vorfuehrung { margin: 14px 0 0; font-size: 15px; font-weight: 500; }

.holen {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(32px, 7vw, 96px); align-items: start;
  margin-top: clamp(44px, 8vh, 84px); padding-top: 30px; border-top: 1px solid var(--linie);
}
.plugin-seite h2 { margin: 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 560; letter-spacing: -.03em; }
.holen p { max-width: 54ch; margin: 10px 0 0; color: var(--grau); }
.holen code {
  display: inline-block; max-width: 100%; margin-top: 14px; padding: 8px 12px; overflow-x: auto;
  border-radius: 9px; background: #F4F4F5; font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap;
}
.laden { min-width: 250px; }
.knopf {
  display: inline-block; padding: 13px 28px; border-radius: 99px;
  background: var(--tinte); color: #fff !important; font-size: 16px; font-weight: 520;
  transition: background 250ms;
}
.knopf:hover { background: #2C2C30; }
.laden p { margin-top: 12px; font-size: 14px; line-height: 1.45; }

.andere { margin-top: clamp(44px, 8vh, 84px); padding-top: 30px; border-top: 1px solid var(--linie); }
.andere ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.andere a { display: flex; align-items: center; gap: 13px; padding: 7px 0; font-weight: 500; letter-spacing: -.012em; }
.andere img { border-radius: 22.4%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.andere a span { background: linear-gradient(var(--tinte), var(--tinte)) left bottom / 0 1.5px no-repeat; transition: background-size 350ms var(--ease); }
.andere a:hover span { background-size: 100% 1.5px; }

.fuss { display: flex; gap: 18px; justify-content: flex-end; padding: clamp(50px, 9vh, 90px) var(--rand) 24px; font-size: 13px; color: var(--grau); }
.fuss a:hover { color: var(--tinte); }

/* App-Seiten */
.wege { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.4vh, 32px); }
.knopf.zweit { background: none; color: var(--tinte) !important; box-shadow: inset 0 0 0 1px #D5D5D9; transition: color 250ms, box-shadow 250ms; }
.knopf.zweit:hover { background: none; color: var(--farbe) !important; box-shadow: inset 0 0 0 1px var(--farbe); }
.wege-info { margin: 12px 0 0; font-size: 14px; color: var(--grau); }
.bilderreihe { display: flex; gap: clamp(10px, 1.4vw, 18px); max-width: calc(var(--summe) * 540px); margin-top: clamp(40px, 7vh, 72px); }
.bilderreihe img { flex: var(--r) 1 0; min-width: 0; width: 0; height: auto; border-radius: clamp(12px, 1.4vw, 20px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang { max-width: 62ch; margin-top: clamp(40px, 7vh, 72px); }
.lang p { margin: 0 0 1em; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; letter-spacing: -.012em; }
.lang p:last-child { margin-bottom: 0; }
.hilfe { margin-top: clamp(44px, 8vh, 84px); padding-top: 30px; border-top: 1px solid var(--linie); }
.hilfe p { max-width: 62ch; margin: 10px 0 0; color: var(--grau); }
.hilfe a { color: var(--tinte); text-decoration: underline; text-decoration-color: #C9C9CE; text-underline-offset: 3px; }
.hilfe a:hover { color: var(--farbe); text-decoration-color: currentColor; }

/* Linkseite */
button.knopf { border: 0; font-family: inherit; cursor: pointer; }
.links-seite main { width: min(100%, 680px); display: grid; gap: clamp(34px, 6vh, 52px); padding-top: clamp(14px, 4vh, 40px); }
.wer img { display: block; width: 104px; height: 104px; border-radius: 50%; }
.wer h1 { margin: 20px 0 0; font-size: clamp(40px, 8vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.wer > p { margin: 10px 0 0; font-size: clamp(19px, 2.6vw, 22px); line-height: 1.32; letter-spacing: -.015em; }
.wer .teilen-info { min-height: 1.4em; margin-top: 8px; font-size: 14px; color: var(--grau); }
.links-seite h2 { margin-bottom: 4px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--grau); }
.zeilen { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.zeilen a { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.zeilen img { width: 46px; height: 46px; flex: none; border-radius: 22.4%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); }
.zeilen span { min-width: 0; font-size: 14px; line-height: 1.3; color: var(--grau); }
.zeilen b { display: block; font-size: 18px; font-weight: 540; letter-spacing: -.018em; color: var(--tinte); transition: color 200ms; }
.zeilen a:hover b, .zeilen a:focus-visible b { color: var(--farbe); }
.scan { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--grau); }
.scan img { width: 88px; height: 88px; }

@media (max-width: 720px) {
  .scan { display: none; }
  .bilderreihe { max-width: none; margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--rand); }
  .bilderreihe::-webkit-scrollbar { display: none; }
  .bilderreihe img { flex: none; width: auto; height: 420px; scroll-snap-align: start; }
  .bilderreihe.quer img { height: 210px; }
  .holen { grid-template-columns: minmax(0, 1fr); }
  .buehne { border-radius: 16px; }
  .vorn { align-items: flex-start; }
}
