/*
 * Der neue Auftritt — blau als Raum, orange als Signal.
 *
 * Er steht neben dem alten und nicht an seiner Stelle: Der Laden selbst ist noch
 * nicht blau und orange, und eine Website, die etwas anderes verspricht als der
 * Raum, in den man dann kommt, ist schlechter als eine brave. Beide stehen
 * nebeneinander, bis entschieden ist — /website und /website2.
 *
 * Eigene Namen (w2-) und eigene Body-Klasse: Alle Stile der Anwendung werden auf
 * jeder Seite geladen (stylesheet_link_tag :app). Ohne eigene Namen liefe dieser
 * Anstrich dem alten in die Seite, sobald sich eine Klasse doppelt.
 *
 * Die Schrift liegt im Haus (app/assets/fonts) und wird nicht von Google geholt
 * — dieselbe Entscheidung wie bei der Hausschrift: Ein Gast soll die Seite
 * ansehen können, ohne dass seine Adresse dabei woandershin geht.
 */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage-grotesque-800-latin-78692770.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage-grotesque-800-latin-ext-2186fff6.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body.website2 {
  --w2-blau: #2f5ea8;
  --w2-blau-tief: #16365e;
  --w2-blau-dunkel: #0f2544;
  --w2-orange: #f2531b;
  --w2-orange-hell: #ff8a4c;
  --w2-creme: #f7f2e7;
  --w2-weiss: #fffdf8;
  --w2-linie: #d9d1bd;

  margin: 0;
  background: var(--w2-creme);
  color: var(--w2-blau-tief);
  font-family: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body.website2 h1,
body.website2 h2,
body.website2 h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Schibsted Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

body.website2 p {
  margin: 0;
}

/* Die Lamellen aus dem Laden: das eine Muster, das alles zusammenhält. Es liegt
   nur auf farbigen Flächen — auf Creme wäre es Schmutz. */
.w2-lamellen {
  background-image: repeating-linear-gradient(
    90deg,
    rgb(255 253 248 / 0.10) 0 10px,
    rgb(255 253 248 / 0) 10px 24px
  );
}

.w2-rahmen {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.w2-abschnitt {
  padding-block: clamp(1.4rem, 3.5vw, 2.4rem);
}

/* Kopf und Fuß ------------------------------------------------------------- */

.w2-kopf {
  background: var(--w2-blau-tief);
  color: var(--w2-weiss);
}

.w2-kopf__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.2rem;
  padding-block: 1rem;
}

.w2-marke {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: inherit;
  text-decoration: none;
}

.w2-kopf__wege {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.w2-fuss {
  background: var(--w2-blau-tief);
  color: rgb(255 253 248 / 0.7);
  font-size: 0.88rem;
}

.w2-fuss__innen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-block: 1.4rem 1.9rem;
}

.w2-fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.w2-fuss a {
  color: inherit;
}

/* Knöpfe — alles, was man anfassen soll, ist rund. Ein gefüllter je Ansicht. */

.w2-knopf {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--w2-orange);
  color: var(--w2-weiss);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.w2-knopf:hover {
  filter: brightness(1.08);
}

.w2-knopf--linie {
  border-color: rgb(255 253 248 / 0.5);
  background: transparent;
  color: var(--w2-weiss);
}

.w2-knopf--dunkel {
  border-color: var(--w2-blau-tief);
  background: transparent;
  color: var(--w2-blau-tief);
}

.w2-knopf--dunkel:hover {
  background: var(--w2-blau-tief);
  color: var(--w2-weiss);
  filter: none;
}

/* Die Bühne ---------------------------------------------------------------- */

.w2-buehne {
  background: var(--w2-blau);
  color: var(--w2-weiss);
}

.w2-buehne__raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.2rem, 6vw, 4rem);
}

.w2-buehne h1 {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
}

.w2-buehne h1 em {
  color: var(--w2-orange-hell);
  font-style: normal;
}

.w2-buehne__unter {
  margin-top: 1.1rem;
  max-width: 32ch;
  color: rgb(255 253 248 / 0.88);
}

.w2-buehne__wege {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.7rem;
}

/* Der Bogen — die Nische aus dem Laden. Darin steht jedes Foto.

   Die Fotos sind hochkant aufgenommen; der Bogen ist es auch, deshalb bleibt
   vom Bild fast alles stehen. Die Höhe ist gedeckelt, sonst füllt ein Hochformat
   den ganzen Schirm. */
.w2-bogen {
  display: grid;
  place-items: center;
  overflow: hidden;
  justify-self: center;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 3 / 4;
  max-height: 420px;
  padding: 1.2rem;
  border-radius: 999px 999px 20px 20px;
  background: repeating-linear-gradient(135deg, #e6e0d0 0 14px, #e1dbc9 14px 28px);
  text-align: center;
}

.w2-bogen--foto {
  padding: 0;
  background: var(--w2-blau-dunkel);
}

.w2-bogen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2-platz {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--w2-blau-tief);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Kacheln ------------------------------------------------------------------ */

.w2-kachel {
  padding: clamp(1.3rem, 3.2vw, 2rem);
  border: 2px solid var(--w2-blau-tief);
  border-radius: 26px;
  background: var(--w2-weiss);
  color: var(--w2-blau-tief);
}

.w2-kachel--orange {
  border-color: transparent;
  background: var(--w2-orange);
  color: var(--w2-weiss);
}

.w2-kachel--blau {
  border-color: transparent;
  background: var(--w2-blau);
  color: var(--w2-weiss);
}

.w2-kachel--dunkel {
  border-color: transparent;
  background: var(--w2-blau-tief);
  color: var(--w2-weiss);
}

/* Eine Kachel, die einen Weg am Ende trägt: Satz links, Knopf rechts. */
.w2-band-kachel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
}

.w2-kachel h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.w2-kachel h3 {
  font-size: 1.3rem;
}

.w2-satz {
  margin-top: 0.5rem;
  max-width: 52ch;
  color: rgb(22 54 94 / 0.78);
}

.w2-kachel--orange .w2-satz,
.w2-kachel--blau .w2-satz,
.w2-kachel--dunkel .w2-satz {
  color: rgb(255 253 248 / 0.88);
}

.w2-etikett {
  margin-bottom: 0.6rem;
  color: var(--w2-orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.w2-kachel--orange .w2-etikett,
.w2-kachel--blau .w2-etikett,
.w2-kachel--dunkel .w2-etikett {
  color: rgb(255 253 248 / 0.78);
}

/* Auf Creme steht das Etikett frei, ohne Kachel darum. */
.w2-etikett--frei {
  margin-bottom: 0.9rem;
}

.w2-zwei,
.w2-drei {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Zeiten und Anschrift ----------------------------------------------------- */

.w2-woche {
  margin: 0.9rem 0 0;
  font-variant-numeric: tabular-nums;
}

.w2-woche > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.34rem 0;
  border-bottom: 1px solid rgb(255 253 248 / 0.3);
  font-size: 0.97rem;
}

.w2-woche > div:last-child {
  border-bottom: 0;
}

.w2-woche dd {
  margin: 0;
  font-weight: 600;
}

/* Der lange Tag als Pille: In einer Liste aus Zahlen sieht man eine Fläche
   zuerst. */
.w2-lang {
  padding: 0.05rem 0.6rem;
  border-radius: 999px;
  background: var(--w2-weiss);
  color: var(--w2-orange);
  font-weight: 700;
}

.w2-zeile {
  margin-top: 0.4rem;
  font-size: 1.05rem;
}

.w2-zeile a {
  color: var(--w2-orange);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Wofür man herkommt ------------------------------------------------------- */

.w2-ware {
  text-align: center;
}

.w2-ware .w2-bogen {
  max-width: 280px;
  margin-bottom: 0.9rem;
}

.w2-ware h3 {
  margin-bottom: 0.25rem;
}

.w2-ware p {
  color: rgb(22 54 94 / 0.75);
  font-size: 0.97rem;
}

/* Die Leuchtschrift — einmal pro Seite, sonst nirgends. Zweimal wäre keine
   Leuchtschrift mehr, sondern Dekoration. */
.w2-neon {
  padding-block: clamp(2.4rem, 6vw, 4rem);
  background: var(--w2-blau-tief);
  color: var(--w2-weiss);
  text-align: center;
}

.w2-neon p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.w2-neon em {
  color: var(--w2-orange-hell);
  font-style: normal;
  text-shadow:
    0 0 6px rgb(255 138 76 / 0.9),
    0 0 22px rgb(242 83 27 / 0.75),
    0 0 46px rgb(242 83 27 / 0.45);
}

.w2-neon__dazu {
  margin-top: 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: rgb(255 253 248 / 0.78);
}

/* Die Spannweite: eine Reihe kurzer Wörter, keine Aufzählung. Jede zweite in
   der Signalfarbe — das Nebeneinander ist der Inhalt. */
.w2-spanne {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.w2-spanne li {
  padding: 0.42rem 1rem;
  border: 2px solid var(--w2-blau-tief);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

.w2-spanne li:nth-child(even) {
  border-color: transparent;
  background: var(--w2-orange);
  color: var(--w2-weiss);
}

.w2-gross {
  margin-bottom: 1.2rem;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}

/* Das Laufband: leise. Laut wäre es ein zweites Schild neben der Leuchtschrift,
   und zwei Dinge, die rufen, heben sich gegenseitig auf. */
.w2-laufband {
  display: flex;
  overflow: hidden;
  background: var(--w2-blau-tief);
  color: rgb(255 253 248 / 0.82);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.w2-laufband em {
  color: var(--w2-orange-hell);
  font-style: normal;
}

.w2-laufband span {
  flex: none;
  padding-block: 0.45rem;
  white-space: nowrap;
  animation: w2-lauf 52s linear infinite;
}

.w2-laufband span + span {
  animation-delay: -26s;
}

@keyframes w2-lauf {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Wer nicht möchte, dass sich etwas bewegt, bekommt die Wörter einmal stehend. */
@media (prefers-reduced-motion: reduce) {
  .w2-laufband {
    justify-content: center;
  }

  .w2-laufband span {
    animation: none;
  }

  .w2-laufband span + span {
    display: none;
  }
}

@media (min-width: 46rem) {
  .w2-buehne__raster {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .w2-zwei {
    grid-template-columns: 1fr 1fr;
  }

  .w2-drei {
    grid-template-columns: repeat(3, 1fr);
  }
}
