/* ==========================================================================
   PAPER-MODEL · paper-model.net
   ========================================================================== */

/* ---------- Schrift (lokal, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben & Maße ---------- */
:root {
  --ink: #1e1e1e;
  --text: #333;
  --muted: #6b6b6b;
  --line: #c6c6c6;
  --line-soft: #d9d9d9;
  --paper: #f7f7f7;
  --panel: rgba(255, 255, 255, 0.62);
  --photo: #e8e8e8;
  --logo-gray: #878787;
  --accent: #1979c3;
  --accent-strong: #006bb4;
  --danger: #b3261e;
  --radius: 3px;
  --container: 1180px;
  --nav-h: 50px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 14px 34px -22px rgba(0, 0, 0, 0.45);
  color-scheme: light;
}

/* ---------- Sprachumschaltung ----------
   Jeder Text steht zweimal im HTML: lang="de" und lang="en".
   Angezeigt wird nur die Sprache, die an <html data-lang> gesetzt ist. */
[data-lang="de"] [lang="en"],
[data-lang="en"] [lang="de"] {
  display: none !important;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font: 400 15px/1.65 "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: #dcdcdc;
  background-image:
    radial-gradient(ellipse 70% 55% at 60% 0%, rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0) 70%),
    linear-gradient(90deg, #cdcdcd 0%, #e3e3e3 28%, #ededed 58%, #dfdfdf 82%, #cbcbcb 100%);
  background-attachment: fixed;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* E-Mail-Platzhalter ohne JavaScript: lesbar, aber nicht als Link getarnt */
a:not([href]) {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  line-height: 1.2;
}

h1 {
  font-weight: 300;
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.4rem);
}

h2 {
  font-weight: 300;
  font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.15rem);
}

h3 {
  font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
}

h4,
.eyebrow,
legend {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

p {
  margin: 0 0 1em;
}

strong,
b {
  font-weight: 600;
}

address {
  font-style: normal;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 8px;
}

/* Grauer Balken mit schräger Kante – angelehnt an den Unterstrich im Logo */
.rule::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  margin-top: 14px;
  background: var(--logo-gray);
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.panel {
  background: var(--panel);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(#fff, #ececec);
  border: 1px solid #b7b7b7;
  border-radius: var(--radius);
  cursor: pointer;
}

.btn:hover {
  color: #000;
  text-decoration: none;
  background: #fff;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent-strong);
}

.btn-primary:hover {
  color: #fff;
  background: var(--accent-strong);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Kopf ---------- */
.site-header {
  padding: 30px 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-block;
}

.logo img {
  width: 250px;
}

.tagline {
  margin: 20px 0 0;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #222;
}

.tagline strong {
  font-weight: 700;
}

.tagline small {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

.header-sketch {
  width: 124px;
  opacity: 0.85;
  mix-blend-mode: multiply;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(#fbfbfb, #e6e6e6 55%, #dadada);
  border-top: 1px solid #c4c4c4;
  border-bottom: 1px solid #b8b8b8;
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px -5px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--nav-h);
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li + li {
  border-left: 1px solid #c2c2c2;
  box-shadow: inset 1px 0 0 #fff;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  height: var(--nav-h);
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2b2b2b;
}

.nav-links li:first-child a {
  padding-left: 0;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: #000;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 var(--logo-gray);
}

.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 10px;
}

.lang-switch {
  display: flex;
  gap: 2px;
}

.lang-switch button {
  padding: 4px 9px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #555;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.lang-switch button:hover {
  color: #000;
}

.lang-switch button[aria-pressed="true"] {
  color: #000;
  background: #fff;
  border-color: #bdbdbd;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* ---------- Bühne ---------- */
.hero {
  margin-top: 28px;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920 / 650;
  background: var(--photo);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus-x, 50%) 50%;
}

.hero-slide figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

.hero-slide figcaption a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-slide figcaption a:hover {
  text-decoration: none;
  background: #fff;
}

.hero-slide figcaption span.nr {
  margin-right: 6px;
  color: var(--muted);
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  left: 16px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.hero-dots button[aria-current="true"] {
  background: rgba(0, 0, 0, 0.6);
}

/* ---------- Abschnitte ---------- */
.section {
  padding: 56px 0 8px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  color: #444;
}

/* ---------- Einleitung ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.intro-text p {
  font-size: 1rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 6px 0 0;
  overflow: hidden;
  background: var(--line-soft);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fact {
  margin: 0;
  padding: 18px 20px;
  background: var(--paper);
}

.fact dt {
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

.fact dd {
  margin: 2px 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Modellübersicht ---------- */
.model-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.model-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  color: inherit;
  background: var(--panel);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-card a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 36px -20px rgba(0, 0, 0, 0.5);
}

.model-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--photo);
}

.model-card-body {
  padding: 14px 16px 16px;
}

.model-card h3 {
  margin: 2px 0 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.model-card-meta {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.model-card-price {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Modell im Detail ---------- */
.model {
  margin-bottom: 32px;
  padding: clamp(16px, 3vw, 36px);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.model-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 44px);
}

.gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--photo);
  border: 0;
  border-radius: 2px;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-main img.is-contain {
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.gallery-thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--photo);
  border: 1px solid transparent;
  border-radius: 2px;
  opacity: 0.72;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.gallery-thumbs button:hover {
  opacity: 1;
}

.gallery-thumbs button[aria-current="true"] {
  opacity: 1;
  border-color: var(--logo-gray);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-thumbs [data-fit="contain"] img {
  object-fit: contain;
}

.model-nr {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}

.model-nr b {
  font-size: 2.6rem;
  font-weight: 700;
}

.model-info h3 {
  margin: 10px 0 2px;
}

.model-sub {
  margin-bottom: 18px;
  color: var(--muted);
}

.model-variant {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  font-size: 0.82rem;
  color: #444;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.price {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-note {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.model-details {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  font-size: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

.model-details h4 {
  margin-bottom: 8px;
}

.model-details ul {
  margin: 0;
  padding-left: 1.1em;
}

.model-details li + li {
  margin-top: 2px;
}

.model-details p:last-child {
  margin-bottom: 0;
}

.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  margin: 0;
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Bestellung ---------- */
.order-form {
  display: grid;
  gap: 32px;
  padding: clamp(16px, 3vw, 36px);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

.order-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.order-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 90px auto 100px;
  grid-template-areas: "img name unit qty total";
  align-items: center;
  gap: 18px;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.2s ease;
}

.order-item.has-qty {
  background: rgba(25, 121, 195, 0.06);
}

.order-item img {
  grid-area: img;
  width: 80px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--photo);
  border-radius: 2px;
}

.order-name {
  grid-area: name;
}

.order-name strong {
  display: block;
  line-height: 1.35;
  color: var(--ink);
}

.order-name small {
  font-size: 0.8rem;
  color: var(--muted);
}

.order-unit {
  grid-area: unit;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stepper {
  grid-area: qty;
  display: inline-flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid #bdbdbd;
  border-radius: var(--radius);
}

.stepper button {
  width: 38px;
  height: 38px;
  padding: 0;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink);
  background: linear-gradient(#fff, #ededed);
  border: 0;
  cursor: pointer;
}

.stepper button:hover {
  background: #fff;
}

.stepper input {
  width: 46px;
  height: 38px;
  padding: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  border: 0;
  border-inline: 1px solid #ddd;
  border-radius: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.order-line {
  grid-area: total;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.order-subtotal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 14px;
  margin: 16px 10px 0 0;
}

.order-subtotal strong {
  font-size: 1.4rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.order-subtotal small {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

.form-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--danger);
  background: rgba(179, 38, 30, 0.07);
  border-left: 3px solid var(--danger);
  border-radius: 2px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 16px;
}

.field {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}

.field-full {
  grid-column: 1 / -1;
}

.field-zip {
  grid-column: span 2;
}

.field-city {
  grid-column: span 4;
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 9px 11px;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bdbdbd;
  border-radius: var(--radius);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(25, 121, 195, 0.22);
  outline-offset: 0;
}

.order-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.order-submit p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.order-result {
  margin-top: 24px;
  padding: clamp(16px, 3vw, 32px);
  border-left: 4px solid var(--accent);
}

.order-result:focus {
  outline: none;
}

.order-result h3 {
  font-weight: 600;
}

.order-result pre {
  max-height: 340px;
  margin: 18px 0;
  padding: 16px;
  overflow: auto;
  font: 0.85rem/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  white-space: pre-wrap;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.order-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-done {
  display: none;
}

.is-copied .copy-idle {
  display: none;
}

.is-copied .copy-done {
  display: inline;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 24px 28px;
  line-height: 1.75;
}

.contact-card strong {
  color: var(--ink);
}

/* ---------- Rechtstexte ---------- */
.legal {
  max-width: 820px;
  padding: clamp(20px, 4vw, 44px);
}

.legal h2 {
  margin-top: 1.6em;
  font-size: 1.25rem;
  font-weight: 600;
}

.legal h2:first-of-type {
  margin-top: 0.6em;
}

.legal ul {
  padding-left: 1.2em;
}

/* ---------- Fuß ---------- */
.site-footer {
  margin-top: 64px;
  padding: 24px 0 40px;
  font-size: 0.82rem;
  color: #5f5f5f;
  border-top: 1px solid #c3c3c3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li::before {
  content: "|";
  margin: 0 10px;
  color: #a5a5a5;
}

.footer-links a {
  color: #555;
}

/* ---------- Bildansicht ---------- */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  color: #eee;
  background: rgba(18, 18, 18, 0.97);
  border: 0;
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.lightbox figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 72px;
}

.lightbox img {
  width: auto;
  max-width: calc(100vw - 144px);
  max-height: calc(100dvh - 110px);
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
}

.lightbox figcaption {
  font-size: 0.85rem;
  color: #c8c8c8;
  text-align: center;
}

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lb-btn svg {
  width: 22px;
  height: 22px;
}

.lb-close {
  top: 16px;
  right: 16px;
}

.lb-prev,
.lb-next {
  top: 50%;
  translate: 0 -50%;
}

.lb-prev {
  left: 14px;
}

.lb-next {
  right: 14px;
}

/* ---------- Hinweis „hinzugefügt“ ---------- */
.toast {
  position: fixed;
  right: 16px;
  bottom: 20px;
  left: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 640px;
  margin-inline: auto;
  padding: 10px 12px 10px 18px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
  background: #232323;
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  translate: 0 16px;
  transition: opacity 0.2s ease, translate 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
}

.toast a {
  flex: none;
  padding: 6px 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}

.toast a:hover {
  text-decoration: none;
  background: var(--accent-strong);
}

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .model-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .model-grid,
  .model-details {
    grid-template-columns: 1fr;
  }

  .model-details {
    gap: 22px;
  }
}

@media (max-width: 720px) {
  .order-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "img name name"
      "unit qty total";
    gap: 10px 14px;
    padding-right: 0;
  }

  .order-item img {
    width: 64px;
  }

  .order-unit {
    text-align: left;
  }

  .stepper {
    justify-self: center;
  }

  .order-subtotal {
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 22px 0 18px;
  }

  .logo img {
    width: 190px;
  }

  .tagline {
    margin-top: 14px;
    font-size: 1rem;
  }

  .header-sketch {
    width: 78px;
  }

  .nav-links a {
    padding: 0 11px;
    font-size: 0.86rem;
  }

  .lang-switch button {
    padding: 4px 7px;
  }

  .hero {
    margin-top: 16px;
  }

  .hero-frame {
    aspect-ratio: 2 / 1;
  }

  .hero-slide figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    text-align: right;
  }

  .hero-slide figcaption a {
    font-size: 0.78rem;
  }

  .hero-dots {
    top: 14px;
    bottom: auto;
    left: 14px;
  }

  .section {
    padding-top: 44px;
  }

  .model-cards {
    gap: 12px;
  }

  .model-card-body {
    padding: 10px 12px 12px;
  }

  .model-card h3 {
    font-size: 0.9rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .field,
  .field-full {
    grid-column: 1 / -1;
  }

  .field-zip {
    grid-column: span 2;
  }

  .field-city {
    grid-column: span 4;
  }

  .order-submit .btn {
    width: 100%;
  }

  .lightbox figure {
    padding: 0 8px;
  }

  .lightbox img {
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 150px);
  }

  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 18px;
    translate: none;
  }

  .lb-prev {
    left: calc(50% - 60px);
  }

  .lb-next {
    right: calc(50% - 60px);
  }
}

@media (max-width: 380px) {
  .nav-links a {
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .nav-links li:first-child a {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-nav,
  .hero,
  .toast,
  .order-form,
  .gallery-thumbs {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .panel {
    box-shadow: none;
    border-color: #ccc;
  }
}
