/* =========================================================================
   PLANK Auftragsverfolgung — Stil des Inhaltsbereichs.

   Kopf, Fuss, Schrift und Farben kommen von plank.it selbst; diese Datei
   ergaenzt nur, was die Auftragsverfolgung zusaetzlich braucht. Die Werte sind
   vom ausgelieferten Stylesheet der Website abgenommen:
   Fliesstext 16/24 weight 300 · h1 50/60 · fett = 500 · Buttons als Pille,
   uppercase, Groesse geerbt · Fehlerrot #EC3000 (nicht das Markenrot).
   ========================================================================= */

.plank-order {
  --ink: #1D1D1F;
  --ink-2: #595959;
  --line: #E6E6E6;
  --paper: #F8F8F8;
  --white: #ffffff;
  --red: #E63027;
  --error-red: #EC3000;
  --error-bg: rgba(236, 0, 0, 0.05);
}

/* =========================================================================
   Auftragsverfolgung – der eigentliche Inhalt
   ========================================================================= */


/* ---------- Eingabe ---------- */
/* ---------- Button ----------
   plank.it laedt Bootstrap 5, und das definiert dieselbe Klasse .btn (mit
   .btn:hover und CSS-Variablen --bs-btn-*). Deshalb hier bewusst mit hoeherer
   Spezifitaet (.plank-order button.btn) und mit ueberschriebenen Bootstrap-
   Variablen – sonst gewinnt deren transparenter Button mit Rahmen bei Hover.
   Optik = der .btn-primary von plank.it, nachgemessen am Live-CSS (01.09.2026):
   :root { --bs-border-radius: 0 } → ECKIG, keine Pille; --main-black #1D1D1F
   gefuellt, weisse Schrift, Gross-/Kleinschreibung wie eingegeben (kein
   uppercase – "Subscribe now", "Discover more"); Hover invertiert (weiss,
   schwarzer Rand, schwarze Schrift). */
.plank-order button.btn,
.plank-order a.btn {
  --bs-btn-bg: var(--ink);
  --bs-btn-color: var(--white);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-bg: var(--white);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-border-color: var(--ink);
  --bs-btn-focus-box-shadow: none;
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 24px;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.plank-order button.btn:hover,
.plank-order a.btn:hover,
.plank-order button.btn:focus-visible,
.plank-order a.btn:focus-visible {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
  outline: none;
  box-shadow: none;
}
.plank-order button.btn:active,
.plank-order a.btn:active { background: var(--white); color: var(--ink); border-color: var(--ink); }
.plank-order .btn--wide { padding: 19px 32px; width: 100%; text-align: center; }
@media (min-width: 576px) { .plank-order .btn--wide { width: auto; min-width: 280px; } }

/* Die Spaltenbreite sitzt auf den Sektionen selbst: die Fluid-Partials haben
   keinen .enter__in/.status__in-Wrapper, plank.it liefert nur den aeusseren
   .container (rund 1000px) – ohne diese Grenze liefen Felder und Stufen ueber
   die volle Seitenbreite. Linksbuendig wie alle Inhalte auf plank.it. */
.plank-order .enter  { max-width: 620px; }
.plank-order .status { max-width: 780px; }
.enter { padding: 56px 0 64px; }
.enter__in { max-width: 620px; }
.enter h1 { margin-bottom: 14px; }
.enter__lead { color: var(--ink-2); }

.form { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
/* Felder wie im Powermail-Formular von plank.it: helle Flaeche, KEIN Rahmen,
   5px Radius, grosszuegig gepolstert. Einzige Abweichung ist die Schriftgroesse
   – plank.it setzt 14px, iOS zoomt aber beim Fokus in jedes Feld unter 16px,
   und diese Seite wird ueberwiegend am Handy geoeffnet. */
.field label {
  display: block; text-transform: uppercase; font-size: 14px; line-height: 21px; font-weight: 400;
  color: var(--ink-2); margin-bottom: 8px;
}
.field input {
  width: 100%; border: 1px solid transparent; border-radius: 5px;
  background: var(--paper);
  padding: 20px 15px; font-family: var(--font); font-size: 16px; line-height: 21px;
  font-weight: 400; color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.field input:hover { background: #f1f1f1; }
.field input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input::placeholder { color: #9a9a9a; font-weight: 300; }

/* Fehler steht AM FELD, nicht als Kasten ueber dem Formular – so macht es
   das Formular auf plank.it: rotes Feld, rotes Label, 12px Meldung darunter. */
.field--error label { color: var(--error-red); }
.field--error input { border-color: var(--error-red); background: var(--error-bg); }
.field__error { font-size: 12px; line-height: 18px; color: var(--error-red); margin-top: 8px; }

/* Meldung ueber dem Formular: plank.it kennt dafuer nur
   `.powermail_message_error { color: var(--error-red) }` – roter Text, sonst
   nichts. Kein Balken, kein Kasten, keine Farbflaeche. */
.message--error { margin: 28px 0 0; max-width: 620px; }
.message--error b { display: block; color: var(--error-red); font-weight: 500; }
.message--error p { color: var(--ink-2); margin-top: 4px; font-size: 14px; line-height: 21px; }

/* Der Stornohinweis ist keine Fehlermeldung, sondern der Zustand der Bestellung:
   ruhige Flaeche wie ein Formularfeld, mit rotem Titel. */
.notice--alert { background: var(--paper); border-radius: 5px; padding: 20px 24px; margin: 28px 0 0; }
.notice--alert b { display: block; color: var(--error-red); font-weight: 500; }
.notice--alert p { color: var(--ink-2); margin-top: 4px; }

/* ---------- Statusseite ---------- */
.status { padding: 40px 0 64px; }
.status__in { max-width: 780px; }
.status__back {
  display: inline-block; margin-bottom: 34px;
  font-size: 14px; line-height: 21px; text-transform: uppercase; font-weight: 500; color: var(--ink-2);
}
.status__back:hover { color: var(--red); }
/* Kopf: Titel ist die Bestellung, darunter EINE graue Zeile, darunter EINE
   hervorgehobene Angabe. Vorher standen hier vier Ebenen uebereinander – Meta,
   Status (der sich in der Leiste wiederholte), Zeitstempel und zwei Kennzahlen. */
.status__title { font-size: 38px; line-height: 45px; }
.status__sub { color: var(--ink-2); margin-top: 6px; }

/* Termin und Lieferadresse: beides Angaben zum Auftrag, beides NEBENsache neben
   der Stufenleiste. Deshalb gleiche Groesse und kein Groessenwettbewerb – die
   Rangfolge macht die Reihenfolge, nicht der Schriftgrad. Ein 30px grosses
   "KW 37" zog den Blick vom Status weg, um den es hier geht. */
.meta { display: flex; flex-wrap: wrap; gap: 14px 64px; align-items: flex-start; margin-top: 24px; }
.meta__block { min-width: 0; max-width: 360px; }
.meta__k {
  display: block; text-transform: uppercase; font-size: 11px; line-height: 18px;
  letter-spacing: 0.07em; color: #8c8c8c; margin-bottom: 2px;
}
.meta__v { display: block; font-style: normal; font-size: 15px; line-height: 22px; }
.meta__v--muted { color: var(--ink-2); }


/* ---------- Stufen ---------- */
.steps { margin: 34px 0 0; }
.step { display: grid; grid-template-columns: 26px 1fr auto; gap: 0 16px; padding-bottom: 20px; }
.step:last-child { padding-bottom: 0; }
.step__mark { position: relative; padding-top: 5px; }
.step__mark i { display: block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); margin-left: 6px; }
.step__mark::after { content: ""; position: absolute; left: 11px; top: 20px; bottom: -8px; width: 1px; background: var(--line); }
.step:last-child .step__mark::after { display: none; }
.step__t { font-size: 19px; line-height: 25px; }
.step__d { color: var(--ink-2); margin-top: 4px; }
.step__when { font-size: 13px; line-height: 20px; color: var(--ink-2); padding-top: 5px; white-space: nowrap; }

.step.is-done .step__mark i { background: var(--ink); border-color: var(--ink); }
.step.is-done .step__mark::after { background: var(--ink); }
.step.is-now .step__mark i { background: var(--red); border-color: var(--red); }
.step.is-now .step__t { font-weight: 500; }
.step.is-now .step__when { color: var(--red); }
.step.is-todo .step__t, .step.is-todo .step__d { color: #a8a8a8; }
.step.is-cancelled .step__mark i { background: var(--red); border-color: var(--red); }
.step.is-void .step__t, .step.is-void .step__d, .step.is-void .step__when { color: #c4c4c4; text-decoration: line-through; text-decoration-thickness: 1px; }
.step.is-void .step__mark i { border-style: dashed; }

.step__d .link { color: var(--red); text-transform: uppercase; font-size: 14px; font-weight: 500; white-space: nowrap; }
.step__track { font-size: 13px; line-height: 20px; color: var(--ink-2); margin-top: 5px; font-variant-numeric: tabular-nums; }
.step__track .track-no { letter-spacing: 0.03em; }
.step__d .link:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .steps--in .step { animation: step-in 0.42s ease backwards; }
  .steps--in .step:nth-child(2) { animation-delay: 0.07s; }
  .steps--in .step:nth-child(3) { animation-delay: 0.14s; }
  .steps--in .step:nth-child(4) { animation-delay: 0.21s; }
  .steps--in .step:nth-child(5) { animation-delay: 0.28s; }
  @keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- Positionen ----------
   Aufbau der Auftragsbestaetigung: Zeichnung · Modell/Artikelnummer · Menge,
   darunter die Konfiguration Zeile fuer Zeile.
   Bewusst OHNE Trennlinien: die Zeichnungen geben der Liste ihren Rhythmus,
   und je Position eine Linie ergab bei neun Positionen ein Gitter. */
.items { margin-top: 40px; }
.items__h {
  text-transform: uppercase; font-size: 14px; line-height: 21px; font-weight: 400;
  color: var(--ink-2); margin-bottom: 4px;
}
.item {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 0 20px; align-items: start; padding: 14px 0;
}
/* Haarlinie NUR zwischen den Positionen – nicht ueber der ersten und nicht
   unter der letzten. Die Liste bekommt Struktur, ohne ein Gitter zu werden. */
.item + .item { border-top: 1px solid var(--line); }
.item__img { padding-top: 1px; }
.item__img img {
  width: 100%; height: auto;
  /* Die Zeichnungen sind JPEG mit weissem Grund – multiply loescht ihn weg. */
  mix-blend-mode: multiply;
}
.item__body { min-width: 0; }
.item__n { font-size: 15px; line-height: 22px; font-weight: 400; }
.item__ids {
  font-size: 12px; line-height: 18px; color: var(--ink-2); margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.item__spec { list-style: none; padding: 0; margin: 7px 0 0; }
.item__spec li { font-size: 13px; line-height: 20px; color: var(--ink-2); }
/* Die Menge ist eine Angabe, keine Schlagzeile. */
.item__q {
  text-align: right; white-space: nowrap; font-size: 13px; line-height: 22px;
  color: var(--ink-2); font-variant-numeric: tabular-nums;
}

.loading { padding: 120px 0; color: var(--ink-2); }

@media (max-width: 760px) {
  h1 { font-size: 44px; line-height: 47px; }
  h2 { font-size: 34px; line-height: 37px; }
  .enter { padding: 48px 0 64px; }
  .status { padding: 32px 0 64px; }
  .status__title { font-size: 30px; line-height: 34px; }
  .meta { gap: 12px 32px; margin-top: 20px; }
  .step { grid-template-columns: 26px 1fr; }
  .step__t { font-size: 20px; line-height: 25px; }
  .step__when { grid-column: 2; padding-top: 6px; }
  .step__mark::after { left: 11px; }
  .step__mark i { margin-left: 6px; }
  .topbar__in { justify-content: space-between; }
  .items { margin-top: 44px; }
  .item { grid-template-columns: 46px minmax(0, 1fr); gap: 0 16px; padding: 16px 0; }
  .item__q { grid-column: 2; text-align: left; margin-top: 8px; }
}
