/* MINT LAMA EU Theme v3 — Layout-Struktur identisch zur EU-Frontend
   Eigene Implementierung mit eigenen Klassen-Namen */

:root {
  /* MINT LAMA Palette — Pantone 3252 C */
  --ml-mint: #60CCB8;          /* Pantone 3252 C primary */
  --ml-mint-hover: #4FBDA8;    /* etwas dunkler für Hover */
  --ml-mint-dark: #2E9579;     /* Text-Kontrast auf hellem BG */
  --ml-mint-deep: #1F6655;     /* sehr dunkel für tiefe Akzente */
  --ml-mint-light: #d6f0e9;    /* Hintergrund-Tints */
  --ml-mint-pale: #ecf8f4;     /* Pale BG */
  --ml-navy: #0e1a2c;
  --ml-navy-light: #1f3554;
  --ml-ink: #2e3741;
  --ml-ink-soft: #5b6772;
  --ml-bg: #f7f8f9;
  --ml-bg-card: #fff;
  --ml-border: #e6e9ec;
  --ml-accent: #ff7a59;

  /* Lager-Farben (eigene pro Standort, später Settings) */
  --ml-loc-basae: #6FB3FF;     /* BASÄ: Hellblau */
  --ml-loc-lufapak: #FFB347;   /* Lufapak DE: Orange */
  --ml-loc-default: #cccccc;

  --bulma-primary-h: 168deg;
  --bulma-primary-s: 50%;
  --bulma-primary-l: 60%;
  --bulma-link-h: 168deg;
  --bulma-link-s: 50%;
  --bulma-link-l: 45%;
  --bulma-family-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --bulma-radius: 0.5rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ml-ink);
  background: #fff;
}

a { color: inherit; }

/* ===== Trust-Bar (oberhalb Header) ===== */
.ml-trust {
  background: var(--ml-bg);
  border-bottom: 1px solid var(--ml-border);
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--ml-ink-soft);
}
.ml-trust__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.ml-trust__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ml-trust__item::before {
  content: "✓";
  color: var(--ml-mint);
  font-weight: 700;
}

/* ===== Header / Navbar ===== */
.ml-navbar {
  background: #fff;
  border-bottom: 1px solid var(--ml-border);
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.85rem 0;
}
.ml-navbar__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.ml-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--ml-mint-dark);
  text-decoration: none;
}
.ml-logo svg { width: 36px; height: 36px; }

.ml-mega {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.ml-mega__item {
  position: relative;
}
.ml-mega__link {
  color: var(--ml-ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.ml-mega__link:hover { background: var(--ml-mint-light); color: var(--ml-mint-dark); }
.ml-mega__chev {
  font-size: 0.7rem;
  opacity: 0.6;
}

.ml-mega__panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 0.625rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: 0.5rem;
  min-width: 220px;
  z-index: 50;
}
.ml-mega__item:hover .ml-mega__panel { display: block; }
.ml-mega__panel a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  color: var(--ml-ink);
  text-decoration: none;
  font-size: 0.92rem;
}
.ml-mega__panel a:hover { background: var(--ml-mint-light); color: var(--ml-mint-dark); }

.ml-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.ml-action-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background: transparent;
  border: 1px solid var(--ml-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ml-ink);
  position: relative;
}
.ml-action-btn:hover { background: var(--ml-bg); }
.ml-locale {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2.5rem;
  padding: 0 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--ml-border);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ml-ink);
  text-decoration: none;
}
.ml-cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--ml-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  min-width: 1.1rem;
  text-align: center;
}

/* ===== Hero ===== */
.ml-hero {
  background: linear-gradient(135deg, var(--ml-navy) 0%, var(--ml-navy-light) 100%);
  color: #fff;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ml-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(58,168,136,0.25), transparent 60%);
  pointer-events: none;
}
.ml-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.ml-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem;
  line-height: 1.05;
}
.ml-hero__text {
  font-size: 1.15rem;
  line-height: 1.65;
  opacity: 0.9;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.ml-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  background: #fff;
  color: var(--ml-navy);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.ml-hero__cta:hover { background: var(--ml-mint-light); color: var(--ml-mint-dark); }

/* ===== Promo-Section (2-Spalten) ===== */
.ml-promo {
  padding: 4rem 1.25rem;
  background: #fff;
}
.ml-promo--alt { background: var(--ml-bg); }
.ml-promo__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.ml-promo--reverse .ml-promo__inner { direction: rtl; }
.ml-promo--reverse .ml-promo__inner > * { direction: ltr; }
@media (max-width: 768px) {
  .ml-promo__inner { grid-template-columns: 1fr; gap: 2rem; }
}
.ml-promo__media {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--ml-bg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ml-promo__media img { width: 100%; height: 100%; object-fit: cover; }
.ml-promo__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--ml-navy);
}
.ml-promo__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ml-ink-soft);
  margin-bottom: 1.5rem;
}
.ml-promo__award {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ml-mint-light);
  color: var(--ml-mint-dark);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.ml-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--ml-mint);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.ml-promo__cta:hover { background: var(--ml-mint-dark); color: #fff; }

/* ===== Carousel-Section ===== */
.ml-carousel {
  padding: 3.5rem 1.25rem;
  background: #fff;
}
.ml-carousel__head {
  max-width: 1280px;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.ml-carousel__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ml-navy);
}
.ml-carousel__see-all {
  color: var(--ml-mint);
  font-weight: 600;
  text-decoration: none;
}
.ml-carousel__inner {
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
}
.ml-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 1.25rem;
}

/* ===== Produkt-Card ===== */
.ml-card {
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 0.875rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ml-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(14,26,44,0.10);
  color: inherit;
}
.ml-card__media {
  aspect-ratio: 1;
  background: var(--ml-bg);
  overflow: hidden;
}
.ml-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.ml-card__body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ml-card__brand {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ml-ink-soft);
  font-weight: 700;
}
.ml-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ml-navy);
  margin: 0;
  line-height: 1.3;
}
.ml-card__price {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ml-mint-dark);
}
.ml-card__price-currency {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ml-ink-soft);
  margin-right: 0.25rem;
}

/* ===== Grid (statt Carousel auf Pages) ===== */
.ml-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ===== Brand-Statement ===== */
.ml-brand-statement {
  background: var(--ml-navy);
  color: #fff;
  padding: 4rem 1.25rem;
  text-align: center;
}
.ml-brand-statement h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0 0 0.6rem;
}
.ml-brand-statement__sub {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.ml-brand-statement__text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.92;
}

/* ===== Footer ===== */
.ml-footer {
  background: var(--ml-navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 1.25rem 2rem;
}
.ml-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .ml-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.ml-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ml-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.ml-footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; }
.ml-footer a:hover { color: #fff; }
.ml-footer__bottom {
  max-width: 1280px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Container / Page ===== */
.ml-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== PDP ===== */
.ml-pdp {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
}
@media (max-width: 768px) { .ml-pdp { grid-template-columns: 1fr; gap: 1.5rem; } }
.ml-gallery__main {
  aspect-ratio: 1;
  background: var(--ml-bg);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ml-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.ml-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.ml-gallery__thumb {
  aspect-ratio: 1;
  background: var(--ml-bg);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
}
.ml-gallery__thumb.is-active { border-color: var(--ml-mint); }
.ml-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ml-pdp__brand {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ml-ink-soft);
  font-weight: 700;
}
.ml-pdp__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ml-navy);
  margin: 0.5rem 0 1rem;
}
.ml-pdp__price-row { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.5rem 0 1.5rem; }
.ml-pdp__price { font-size: 2rem; font-weight: 800; color: var(--ml-mint-dark); }
.ml-pdp__short { color: var(--ml-ink-soft); line-height: 1.65; margin-bottom: 1.5rem; white-space: pre-line; }
.ml-cta-row { display: flex; gap: 0.75rem; margin: 1rem 0 2rem; }
.ml-btn-primary {
  background: var(--ml-mint);
  color: var(--ml-mint-deep);
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ml-btn-primary:hover { background: var(--ml-mint-hover); color: var(--ml-mint-deep); }
.ml-btn-outline {
  background: #fff;
  color: var(--ml-mint-dark);
  border: 1.5px solid var(--ml-mint);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-decoration: none;
}
.ml-prop-table { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.6rem 1.5rem; font-size: 0.95rem; padding-top: 1.5rem; border-top: 1px solid var(--ml-border); }
.ml-prop-table dt { color: var(--ml-ink-soft); font-weight: 500; }
.ml-prop-table dd { margin: 0; color: var(--ml-ink); }

/* ===== Page-Container für Content-Pages ===== */
.ml-page {
  padding: 2rem 0;
}
.ml-page h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--ml-navy);
  margin: 0 0 0.4rem;
}
.ml-page__subtitle {
  color: var(--ml-ink-soft);
  margin-bottom: 2rem;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1023px) {
  .ml-mega { display: none; }
  .ml-trust__inner { gap: 0.85rem; font-size: 0.78rem; }
  .ml-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .ml-card__body { padding: 0.7rem 0.85rem 0.9rem; }
  .ml-card__title { font-size: 0.92rem; }
}

@media (max-width: 600px) {
  .ml-action-btn, .ml-locale { height: 2.25rem; }
  .ml-hero { padding: 3rem 1rem; }
  .ml-pdp__title { font-size: 1.5rem; }
  .ml-pdp__price { font-size: 1.5rem; }
}

/* ===== ADMIN: NUVOLA-Style Tab-Sidebar ===== */
.ml-admin {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  background: var(--ml-bg);
}
.ml-admin__side {
  background: var(--ml-navy);
  color: rgba(255,255,255,0.85);
  padding: 1.25rem 0.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.ml-admin__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem 1.25rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.5rem;
}
.ml-admin__brand svg { width: 28px; height: 28px; }
.ml-admin__nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.5rem;
}
.ml-admin__nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.4rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.ml-admin__nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.ml-admin__nav a.is-active { background: var(--ml-mint); color: #fff; }
.ml-admin__nav-icon {
  display: inline-flex;
  width: 1.25rem;
  justify-content: center;
}
.ml-admin__main { padding: 1.5rem 2rem 4rem; }
.ml-admin__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ml-admin__topbar h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ml-navy);
  margin: 0;
}

/* Stats / KPIs */
.ml-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.ml-kpi {
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 0.65rem;
  padding: 0.95rem 1.1rem;
}
.ml-kpi__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ml-ink-soft);
  font-weight: 700;
}
.ml-kpi__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ml-navy);
  margin-top: 0.3rem;
  line-height: 1;
}
.ml-kpi__hint {
  font-size: 0.82rem;
  color: var(--ml-ink-soft);
  margin-top: 0.3rem;
}

/* Toolbar */
.ml-toolbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ml-toolbar input[type="search"], .ml-toolbar input[type="text"], .ml-toolbar select {
  height: 2.4rem;
  border: 1px solid var(--ml-border);
  border-radius: 0.5rem;
  padding: 0 0.85rem;
  font: inherit;
  background: #fff;
  outline: none;
}
.ml-toolbar input[type="search"] { min-width: 240px; flex: 1; max-width: 400px; }
.ml-toolbar input:focus { border-color: var(--ml-mint); }

/* Table */
.ml-tbl-wrap {
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 0.65rem;
  overflow: hidden;
}
.ml-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.ml-tbl th {
  text-align: left;
  font-weight: 700;
  color: var(--ml-ink-soft);
  padding: 0.7rem 0.95rem;
  background: var(--ml-bg);
  border-bottom: 1px solid var(--ml-border);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ml-tbl td {
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--ml-border);
  vertical-align: middle;
}
.ml-tbl tr:last-child td { border-bottom: none; }
.ml-tbl tr:hover { background: var(--ml-bg); }
.ml-tbl__thumb {
  width: 40px; height: 40px; border-radius: 0.4rem; background: var(--ml-border); overflow: hidden;
}
.ml-tbl__thumb img { width: 100%; height: 100%; object-fit: cover; }

.ml-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--ml-mint-light);
  color: var(--ml-mint-dark);
}
.ml-pill--gray { background: var(--ml-border); color: var(--ml-ink-soft); }
.ml-pill--warn { background: #fff4e0; color: #b06f0f; }
.ml-pill--danger { background: #fde7e7; color: #a3302f; }
/* Lager-Pills mit eigener Farbe pro Standort */
.ml-pill--basae   { background: rgba(111,179,255,0.18); color: #1f5b9c; }
.ml-pill--lufapak { background: rgba(255,179,71,0.22);  color: #8a4f00; }

/* Bestand-Legend */
.ml-legend {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: var(--ml-ink-soft);
  flex-wrap: wrap;
}
.ml-legend__item { display: flex; align-items: center; gap: 0.35rem; }
.ml-legend__dot { width: 8px; height: 8px; border-radius: 999px; }

/* Tooltip via title genügt fuer jetzt; CSS-Hint */
[title]:hover { cursor: help; }
button[title]:hover, a[title]:hover { cursor: pointer; }
.ml-tbl td[title] { cursor: help; }

.ml-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ml-ink-soft);
}

@media (max-width: 1023px) {
  .ml-admin { grid-template-columns: 1fr; }
  .ml-admin__side {
    position: static; height: auto; padding: 0.5rem;
  }
  .ml-admin__nav { flex-direction: row; flex-wrap: wrap; gap: 0.25rem; }
  .ml-admin__nav a { font-size: 0.82rem; padding: 0.4rem 0.6rem; }
  .ml-admin__brand { border-bottom: none; padding: 0.5rem 0.85rem 0.5rem; margin-bottom: 0.25rem; }
  .ml-admin__main { padding: 1rem; }
}

/* === Edit-Sektionen (Stift-Pattern) === */
.ml-section { position: relative; }
.ml-section[data-edit="false"] input:not([type=hidden]):not([type=file]),
.ml-section[data-edit="false"] textarea,
.ml-section[data-edit="false"] select {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--ml-ink) !important;
  cursor: default;
  pointer-events: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ml-section[data-edit="false"] input[type=color] { opacity: 0.65; pointer-events: none; }
.ml-section[data-edit="false"] input[type=checkbox] { pointer-events: none; opacity: 0.7; }
.ml-section[data-edit="false"] .ml-edit-actions { display: none; }
.ml-section[data-edit="true"]  .ml-edit-toggle  { display: none; }
.ml-section[data-edit="true"]  .ml-edit-actions { display: inline-flex; gap: 0.4rem; }
.ml-section .ml-edit-toggle, .ml-section .ml-edit-cancel, .ml-section .ml-edit-save {
  background: transparent; border: 1px solid var(--ml-border); border-radius: 0.4rem;
  padding: 0.35rem 0.7rem; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  color: var(--ml-ink-soft); transition: all 0.15s;
}
.ml-section .ml-edit-toggle:hover { background: var(--ml-mint-pale); color: var(--ml-mint-deep); border-color: var(--ml-mint); }
.ml-section .ml-edit-save  { background: var(--ml-mint); color: #fff; border-color: var(--ml-mint); }
.ml-section .ml-edit-save:hover { background: var(--ml-mint-hover); }
.ml-section .ml-edit-cancel:hover { background: #fee; color: #c00; border-color: #faa; }
.ml-section__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; gap: 1rem;
}
.ml-section__header h2 { margin: 0 !important; }
