/* Theme «nager»: Aussehen wie nagerfloor.ch – Montserrat, Schwarz/Weiss, Nager-Blau, eckig, immer hell.
   Wird nach style.css geladen und überschreibt nur, was anders aussehen soll. */

@font-face {
  font-family: "Montserrat";
  src: url("../../fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Gleiche Spezifität wie die Dunkel-Regel in style.css und später geladen: erzwingt hell. */
:root,
:root:not(.is-embedded) {
  color-scheme: light;
  --nager-blue: #0061e0;
  --nager-sage: #cadcc9;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --surface-3: #ececec;
  --text: #1d1d1d;
  --muted: #555555;
  --line: #e2e2e2;
  --line-strong: #1d1d1d;
  --danger: #b3261e;
  --danger-bg: #fbeceb;
  --success-bg: var(--nager-sage);
  --radius: 0;
  --radius-sm: 0;
  --shadow: none;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: var(--font-sans);
}

body { font-family: var(--font-sans); font-weight: 400; color: var(--text); }
h1, h2, h3 { font-family: var(--font-sans); font-weight: 500; letter-spacing: 0; }
a, .link-button { color: var(--nager-blue); }

/* Kopf: Logo links, daneben der Name */
.site-header .wrap { min-height: 72px; }
.brand { gap: 14px; font-weight: 500; letter-spacing: 0.02em; }
.brand-logo { display: block; width: auto; height: 44px; }

/* Einleitung zentriert und etwas grösser, wie auf der Startseite der Website */
.intro { text-align: center; padding-top: 56px; }
.intro h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 500; }
.lead { margin-inline: auto; font-size: 1.15rem; color: var(--muted); }

/* Flächen eckig, ohne Schatten */
.step, .dropzone-label, .preview img, .material label, .material img, .compare, .lead-summary,
.lead-summary img, .thanks, .error, .progress-track, .segmented, .segment label, .chip label {
  border-radius: 0;
}
.step { box-shadow: none; border-color: var(--line); }
.field input, .field textarea { border-radius: 2px; border-color: #bdbdbd; }

/* Schrittnummern: schwarze Quadrate mit weisser Ziffer */
.step-no { border: 0; border-radius: 0; background: #000000; color: #ffffff; font-weight: 500; }

/* Knöpfe wie «KOSTENLOSE BERATUNG VEREINBAREN →» */
.button {
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}
.button-primary { background: #000000; color: #ffffff; border-color: #000000; }
.button-primary:hover:not(:disabled), .button-primary:focus-visible {
  background: var(--nager-blue);
  border-color: var(--nager-blue);
  filter: none;
}
#render-button::after, #lead-open::after { content: "→"; content: "→" / ""; }
.button-secondary { background: #ffffff; color: #000000; border: 1px solid #000000; }
.button-secondary:hover { background: var(--surface-2); border-color: #000000; }
.button-ghost { color: var(--nager-blue); text-transform: uppercase; letter-spacing: 0.06em; }

/* Fokus und Auswahl in Nager-Blau */
.button:focus-visible, .link-button:focus-visible,
.chip input:focus-visible + label, .material input:focus-visible + label, .segment input:focus-visible + label,
.dropzone input:focus-visible + .dropzone-label, .field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--nager-blue);
  outline-offset: 2px;
}
.check input, .compare-range { accent-color: var(--nager-blue); }

/* Kategorie-Chips: rechteckig, aktiv schwarz */
.chip label { border: 1px solid var(--line-strong); background: #ffffff; }
.chip input:checked + label { background: #000000; border-color: #000000; color: #ffffff; }

/* Gewählte Musterkarte: 2px Rahmen in Nager-Blau und blaues Häkchen-Abzeichen */
.material input:checked + label { border-color: var(--nager-blue); box-shadow: 0 0 0 1px var(--nager-blue); }
.material input:checked + label::before { border-radius: 0; background: var(--nager-blue); box-shadow: none; }
.material input:checked + label::after { background: #ffffff; }

/* Oberfläche als eckiger Schalter */
.segmented { gap: 0; padding: 0; background: #ffffff; border-color: var(--line-strong); }
.segment input:checked + label { background: #000000; color: #ffffff; box-shadow: none; }

/* Ablagefeld und Fortschritt */
.dropzone-label { background: var(--surface-2); border-color: #bdbdbd; }
.dropzone-label:hover, .dropzone.is-dragover .dropzone-label { border-color: var(--nager-blue); background: #eef4fd; }
.progress-track::after { background: var(--nager-blue); border-radius: 0; }

/* Vorher/Nachher: Griff in Nager-Blau, Etiketten schwarz und klein in Grossbuchstaben */
.compare-handle { background: var(--nager-blue); box-shadow: none; }
.compare-handle::after {
  border-radius: 0;
  background: var(--nager-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: none;
}
.compare-tag {
  background: #000000;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Dankesbox in Salbei */
.thanks { background: var(--nager-sage); color: var(--text); }
