/* =======================================================================
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ClusterBuy – Unified Stylesheet
   Struktur:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 1) Reset & Basis 2) Design-Tokens (:root) 3) Typografie 4) Header & Navigation 5) Layout & Container 6) Oktagone (.hex) 7) Hero (Landing) 8) Service-Kette (Landing) 9) Areas / Liefercluster (Landing) 10) Kontaktformular (Landing) 11) Footer (Landing) 12) Utilities (Landing) 13) Portal: Eingabe,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Produktliste,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Checkout,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Sidebar 14) Bestellungen (Liste/Übersicht) 15) Bestellung (Detail) 16) Profil (Formularseite) 17) Responsive
   ======================================================================= */


/* =========================================================
   1) RESET & BASIS
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
    scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
    height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
    font-family: var(--font-ui);
    font-size: var(--text-size);
    line-height: var(--text-line);
  color: var(--color-text);
  background-color: var(--color-bg);
    background-image: url("/assets/svg/bg-main.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hintergrund-Layer (Portal nutzt dieses Muster via body direkt) */
.site-bg {
  position: fixed;
  inset: 0;
  background: url("/assets/svg/bg-main.svg") center top / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* =========================================================
   2) DESIGN-TOKENS (:root)
   ========================================================= */
:root {
  /* Basisfarben */
    --bg: #f6f7fb;
    --card: #fff;
    --border: #e8e8ec;
    --text: #111;
    --link: #0a66c2;

  /* Themenfarben */
    --dl-color-theme-neutral-dark: #191818;
    --dl-color-theme-neutral-light: #FBFAF9;
    --dl-color-theme-primary1: #FFD786;
    --dl-color-theme-secondary1: #FFFFFF;
    --dl-color-theme-secondary2: #FBF1EB;
  
    --color-text: var(--dl-color-theme-neutral-dark);
    --color-text-muted: #6b7280;
    --color-bg: var(--dl-color-theme-neutral-light);
    --color-surface: var(--dl-color-theme-secondary1);
    --color-surface-soft: var(--dl-color-theme-secondary2);
    --color-accent: var(--dl-color-theme-primary1);
    --color-border: #CCC;
    --color-border-subtle: #E6E6E6;
  
    /* Aliasse (rückwärtskompatibel) */
    --border-subtle: var(--color-border-subtle);

  /* Layout */
  --header-h: 64px;
    --logo-h: 56px;
    --sidebar-w: 320px;
    --content-max: 1224px;

  /* Länderfarben (Areas) */
    --c-white: #fff;
    --c-ch-red: #D00000;
    --c-ge-red: #CF142B;
  
    /* Abstände (Landing) */
    --gap-title-to-hex: 12px;
    --gap-hx-to-hex: 16px;
  
    /* Oktagon-Layout (Landing) */
    --hero-hex-w: min(720px, 98vw);
    --oct-overlap: -0.18;
    --oct-cut: 0.30;
    --oct-eps: 0.008;
    --oct-step: calc(1 - var(--oct-cut) + var(--oct-eps));
    --service-shift-x: -300px;
  
    /* Karten-Raster (Portal – Produktkarten) */
    --card-w: 400px;
    --card-h: 220px;
    --left-col: 160px;
    --meta-col: 220px;
    --img-size: 72px;
  
    /* Felder (Portal) */
    --digits-width: 7.5ch;
    --field-width: calc(var(--digits-width) + 34px);
    --field-height: 28px;
    --label-w: 120px;
  
    /* Abstände & Radien */
    --grid-gap: 12px;
    --meta-gap-x: 6px;
    --meta-gap-y: 2px;
    --radius-s: 4px;
    --radius-m: 6px;
    --radius-l: 8px;
    --bw-1: 1px;
    --bw-2: 1px;
  
    /* Typografie */
    --font-ui: Raleway, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Playfair Display", serif;
    --text-size: 14px;
    --text-line: 1.6;
  
    /* Responsive Schriftgrößen */
    --fs-300: clamp(12px, 1.2vw, 14px);
    --fs-400: clamp(14px, 1.4vw, 16px);
    --fs-500: clamp(16px, 1.8vw, 18px);
    --fs-600: clamp(18px, 2.2vw, 22px);
    --fs-700: clamp(22px, 3.0vw, 28px);
    --fs-800: clamp(28px, 3.8vw, 36px);
  
    /* Interne Seiten (style.css) */
    --fz-12: 12px;
    --fz-13: 13px;
    --fz-14: 14px;
  }
  
  @media (max-width: 380px) {
    :root {
      --fs-700: clamp(20px, 4vw, 24px);
      --fs-800: clamp(24px, 5vw, 30px);
    }
}


/* =========================================================
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 3) TYPOGRAFIE
   ========================================================= */
h1,
h2,
h3,
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: var(--fs-700);
  letter-spacing: .32em;
  text-transform: uppercase;
  margin: 0 0 8px;
  text-align: center;
}

.section-title.spaced span {
  margin-right: 1.2em;
}

.section-title.spaced span:last-child {
  margin-right: 0;
}

.title-underline {
  margin: 8px auto var(--gap-title-to-hex);
}

.stat .num {
  font-size: var(--fs-600);
}

.stat .label {
  font-size: var(--fs-300);
  letter-spacing: .08em;
  text-transform: uppercase;
}

p,
li,
a,
label,
input,
select,
textarea,
button {
  font-family: var(--font-ui);
  line-height: var(--text-line);
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('Fonts/Fraunces_72pt-SemiBold.woff2') format('woff2');
}


/* =========================================================
   4) HEADER & NAVIGATION
   ========================================================= */
.home-container2,
.site-header {
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
  height: var(--header-h);
  display: flex;
    align-items: center;
    justify-content: space-between;
  padding: 0 24px 0 2cm;
  background: #fff;
  border-bottom: 1px solid var(--color-border-subtle);
    z-index: 1000;
}

.site-header-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.brand-wrap,
.logo-container {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none;
}
.logo-container:hover,
.logo-container:hover .logo-text,
.logo-container:hover .logo-slogan {
  text-decoration: none;
}
.site-logo {
  display: block;
    height: var(--logo-h);
    width: auto;
}

/* Logo-Icon */
.logo-container>img {
  width: 56px !important;
  height: 56px !important;
  flex-shrink: 0;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #0A0A0A;
  line-height: 1;
}

/* Auf der Landing-Page ist das Logo größer */
.home-container2 .logo-text,
.site-header--landing .logo-text {
  font-size: 3.575rem !important;
  /* 2.75rem * 1.3 = 3.575rem */
}

.logo-slogan {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.48rem;
  font-family: 'Geist', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a3a3a3;
  line-height: 1;
  justify-content: center;
}

.slogan-sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #C2410C;
  clip-path: polygon(29.29% 0%, 70.71% 0%,
      100% 29.29%, 100% 70.71%,
      70.71% 100%, 29.29% 100%,
      0% 70.71%, 0% 29.29%);
  flex-shrink: 0;
  font-size: 0;
  color: transparent;
}

@media (max-width: 640px) {
  .logo-container { gap: 8px !important; }
  .logo-container > img { width: 36px !important; height: 36px !important; }
  .logo-text { font-size: 1.7rem !important; }
  .logo-slogan { display: none !important; }
}
@media (max-width: 400px) {
  .logo-container > img { width: 28px !important; height: 28px !important; }
  .logo-text { font-size: 1.4rem !important; }
}

/* Desktop-Nav */
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav-links a {
  padding: 8px 6px;
  border-radius: 6px;
}

.site-nav-links a:hover {
  background: rgba(0, 0, 0, .06);
}

.btn-portal {
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

/* Mobile-Nav */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 28px;
  color: #111;
  cursor: pointer;
  margin-left: 12px;
  transition: opacity .2s ease;
}

.nav-toggle:hover {
  opacity: .6;
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: 220px;
  background: #fff;
  border-left: 1px solid var(--color-border-subtle);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 999;
}

.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: var(--text-line);
}

.mobile-nav a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.mobile-nav .btn-portal {
  display: block;
  margin: 12px;
  text-align: center;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
}


/* =========================================================
   5) LAYOUT & CONTAINER
   ========================================================= */
.has-fixed-header { padding-top: var(--header-h); }

.home-container1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-main {
  margin-top: var(--header-h);
  padding: 0 16px;
}

/* Interner Seitencontainer (Bestellungen, Profil etc.) */
.container {
  width: 100%;
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px;
  }
  
  /* Landing-Container mit mehr Breite */
  .section {
    background: transparent;
    padding: clamp(36px, 6vw, 72px) 16px;
  }
  
  .section>.container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Anchor-Offsets */
  #start,
  #service,
  #about,
  #areas,
  #contact {
    scroll-margin-top: 40px !important;
  }
  
  #start {
    padding-top: clamp(12px, 3vw, 24px);
  }
  
  #service {
    padding-top: clamp(18px, 3vw, 36px);
  }
  
  #areas {
    padding-top: clamp(18px, 3vw, 36px);
  }
  
  #contact {
    padding-bottom: 280px;
  }
  
  
  /* =========================================================
                   6) OKTAGONE (.hex)
                   ========================================================= */
  .hex {
    --hex-bg: var(--dl-color-theme-primary1);
    position: relative;
    display: grid;
    place-items: left;
    text-align: center;
  
    width: min(520px, 85vw);
    aspect-ratio: 1 / 1;
    background: var(--hex-bg);
  
    clip-path: polygon(30% 0, 70% 0,
        100% 30%, 100% 70%,
        70% 100%, 30% 100%,
        0 70%, 0 30%);
  
    padding: clamp(12px, 2.6vw, 22px);
    margin: 16px auto;
    line-height: 1.3;
  }
  
  .hex>*+* {
    margin-top: 6px;
  }
  
  /* Varianten */
  .hex--decent_orange {
    --hex-bg: #FFD786;
  }
  
  .hex--sun {
    --hex-bg: #FFD786;
  }
  
  .hex--light {
    --hex-bg: #e6e6e6;
  }
  
  .hex--hero {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  }
  
  /* Globaler Soft-Innenrand */
  .hex::after {
    content: "";
    position: absolute;
    inset: 14px;
    clip-path: inherit;
    border: 1px solid rgba(0, 0, 0, 0.22);
    pointer-events: none;
  }
  
  /* Typografie in Oktagonen */
  .hex,
  .hex p,
  .hex a,
  .hex li {
    font-family: var(--font-ui);
    font-size: var(--text-size);
    line-height: var(--text-line);
    color: var(--color-text);
  }
  
  .hex h3,
  .hex h4 {
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(12px, 1.4vw, 14px);
    line-height: 1.4;
    margin: 0 0 8px;
  }
  
  /* Paarweise Oktagone */
  .hex-pair {
    display: flex;
    gap: var(--gap-hx-to-hex);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  
  /* =========================================================
                   7) HERO (Landing – #start)
                   ========================================================= */
  .hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  #start .section-title {
    margin-top: 0;
  }
  
  #start .hex-pair {
    margin-top: var(--gap-title-to-hex);
  }
  
  #start .hex-content {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: var(--text-size) !important;
  }
  
  #start .hex--special,
  #start .hex--adjacent {
    width: var(--hero-hex-w);
  }
  
  #start .hex--adjacent {
    background: #e6e6e6;
  }
  
  #start .hex--adjacent .hero-video {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .text-hero-body {
    font-family: var(--font-ui);
    font-size: var(--text-size);
    line-height: var(--text-line);
    color: var(--color-text);
    margin: 0;
  }
  
  .text-hero-lead {
    font-family: var(--font-ui);
    font-size: clamp(14px, 1.8vw, 18px) !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: var(--text-line);
    margin: 0 0 8px;
    color: var(--color-text);
  }
  
  .video-caption {
    font-size: clamp(11px, 1.2vw, 13px) !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: var(--text-line);
    margin-bottom: 8px;
  }
  
  .video-embed {
    width: 90%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
  
  .video-embed iframe,
  .video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
  }
  
  #about .section-title {
    margin-bottom: 0;
  }
  
  #about .title-underline {
    width: 72px;
    height: 2px;
  }
  
  #about .hex {
    margin-top: 0;
  }
  
  
  /* =========================================================
                   8) SERVICE-KETTE (Landing – #service)
                   ========================================================= */
  .hex-chain {
    --oct-w: clamp(320px, 32vw, 410px);
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: calc((var(--oct-w) * var(--oct-step)) + var(--oct-w) + 40px);
  }
  
  #service .hex-chain .hex {
    position: absolute;
    width: var(--oct-w);
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: clamp(12px, 2vw, 18px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
  }
  
  #service .hex::after,
  #service .hex--hero::after,
  #service .hex--special::after {
    display: block !important;
  }
  
  #service .hex-chain .hex:nth-child(1) {
    left: calc(50vw + var(--service-shift-x) - (var(--oct-w) * 0.5) - (var(--oct-w) * var(--oct-step)));
    top: calc(var(--oct-w) * var(--oct-step));
  }
  
  #service .hex-chain .hex:nth-child(2) {
    left: calc(50vw + var(--service-shift-x) - (var(--oct-w) * 0.5));
    top: 0;
  }
  
  #service .hex-chain .hex:nth-child(3) {
    left: calc(50vw + var(--service-shift-x) - (var(--oct-w) * 0.5) + (var(--oct-w) * var(--oct-step)));
    top: calc(var(--oct-w) * var(--oct-step));
  }
  
  #service .hex-chain .hex:nth-child(4) {
    left: calc(50vw + var(--service-shift-x) - (var(--oct-w) * 0.5) + 2*(var(--oct-w) * var(--oct-step)));
    top: 0;
  }
  
  #service .hex-chain .hex:nth-child(5) {
    left: calc(50vw + var(--service-shift-x) - (var(--oct-w) * 0.5) + 3*(var(--oct-w) * var(--oct-step)));
    top: calc(var(--oct-w) * var(--oct-step));
  }
  
  .hex-title-service {
    margin: 0 0 6px;
    font-size: clamp(14px, 2vw, 20px);
    line-height: 1.8;
  }
  
  .text-service-body {
    margin: 0;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.4;
  }
  
  #service .hex-content--video {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #service .hex-content--video .video-caption {
    font-family: var(--font-ui);
    font-size: var(--text-size);
    letter-spacing: .08em;
    color: #111;
    margin: 0 0 10px;
    text-align: center;
  }
  
  #service .hex-content--video .video-embed {
    width: 85%;
    aspect-ratio: 16 / 9;
  }
  
  
  /* =========================================================
                   9) AREAS / LIEFERCLUSTER (Landing – #areas)
                   ========================================================= */
  #areas {
    --oct-w: clamp(120px, 10vw, 155px);
    --row-gap-y: 18px;
    --tile-gap-x: 16px;
    --areas-gray: #e6e6e6;
    --areas-orange: #FFD786;
  }
  
  #areas .hex-grid,
  #areas #areasRows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--row-gap-y);
  }
  
  #areas .hex-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--tile-gap-x);
    margin: 0 auto;
    width: 100%;
    flex-wrap: nowrap;
    transform: none !important;
  }
  
  #areas .hex-row .hex {
    font-size: 10px;
    width: var(--oct-w);
    aspect-ratio: 1 / 1;
    height: var(--oct-w);
    padding: clamp(8px, 1vw, 10px);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    place-items: center;
    text-align: center;
    --hex-bg: var(--areas-gray);
    color: #111;
  }
  
  #areas .hex-row:nth-child(2) .hex {
    --hex-bg: var(--areas-orange) !important;
  }
  
  #areas .cluster-country {
    display: grid;
    gap: 2px;
    margin-top: 2px;
    text-align: center;
    font-family: var(--font-ui);
    font-size: var(--text-size);
    line-height: var(--text-line);
  }
  
  #areas .cluster-country .country-flag {
    font-size: 2.2rem;
    line-height: 1;
  }
  
  #areas .cluster-country .country-name {
    font-size: 0.95rem;
    opacity: 0.9;
  }
  
  #areas .cluster-next-delivery {
    display: grid;
    gap: 0;
    margin-top: -2px;
    line-height: 1.15;
    font-size: 0.95rem;
    text-align: center;
    font-family: var(--font-ui);
  }
  
  #areas .cluster-next-delivery .next-label {
    opacity: 0.85;
  }
  
  #areas .cluster-next-delivery .next-date {
    font-weight: 700;
  }
  
  #areas .ch-map {
    width: 100%;
    max-width: 1200px;
    height: 640px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    background: #fff;
  }
  
  
  /* =========================================================
                   10) KONTAKTFORMULAR (Landing – #contact)
                   ========================================================= */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 24px;
    align-items: start;
  }
  
  #contact .contact-form-wrapper {
    width: 540px;
    height: auto;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  #contact .contact-form-wrapper h3 {
    text-align: center;
  }
  
  #contact .contact-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  
  #contact .contact-form .form-row {
    display: grid;
    gap: 6px;
    margin-bottom: 4px;
  }
  
  #contact .contact-form .form-row.row-4 {
    grid-template-columns: 80px 80px 1fr 1fr;
  }
  
  #contact .contact-form .form-row.row-2 {
    grid-template-columns: 1fr 1fr;
  }
  
  #contact .contact-form .field {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  #contact .contact-form label {
    font-size: var(--text-size);
    color: var(--color-text);
    font-family: var(--font-ui);
  }
  
  #contact .contact-form .input,
  #contact .contact-form .select,
  #contact .contact-form .textarea {
    width: 100%;
    font-size: var(--text-size);
    font-family: var(--font-ui);
    height: 26px;
    padding: 2px 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: var(--color-surface);
    color: var(--color-text);
  }
  
  #contact .contact-form .textarea {
    min-height: 70px;
    resize: vertical;
    height: auto;
  }
  
  #contact .contact-form .select {
    appearance: none;
  }
  
  #contact .contact-form .actions {
    text-align: right;
    margin-top: 6px;
  }
  
  #contact .contact-form .btn-submit {
    display: inline-block;
    padding: 6px 12px;
    font-size: var(--text-size);
    font-family: var(--font-ui);
    border: 1px solid #ccc;
    border-radius: 4px;
    background: var(--dl-color-theme-primary1);
    color: #000;
    cursor: pointer;
    transition: filter .2s ease;
  }
  
  #contact .contact-form .btn-submit:hover {
    filter: brightness(.98);
  }
  
  #contact .contact-right .hex {
    max-width: 520px;
    width: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    margin-top: 0;
  }
  
  #contact .contact-right .hex>div {
    max-width: 85%;
  }
  
  #contact .contact-right .hex h3,
  #contact .contact-right .hex p,
  #contact .contact-right .hex a {
    font-family: var(--font-ui);
    font-size: var(--text-size);
    line-height: var(--text-line);
    color: var(--color-text);
  }
  
  #contact .contact-right .hex h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  
  #contact .contact-right .hex p {
    font-weight: 400;
  }
  
  
  /* =========================================================
                   11) FOOTER (Landing)
                   ========================================================= */
  .site-footer {
    text-align: center;
    padding: 18px 12px;
    border-top: 1px solid var(--color-border-subtle);
    background: #fff;
    font-size: var(--text-size);
    font-family: var(--font-ui);
    line-height: var(--text-line);
}


/* =========================================================
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 12) UTILITIES (Landing + übergreifend)
   ========================================================= */
.link-back {
  font-size: var(--fz-12);
  color: var(--color-text);
  border: var(--bw-1) solid var(--color-border-subtle);
    padding: 6px 10px;
  border-radius: var(--radius-s);
  background: var(--color-surface);
  cursor: pointer;
    text-decoration: none;
}
.link-back:hover {
  text-decoration: none;
  filter: brightness(.98);
}

.breadcrumbs,
.order-breadcrumbs,
.profil_breadcrumbs {
  font-size: var(--fz-12);
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.card {
  background: var(--color-surface);
  border: var(--bw-1) solid var(--color-border-subtle);
  border-radius: var(--radius-l);
  padding: 18px;
}

.h2 {
  margin: 0 0 8px;
  font-size: var(--fz-14);
}

.note {
  font-size: var(--fz-12);
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.muted {
  color: #666;
}

.filters {
  display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.filters .input,
.filters .select {
  height: 38px;
  padding: 6px 10px;
  border: var(--bw-1) solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--fz-12);
}

.stats-bar {
  display: flex;
  gap: 16px;
}

/* Utility-Klassen */
.u-mt-0 {
  margin-top: 0;
}

.u-mb-0 {
  margin-bottom: 0;
}

.u-mb-4 {
  margin-bottom: 4px;
}

.u-mb-16 {
  margin-bottom: 16px;
}

.grid-center {
  display: grid;
  gap: 0;
  justify-items: center;
}

.hex-col-gap2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


/* =========================================================
   13) PORTAL: EINGABE, PRODUKTLISTE, CHECKOUT, SIDEBAR
   ========================================================= */

/* Portal-Main: Platz für rechte Sidebar */
.home-main--portal {
  padding-right: calc(var(--sidebar-w) + 24px);
}

.home-main>section {
  max-width: var(--content-max);
  margin: 20px auto 0;
  width: 100%;
}

/* Eingabe */
.home-input-group {
  display: grid;
  grid-template-columns: 1fr max-content;
  grid-template-rows: auto auto;
  column-gap: 4px;
  row-gap: 2px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  max-width: var(--content-max);
  margin: 0 54px;
}

.home-input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 10px 16px;
  border: var(--bw-1) solid var(--color-border);
  border-radius: var(--radius-m) 0 0 var(--radius-m);
  font-size: 16px;
  background: var(--color-surface);
  color: var(--color-text);
}

.home-button {
  height: 40px;
  padding: 0 16px;
  border: var(--bw-1) solid var(--color-border);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.status {
  grid-column: 1 / -1;
  min-height: 1.1em;
  color: #666;
  margin: 0;
  line-height: 1.2;
}

.summary-text {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
}

/* Produktliste */
.product-list {
  list-style: none;
  margin: 16px auto 0;
  padding: 0;
  width: 100%;
  max-width: var(--content-max);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, var(--card-w)));
  gap: var(--grid-gap);
  justify-content: center;
}

.product-item {
  position: relative;
  width: var(--card-w);
  height: var(--card-h);
  display: grid;
  grid-template-columns: var(--left-col) var(--meta-col);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "thumb meta"
    "plink meta"
    "pname meta";
  gap: 8px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #eee;
  color: #333;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}

.remove-btn:hover {
  background: #e25c5c;
  color: #fff;
}

.product-img {
  grid-area: thumb;
  width: var(--img-size);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.product-link {
  grid-area: plink;
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: var(--left-col);
}

.product-link a {
  text-decoration: underline;
}

.product-name {
  grid-area: pname;
  font-size: 13px;
  line-height: 1.25;
  max-width: var(--left-col);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  grid-area: meta;
  display: grid;
  row-gap: var(--meta-gap-y);
  width: var(--meta-col);
  max-width: var(--meta-col);
  justify-items: start;
  padding-top: 24px;
}

.meta-row {
  display: grid;
  grid-template-columns: var(--label-w) var(--field-width);
  align-items: center;
  column-gap: var(--meta-gap-x);
  margin: 0;
  font-size: 12px;
}

.meta-row>span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--field-height);
  padding: 0 10px;
  background: #f1f3f5;
  border: 1px solid var(--border);
  border-radius: 8px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-input {
  position: relative;
  width: var(--field-width);
  height: var(--field-height);
}

.meta-input input {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  text-align: right;
  color: var(--text);
}

.meta-input.currency::before {
  content: "€";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #6B7280;
  pointer-events: none;
}

.meta-input.currency input {
  padding-left: 22px;
}

.total-row .meta-input input.total {
  font-weight: 700;
}

.qty-group {
  width: var(--field-width);
  height: var(--field-height);
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 28px;
  height: 100%;
  border: 0;
  background: #f2f4f6;
  cursor: pointer;
  font-size: 16px;
}

.qty {
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.meta-input input:focus-visible,
.qty-group:focus-within {
  border-color: #7aa7ff;
  box-shadow: 0 0 0 3px rgba(122, 167, 255, .2);
  outline: none;
}

.product-item .meta-input input:disabled,
.product-item .meta-input input[readonly] {
  background: #f3f4f6;
  color: #888;
  cursor: not-allowed;
}

.product-item .total:disabled,
.product-item .total[readonly] {
  background: #fff !important;
  color: #000 !important;
  cursor: default !important;
}

/* Checkout */
.checkout-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  max-width: var(--content-max);
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.checkout-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: var(--color-text);
  padding-right: 12px;
  flex: 1;
}

.bestellen-button,
.home-button {
  height: 40px;
  padding: 0 16px;
  border: var(--bw-1) solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Sidebar */
.home-container3 {
  position: fixed;
  right: 0;
  top: var(--header-h);
  width: var(--sidebar-w);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  z-index: 1000;
  background: #fff;
  border-left: 1px solid var(--border);
  border-radius: 14px 0 0 14px;
  padding: 12px;
}

.sidebar-top,
.sidebar-bottom {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sidebar-title {
  margin: 0;
  font-size: 16px;
}

.sidebar-link {
  color: var(--link);
}

.order-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}


/* =========================================================
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 14) BESTELLUNGEN (LISTE/ÜBERSICHT)
   ========================================================= */
.table-wrap {
  overflow-x: auto;
}

table.orders {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--color-surface);
  border: var(--bw-1) solid var(--color-border-subtle);
  border-radius: var(--radius-l);
}

table.orders col.col-ord {
  width: 100px;
}

table.orders col.col-date {
  width: 120px;
}

table.orders col.col-articles {
  width: auto;
}

table.orders col.col-sum {
  width: 120px;
}

table.orders col.col-status {
  width: 110px;
}

.orders thead th {
  font-weight: 600;
  font-size: var(--fz-12);
  color: var(--color-text);
  padding: 10px;
    text-align: left;
    border-bottom: var(--bw-1) solid var(--color-border-subtle);
}

.orders td {
  padding: 10px;
    border-bottom: var(--bw-1) solid var(--color-border-subtle);
  font-size: var(--fz-12);
  vertical-align: top;
    text-align: left;
}

.orders th.sum, .orders td.sum,
.orders th.status,
.orders td.status {
  text-align: right;
}

.artikel-liste {
  margin: 0;
    padding-left: 18px;
    font-size: var(--fz-12);
    color: var(--color-text);
}
.artikel-liste li {
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

.row-toggle {
  cursor: pointer;
}

.row-toggle:hover {
  background: var(--color-surface-soft);
}

/* Status-Badges */
.status-badge {
  display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
  font-size: var(--fz-12);
  border: var(--bw-1) solid var(--color-border-subtle);
  background: var(--color-surface);
  white-space: nowrap;
}
.status-badge.open {
  background: #eef2ff;
}

.status-badge.paid {
  background: #fdf6ec;
}

.status-badge.shipped {
  background: #ecfdf5;
}

.status-badge.cancel {
  background: #fef2f2;
}


/* =========================================================
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 15) BESTELLUNG (DETAIL)
   ========================================================= */
.order-container {
  width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 16px) 16px 24px;
}

.order-head {
  display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;
    margin-bottom: 12px;
}
.order-meta { font-size: var(--fz-13); color: var(--color-text-muted); }

.order-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.7fr;
  gap: 32px;
  align-items: start;
}

/* Zusammenfassung */
.order-summary.hex {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: unset !important;
  clip-path: none !important;
  border-radius: 12px !important;
  padding: 24px 26px !important;
  background: #fff !important;
  position: relative;
}
.order-summary.hex::before {
  content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    background: rgba(0, 0, 0, 0.04);
    filter: blur(2px);
    pointer-events: none;
    clip-path: none !important;
  }
  
  .order-summary h3 {
    margin: 4px 0 14px;
  }
  
  .sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
  }
  
  .sum-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: .8;
  }
  
  .sum-row.total {
    font-weight: 700;
    font-size: 18px;
  }
  
  .sum-row.surcharge strong {
    color: #b30000;
  }
  
  .sum-note {
    background: #fff7e6;
    border: 1px dashed #f0c16b;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    font-size: 13px;
  }
        .sep {
          border: none;
          border-top: 1px solid #eee;
          margin: 14px 0;
        }
    .iban-box {
      margin-top: 16px;
    }
    .iban-box h4 {
      margin: 6px 0 10px;
    }
  
        .iban {
          display: grid;
          grid-template-columns: auto 1fr;
          gap: 10px;
          align-items: center;
          margin: 6px 0;
        }
    .iban code {
      display: inline-block;
      padding: 7px 10px;
      border: 1px solid #eee;
      border-radius: 6px;
      background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

/* Positionstabelle */
.order-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
  }
        .order-table th,
        .order-table td {
          padding: 10px 12px;
          border-bottom: 1px solid #f0f0f0;
          vertical-align: middle;
        }
        .order-table thead th {
          background: #fafafa;
          font-weight: 600;
          text-align: left;
        }
    
        .ta-right {
          text-align: right;
        }
    
        .sum-row-table td {
          background: #f6f6f6;
          font-weight: 600;
          border-top: 2px solid #ddd;
}
/* Karten-Ansicht (Positionen) */
.order-lines {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-item {
  display: grid;
    grid-template-columns: 1fr clamp(220px, 28vw, 320px) 36px;
    gap: 8px;
    align-items: start;
  background: var(--color-surface);
  border: var(--bw-1) solid var(--color-border-subtle);
  border-radius: var(--radius-l);
  padding: 8px;
}
.product-desc {
  font-size: var(--fz-12);
  line-height: 1.2;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.product-desc .url {
  display: block;
  font-size: var(--fz-12);
  color: var(--color-text);
  text-decoration: underline;
  opacity: .9;
}

.product-meta-ro {
  display: grid;
  gap: 6px;
}
.meta-row-ro {
  display: flex;
    justify-content: space-between;
    gap: 8px;
    border: var(--bw-1) solid var(--color-border-subtle);
  border-radius: var(--radius-s);
  padding: 4px 6px;
  background: var(--color-surface-soft);
  font-size: var(--fz-12);
}
.meta-row-ro .k {
  color: var(--color-text-muted);
}

.meta-row-ro .v {
  color: var(--color-text);
  font-weight: 600;
}

.meta-row-ro.total {
  background: var(--color-bg);
  font-size: var(--fz-13);
}

.select-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-actions {
  margin-top: 12px;
  text-align: right;
}

/* Absenden-Button */
.order-submit-wrapper {
  margin-top: 18px;
}

.btn-primary-wide {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--color-accent);
  color: #000;
  text-align: center;
  transition: filter .15s ease;
}

.btn-primary-wide:hover {
  filter: brightness(.92);
}

/* Adressauswahl */
.address-select-box {
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: #fff;
}

.address-select-box h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.address-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-size: 14px;
}

.new-address-fields {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addr-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.addr-row {
  display: flex;
  gap: 8px;
}

.addr-input.short {
  width: 100px;
}


/* =========================================================
                                                         16) PROFIL (FORMULARSEITE)=========================================================*/ .profil_container {
                                                           max-width: 440px;
                                                           margin: 20px auto;
                                                           padding: 0 16px;
                                                           padding-top: var(--header-h);
                                                         }
        .profil_status {
          font-size: var(--fz-12);
          margin-left: 10px;
          font-weight: 600;
        }
    
        .profil_card {
    border: var(--bw-1) solid var(--color-border-subtle);
      border-radius: 8px;
      padding: 16px;
      background: var(--color-surface);
    max-width: 1000px;
    }
    
    .profil_formGrid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    
    .profil_namesRow {
      grid-template-columns: 80px 100px auto;
    }
    
    .profil_full {
      grid-column: 1 / -1;
    }
        .profil_field {
          display: flex;
          flex-direction: column;
          gap: 4px;
        }
        .profil_label {
          font-size: var(--fz-12);
        }
        .profil_input,
        .profil_select {
          width: 100%;
          height: 28px;
          padding: 4px 8px;
          border: 1px solid var(--color-border);
          border-radius: 4px;
          font-size: var(--fz-12);
          background: var(--color-surface);
        }
  
        .profil_textarea {
    min-height: 84px;
      resize: vertical;
      padding: 6px 8px;
      border: 1px solid var(--color-border);
      border-radius: 4px;
      font-size: var(--fz-12);
      background: var(--color-surface);
    }
        .profil_anrede {
          max-width: 80px;
        }
    
        .profil_vorname {
          max-width: 200px;
        }
    
        .profil_nachname {
          max-width: 360px;
        }
  
        .profil_strasse {
          max-width: 250px;
        }
        .profil_plzOrtRow {
          display: grid;
          grid-template-columns: 60px 180px;
          gap: 10px;
        }
        .profil_plz {
          max-width: 60px;
        }
    
        .profil_ort {
          max-width: 200px;
        }
    
        .profil_land {
          max-width: 120px;
        }
    
        .profil_email {
          min-width: 250px;
          max-width: 600px;
          width: 250px;
        }
    
        .profil_actions {
          margin-top: 8px;
          text-align: right;
        }
    
        .profil_btn {
    padding: 6px 12px;
      border: 1px solid var(--color-border);
      border-radius: 4px;
      font-size: var(--fz-12);
    cursor: pointer;
      background: var(--color-accent);
    color: #000;
    }
    
    
    /* =========================================================
                                                         17) RESPONSIVE=========================================================*/
                                                         /* Navigation ab 1000px mobil */
                                                         @media (max-width: 1000px) {
                                                           .site-nav-links {
                                                             display: none;
                                                           }
                            
                                                           .nav-toggle {
                                                             display: inline-block;
                                                           }
                            
                                                           .contact-grid {
                                                             grid-template-columns: 1fr;
                                                           }
                                                         }
                            
                                                         /* Portal: Sidebar unter Content */
                                                         @media (max-width: 1200px) {
                            
                                                           .home-main--portal,
                                                           .home-main {
                                                             padding: 0 16px;
                                                           }
                            
                                                           .home-container3 {
                                                             position: static;
                                                             width: 100%;
                                                             height: auto;
                                                             border-right: 1px solid var(--border);
                                                             border-radius: 14px;
                                                             margin: 16px 0 0;
                                                           }
                            
                                                           .home-input-group {
                                                             grid-template-columns: 1fr;
                                                             margin: 0;
                                                           }
                            
                                                           .home-input {
                                                             border-radius: var(--radius-m);
                                                           }
                            
                                                           .home-button {
                                                             width: 100%;
                                                             border-radius: var(--radius-m);
                                                           }
                                                         }
                            
                                                         /* Bestellung: einspaltig */
                                                         @media (max-width: 980px) {
                                                           .order-layout {
                                                             grid-template-columns: 1fr;
                                                           }
                            
                                                           .hex-chain {
                                                             width: 100%;
                                                             left: 0;
                                                             transform: none;
                                                             height: auto;
                                                             display: flex;
                                                             flex-direction: column;
                                                             align-items: center;
                                                             gap: 24px;
                                                             margin-top: 0;
                                                           }
                            
                                                           #service .hex-chain .hex {
                                                             position: static;
                                                             width: clamp(300px, 84vw, 380px);
                                                             aspect-ratio: 1 / 1;
                                                           }
                                                         }
                            
                                                         /* Bestellungsdetail: Karten-Grid */
                                                         @media (max-width: 900px) {
                                                           .order-item {
                                                             grid-template-columns: 1fr;
                                                           }
                            
                                                           .select-col {
                                                             justify-content: flex-end;
                                                           }
                            
                                                           #areas {
                                                             --oct-w: clamp(130px, 16vw, 170px);
                                                           }
                                                         }
                            
                                                         /* Tabellen-Spalten flexibler */
                                                         @media (max-width: 760px) {
                            
                                                           table.orders col.col-ord,
                                                           table.orders col.col-date,
                                                           table.orders col.col-sum,
    table.orders col.col-status {
        width: auto;
      }
        }
    
        /* Areas: umbrechen */
        @media (max-width: 740px) {
          #areas .hex-row {
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
          }
        }
    
        /* Hero */
        @media (max-width: 640px) {
  
      #start .hex,
        #about .hex {
          --oct-w: clamp(320px, 86vw, 520px);
        }
      
        .hero {
          min-height: 60vh;
        }
      
        .stats-bar {
          flex-wrap: wrap;
          gap: 10px;
        }
      }
      
      /* Produktliste einspaltig */
      @media (max-width: 620px) {
        :root {
          --card-w: 100%;
        }
            .product-list {
              grid-template-columns: 1fr;
            }
            }
        @media (max-width: 560px) {
          .select-col {
            justify-content: flex-start;
          }
        }
    /* =========================================================
       18) REGISTRIERUNG / KONTAKT (Inline-Formular-Styles)
       ========================================================= */
  
    :root {
      --ctl-h: var(--field-height, 34px);
      --fs-xs: 12px;
      --space-s: 8px;
      --space-m: 12px;
      --space-l: 16px;
      --wrap-max: min(33vw, 420px);
  
      /* Erweiterte Palette */
      --soft: #FAFAF7;
      --line: #E5E5E5;
      --line-soft: #F0EFEC;
      --ink: #0A0A0A;
      --mute: #525252;
      --mute-2: #8A8A85;
      --accent: #C2410C;
      --accent-soft: #FFEDD5;
    }
        /* ── Ghost-Button ─────────────────────────────────────── */
        .btn-ghost {
          border: 1px solid var(--line);
          color: var(--ink);
          transition: border-color 0.2s ease, background 0.2s ease;
          padding: 0.375rem 0.875rem;
          font-size: 0.8rem;
          font-weight: 500;
          display: inline-flex;
          align-items: center;
          gap: 0.375rem;
          border-radius: 2px;
          text-decoration: none;
          font-family: 'Geist', system-ui, sans-serif;
        }
    
        .btn-ghost:hover {
          border-color: var(--ink);
          background: var(--soft);
          text-decoration: none;
        }
    
        /* ── Seiten-Container ─────────────────────────────────── */
        .container {
          max-width: var(--wrap-max);
          margin: 0 auto;
          padding: calc(64px + 2rem) 16px 3rem;
        }
    
        .breadcrumbs {
          font-family: 'JetBrains Mono', monospace;
          font-size: 0.68rem;
          letter-spacing: 0.14em;
          text-transform: uppercase;
          color: var(--mute-2);
          margin-bottom: 1.25rem;
          text-align: center;
        }
    
        /* ── Card ─────────────────────────────────────────────── */
        .card {
          background: var(--color-surface, #fff);
          border: 1px solid var(--line);
          padding: 1.5rem;
        }
    
        /* ── Formular-Grid ────────────────────────────────────── */
        .form-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 10px;
        }
    
        .form-grid.names-row {
          grid-template-columns: 75px 90px 0.7fr 1fr;
        }
    
        .form-grid .full {
          grid-column: 1 / -1;
        }
    
        .form-grid.plz-ort-row {
          grid-template-columns: 80px auto;
          gap: 10px;
        }
    
        .addr-top-row {
          display: grid;
          grid-template-columns: 1.8fr 72px 1.2fr;
          gap: 10px;
        }
    
        .addr-bottom-row {
          display: grid;
          grid-template-columns: 132px 1.2fr 0.8fr;
          gap: 10px;
        }
    
        .field {
          display: flex;
          flex-direction: column;
          gap: 4px;
        }
    
        .label {
          font-size: var(--fs-xs);
          color: var(--mute);
          font-family: 'JetBrains Mono', monospace;
          letter-spacing: 0.08em;
          text-transform: uppercase;
        }
    
        /* ── Inputs ───────────────────────────────────────────── */
        .input,
        .select {
          width: 100%;
          height: var(--ctl-h);
          padding: 4px 10px;
          border: 1px solid var(--line);
          font-size: 0.875rem;
          background: var(--soft);
          color: var(--ink);
          box-sizing: border-box;
          outline: none;
          transition: border-color 0.2s;
          border-radius: 0;
          font-family: 'Geist', system-ui, sans-serif;
        }
    
        .input:focus,
        .select:focus {
          border-color: var(--ink);
          background: var(--color-surface, #fff);
        }
    
        .input::placeholder {
          color: var(--mute-2);
        }
    
        /* ── Buttons ──────────────────────────────────────────── */
        .btn {
          padding: 8px 16px;
          border: 1px solid var(--line);
          background: var(--ink);
          color: #fff;
          cursor: pointer;
          font-size: 0.875rem;
          font-family: 'Geist', system-ui, sans-serif;
          font-weight: 500;
          transition: background 0.2s ease;
          border-radius: 0;
        }
    
        .btn:hover {
          background: var(--accent);
          border-color: var(--accent);
        }
    
        .btn.link {
          background: transparent;
          border-color: var(--line);
          color: var(--mute);
        }
    
        .btn.link:hover {
          border-color: var(--ink);
          color: var(--ink);
          background: var(--soft);
        }
    
        .actions {
          margin-top: var(--space-s);
          text-align: right;
        }
    
        /* ── Flash-Meldungen ──────────────────────────────────── */
        .flash-wrap {
          max-width: var(--wrap-max);
          margin: 0 auto 12px;
        }
    
        .flash {
          background: var(--color-surface, #fff);
          border: 1px solid var(--line);
          padding: 8px 12px;
          font-size: 0.82rem;
          margin-bottom: 6px;
          color: var(--ink);
        }
    
        .flash-error {
          border-color: var(--accent);
          background: var(--accent-soft);
        }
    
        /* ── Sonstiges ────────────────────────────────────────── */
        .hidden {
          display: none;
        }
    
        .hp-wrap {
          position: absolute;
          left: -9999px;
        }
    
        #captcha_wrap {
          display: flex;
          gap: 10px;
          align-items: center;
          flex-wrap: wrap;
        }
    
        #captchaCanvas {
  display: block;
  border: 1px solid var(--line);
  }
  
  .verify-box {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    font-size: var(--fs-xs);
    color: var(--ink);
  }
  
  .verify-box strong {
    font-weight: 700;
  }
  
  /* Zoll-Block */
  #zoll_options_row {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--soft);
    font-size: var(--fs-xs);
  }
  
  .row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .hint {
    font-size: 11px;
    opacity: 0.75;
  }
  
  /* Status-Label */
  .status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--mute);
    margin-left: 0.5rem;
  }
  
  /* ── Responsive (Formular-Grid) ───────────────────────── */
  @media (max-width: 760px) {

    .form-grid,
    .form-grid.names-row,
    .form-grid.plz-ort-row,
    .addr-top-row,
    .addr-bottom-row {
      grid-template-columns: 1fr;
    }

    .input,
    .select {
      max-width: 100%;
    }

    .row {
      align-items: flex-start;
    }
  }

  /* ── Schmale Fenster: Formular nimmt volle Breite, sobald
        Fensterbreite der Formularbreite (560px) nahe kommt ── */
  @media (max-width: 640px) {
    main.container,
    .container {
      max-width: 100% !important;
      padding-left: 8px;
      padding-right: 8px;
    }

    .flash-wrap {
      max-width: 100% !important;
      padding-left: 8px;
      padding-right: 8px;
      box-sizing: border-box;
    }

    .card {
      max-width: 100% !important;
      width: 100%;
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding: 1rem 0.875rem;
      box-sizing: border-box;
    }

    /* Header: Logo links anlegen, 2cm-Padding aufheben */
    header > div.pl-\[2cm\],
    header .pl-\[2cm\] {
      padding-left: 8px !important;
      padding-right: 8px !important;
    }
  }

  @media (max-width: 400px) {
    main.container,
    .container {
      padding-left: 4px;
      padding-right: 4px;
    }

    .flash-wrap {
      padding-left: 4px;
      padding-right: 4px;
    }

    .card {
      padding: 0.875rem 0.625rem;
    }

    header > div.pl-\[2cm\],
    header .pl-\[2cm\] {
      padding-left: 4px !important;
      padding-right: 4px !important;
    }
  }

  /* =========================================================
       19) ZAHLUNG / BANKÜBERWEISUNG (pay-wrap)
       ========================================================= */
  .pay-wrap {
    max-width: 880px;
    margin: 32px auto;
    padding: 72px 16px;
  }
  
  /* Alles untereinander: erst Text/Bankdaten, dann QR */
  .pay-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  
  .pay-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  }
  
  .pay-kv {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 3px 12px;
  }
  
  .pay-kv .k {
    color: #555;
    padding: 2px 0;
    line-height: 1.1;
    font-size: 0.95rem;
  }
  
  .pay-kv .v {
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.1;
    font-size: 0.97rem;
  }
  
  code.copy {
    background: #f7f7f7;
    padding: 4px 6px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
      "Liberation Mono", "Courier New", monospace;
  }
  
  .btn-copy.inline {
    padding: 6px 10px;
    font-size: .8rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fafafa;
    cursor: pointer;
    margin-left: auto;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
  }
  
  .btn-copy.inline:hover {
    border-color: #bbb;
    background: #f3f3f3;
  }
  
  .qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    min-height: 260px;
  }
  
  pre.fallback {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: auto;
    font-size: .9rem;
  }
  
  .pay-note {
    margin-top: 12px;
    color: #666;
    font-size: .95rem;
  }
  
  @media (max-width: 640px) {
    .pay-wrap {
      padding: 32px 12px;
    }
  
    .pay-kv {
      grid-template-columns: 120px 1fr;
    }
  }
  
  
  /* =========================================================
       20) ORDER-TABLE (Bestellübersicht mit Checkboxen)
       ========================================================= */
  
  /* Basis-Tokens (Ergänzung, falls nicht bereits gesetzt) */
  :root {
    --accent-tint: #FFF7EB;
  }
  
  .order-table-wrap {
    overflow-x: auto;
    margin: 0 0 24px;
    border: 1px solid var(--line, #E5E5E5);
  }
  
  .order-table {
  width: 100%;
  border-collapse: collapse;
    font-size: 0.875rem;
    background: var(--bg, #fff);
  }
  
  .order-table thead tr {
    background: var(--soft, #FAFAF7);
  }
  
  .order-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--ink, #0A0A0A);
    white-space: nowrap;
    border-bottom: 1px solid var(--line, #E5E5E5);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  
  .order-table th.col-check {
    width: 110px;
    text-align: center;
  }
  
  .order-table th.col-name {
    min-width: 200px;
    max-width: 280px;
  }
  
  .order-table th.col-num {
    width: 110px;
    text-align: right;
  }
  
  .order-table th.col-qty {
    width: 80px;
    text-align: center;
  }
  
  .order-table th.col-total {
    width: 120px;
    text-align: right;
    font-weight: 700;
  }
  
  .order-table tbody tr {
    border-bottom: 1px solid var(--line, #E5E5E5);
    transition: background 0.12s;
  }
  
  .order-table tbody tr:last-child {
    border-bottom: none;
  }
  
  .order-table tbody tr:hover {
    background: var(--accent-tint);
  }
  
  .order-table tbody tr:nth-child(even) {
    background: var(--soft, #FAFAF7);
  }
  
  .order-table tbody tr:nth-child(even):hover {
    background: var(--accent-tint);
  }
  
  .order-table td {
    padding: 10px 12px;
    vertical-align: middle;
  }
  
  .order-table td.col-check {
    text-align: center;
  }
  
  .order-table td.col-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
  }
  
  .order-table td.col-qty {
    text-align: center;
  }
  
  .order-table td.col-total {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
  }
  
  .select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mute, #525252);
      cursor: pointer;
      white-space: nowrap;
    }
    
    .select-all-label input[type="checkbox"] {
      width: 15px;
      height: 15px;
      accent-color: var(--accent, #C2410C);
      cursor: pointer;
    }
    
    /* Produkt-Zelle */
    .td-name {
      max-width: 280px;
    }
    
    .td-name strong {
      display: block;
      margin-bottom: 2px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: var(--ink, #0A0A0A);
    }
    
    .td-name .url {
      font-size: 0.78rem;
      color: var(--accent, #C2410C);
      display: block;
      max-width: 220px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.03em;
    }
    
    .td-name .gtin {
      font-size: 0.75rem;
      color: var(--mute-2, #8A8A85);
      margin-top: 2px;
      font-family: 'JetBrains Mono', monospace;
    }
    
    .order-table td.col-check input[type="checkbox"] {
      width: 16px;
      height: 16px;
      accent-color: var(--accent, #C2410C);
      cursor: pointer;
    }

    .fee-cell {
    color: var(--mute, #525252);
  }
  
  .total-cell {
    color: var(--ink, #0A0A0A);
    font-weight: 600;
  }
  
  /* Tabellenfu­ß */
  .order-table tfoot tr {
    background: var(--soft, #FAFAF7);
  }
  
  .order-table tfoot td {
    padding: 10px 12px;
    font-weight: 600;
    border-top: 1px solid var(--line, #E5E5E5);
    font-variant-numeric: tabular-nums;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
  }
  
  .order-table tfoot td.foot-label {
    color: var(--ink, #0A0A0A);
  }
  
  .order-table tfoot td.foot-value {
    text-align: right;
    color: var(--ink, #0A0A0A);
  }
  
  /* Seiten-Layout (Bestellübersicht) */
  .order-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(64px + 1.5rem) 16px 3rem;
  }
  
  .order-breadcrumbs {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute-2, #8A8A85);
    margin-bottom: 1.25rem;
  }
  
  .order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .order-meta {
    font-size: 0.875rem;
    color: var(--mute, #525252);
  }
  
  .order-meta strong {
    color: var(--ink, #0A0A0A);
  }
  
  .order-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
  }
  
  /* Primär-Button (Ergänzung) */
  .btn-primary {
    background: var(--ink, #0A0A0A);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    }
    
    .btn-primary:hover {
      background: var(--accent, #C2410C);
    }
    
    .btn-primary:active {
      transform: translateY(1px);
    }
    
    
    /* =========================================================
         21) PORTAL-LAYOUT (Produkteingabe & Sidebar)
         ========================================================= */
    
    .font-display {
      font-family: 'Fraunces', serif;
      font-optical-sizing: auto;
    }
    
    /* Sticky Header */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    
    .octagon {
      clip-path: polygon(29.29% 0%, 70.71% 0%,
          100% 29.29%, 100% 70.71%,
          70.71% 100%, 29.29% 100%,
          0% 70.71%, 0% 29.29%);
    }
    
    .btn-accent {
      background: var(--accent, #C2410C);
      color: #fff;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    
    .btn-accent:hover {
      background: #a83209;
    }
    
    .btn-accent:active {
      transform: translateY(1px);
    }
    
    /* Zweispaltiges Portal */
    .portal-layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 0;
      width: 100%;
      min-height: calc(100vh - 65px);
    }
    
    .portal-main {
      padding: 2rem 2.5rem;
      border-right: 1px solid var(--line, #E5E5E5);
    }
    
    .portal-sidebar {
      padding: 2rem 1.75rem;
      background: var(--soft, #FAFAF7);
    }
    
    /* URL-Eingabe */
    .add-row {
      display: flex;
      gap: 0.5rem;
      align-items: stretch;
    }
    
    .add-row input {
      flex: 1;
      border: 1px solid var(--line, #E5E5E5);
      background: var(--soft, #FAFAF7);
      padding: 0.625rem 1rem;
      font-family: 'Geist', system-ui, sans-serif;
      font-size: 0.875rem;
      color: var(--ink, #0A0A0A);
      outline: none;
      transition: border-color 0.2s;
    }
    
    .add-row input:focus {
      border-color: var(--ink, #0A0A0A);
    }
    
    .add-row input::placeholder {
      color: var(--mute-2, #8A8A85);
    }
    
    /* Status-Zeile */
    .status-msg {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.06em;
      color: var(--mute, #525252);
      min-height: 1.2em;
      margin-top: 0.5rem;
    }
    
    /* Produktliste */
    .product-list {
      list-style: none;
      margin: 16px auto 0;
      padding: 0;
      width: 100%;
      max-width: var(--content-max);
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, var(--card-w)));
      gap: var(--grid-gap);
      justify-content: center;
    }
    
    /* Produktkarte */
    .product-item {
      position: relative;
      width: var(--card-w);
      height: var(--card-h);
      display: grid;
      grid-template-columns: var(--left-col) var(--meta-col);
      grid-template-rows: auto auto 1fr;
      grid-template-areas:
        "thumb meta"
        "plink meta"
        "pname meta";
      gap: 8px;
      padding: 12px;
      background: var(--card, #fff);
      border: 1px solid var(--border, #e8e8ec);
      border-radius: 14px;
      overflow: hidden;
    }
    
    .product-img {
      grid-area: thumb;
      width: var(--img-size);
      aspect-ratio: 1;
      object-fit: contain;
      background: #fafafa;
      border: 1px solid var(--border, #e8e8ec);
      border-radius: 10px;
    }
    
    .product-link {
      grid-area: plink;
      font-size: 12px;
      line-height: 1.2;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: var(--left-col);
    }
    
    .product-link a {
      text-decoration: underline;
    }
    
    .product-link a:hover {
      text-decoration: underline;
    }
    
    .product-name {
      grid-area: pname;
      font-size: 13px;
      line-height: 1.25;
      max-width: var(--left-col);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .product-meta {
      grid-area: meta;
      display: grid;
      row-gap: var(--meta-gap-y);
      width: var(--meta-col);
      max-width: var(--meta-col);
      justify-items: start;
      padding-top: 24px;
    }
    
    .meta-row {
      display: grid;
      grid-template-columns: var(--label-w) var(--field-width);
      align-items: center;
      column-gap: var(--meta-gap-x);
      margin: 0;
      font-size: 12px;
    }
    
    .meta-row>span {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      height: var(--field-height);
      padding: 0 10px;
      background: #f1f3f5;
      border: 1px solid var(--border, #e8e8ec);
      border-radius: 8px;
      line-height: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-family: inherit;
      font-size: 12px;
      letter-spacing: normal;
      text-transform: none;
      color: inherit;
    }
    
    .meta-row>span small.tag {
      font-size: 0.8em;
      color: #666;
      margin-left: 3px;
    }
    
    /* Meta-Eingabefelder */
    .meta-input {
      position: relative;
      width: var(--field-width);
      height: var(--field-height);
    }
    
    .meta-input.currency::before {
      content: '€';
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 12px;
      color: #6B7280;
      pointer-events: none;
    }
    
    .meta-input input {
      width: 100%;
      height: 100%;
      padding: 0 10px;
      border: 1px solid var(--border, #e8e8ec);
      border-radius: 8px;
      background: #fff;
      font-size: 12px;
      font-family: inherit;
      text-align: right;
      color: var(--text, #111);
      outline: none;
      transition: border-color 0.2s;
    }
    
    .meta-input.currency input {
      padding-left: 22px;
    }
    
    .meta-input input:focus-visible {
      border-color: #7aa7ff;
      box-shadow: 0 0 0 3px rgba(122, 167, 255, 0.2);
    }
    
    .meta-input input[disabled],
    .meta-input input[readonly] {
      background: #f3f4f6;
      color: #888;
      cursor: not-allowed;
    }
    
    .product-item .meta-input input.total:disabled,
    .product-item .meta-input input.total[readonly] {
      background: #fff !important;
      color: #000 !important;
      cursor: default !important;
    }
    
    /* Mengen-Stepper */
    .qty-group {
      width: var(--field-width);
      height: var(--field-height);
      display: flex;
      align-items: center;
      border: 1px solid var(--border, #e8e8ec);
      border-radius: 8px;
      overflow: hidden;
    }
    
    .qty-group:focus-within {
      border-color: #7aa7ff;
      box-shadow: 0 0 0 3px rgba(122, 167, 255, 0.2);
    }
    
    .qty-btn {
      width: 28px;
      height: 100%;
      border: 0;
      background: #f2f4f6;
      cursor: pointer;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text, #111);
      transition: background 0.15s;
    }
    
    .qty-btn:hover {
      background: #e5e7eb;
    }
    
    .qty {
      flex: 1;
      height: 100%;
      border: 0;
      outline: 0;
      text-align: center;
    appearance: textfield;
      -moz-appearance: textfield;
      font-size: 12px;
      font-family: inherit;
    }
    
    .qty::-webkit-outer-spin-button,
    .qty::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    
    /* Summen-Zeile */
    .total-row>span,
    .total-row .meta-input input {
      font-weight: 700;
    }
    
    /* Entfernen-Button */
    .remove-btn {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 22px;
      height: 22px;
      border: none;
      border-radius: 50%;
      background: #eee;
      color: #333;
      font-size: 16px;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s;
      z-index: 2;
    }
    
    .remove-btn:hover {
      background: #e25c5c;
      color: #fff;
    }
    
    /* Checkout-Bereich */
    .checkout-area {
      margin-top: 1.5rem;
      border-top: 1px solid var(--line, #E5E5E5);
      padding-top: 1.25rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    
    .summary-text {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.06em;
      color: var(--mute, #525252);
      flex: 1;
      min-width: 200px;
    }
    
    @keyframes qty-bump {
      0% {
        background: var(--accent-soft, #FFEDD5);
      }
    
      100% {
        background: transparent;
      }
    }
    
    .qty-bumped {
      animation: qty-bump 1s ease-out forwards;
    }
    
    /* Sidebar-Sektionen */
    .sidebar-section {
      margin-bottom: 2rem;
      padding-bottom: 2rem;
      border-bottom: 1px solid var(--line, #E5E5E5);
    }
    
    .sidebar-section:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }
    
    .sidebar-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--mute-2, #8A8A85);
      margin-bottom: 0.85rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .sidebar-title {
      font-family: 'Fraunces', serif;
      font-size: 1.05rem;
      font-weight: 400;
      letter-spacing: -0.02em;
      color: var(--ink, #0A0A0A);
      margin-bottom: 0.85rem;
    }
    
    .sidebar-data p {
      font-size: 0.82rem;
      color: var(--mute, #525252);
      line-height: 1.7;
    }
    
    .sidebar-data p strong {
      color: var(--ink, #0A0A0A);
      font-weight: 500;
    }
    
    .order-link {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 0.6rem;
      border: 1px solid var(--line, #E5E5E5);
      background: var(--bg, #fff);
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.06em;
      color: var(--ink, #0A0A0A);
      text-decoration: none;
      transition: border-color 0.15s, background 0.15s;
    }
    
    .order-link:hover {
      border-color: var(--accent, #C2410C);
      background: var(--accent-tint);
    }
    
    .order-link::before {
      content: '';
      display: inline-block;
      width: 6px;
      height: 6px;
      background: var(--accent, #C2410C);
      clip-path: polygon(29.29% 0%, 70.71% 0%, 100% 29.29%, 100% 70.71%,
          70.71% 100%, 29.29% 100%, 0% 70.71%, 0% 29.29%);
      flex-shrink: 0;
    }
    
    .sidebar-link {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      color: var(--mute-2, #8A8A85);
      text-decoration: none;
      transition: color 0.15s;
    }
    
    .sidebar-link:hover {
      color: var(--accent, #C2410C);
    }
    
    .muted {
      color: var(--mute-2, #8A8A85);
      font-size: 0.82rem;
    }
    
    .eyebrow {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 1.25rem;
    }
    
    .eyebrow-dot {
      width: 8px;
      height: 8px;
      background: var(--accent, #C2410C);
      clip-path: polygon(29.29% 0%, 70.71% 0%, 100% 29.29%, 100% 70.71%,
          70.71% 100%, 29.29% 100%, 0% 70.71%, 0% 29.29%);
      flex-shrink: 0;
    }
    
    .eyebrow span {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--mute, #525252);
    }
    
    @media (max-width: 900px) {
      .portal-layout {
        grid-template-columns: 1fr;
      }
    }
    
    /* =========================================================
       22) LIEFERUNG / ABHOLPUNKT-AUSWAHL
       ========================================================= */
    .delivery-select-group {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin: 16px 0;
    }
    
    .delivery-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
}

.delivery-field label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.delivery-field select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

.delivery-field select:disabled {
  background: #f5f5f5;
  color: #888;
  cursor: not-allowed;
}

.pickup-preview {
  margin-top: 12px;
  padding: 12px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
  display: none;
}

.pickup-preview strong {
  display: block;
  margin-bottom: 4px;
}

/* =========================================================
   23) INHALTLICHE TEXTSEITEN (Datenschutz, AGB u. ä.)
   ========================================================= */
main.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 16px 40px;
}

.stand {
  color: var(--color-text-muted, #6b7280);
  font-size: 12px;
  margin-bottom: 18px;
  text-align: center;
}

/* Überschriften & Fließtext auf Textseiten */
main.container h1 {
  margin: 0 0 12px;
  font-size: 20px;
  text-align: center;
}

main.container h2 {
  margin: 22px 0 8px;
  font-size: 16px;
}

main.container p,
main.container ul {
  font-size: 14px;
  line-height: 1.55;
}

main.container ul {
  padding-left: 20px;
}

/* =========================================================
   24) PROFIL – KLEINE HILFSSTILE
   ========================================================= */
.profil_hint {
  font-size: 12px;
  opacity: .8;
}

.profil_row {
  margin: 6px 0;
}