/* Die Startseite von Jebongt. Farben und Schrift aus dem Designsystem:
   stempel, stempel-tief, tinte, tinte-mild, papier, grund, linie, kiezgelb,
   spree. Layout: ein lauter Kopf mit Bon und Anmeldung, darunter ruhige
   Bänder, ein rotes Band als Ausrufezeichen. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-display-latin.d7ec0bd1a87e.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

.js {
  --stempel: #e0402a; --stempel-tief: #b8301d; --tinte: #191a2e; --tinte-mild: #55576b;
  --papier: #ffffff; --grund: #f2f3f7; --linie: #d9dbe3; --rand-feld: #8a8ca0;
  --kiezgelb: #ffc93c; --spree: #2448b8;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  background: var(--grund); color: var(--tinte); font-family: var(--text);
  overflow-x: clip;
}
.js-rand { width: 100%; max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Kopfzeile */
.js-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px; }
.js-kopf img { height: 30px; width: auto; display: block; }
.js-kopf a { font-weight: 600; font-size: 15px; color: var(--tinte); text-decoration: none;
  border: 1.5px solid var(--tinte); border-radius: 999px; padding: 7px 16px; }
.js-kopf a:hover { background: var(--tinte); color: var(--papier); }

.js-hinweis { background: var(--kiezgelb); color: var(--tinte); border-radius: 10px;
  padding: 12px 16px; font-size: 15px; margin-bottom: 8px; }

/* Der laute Teil */
.js-held { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px; align-items: center; padding-block: 32px 72px; }
.js-held { position: relative; }
.js-held > :not(.js-turm) { position: relative; z-index: 1; }
.js-turm { position: absolute; z-index: 0; right: 9%; bottom: 0; height: 118%; width: auto;
  pointer-events: none; fill: #dcdfe8; }
.js-turm .band { fill: #f2f3f7; }
.js-turm .spitze { fill: var(--stempel); }
.js-kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stempel-tief); font-weight: 500; margin: 0 0 16px; }
.js-titel { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 8.4vw, 104px);
  line-height: 1.02; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.js-titel .rot { color: var(--stempel); }
.js-titel mark { background: var(--kiezgelb); color: var(--tinte); padding: 0 .1em;
  border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.js-lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--tinte-mild);
  max-width: 34em; margin: 24px 0 0; }
.js-lead strong { color: var(--tinte); }

/* Anmeldung im Kopf */
.js-anmelden { margin-top: 32px; background: var(--papier); border: 1px solid var(--linie);
  border-radius: 14px; padding: 20px; max-width: 520px; }
.js-anmelden h2 { font-family: var(--display); font-size: 22px; line-height: 1.2; font-weight: 700; margin: 0 0 4px; }
.js-anmelden p { margin: 0; font-size: 14px; line-height: 20px; color: var(--tinte-mild); }
.js-zeile { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.js-zeile label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js-zeile input { flex: 1 1 220px; min-width: 0; height: 48px; border: 1.5px solid var(--rand-feld);
  border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--tinte); background: var(--papier); }
.js-zeile input:focus { outline: 2px solid var(--spree); outline-offset: 1px; border-color: var(--spree); }
.js-knopf { flex: 0 0 auto; height: 48px; border: 0; border-radius: 10px; padding: 0 20px;
  background: var(--stempel-tief); color: #ffffff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.js-knopf:hover { background: var(--tinte); }
.js-knopf:focus-visible { outline: 2px solid var(--spree); outline-offset: 2px; }
.js-anmelden .js-fein { margin-top: 10px; font-size: 13px; }

/* Der Bon */
.js-bon-buehne { position: relative; justify-self: center; align-self: end; width: min(100%, 380px); }
.js-bon { background: var(--papier); color: var(--tinte); font-family: var(--mono); font-size: 14px; line-height: 22px;
  padding: 26px 26px 96px; transform: rotate(-2deg);
  box-shadow: 0 18px 40px rgba(25, 26, 46, .14);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.js-bon-kopf { text-align: center; padding-bottom: 12px; border-bottom: 1.5px dashed var(--linie); margin-bottom: 12px; }
.js-bon-kopf img { height: 26px; width: auto; margin: 0 auto 6px; display: block; }
.js-bon-kopf span { font-size: 12px; letter-spacing: .14em; color: var(--tinte-mild); }
.js-bon dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; margin: 0; }
.js-bon dt { color: var(--tinte-mild); }
.js-bon dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.js-bon-summe { margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed var(--linie);
  display: flex; justify-content: space-between; font-weight: 500; }
.js-stempel { position: absolute; left: 10%; bottom: 14px; width: 66%; transform: rotate(-9deg);
  mix-blend-mode: multiply; animation: js-drauf .5s cubic-bezier(.2, 1.6, .4, 1) .35s both; }
@keyframes js-drauf { from { transform: rotate(-9deg) scale(1.35); opacity: .2; } to { transform: rotate(-9deg) scale(1); opacity: 1; } }

/* Bänder */
.js-band { padding-block: 72px; }
.js-band-weiss { background: var(--papier); border-block: 1px solid var(--linie); }
.js-h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); line-height: 1;
  letter-spacing: -0.025em; margin: 0 0 12px; text-wrap: balance; }
.js-h2 .rot { color: var(--stempel); }
.js-unter { font-size: 18px; line-height: 1.55; color: var(--tinte-mild); max-width: 40em; margin: 0 0 40px; }

.js-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.js-schritte li { min-width: 0; }
.js-nr { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--stempel); }
.js-schritte h3, .js-wer h3 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 12px 0 8px; }
.js-schritte p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--tinte-mild); }

.js-wer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.js-wer > div { min-width: 0; background: var(--grund); border-radius: 14px; padding: 24px; }
.js-wer .js-marke { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; background: var(--tinte); color: var(--papier); border-radius: 4px; padding: 3px 8px; }
.js-wer ul { margin: 12px 0 0; padding-left: 20px; list-style: disc; }
.js-wer li { font-size: 16px; line-height: 1.55; color: var(--tinte); }
.js-wer li + li { margin-top: 8px; }

.js-rot { background: var(--stempel-tief); color: #ffffff; padding-block: 56px; overflow: hidden; }
.js-rot p { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5.6vw, 64px); line-height: 1;
  letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.js-rot p span { color: var(--kiezgelb); }

.js-link { color: var(--spree); font-weight: 600; }

.js-schluss { text-align: center; }
.js-schluss .js-h2 { margin-inline: auto; }
.js-schluss p { font-size: 18px; color: var(--tinte-mild); margin: 0 auto; max-width: 36em; line-height: 1.6; }
.js-adresse { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 17px; background: var(--papier);
  border: 1.5px solid var(--tinte); border-radius: 999px; padding: 10px 20px; color: var(--tinte); user-select: all; }

/* Datenschutz: ein Bon mit dem, was gespeichert wird, daneben drei Kacheln. */
.js-ds { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
.js-ds-bon { background: var(--papier); font-family: var(--mono); font-size: 14px; line-height: 22px;
  padding: 22px 24px 34px; transform: rotate(-1deg); box-shadow: 0 18px 40px rgba(25, 26, 46, .12);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.js-ds-bon-kopf { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--linie);
  text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-mild); }
.js-ds-ab { margin: 14px 0 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tinte-mild); }
.js-ds-ab:first-of-type { margin-top: 0; }
.js-ds-ja, .js-ds-nein { list-style: none; margin: 0; padding: 0; }
.js-ds-ja li { display: flex; justify-content: space-between; gap: 12px; }
.js-ds-ja span { color: var(--tinte-mild); }
.js-ds-ja b { font-weight: 500; text-align: right; }
.js-ds-nein { border-top: 1.5px dashed var(--linie); padding-top: 8px; }
.js-ds-nein li { display: flex; align-items: center; gap: 10px; color: var(--stempel-tief);
  text-decoration: line-through; text-decoration-thickness: 2px; }
.js-ds-nein li::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%;
  background: linear-gradient(45deg, #0000 calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), #0000 calc(50% + 1px)),
              linear-gradient(-45deg, #0000 calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), #0000 calc(50% + 1px));
  background-size: 10px 10px; background-position: center; background-repeat: no-repeat; }

.js-ds-kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.js-ds-kacheln > li { display: flex; gap: 16px; align-items: flex-start; background: var(--papier);
  border: 1px solid var(--linie); border-radius: 16px; padding: 20px; min-width: 0; }
.js-ds-kacheln > li.js-ds-breit { grid-column: 1 / -1; }
.js-ds-kacheln svg { flex: none; color: var(--tinte); }
.js-ds-kacheln b { display: block; font-family: var(--display); font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.js-ds-kacheln span { display: block; font-size: 15px; line-height: 1.55; color: var(--tinte-mild); }
.js-ds-zeit { list-style: none; margin: 16px 0 0; padding: 0; display: flex; font-size: 13px; color: var(--tinte-mild); }
.js-ds-zeit li { flex: 1; position: relative; padding-top: 18px; }
.js-ds-zeit li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--linie); }
.js-ds-zeit li:last-child::before { display: none; }
.js-ds-zeit i { position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--tinte); }
.js-ds-zeit-ende { color: var(--stempel-tief); font-weight: 600; }
.js-ds-zeit-ende i { background: var(--stempel); }

.js-band-linie { border-top: 1px solid var(--linie); }
.js-fragen { display: grid; gap: 12px; max-width: 46em; margin-top: 32px; }
.js-fragen details { background: var(--papier); border: 1px solid var(--linie); border-radius: 14px; padding: 0 22px; }
.js-fragen summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0; }
.js-fragen summary::-webkit-details-marker { display: none; }
.js-fragen summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--stempel-tief); flex: none; }
.js-fragen details[open] summary::after { content: "\2013"; }
.js-fragen summary:focus-visible { outline: 2px solid var(--spree); outline-offset: 2px; border-radius: 6px; }
.js-fragen h3 { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0; }
.js-fragen p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--tinte-mild); }

@media (max-width: 860px) {
  .js-ds { grid-template-columns: minmax(0, 1fr); }
  .js-ds-bon { justify-self: center; width: min(100%, 360px); }
  .js-held { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
  .js-turm { top: 24px; bottom: auto; right: 0; height: 400px; }
  .js-bon-buehne { align-self: center; }
  .js-schritte, .js-wer { grid-template-columns: minmax(0, 1fr); }
  .js-band { padding-block: 56px; }
}
@media (max-width: 480px) {
  .js-ds-kacheln { grid-template-columns: minmax(0, 1fr); }
  .js-knopf { width: 100%; }
  .js-kopf img { height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .js-stempel { animation: none; } }
