/* ============================================================
   A&O Print — Light Premium
   Design-System-Stylesheet

   Aufbau:
     1  Reset & Basis
     2  Design-Tokens
     3  Typografie
     4  Layout & Container
     5  Glas-System  (zentral einstellbar, siehe Kommentare)
     6  Buttons
     7  Karten & Tags
     8  Header / Navigation
     9  Hero
    10  Leistungen
    11  Qualität
    12  CTA
    13  Footer
    14  Hilfsklassen & Animationen
    15  Responsive
   ============================================================ */


/* ============================================================
   1  RESET & BASIS
   ============================================================ */

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

/* Muss vor allen Layout-Regeln stehen: sonst überstimmt ein
   späteres display:grid/flex das hidden-Attribut, und versteckte
   Bereiche bleiben sichtbar. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Sprungziele nicht unter der klebenden Kopfleiste verstecken */
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background-color: var(--bg-0);
  background-image:
    radial-gradient(900px 620px at 88% 4%, rgba(198, 122, 0, 0.07), transparent 60%),
    radial-gradient(720px 520px at 6% 36%, rgba(231, 162, 51, 0.055), transparent 65%),
    radial-gradient(840px 580px at 94% 82%, rgba(198, 122, 0, 0.06), transparent 62%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/></svg>");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed, fixed;
  background-size: auto, auto, auto, 160px 160px;
  background-blend-mode: normal, normal, normal, multiply;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;   /* nicht hidden: das würde position:sticky im Header aushebeln */
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-1);
  letter-spacing: -0.022em;
  margin: 0;
  /* Lange deutsche Komposita ("Allgemeine Geschäftsbedingungen")
     würden auf schmalen Displays sonst über den Rand laufen. */
  overflow-wrap: break-word;
  hyphens: auto;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* Sichtbarer Fokus für Tastaturbedienung */
:focus-visible {
  outline: 2px solid var(--cy-1);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--ink-1);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }


/* ============================================================
   2  DESIGN-TOKENS
   Alle Farben, Abstände und Effekte laufen über diese Werte.
   Hier ändern = überall geändert.
   ============================================================ */

:root {
  /* --- Flächen --- */
  --bg-0: #F6F7F8;   /* Seitenhintergrund */
  --bg-1: #F1F3F4;   /* leicht abgesetzte Fläche */
  --bg-2: #FFFFFF;   /* Karten, Panels */

  /* --- Text --- */
  --ink-1: #111417;  /* Überschriften */
  --ink-2: #24282B;  /* Fließtext */
  --ink-3: #5B6266;  /* sekundär */

  /* --- Akzent (Amber/Gold) ---
     --cy-1 / --cy-2 sind die sekundären Markenfarben: Flächen,
     Icons, Punkte, aktive Nav-Zustände, Tags. Passend zum neuen
     Logo-Farbverlauf (Gelb→Orange). Für TEXT und Flächen mit
     weißer Schrift sind sie zu hell. Dafür gibt es die dunklere
     Abstufung darunter. (Name "cy" historisch von Türkis, jetzt
     Amber – nicht umbenannt, um nicht jede Fundstelle anzufassen.) */
  --cy-1: #C67A00;
  --cy-2: #E7A233;
  --cy-deep: #8A5A00;            /* Amber für Text auf Hell – 5,9:1 */
  --cy-btn-1: var(--or-btn-1);   /* Checkbox-Akzent = Button-Orange */
  --cy-btn-2: var(--or-btn-2);
  --cy-soft: rgba(198, 122, 0, 0.12);
  --cy-softer: rgba(198, 122, 0, 0.05);

  /* --- Akzent (Orange) ---
     Für den Haupt-Button ("Anfrage senden" & ähnliche), passend
     zum neuen Logo-Farbverlauf. */
  --or-btn-1: #E06800;           /* Buttonverlauf hell – weiß darauf 3,8:1 */
  --or-btn-2: #B75500;           /* Buttonverlauf dunkel */

  /* --- Akzent (Gelb) ---
     Für den "ausgewählt"-Leuchteffekt der Auswahlkacheln (Tiles),
     passend zum neuen Logo-Farbverlauf. */
  --yl-1: #FFB200;
  --yl-deep: #8A5A00;            /* Gelb/Amber für Text auf Hell – 5,9:1 */
  --yl-soft: rgba(255, 178, 0, 0.16);
  --yl-softer: rgba(255, 178, 0, 0.08);

  /* --- Linien --- */
  --line: rgba(0, 0, 0, 0.06);

  /* --- Status --- */

  /* --- Typografie --- */
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* --- Radien --- */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* --- Abstände --- */
  --gap: 22px;
  --pad-x: 24px;             /* seitlicher Seitenrand, mobil */
  --section-y: 72px;         /* vertikaler Sektionsabstand, mobil */
  --container: 1280px;

  /* --- Schatten --- */
  --shadow-sm: 0 6px 18px rgba(20, 30, 40, 0.06);
  --shadow-md: 0 16px 40px rgba(20, 30, 40, 0.08), 0 3px 10px rgba(20, 30, 40, 0.05);
  --shadow-lg: 0 30px 70px rgba(20, 30, 40, 0.12), 0 6px 18px rgba(20, 30, 40, 0.06);
  --shadow-cy: 0 14px 32px rgba(198, 122, 0, 0.30);
  --shadow-or: 0 14px 32px rgba(224, 104, 0, 0.30);

  /* --- Glas: die zentralen Stellschrauben --------------------
     --glass-blur     Wie stark das Glas den Hintergrund verschwimmen lässt
     --glass-sat      Farbsättigung hinter dem Glas (macht es "echter")
     --glass-tint-*   Füllung oben / mitte / unten -> Glasstärke
     --glass-edge-hi  Kantenlicht oben links (Lichtquelle)
     --glass-edge-lo  Kantenschatten unten rechts
     --glass-sheen    Stärke des Glanzstreifens
     ------------------------------------------------------------ */
  --glass-blur: 22px;
  --glass-sat: 150%;
  --glass-tint-top: rgba(255, 255, 255, 0.62);
  --glass-tint-mid: rgba(255, 255, 255, 0.38);
  --glass-tint-bottom: rgba(255, 255, 255, 0.50);
  --glass-edge-hi: rgba(255, 255, 255, 0.75);
  --glass-edge-lo: rgba(20, 30, 40, 0.12);
  --glass-sheen: 0.55;
  --glass-shadow: var(--shadow-lg);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.90),
                 inset 0 -10px 24px rgba(255, 255, 255, 0.35);

  /* Position der simulierten Lichtquelle (wird per JS am Zeiger nachgeführt) */
  --light-x: 22%;
  --light-y: 8%;

  --header-h: 94px;   /* Höhe der schwebenden Kopfleiste inkl. Abstand */
}

@media (min-width: 768px) {
  :root {
    --pad-x: 40px;
    --section-y: 100px;
  }
}

@media (min-width: 1100px) {
  :root {
    --pad-x: 48px;
    --section-y: 130px;
    --header-h: 88px;
  }
}


/* ============================================================
   3  TYPOGRAFIE
   ============================================================ */

.h-xl { font-size: clamp(34px, 6vw, 60px); line-height: 1.06; font-weight: 800; }
.h-lg { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; font-weight: 800; }
.h-md { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.18; font-weight: 800; }
.h-sm { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.25; font-weight: 800; }

.lead {
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.65;
  color: var(--ink-3);
  font-weight: 500;
}

.body-sm {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  font-weight: 500;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cy-deep);   /* nicht --cy-1: zu hell für kleinen Text */
}

/* Farbakzent vor der Eyebrow-Zeile im Hero (Start- + Kategorieseiten):
   kleine Passermarken-Farbfelder (CMYK + Markenfarbe), zeigen auf den
   ersten Blick, dass hier bunt gedruckt wird – bewusst klein und
   zurückhaltend, kein flächiger Farbeinsatz. */
.hero__eyebrow-row { display: flex; align-items: center; gap: 12px; }
.print-marks { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.print-marks__dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(17, 20, 23, 0.16), 0 1px 2px rgba(17, 20, 23, 0.18);
}


/* ============================================================
   4  LAYOUT & CONTAINER
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }

/* Einheitlicher, knapper Abstand zur Kopfleiste: die jeweils erste Sektion
   einer Seite beginnt überall gleich nah unter der Navigation - unabhängig
   davon, ob die Seite mit .cat-hero, .hero, .section oder .section--tight
   startet. Ohne diese Regel unterschied sich der Abstand je nach Seite um
   bis zu 200px. */
main > section:first-of-type {
  padding-top: clamp(18px, 2.2vw, 30px);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 54px);
}
.section-head .lead { max-width: 600px; margin-inline: auto; }
.section-head h2 { margin: 14px 0 14px; }

.grid { display: grid; gap: var(--gap); }
.grid-3, .grid-2 { grid-template-columns: 1fr; }

@media (min-width: 700px)  { .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Produkte-Übersicht (alle-produkte.html): alle 4 Bereiche in einer Reihe statt 2x2 */
@media (min-width: 1100px) {
  .grid-2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .area-card .card__media { aspect-ratio: 4 / 3; }
  .area-card .card__body { padding: clamp(20px, 2vw, 26px); }
  .area-card .card__title { font-size: 19px; }
  .area-card .card__text { font-size: 13.5px; }
}


/* ============================================================
   5  GLAS-SYSTEM
   .glass ist die Basis. Varianten verändern nur Dicke/Radius.
   Bewusst nur an wenigen Stellen eingesetzt: Navigation,
   Buttons, einzelne Karten, schwebende Elemente.
   ============================================================ */

.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    155deg,
    var(--glass-tint-top) 0%,
    var(--glass-tint-mid) 45%,
    var(--glass-tint-bottom) 100%
  );
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow: var(--glass-shadow), var(--glass-inner);
}

/* Kantenlicht: oben links hell, unten rechts dunkler.
   Kein gleichmäßiger weißer 1px-Rahmen, sondern ein Verlauf,
   der nur die Kante trifft (Maske schneidet die Fläche aus). */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    155deg,
    var(--glass-edge-hi) 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.05) 55%,
    var(--glass-edge-lo) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* Glanzstreifen. Folgt dezent dem Mauszeiger (--light-x/--light-y). */
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120% 90% at var(--light-x) var(--light-y),
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.14) 32%,
    transparent 62%
  );
  opacity: var(--glass-sheen);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Inhalt über die Glas-Ebenen heben */
.glass > * { position: relative; z-index: 2; }

/* Varianten */
.glass--nav    { border-radius: var(--r-xl); }
.glass--card   { border-radius: var(--r-lg); --glass-blur: 16px; --glass-sat: 140%; }
.glass--chip   { border-radius: var(--r-md); --glass-blur: 16px; }

/* Auf dunklem Grund (z. B. über einem Foto) */
.glass--on-dark {
  --glass-tint-top: rgba(255, 255, 255, 0.58);
  --glass-tint-mid: rgba(255, 255, 255, 0.34);
  --glass-tint-bottom: rgba(255, 255, 255, 0.46);
  color: var(--ink-1);
}


/* ============================================================
   6  BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
              box-shadow 0.25s ease,
              background-color 0.2s ease;
}

.btn svg { flex: 0 0 auto; }

.btn--primary {
  background: linear-gradient(135deg, var(--or-btn-1), var(--or-btn-2) 78%);
  color: #fff;
  box-shadow: var(--shadow-or), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(224, 104, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--secondary {
  color: var(--ink-1);
  background: linear-gradient(155deg, var(--glass-tint-top), var(--glass-tint-mid));
  border: 1.5px solid rgba(17, 20, 23, 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn--secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--ghost {
  color: var(--ink-1);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: rgba(198, 122, 0, 0.45); }

.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* Runder Pfeil-Button in Karten */
.arrow-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cy-soft);
  color: var(--cy-deep);
  transition: background-color 0.25s ease, transform 0.25s ease;
}


/* ============================================================
   7  KARTEN & TAGS
   ============================================================ */

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease;
}

.card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-1);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.card__body { padding: 22px; }
.card__title { font-size: 17px; font-weight: 800; color: var(--ink-1); margin: 12px 0 8px; }
.card__text  { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.card__icon  { color: var(--cy-1); }

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover .card__media img { transform: scale(1.045); }
.card:hover .arrow-dot { background: rgba(198, 122, 0, 0.20); transform: translateX(2px); }

/* Große, hervorgehobene Kachel (aktuell: 3D-Druck) über der normalen
   Leistungen-Reihe. Text liegt als Verlauf-Overlay auf dem Bild statt
   darunter, damit sie deutlich mehr Gewicht bekommt als die anderen. */
.feature-card { display: block; margin-bottom: var(--gap); }
.feature-card .card__media { aspect-ratio: 21 / 9; }

.feature-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3.4vw, 40px);
  background: linear-gradient(180deg, rgba(10, 8, 4, 0) 32%, rgba(10, 8, 4, 0.8) 100%);
  color: #fff;
}
.feature-card__badge {
  align-self: flex-start;
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 12px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--yl-1), var(--or-btn-1));
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 8px;
}
.feature-card__text {
  max-width: 540px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px;
}
.feature-card__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--or-btn-1), var(--or-btn-2) 78%);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--shadow-or), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover .feature-card__cta {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(224, 104, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

@media (max-width: 700px) {
  .feature-card .card__media { aspect-ratio: 4 / 3; }
}

.tag {
  display: inline-block;
  padding: 6px 13px;
  border-radius: var(--r-sm);
  background: var(--cy-soft);
  color: var(--cy-deep);
  font-size: 11.5px;
  font-weight: 700;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }


/* ============================================================
   8  HEADER / NAVIGATION
   Schwebende Glasleiste, ca. 85 % der Breite.
   ============================================================ */

/* .site-top umschließt Topbar + Navigation als eine Einheit, die
   gemeinsam oben kleben bleibt (siehe css/topbar.css). */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px 11px 20px;
}

.nav__logo img { height: 34px; width: auto; }

.nav__links {
  display: none;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--cy-deep); }
.nav__links a[aria-current="page"] { font-weight: 700; }

/* Produkte-Vorschau: Pfeil neben dem Link öffnet ein kurzes
   Dropdown mit den vier Kategorien. */
.nav__item--dropdown { position: relative; display: flex; align-items: center; gap: 2px; }

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 7px;
  background: none;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__dropdown-toggle:hover,
.nav__dropdown-toggle[aria-expanded="true"] {
  color: var(--cy-deep);
  background: rgba(198, 122, 0, 0.1);
}
.nav__dropdown-toggle svg { transition: transform 0.25s ease; }
.nav__dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: -14px;
  z-index: 5;
  width: 300px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__item--dropdown.is-open .nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background-color 0.15s ease;
}
.nav__dropdown-item:hover { background: rgba(198, 122, 0, 0.08); }
.nav__dropdown-item__title { font-size: 13.5px; font-weight: 700; color: var(--ink-1); }
.nav__dropdown-item__desc { font-size: 12px; font-weight: 500; color: var(--ink-3); line-height: 1.4; }

.nav__dropdown-item--all {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cy-deep);
}

.nav__actions { display: flex; align-items: center; gap: 9px; }

/* Anfragekorb-Button: bleibt auf jeder Größe sichtbar */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.cart-btn:hover { border-color: rgba(198, 122, 0, 0.45); }

.cart-btn__count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--or-btn-1);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
}

.nav__cta { display: none; }

/* Hamburger */
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}
.menu-btn span {
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: var(--ink-2);
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}
.menu-btn span:last-child { width: 11px; }

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { width: 17px; transform: translateY(-6px) rotate(-45deg); }

/* Mobilmenü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: calc(var(--header-h) + 26px) var(--pad-x) 40px;
  background: rgba(246, 247, 248, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.mobile-menu[data-open="true"] { opacity: 1; visibility: visible; transform: none; }

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink-1);
}
.mobile-menu .btn { margin-top: 28px; }

body[data-menu-open="true"] { overflow: hidden; }

@media (min-width: 1060px) {
  .nav { padding: 13px 14px 13px 26px; }
  .nav__logo img { height: 38px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-menu { display: none; }
}


/* ============================================================
   9  HERO
   ============================================================ */

.hero {
  position: relative;
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(16px, 2vw, 28px);
}

/* Direkt unter dem Hero ist der übliche Sektionsabstand (--section-y)
   zusammen mit dem Hero-Abstand zu viel Leerraum – hier etwas gestrafft. */
.hero + .section,
.hero + .section--tight {
  padding-top: calc(var(--section-y) * 0.55);
}

/* Klick auf "Leistungen" in der Nav: Sprungziel so verschieben, dass
   die Überschrift direkt unter der Kopfleiste erscheint statt hinter
   dem eigenen (reduzierten) Sektions-Abstand von oben zu verschwinden. */
#leistungen { scroll-margin-top: calc(var(--header-h) + 14px - (var(--section-y) * 0.55)); }

/* Sehr dezenter Farbschimmer im Hintergrund */
.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(760px 480px at 84% 2%, rgba(198, 122, 0, 0.10), transparent 60%),
    radial-gradient(620px 430px at 2% 34%, rgba(198, 122, 0, 0.06), transparent 65%);
}

.hero__grid {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}

.hero__title { margin: 12px 0 16px; }
/* "3D-Druck" im Hero-Titel: dezenter Verlauf in der Button-Orange-Farbe
   (gleicher Verlauf wie die Haupt-Buttons). Fallback-Farbe für Browser
   ohne background-clip:text, damit der Text nie unsichtbar wird. */
.hero__title-accent { color: var(--or-btn-1); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title-accent {
    background: linear-gradient(135deg, var(--or-btn-1), var(--or-btn-2) 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__actions .btn { flex: 1 1 100%; }   /* mobil volle Breite, ab 560px nebeneinander */

@media (min-width: 560px) {
  .hero__actions .btn { flex: 0 0 auto; }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
/* Ab hier passen die drei Punkte nebeneinander in eine Zeile */
@media (min-width: 1180px) {
  .hero__trust { flex-wrap: nowrap; gap: 22px; }
  .hero__trust li { white-space: nowrap; }
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.hero__trust svg { color: var(--cy-1); flex: 0 0 auto; }

/* Bild ohne harte Kante: weiche Maske + Glas-Chips davor */
.hero__visual {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__glow {
  position: absolute;
  width: 92%; max-width: 640px;
  aspect-ratio: 5 / 4;
  border-radius: 44%;
  background: radial-gradient(closest-side, rgba(198, 122, 0, 0.14), transparent 72%);
  filter: blur(6px);
}
/* Weiche Maske: das Bild läuft an den Rändern aus, statt hart
   als Rechteck zu enden. Radien knapp über der halben Boxbreite,
   damit die Kanten tatsächlich sichtbar ausblenden. */
.hero__image {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 5;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 50% 48%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 72% at 50% 48%, #000 55%, transparent 100%);
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* Hero-Schaufenster (Startseite): ein großes Bildfeld, das automatisch
   zwischen den 4 Angebotsbereichen wechselt (siehe initHeroShowcase in
   js/ui.js), statt sie als 2x2-Mosaik gleichzeitig zu zeigen.
   .hero__stack hält Schaufenster + Badge zusammen und stapelt sie
   senkrecht, damit das Badge darunter statt darüber steht. */
.hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 14px;
}
.hero__showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__showcase-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero__showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero__showcase-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__showcase .hero__mosaic-label {
  font-size: 14.5px;
  padding: 14px 18px 12px;
}
.hero__showcase-dots {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.hero__showcase-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: background-color .3s ease, transform .3s ease;
}
.hero__showcase-dots span.is-active {
  background: #fff;
  transform: scale(1.35);
}
.hero__mosaic-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px 9px;
  font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 12, 8, 0.72));
}
@media (max-width: 700px) {
  .hero__showcase .hero__mosaic-label { font-size: 12.5px; padding: 10px 12px 9px; }
  .hero__stack { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__showcase-slide { transition: none; }
}

.float-chip {
  position: absolute;
  padding: 13px 18px;
  border-radius: var(--r-md);
}
.float-chip__label { font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-bottom: 3px; }
.float-chip__value { font-size: 13.5px; font-weight: 800; color: var(--ink-1); }

.float-chip--bl { left: 0; bottom: 8%; }
.float-chip--tr {
  /* Nur im Hero-Stack verwendet (siehe .hero__stack): fließt dort als
     eigenes Flex-Kind unterhalb der Mosaik-Kacheln statt frei zu schweben. */
  position: static;
  display: flex;
  align-items: center;
  gap: 9px;
}
.float-chip--tr .dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cy-2), var(--cy-1));
}

/* Kräftiges "Made in Wien"-Badge (bewusst kein Glas-Look: soll auffallen, nicht verschmelzen).
   Steht frei unterhalb der Hero-Mosaik-Kacheln, starker Schatten sorgt
   dafür, dass es sich von jedem Hintergrund abhebt. */
.float-chip--strong {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  padding: 11px 26px 11px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cy-2), var(--cy-1));
  box-shadow: 0 16px 34px rgba(198, 122, 0, 0.42), 0 4px 10px rgba(198, 122, 0, 0.28), 0 0 0 1px rgba(122, 74, 0, 0.15);
}
.float-chip--strong .float-chip__value {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.float-chip--strong__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex: 0 0 auto;
}
.float-chip--strong__icon svg { width: 16px; height: 16px; }
@media (max-width: 700px) {
  .float-chip--strong { padding: 11px 18px 11px 12px; gap: 8px; }
  .float-chip--strong .float-chip__value { font-size: 13px; }
  .float-chip--strong__icon { width: 22px; height: 22px; }
  .float-chip--strong__icon svg { width: 13px; height: 13px; }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); }
  .hero__visual { min-height: 400px; }
}


/* ============================================================
   10  LEISTUNGEN
   ============================================================ */

.service-card .card__body { display: flex; flex-direction: column; gap: 0; }
.service-card .arrow-dot { margin-top: 16px; }


/* ============================================================
   11  QUALITÄT
   ============================================================ */

#qualitaet {
  position: relative;
}
#qualitaet::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(198, 122, 0, 0.07),
    rgba(198, 122, 0, 0.02) 55%,
    transparent 100%);
}

.quality {
  border-radius: var(--r-2xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: clamp(30px, 4vw, 62px);
  display: grid;
  gap: clamp(24px, 3vw, 32px);
}

.quality__intro h2 { margin: 14px 0 16px; }
.quality__intro p + p { margin-top: 12px; }

.quality__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
.quality__list li { padding-left: 0; }
.quality__list svg { color: var(--cy-1); margin-bottom: 14px; }
.quality__list b { display: block; font-size: 14px; font-weight: 800; color: var(--ink-1); line-height: 1.4; }

/* Ab 900px: Text bleibt oben volle Breite, die Qualitäts-Icons stehen als
   eigene Zeile darunter (statt als schmale, oft zu kurze zweite Spalte
   neben dem längeren "Über uns"-Text – das sah unausgeglichen aus). */
@media (min-width: 900px) {
  .quality__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-top: clamp(26px, 3.5vw, 38px);
    border-top: 1px solid var(--line);
  }
  .quality__list li { padding-inline: 22px; border-left: 1px solid var(--line); }
  .quality__list li:first-child { padding-left: 0; border-left: none; }
}


/* ============================================================
   12  CTA
   ============================================================ */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  min-height: 380px;
  display: flex;
  align-items: center;
}
/* Grundfarbe, damit die Fläche auch vor dem Laden des Fotos stimmt */
.cta__bg { position: absolute; inset: 0; background: #14181C; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 12, 16, 0.90) 0%, rgba(8, 12, 16, 0.66) 46%, rgba(8, 12, 16, 0.42) 100%),
    linear-gradient(180deg, rgba(8, 12, 16, 0.25) 0%, rgba(8, 12, 16, 0.05) 45%, rgba(8, 12, 16, 0.30) 100%);
}
.cta__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 26px;
  padding: clamp(30px, 4vw, 54px);
}
.cta__inner h2 { color: #fff; margin-bottom: 10px; }
.cta__inner p { color: rgba(255, 255, 255, 0.8); font-size: 16px; font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 860px) {
  .cta__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
  }
}


/* ============================================================
   13  FOOTER
   ============================================================ */

.site-footer {
  margin-top: var(--section-y);
  padding-block: clamp(38px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.site-footer__grid { display: grid; gap: 30px; }

.site-footer img.logo { height: 32px; width: auto; margin-bottom: 16px; }
.site-footer address { font-style: normal; font-size: 13.5px; line-height: 1.85; color: var(--ink-3); font-weight: 500; }
.site-footer a:hover { color: var(--cy-deep); }

.footer-heading {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 11px;
  border-radius: 12px;
  background: var(--bg-1);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.social a:hover { background: var(--cy-soft); color: var(--cy-deep); }
.social svg { flex: 0 0 auto; }

.copyright { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-top: 22px; }

@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr auto; align-items: start; }
  .site-footer__right { text-align: right; }
  .site-footer__right .footer-links,
  .site-footer__right .social { justify-content: flex-end; }
}


/* ============================================================
   13b  KATEGORIESEITEN
   ============================================================ */

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.breadcrumb svg { flex: 0 0 auto; }

.cat-hero { padding-top: clamp(24px, 3vw, 40px); }
.cat-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 14px; }
.cat-hero__tags { margin-top: 26px; }
.cat-hero__actions { margin-top: 28px; }
.cat-hero__title { margin: 14px 0 18px; }
.cat-hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.cat-hero__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  /* Schatten bewusst nach rechts/unten verschoben (statt zentriert): so liegt
     er nur auf der scharfen Bildseite und blendet nicht in die linke Kante
     hinein, wo das Foto ohnehin zu Weiß ausläuft. */
  box-shadow: 40px 24px 50px rgba(20, 30, 40, 0.14);
}
.cat-hero__image img { width: 100%; height: 100%; object-fit: cover; }
/* Übergang nur an der linken Kante: Seiten-Weiß -> rauchig-verschwommenes Bild -> scharfes Bild.
   Dafür liegt eine unscharfe Kopie desselben Fotos hinter dem scharfen Bild; beide werden
   mit einer linearen Maske gegeneinander ein-/ausgeblendet. */
.cat-hero__image-ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) saturate(1.05);
  transform: scale(1.18);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, rgba(0, 0, 0, 0.55) var(--fade-ghost-in, 15%), rgba(0, 0, 0, 0.55) var(--fade-ghost-out, 29%), transparent var(--fade-ghost-end, 50%));
  mask-image: linear-gradient(to right,
    transparent 0%, rgba(0, 0, 0, 0.55) var(--fade-ghost-in, 15%), rgba(0, 0, 0, 0.55) var(--fade-ghost-out, 29%), transparent var(--fade-ghost-end, 50%));
}
.cat-hero__image img:not(.cat-hero__image-ghost) {
  position: relative;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, transparent var(--fade-sharp-start, 16%), black var(--fade-sharp-full, 56%), black 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, transparent var(--fade-sharp-start, 16%), black var(--fade-sharp-full, 56%), black 100%);
}

@media (min-width: 900px) {
  .cat-hero__grid { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); }
}

/* Produktkarte mit Tags und Fußzeile */
.product-card .card__media { aspect-ratio: 3 / 2; }
.product-card .card__body { padding: 24px; }
.product-card .card__title { margin-top: 0; font-size: 18px; }
.product-card .card__text { margin-bottom: 16px; }

/* Icon-Variante für Produktkarten ohne eigenes Foto (Platzhalter bis echtes Bild vorliegt) */
.card__media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-1), var(--bg-0));
}
.card__media--icon svg { width: 58px; height: 58px; color: var(--cy-1); }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-1);
}
.card__foot .arrow-dot { width: 30px; height: 30px; }

/* Bereichskarte auf "Alle Produkte" – größer als eine Produktkarte */
.area-card { display: flex; flex-direction: column; }
.area-card .card__media { aspect-ratio: 21 / 9; }
.area-card .card__body { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; flex: 1; }
.area-card .card__title { margin-top: 0; font-size: clamp(21px, 2.4vw, 26px); }
.area-card .card__text { font-size: 14.5px; line-height: 1.6; }
/* Footer immer unten in der Karte, egal wie viele Zeilen der Text hat */
.area-card .card__foot { margin-top: auto; }

/* Beratungskarte am Ende des Rasters */
.help-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--r-lg);
  padding: 30px;
}
.help-card svg { color: var(--cy-1); margin-bottom: 18px; }
.help-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.help-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); margin-bottom: 22px; }


/* ============================================================
   13c  FORMULARE
   Wird von Kontaktseite und Konfigurator gemeinsam genutzt.
   ============================================================ */

.field { margin-bottom: 20px; }

.field label,
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 9px;
}
.field .req { color: var(--cy-deep); }
.field .opt { color: var(--ink-3); font-weight: 600; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 15px 18px;
  font-size: 15px;
  color: var(--ink-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: #9AA1A6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cy-1);
  box-shadow: 0 0 0 3px rgba(198, 122, 0, 0.16);
}

/* Auswahlfelder: eigener Pfeil statt System-Optik */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6266' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-grid { display: grid; gap: 0 22px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* Dateiauswahl */
.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  border: 1.5px dashed rgba(198, 122, 0, 0.35);
  background: var(--cy-softer);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.dropzone:hover,
.dropzone:focus-within { border-color: var(--cy-1); background: rgba(198, 122, 0, 0.07); }
.dropzone__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--cy-soft);
  color: var(--cy-deep);
}
.dropzone__text { display: block; min-width: 0; }
.dropzone__text strong { display: block; font-size: 14px; color: var(--ink-1); margin-bottom: 3px; }
.dropzone__text span { display: block; font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.dropzone input[type="file"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}

/* Honigtopf gegen Spam-Bots – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.checkbox-row { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 24px; }
.checkbox-row input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cy-btn-1); }
.checkbox-row label { font-size: 13.5px; color: var(--ink-3); font-weight: 500; line-height: 1.5; }
.checkbox-row a { color: var(--ink-1); font-weight: 700; text-decoration: underline; }

.form-status {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
}
.form-status.is-info    { background: var(--cy-soft); color: var(--cy-deep); }
.form-status.is-success { background: rgba(21, 128, 137, 0.12); color: #0B5A61; }
.form-status.is-error   { background: rgba(180, 38, 44, 0.10); color: #8E1F24; }


/* ============================================================
   13d  KONTAKTSEITE
   ============================================================ */

.contact-card {
  display: block;
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 15px;
  background: var(--cy-soft);
  color: var(--cy-deep);
  margin-bottom: 20px;
}
.contact-card__label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; }
.contact-card__value { display: block; font-size: 19px; font-weight: 800; color: var(--ink-1); margin-bottom: 18px; }
.contact-card__action { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--cy-deep); }

.contact-layout { display: grid; gap: var(--gap); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }

.contact-form-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(26px, 3.5vw, 44px);
}

.contact-aside { display: grid; gap: 18px; }

.contact-photo { position: relative; border-radius: var(--r-2xl); overflow: hidden; }
.contact-photo img { width: 100%; height: 230px; object-fit: cover; }
.contact-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8, 12, 16, 0.74), rgba(8, 12, 16, 0.36));
}
.contact-photo__caption { position: absolute; left: 28px; bottom: 24px; z-index: 1; color: #fff; }
.contact-photo__caption strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.contact-photo__caption span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

.info-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
}
.info-list { margin-top: 22px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-list svg { flex: 0 0 auto; margin-top: 2px; color: var(--cy-1); }
.info-list b { display: block; font-size: 14px; color: var(--ink-1); margin-bottom: 4px; }
.info-list span { font-size: 13px; line-height: 1.5; color: var(--ink-3); }

.cta-band {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 3.5vw, 44px) clamp(26px, 4vw, 52px);
  border-radius: var(--r-2xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 7px; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; gap: 30px; } }


/* ============================================================
   13e  ANFRAGE-STRECKE
   Konfigurator, Anfragekorb, Kontaktdaten
   ============================================================ */

.step-head {
  display: grid;
  gap: 22px;
  margin: 14px 0 34px;
}
.step-head h1 { margin: 12px 0 8px; }
@media (min-width: 900px) {
  .step-head { grid-template-columns: 1fr auto; align-items: end; }
}

/* Fortschritt über die drei Schritte */
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.steps .step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.steps .step + .step::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--line);
  margin-right: 5px;
}
.step__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-1);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-3);
}
.step.is-current { color: var(--ink-1); font-weight: 700; }
.step.is-current .step__dot { background: linear-gradient(135deg, var(--or-btn-1), var(--or-btn-2)); color: #fff; }
.step.is-done .step__dot { background: var(--cy-soft); color: var(--cy-deep); }

/* Zwei Spalten: Formular links, Zusammenfassung rechts */
.config-layout { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 1000px) { .config-layout { grid-template-columns: minmax(0, 1fr) 360px; } }

.config-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(22px, 3vw, 40px);
}

.config-field { border: 0; margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.config-field:first-child { padding-top: 4px; }
.config-field:last-child { border-bottom: 0; }
.config-field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-1);
  margin-bottom: 14px;
}
.config-field__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--cy-soft);
  color: var(--cy-deep);
  font-size: 11.5px;
  font-weight: 800;
}

.config-row { display: grid; gap: 0; }
@media (min-width: 620px) {
  /* Eine durchgehende Trennlinie unter der ganzen Zeile statt
     zwei verschieden langer Linien unter den beiden Spalten. */
  .config-row { grid-template-columns: 240px 1fr; gap: 0 40px; border-bottom: 1px solid var(--line); }
  .config-row .config-field { border-bottom: 0; }
}
/* Wenn "Übergabe" ausgeblendet ist (z. B. bei 3D Logos), darf "Menge"
   nicht auf 240px eingequetscht bleiben - die Zeile wird einspaltig. */
.config-row--single { grid-template-columns: 1fr !important; }

/* Auswahlkacheln */
.tile-group { display: flex; flex-wrap: wrap; gap: 10px; }
.tile {
  max-width: 100%;
  overflow-wrap: break-word;
  padding: 12px 19px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.tile:hover { border-color: rgba(198, 122, 0, 0.45); transform: translateY(-1px); }
.tile.is-active {
  background: linear-gradient(135deg, var(--yl-soft), var(--yl-softer));
  border-color: var(--yl-1);
  color: var(--yl-deep);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 178, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Modell-Kacheln (Ausführung mit Foto, z. B. 3D-Buchstaben) */
/* Eigenständiger Scroll-Bereich: Das Karten-Raster bekommt eine feste Höhe
   mit eigenem Scrollbalken, damit die Seite selbst nicht länger wird. */
.tile-group--models {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  max-height: 640px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  margin: 0 -14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}
.tile-group--models::-webkit-scrollbar { width: 8px; }
.tile-group--models::-webkit-scrollbar-track { background: transparent; }
.tile-group--models::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); border-radius: 8px; }
.tile-group--models::-webkit-scrollbar-thumb:hover { background: var(--cy-1); }
@media (max-width: 640px) {
  .tile-group--models { max-height: 520px; padding: 10px; margin: 0 -10px; }
}
.tile--model {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
  border-radius: var(--r-lg);
}
.tile--model:hover { transform: translateY(-2px); }
.tile--model.is-active {
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.10), rgba(255, 178, 0, 0.06));
}
.tile--model__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #14171a;
}
.tile--model__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Blickwinkel-Umschalter innerhalb einer Modell-Kachel: Pfeile + Punkte,
   überlagern das Foto, wechseln aber nie die Modell-Auswahl selbst. */
.tile--model__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(20, 23, 26, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
  z-index: 2;
}
.tile--model__img:hover .tile--model__nav { opacity: 1; }
.tile--model__nav:hover { background: rgba(20, 23, 26, 0.78); }
.tile--model__nav--prev { left: 6px; }
.tile--model__nav--next { right: 6px; }
/* Touch-Geräte kennen kein Hover - Pfeile dezent dauerhaft zeigen */
@media (hover: none) {
  .tile--model__nav { opacity: 0.85; }
}

.tile--model__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.tile--model__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease, transform 0.15s ease;
}
.tile--model__dot.is-active { background: #fff; transform: scale(1.3); }

.tile--model__name { font-size: 13.5px; font-weight: 800; color: var(--ink-1); }
.tile--model.is-active .tile--model__name { color: var(--yl-deep); }
.tile--model__desc { font-size: 12px; line-height: 1.5; color: var(--ink-3); font-weight: 500; }
.tile--model-plain {
  justify-content: center;
  min-height: 120px;
  text-align: center;
  align-items: center;
}

/* Icon-Kacheln (Format / Ausrichtung / Druck): kleines generatives
   SVG-Vorschaubild statt reinem Text, siehe iconForField in
   konfigurator.js. Eigenes, engeres Raster statt des umbrechenden
   Flex-Layouts der reinen Text-Kacheln, damit alle Kacheln gleich
   groß und sauber ausgerichtet sind. */
.tile-group--icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.tile--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  text-align: center;
}
.tile-icon {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ink-3);
  transition: color 0.2s ease;
}
.tile--icon.is-active .tile-icon { color: var(--yl-deep); }
.tile-icon__fold { stroke-width: 1.5; }
.tile-icon__content { stroke-width: 1.5; }
.tile-icon__back { opacity: 0.75; }
.tile-icon__blank { stroke-dasharray: 3 2.5; opacity: 0.5; }
.tile-icon__handle { fill: currentColor; stroke: none; }
.tile--icon__name { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.tile--icon.is-active .tile--icon__name { color: var(--yl-deep); }
.tile--icon-plain {
  justify-content: center;
  min-height: 96px;
  font-size: 13px;
  font-weight: 700;
}

/* Farb-Kacheln (aktuell: "Textilfarbe") - kleine Kreise statt Farbnamen.
   Der Name bleibt als Tooltip/Screenreader-Label erhalten. */
.tile-group--colors { align-items: center; gap: 12px; }
.tile--color {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile--color:hover { transform: translateY(0) scale(1.06); }
.tile--color.is-active {
  border-color: var(--yl-1);
  box-shadow: 0 0 0 3px var(--yl-soft), 0 6px 18px rgba(255, 178, 0, 0.18);
}
.tile--color__swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
/* Weiß braucht einen sichtbaren Rand, sonst verschwindet der Kreis
   auf dem hellen Kachel-Hintergrund. */
.tile--color__swatch--outline { box-shadow: inset 0 0 0 1.5px rgba(20, 23, 26, 0.28); }
.tile--color__swatch-rainbow {
  background: conic-gradient(from 0deg, #e63946, #f2a516, #f4d35e, #52b788, #3a86ff, #8338ec, #e63946);
}
.tile--color__swatch-multi {
  background: conic-gradient(#1a1a1a 0deg 90deg, #e63946 90deg 180deg, #3a86ff 180deg 270deg, #f4d35e 270deg 360deg);
}

/* Maß-Feld mit Skizze (aktuell: "Gesamtgröße" bei 3D Logos) */
.dim-field { max-width: 420px; }

.dim-field__sketch { display: flex; justify-content: center; padding: 4px 0 12px; }
.dim-field__svg { width: 100%; max-width: 300px; height: auto; display: block; }

.dim-field__bbox { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 5; }
.dim-field__wordmark { font-family: inherit; font-weight: 800; font-size: 56px; fill: var(--ink-1); }

.dim-field__measure {
  color: var(--ink-3);
  opacity: 0.5;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.dim-field__measure .dim-field__axis,
.dim-field__measure .dim-field__tick { stroke: currentColor; }
.dim-field__measure .dim-field__axis { stroke-width: 2; }
.dim-field__measure .dim-field__tick { stroke-width: 1.5; opacity: 0.7; }
.dim-field__measure .dim-field__arrowhead { fill: currentColor; }
.dim-field__measure .dim-field__label {
  fill: currentColor;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.dim-field__measure.is-active { color: var(--cy-deep); opacity: 1; }

.dim-field__controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.dim-field__select-wrap { position: relative; }
.dim-field__select {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-1);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dim-field__select:hover { border-color: var(--cy-1); }
.dim-field__select:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(198, 122, 0, 0.16); }
.dim-field__chevron { width: 11px; height: 8px; color: var(--ink-3); }
.dim-field__select[aria-expanded="true"] .dim-field__chevron { transform: rotate(180deg); }

.dim-field__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  min-width: 100%;
  padding: 6px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.dim-field__menu-item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: 0;
  background: none;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
}
.dim-field__menu-item:hover { background: var(--bg-2); }
.dim-field__menu-item.is-active { background: var(--yl-1); color: var(--ink-1); font-weight: 800; }

.dim-field__stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.dim-field__step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--cy-2), var(--cy-1));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.dim-field__step:hover { transform: scale(1.06); }
.dim-field__number {
  width: 46px;
  border: 0;
  background: none;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-1);
}
.dim-field__number:focus { outline: none; }
.dim-field__number::-webkit-outer-spin-button,
.dim-field__number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dim-field__number[type=number] { -moz-appearance: textfield; }

.dim-field__unit { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }

.dim-field__hint {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.config-field__hint {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

/* Schiebe-Feld ohne Umschalter (aktuell: "Tiefe" bei Leuchtbuchstaben) */
.slider-field { max-width: 480px; }
.slider-field__row { display: flex; align-items: center; gap: 18px; }

.slider-field__slider {
  flex: 1 1 auto;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--line);
  outline: none;
}
.slider-field__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cy-2), var(--cy-1));
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(198, 122, 0, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.slider-field__slider::-webkit-slider-thumb:hover { transform: scale(1.08); }
.slider-field__slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cy-2), var(--cy-1));
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(198, 122, 0, 0.35);
  cursor: pointer;
}
.slider-field__slider::-moz-range-track { height: 6px; border-radius: var(--r-pill); background: var(--line); }
.slider-field__slider:focus-visible { box-shadow: 0 0 0 3px rgba(198, 122, 0, 0.16); border-radius: var(--r-pill); }

.slider-field__value {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 46px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.slider-field__number {
  width: 40px;
  border: 0;
  background: none;
  text-align: right;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
}
.slider-field__number:focus { outline: none; }
.slider-field__number::-webkit-outer-spin-button,
.slider-field__number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.slider-field__number[type=number] { -moz-appearance: textfield; }
.slider-field__unit { font-size: 13.5px; font-weight: 700; color: var(--ink-3); }

.slider-field__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

/* Mengenwahl */
.qty { display: flex; align-items: center; gap: 10px; max-width: 230px; }
.qty button {
  flex: 0 0 auto;
  width: 44px; height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-2);
  transition: border-color 0.2s ease;
}
.qty button:hover { border-color: rgba(198, 122, 0, 0.45); }
.qty input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-1);
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input[type=number] { -moz-appearance: textfield; }

.hint { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.hint.is-required { color: var(--cy-deep); font-weight: 700; }

.link-btn {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cy-deep);
  text-decoration: underline;
}

/* Zusammenfassung */
.config-summary { display: grid; gap: 18px; }
@media (min-width: 1000px) { .config-summary { position: sticky; top: calc(var(--header-h) + 12px); } }

.summary-card { border-radius: var(--r-xl); overflow: hidden; }
.summary-card__media { height: 170px; overflow: hidden; }
.summary-card__media img { width: 100%; height: 100%; object-fit: cover; }
.summary-card__body { padding: 26px; }
.summary-card__body h2 { margin: 8px 0 20px; }

.sum-rows { margin-bottom: 22px; }
.sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.sum-row:first-child { border-top: 0; }
.sum-row span { color: var(--ink-3); font-weight: 500; }
.sum-row strong { color: var(--ink-1); font-weight: 700; text-align: right; }

.note-card {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.note-card svg { flex: 0 0 auto; margin-top: 2px; color: var(--cy-1); }
.note-card p { font-size: 13px; line-height: 1.6; color: var(--ink-3); font-weight: 500; }

/* Bestätigungsdialog */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-x);
  background: rgba(17, 20, 23, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal.is-open { opacity: 1; }

/* Wichtig: .modal setzt display:flex und würde sonst das
   hidden-Attribut überstimmen – der unsichtbare Dialog würde
   dann alle Klicks auf der Seite abfangen. */
.modal[hidden] { display: none; }
.modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--r-2xl);
  padding: 38px 34px 32px;
  text-align: center;
  background: var(--bg-2);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 10px;
  font-size: 20px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.modal__close:hover { background: var(--bg-1); }
.modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cy-soft);
  color: var(--cy-deep);
  margin-bottom: 18px;
}
.modal__box h2 { margin-bottom: 8px; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.modal__actions .btn { flex: 1 1 160px; }


/* --- Anfragekorb --- */
.basket-list { display: grid; gap: 16px; }

.basket-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: box-shadow 0.3s ease;
}
.basket-item:hover { box-shadow: var(--shadow-md); }
.basket-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.basket-item__area {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cy-deep);
  margin-bottom: 6px;
}
.basket-item__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.basket-item__specs { margin-bottom: 14px; }
.basket-item__specs .spec {
  padding: 6px 13px;
  border-radius: var(--r-sm);
  background: var(--bg-1);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}
.basket-item__note { font-size: 13px; line-height: 1.6; color: var(--ink-3); margin-bottom: 12px; }
.basket-item__note b { color: var(--ink-2); }
.basket-item__file {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.basket-item__file svg { color: var(--cy-1); flex: 0 0 auto; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { border-color: rgba(198, 122, 0, 0.45); color: var(--cy-deep); }
.icon-btn--danger:hover { border-color: rgba(180, 38, 44, 0.4); color: #B4262C; }

.add-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1.5px dashed rgba(198, 122, 0, 0.35);
  background: var(--cy-softer);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.add-more:hover { border-color: var(--cy-1); background: rgba(198, 122, 0, 0.08); }
.add-more__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--cy-soft);
  color: var(--cy-deep);
}

.btn.is-disabled { opacity: 0.45; pointer-events: none; }
.btn.is-sending { opacity: 0.7; pointer-events: none; }

/* Leerer Zustand */
.empty-state {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 30px;
  border-radius: var(--r-2xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--cy-soft);
  color: var(--cy-deep);
  margin-bottom: 20px;
}
.empty-state h2 { margin-bottom: 10px; }
.empty-state .btn { margin-top: 24px; }

/* Zusammenfassung im letzten Schritt */
.checkout-items { display: grid; gap: 14px; }
.checkout-item { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checkout-item:last-child { border-bottom: 0; padding-bottom: 0; }
.checkout-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.checkout-item__head strong { font-size: 14px; color: var(--ink-1); }
.checkout-item__head span { font-size: 13px; font-weight: 700; color: var(--cy-deep); flex: 0 0 auto; }
.checkout-item p { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* Bestätigungsseite */
.success-panel {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(18px, 2.4vw, 28px) clamp(26px, 4vw, 52px) clamp(34px, 5vw, 60px);
  border-radius: var(--r-2xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.success-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--cy-soft);
  color: var(--cy-deep);
  margin-bottom: 16px;
}
.success-steps { margin: 34px 0 0; text-align: left; }
.success-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.success-steps li span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cy-soft);
  color: var(--cy-deep);
  font-size: 12.5px;
  font-weight: 800;
}
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.success-panel .hint a { color: var(--cy-deep); }



/* ============================================================
   13f  RECHTLICHE SEITEN
   Impressum, Datenschutz, AGB – reine Textseiten
   ============================================================ */

.legal-hero { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.legal-hero h1 { margin: 14px 0 14px; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.12; font-weight: 800; }

.legal-content { max-width: 760px; }

.legal-section {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 38px);
  margin-bottom: 18px;
}
.legal-section h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
  margin-bottom: 14px;
}
.legal-section p { font-size: 15px; line-height: 1.75; color: var(--ink-2); margin-bottom: 14px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--cy-deep); font-weight: 600; text-decoration: underline; }
.legal-section strong, .legal-section b { color: var(--ink-1); font-weight: 700; }

/* Datenblock im Impressum: Bezeichnung über dem Wert.
   Ohne die display-Angaben stehen span und b nebeneinander und
   kleben aneinander ("FirmenbuchnummerFN 578526z"). */
.legal-data-grid { display: grid; gap: 20px; }
@media (min-width: 620px) { .legal-data-grid { grid-template-columns: 1fr 1fr; } }
.legal-data-grid > div { min-width: 0; }


/* ============================================================
   13g  BLOG
   Übersicht (Karten) + einzelne Artikelseite. Artikeltext nutzt
   dieselbe Optik wie .legal-content/.legal-section (schmale,
   gut lesbare Spalte).
   ============================================================ */
.blog-card .card__media { aspect-ratio: 16 / 9; }
.blog-card__meta,
.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
}
.blog-post__meta { margin-bottom: 16px; }
.blog-card__meta .tag, .blog-post__meta .tag { padding: 4px 10px; }

.blog-post__hero-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.blog-post__hero-image img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.legal-data-grid span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.legal-data-grid b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
  overflow-wrap: anywhere;
}

/* ============================================================
   14  HILFSKLASSEN & ANIMATIONEN
   ============================================================ */

.center { text-align: center; }

/* Sanftes Einblenden beim Scrollen (per JS aktiviert) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }


/* ============================================================
   15  RESPONSIVE-FEINSCHLIFF
   ============================================================ */

/* Auf Touch-Geräten kein Hover-Anheben (sonst „klebt“ der Effekt) */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .card:hover .card__media img { transform: none; }
  .btn--primary:hover,
  .btn--secondary:hover { transform: none; }
}

/* Mobil: schwächerer Blur, weniger Rechenlast */
@media (max-width: 700px) {
  :root {
    --glass-blur: 14px;
    --glass-sat: 140%;
    --glass-shadow: var(--shadow-md);
  }
  /* Varianten setzen --glass-blur lokal, deshalb hier ebenfalls senken */
  .glass--card, .glass--chip { --glass-blur: 12px; --glass-sat: 135%; }
  /* Das Glas-Chip-Original wird mobil ausgeblendet (Performance/Platz),
     das kräftige Badge (kein Glas-Look) bleibt bewusst sichtbar. */
  .float-chip--tr:not(.float-chip--strong) { display: none; }
}

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   15  WHATSAPP-BUTTON (schwebend, auf jeder Seite)
   ============================================================ */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 140, 63, 0.38), 0 2px 8px rgba(18, 140, 63, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.whatsapp-float img { width: 30px; height: 30px; }
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(18, 140, 63, 0.45), 0 3px 10px rgba(18, 140, 63, 0.26);
}

@media (max-width: 640px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .whatsapp-float img { width: 27px; height: 27px; }
}


/* ============================================================
   16  INSTAGRAM
   ============================================================ */

.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (min-width: 800px) {
  .insta__grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
  }
}
.insta-tile {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
}
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insta-tile__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 20, 13, 0.0);
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease, background .25s ease;
}
.insta-tile:hover .insta-tile__overlay { opacity: 1; background: rgba(26, 20, 13, 0.45); }
.insta-tile:hover img { transform: scale(1.06); }
.insta__follow { display: flex; justify-content: center; margin-top: 28px; }


/* ============================================================
   17  3D-MODELLE-TEASER (Startseite & 3D-Druck-Seite)
   ============================================================ */

.model-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-block: var(--gap);
  padding: 22px 24px;
  border-radius: var(--r-xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.model-teaser__thumbs {
  display: flex;
  flex: 0 0 auto;
}
.model-teaser__thumbs img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-2);
  margin-left: -16px;
  box-shadow: var(--shadow-sm);
}
.model-teaser__thumbs img:first-child { margin-left: 0; }
.model-teaser__more {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin-left: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  border: 3px solid var(--bg-2);
}
.model-teaser__text { flex: 1 1 220px; min-width: 0; }
.model-teaser__text h3 { font-size: 17px; margin-bottom: 4px; }
.model-teaser__count { color: var(--cy-deep); margin-right: 3px; }
.model-teaser__text p { font-size: 13px; color: var(--ink-3); margin: 0; }
.model-teaser .btn { flex: 0 0 auto; }
@media (max-width: 560px) {
  .model-teaser { padding: 18px; }
  .model-teaser .btn { width: 100%; }
}


/* ============================================================
   18  3D-MODELLE-ÜBERSICHT (3d-modelle.html)
   ============================================================ */

.model-hero__grid { grid-template-columns: 1fr !important; }

.model-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}
.model-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
.model-filter__chip:hover { border-color: var(--cy-1); }
.model-filter__chip.is-active {
  background: linear-gradient(135deg, var(--yl-soft), var(--yl-softer));
  border-color: var(--yl-1);
  color: var(--yl-deep);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.model-grid__empty { color: var(--ink-3); font-size: 14px; padding: 20px 0; }

.model-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.2s ease;
}
.model-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.model-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #14171a;
}
.model-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.model-card:hover .model-card__img img { transform: scale(1.05); }
.model-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 20, 23, 0.55);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.model-card__name { font-size: 14.5px; font-weight: 800; color: var(--ink-1); line-height: 1.3; }
/* Jede Zusatz-Info in eigener Zeile - vorher wrapten kurze Wörter (z. B.
   "Massiv"+"Kompakt") nebeneinander in dieselbe Zeile, während längere
   Wörter umbrachen. Dadurch stand es je nach Karte uneinheitlich. */
.model-card__tags { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.model-card__tag { display: inline-flex; align-items: center; gap: 4px; }

/* --- Modellansicht: breiter Dialog, Galerie + Info --- */
.modal__box--wide {
  max-width: 900px;
  text-align: left;
  padding: 30px;
}
@media (max-width: 720px) {
  .modal__box--wide { padding: 20px; max-width: 100%; }
}
.model-modal__grid {
  display: grid;
  gap: 26px;
}
@media (min-width: 760px) {
  .model-modal__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
}

.model-gallery {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #14171a;
}
.model-gallery__main {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: inherit;
}
.model-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.model-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 23, 26, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.model-gallery__nav:hover { background: rgba(20, 23, 26, 0.8); }
.model-gallery__nav--prev { left: 10px; }
.model-gallery__nav--next { right: 10px; }
.model-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.model-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.model-gallery__dot.is-active { background: #fff; transform: scale(1.3); }
.model-gallery__caption { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); text-align: center; }

.model-modal__info { display: flex; flex-direction: column; }
.model-modal__info .tag-row { margin-bottom: 14px; }
.model-modal__info h2 { margin-bottom: 10px; }
.model-modal__desc { color: var(--ink-3); margin-bottom: 22px; }
.model-modal__actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.model-modal__actions .btn--secondary { background: var(--bg-1); }

html.no-scroll { overflow: hidden; }
