/* 01-grundlagen.css */
  :root {
    /* Sitex Markenfarben — Rot bewusst sparsam */
    --sitex-red: #DB001B;
    --sitex-red-dark: #B0040E;
    --sitex-red-light: #FDECEC;
    --sitex-soft-red: #FDECEC;
    --sitex-dark: #2B2B2B;
    --sitex-black: #050505;
    --sitex-grey: #6F6F6F;
    --sitex-light-grey: #F3F4F6;
    --sitex-border: #E5E7EB;
    --sitex-card: #FFFFFF;

    /* Alias für Bestand-Code (gleicher Wert, andere Namen) */
    --bg: var(--sitex-light-grey);
    --card: var(--sitex-card);
    --border: var(--sitex-border);
    --border-strong: #D1D5DB;
    --text: var(--sitex-dark);
    --muted: var(--sitex-grey);
    --muted-2: #9CA3AF;
    --green: #15803D;
    --amber: #B45309;
    --blue: #1D4ED8;

    /* Große, ruhige Radien wie in modernen SaaS-Tools */
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --radius: 22px;

    /* Sehr weiche Schatten */
    --shadow-lg: 0 24px 60px rgba(0,0,0,0.08);
    --shadow-md: 0 14px 35px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: var(--shadow-md);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--sitex-light-grey); color: var(--sitex-dark);
    font-family: 'Anivers', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
  a { color: var(--sitex-red); text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  h1, h2, h3, h4 { margin: 0; color: var(--sitex-dark); letter-spacing: -0.01em; }
  h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
  h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
  h3 { font-size: 17px; font-weight: 600; }
  .muted { color: var(--sitex-grey); }
  .small { font-size: 12.5px; }
  .row { display: flex; gap: 18px; }
  .col { display: flex; flex-direction: column; gap: 22px; }

  /* Pills · weicher, ruhiger Look */
  .pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
    background: var(--sitex-light-grey); color: var(--sitex-dark); }
  .pill.red { background: var(--sitex-soft-red); color: var(--sitex-red); }
  .pill.red::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--sitex-red); display:inline-block; }
  .pill.green { background: #ECFDF3; color: #16734F; }
  .pill.green::before { content:''; width:6px; height:6px; border-radius:50%; background:#16734F; display:inline-block; }
  .pill.amber { background: #FEF6E7; color: #B45309; }
  .pill.blue { background: #EFF6FF; color: #1E40AF; }

  /* Buttons · große Rundung, ruhige Hover */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
    border: 1px solid var(--sitex-border); background: #fff; color: var(--sitex-dark); font-weight: 600; font-size: 13.5px;
    transition: all 0.18s ease; box-shadow: var(--shadow-sm); }
  .btn:hover { background: #FAFAFB; transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn.primary { background: var(--sitex-red); color: #fff; border-color: var(--sitex-red); }
  .btn.primary:hover { background: var(--sitex-red-dark); }
  .btn.ghost { background: transparent; border-color: transparent; box-shadow:none; }
  .btn.sm { padding: 7px 14px; font-size: 12px; }

  /* Inputs · weiche, helle Felder */
  input, select, textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--sitex-border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 14px; background: #fff; color: var(--sitex-dark); transition: border-color 0.15s;
  }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sitex-red); box-shadow: 0 0 0 4px var(--sitex-soft-red); }
  textarea { min-height: 80px; resize: vertical; }
  label.field { display: block; margin-bottom: 14px; }
  label.field > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--sitex-grey); margin-bottom: 6px; }

  /* Cards · große Rundungen + weicher Schatten = SaaS-Look */
  .card { background: var(--sitex-card); border: 1px solid var(--sitex-border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); padding: 26px; }


/* 02-login.css */
  /* ---------- LOGIN · Hochwertig, ruhig ---------- */
  .login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--sitex-light-grey); padding: 32px; }
  .login-card { background: #fff; max-width: 980px; width: 100%; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); overflow: hidden; display: grid;
    grid-template-columns: 400px 1fr; }
  .login-hero { background: var(--sitex-black); color: #fff; padding: 44px 40px 38px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; }
  .login-hero::before { content:''; position:absolute; top:-100px; right:-100px; width:280px; height:280px; border-radius:50%; background: rgba(227,6,19,0.18); filter: blur(20px); }
  .login-hero > * { position: relative; }
  .login-hero .logo-wrap { padding: 4px 0 12px; }
  .login-hero ul { padding-left: 18px; color: rgba(255,255,255,0.88); margin: 14px 0 0; }
  .login-hero ul li { margin-bottom: 8px; font-size: 13px; }
  .login-hero .hero-foot { font-size: 11.5px; opacity: 0.6; line-height: 1.5; }
  .login-form { padding: 44px; }
  .login-form h1 { margin-bottom: 8px; }
  .login-form .muted-lead { color: var(--sitex-grey); margin-bottom: 28px; font-size: 14.5px; }
  .login-user { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px; background: var(--sitex-light-grey); border-radius: var(--radius-sm); border: 1px solid var(--sitex-border); }
  .login-user .avatar { width: 52px; height: 52px; border-radius: 50%; background-image: none; background-color: #E5E7EB;
    background-size: cover; background-position: center; flex-shrink: 0; }
  .login-user .name { font-weight: 700; }
  .login-user .meta { font-size: 12px; color: var(--sitex-grey); }


/* 03-rahmen-und-navigation.css */
  /* ---------- APP LAYOUT · Moderne SaaS-Optik ---------- */
  .app { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; padding: 24px 24px 24px 24px; gap: 24px; }

  /* Dunkle, abgerundete Sidebar mit Abstand vom Rand */
  .sidebar { background: var(--sitex-black); border-radius: var(--radius-lg); display: flex; flex-direction: column;
    color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; height: calc(100vh - 48px); position: sticky; top: 24px; }
  .sidebar.admin { background: #050505; }
  .brand-bar { padding: 26px 22px 18px; display: flex; align-items: center; gap: 12px; }
  .brand-bar .logo-mark { display: block; }
  .brand-bar svg { filter: invert(1) brightness(2); }
  .profile { padding: 0 22px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 14px; }
  .avatar { width: 54px; height: 54px; border-radius: 50%; background-image: none; background-color: #E5E7EB;
    background-size: cover; background-position: center; box-shadow: 0 0 0 3px rgba(227,6,19,0.25); }
  .avatar.sm { width: 36px; height: 36px; box-shadow: none; }
  .profile .name { font-weight: 700; font-size: 14px; margin-top: 8px; color: #fff; }
  .profile .role { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.4; }
  .nav { padding: 4px 14px 18px; flex: 1; overflow-y: auto; }
  .nav::-webkit-scrollbar { width: 6px; }
  .nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
  .nav-section-title { padding: 16px 8px 8px; font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.35); font-weight: 700; }
  .nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 14px;
    color: rgba(255,255,255,0.7); font-size: 13px; cursor: pointer; font-weight: 500; margin-bottom: 3px; transition: all 0.15s ease; }
  .nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
  .nav-item.active { background: var(--sitex-red); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(227,6,19,0.35); }
  .nav-item .icon { width: 18px; flex-shrink: 0; text-align: center; opacity: 0.9; font-size: 15px; }
  .nav-item.active .icon { opacity: 1; }
  .sidebar-foot { padding: 14px 18px 22px; border-top: 1px solid rgba(255,255,255,0.08); }
  .role-switch {
    width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04); font-size: 12px; color: rgba(255,255,255,0.85); cursor: pointer; font-family: inherit;
  }
  .role-switch option { background: var(--sitex-black); color: #fff; }
  .sidebar-foot .btn.ghost { color: rgba(255,255,255,0.55); background: transparent; }
  .sidebar-foot .btn.ghost:hover { color: #fff; background: rgba(255,255,255,0.06); }

  .main { display: flex; flex-direction: column; min-width: 0; background: var(--sitex-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
  .topbar { background: #fff; border-bottom: 1px solid var(--sitex-border); padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .topbar .greeting { font-size: 14.5px; color: var(--sitex-grey); }
  .topbar .greeting strong { font-weight: 700; color: var(--sitex-dark); }
  .topbar-actions { display: flex; align-items: center; gap: 12px; }
  .topbar .search { width: 320px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--sitex-border);
    background: #fff; font-size: 13.5px; box-shadow: var(--shadow-sm); }
  .topbar .search:focus { border-color: var(--sitex-red); box-shadow: 0 0 0 4px var(--sitex-soft-red); }
  .content { padding: 30px 32px 40px; overflow-x: auto; background: var(--sitex-light-grey); flex: 1; }


/* 04-bausteine.css */
  /* KPI cards · große ruhige Zahlen-Cards */
  .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .kpi { background: #fff; border: 1px solid var(--sitex-border); border-radius: var(--radius-md); padding: 22px 24px;
    display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-md); transition: transform 0.2s; }
  .kpi:hover { transform: translateY(-2px); }
  .kpi .icon-circle { width: 48px; height: 48px; border-radius: 14px; background: var(--sitex-soft-red); color: var(--sitex-red);
    display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
  .kpi .num { font-size: 32px; font-weight: 700; color: var(--sitex-dark); line-height: 1; letter-spacing: -0.02em; }
  .kpi .label { font-size: 12.5px; color: var(--sitex-grey); margin-top: 6px; font-weight: 500; }
  .kpi .trend { font-size: 11.5px; margin-top: 4px; color: var(--sitex-red); font-weight: 600; }
  .kpi .trend.down { color: var(--amber); }

  .grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

  .news-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
  .news-item:last-child { border-bottom: none; }
  .news-date { background: var(--sitex-red); color: #fff; min-width: 60px; padding: 6px 8px; border-radius: 6px;
    text-align: center; font-weight: 700; font-size: 11px; line-height: 1.1; }
  .news-date .day { display: block; font-size: 14px; margin-top: 2px; }
  .news-content { flex: 1; }
  .news-content .title { font-weight: 700; font-size: 13.5px; }
  .news-content .lead { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

  /* Tabellen · weiche Border statt harten Linien */
  .table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .table th, .table td { padding: 14px 14px; text-align: left; border-bottom: 1px solid var(--sitex-border); }
  .table th { font-size: 11px; text-transform: uppercase; color: var(--sitex-grey); letter-spacing: 1px; font-weight: 700; background: transparent; }
  .table tr:hover td { background: #FAFAFB; }
  .table.compact th, .table.compact td { padding: 10px 12px; }

  .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
  .product-tile { border: 1px solid var(--sitex-border); border-radius: var(--radius-md); background: #fff; overflow: hidden;
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
  .product-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  .product-img { aspect-ratio: 4/5; background-size: cover; background-position: center; background-color: var(--sitex-light-grey); position: relative; }
  .product-img.damen { background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDA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zQ5IiBvcGFjaXR5PSIwLjQiLz4KICA8cGF0aCBkPSJNIDI4NSAyMjAgTCAzMjUgMjUwIEwgMzIwIDI5NSBMIDI4MCAyODUgWiIgZmlsbD0iIzNGNDM0OSIgb3BhY2l0eT0iMC40Ii8+CiAgPCEtLSBDaGVzdCBwb2NrZXQgLS0+CiAgPHJlY3QgeD0iMjU1IiB5PSIzMjUiIHdpZHRoPSI0OCIgaGVpZ2h0PSI1OCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjM0Y0MzQ5IiBzdHJva2Utd2lkdGg9IjEuNSIgb3BhY2l0eT0iMC40NSIvPgogIDwhLS0gVGlueSBsYWJlbCAtLT4KICA8cmVjdCB4PSIyMDYiIHk9IjI3NSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjE2IiBmaWxsPSIjRkZGRkZGIiBvcGFjaXR5PSIwLjYiLz4KPC9zdmc+); }
  .product-tile .body { padding: 10px 12px; }
  .product-tile .name { font-weight: 700; font-size: 13px; line-height: 1.3; }
  .product-tile .meta { font-size: 11px; color: var(--muted); margin-top: 3px; }
  .product-tile .badge { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.7); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 4px; font-weight: 600; }
  .product-tile .heart { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center; color: var(--sitex-red); font-size: 14px; }

  .breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
  .breadcrumb span { cursor: pointer; }
  .breadcrumb span:hover { color: var(--sitex-red); }

  .branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
  .branch-tile { background: #fff; border: 1px solid var(--sitex-border); border-radius: var(--radius-md); padding: 24px;
    cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow-sm); }
  .branch-tile:hover { border-color: var(--sitex-red); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
  .branch-tile .icon-large { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--sitex-soft-red); color: var(--sitex-red);
    display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }

  .stepper { display: flex; gap: 10px; margin-bottom: 20px; }
  .step { padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--sitex-grey); font-size: 12.5px; font-weight: 600; border: 1px solid var(--sitex-border); }
  .step.active { background: var(--sitex-red); color: #fff; border-color: var(--sitex-red); box-shadow: 0 4px 12px rgba(227,6,19,0.25); }
  .step.done { background: #ECFDF3; color: #16734F; border-color: #ECFDF3; }

  .checkable { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border: 1px solid var(--sitex-border); border-radius: var(--radius-sm); cursor: pointer; margin-bottom: 8px; transition: all 0.15s; }
  .checkable:hover { background: #FAFAFB; }
  .checkable input { width: auto; margin-top: 3px; }
  .checkable.selected { border-color: var(--sitex-red); background: var(--sitex-soft-red); }

  .toast { position: fixed; bottom: 28px; right: 28px; background: var(--sitex-black); color: #fff; padding: 14px 22px; border-radius: var(--radius-sm); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.25s; max-width: 380px; box-shadow: var(--shadow-lg); font-weight: 500; }
  .toast.show { opacity: 1; }

  .empty { text-align: center; padding: 50px; color: var(--sitex-grey); }

  .section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 14px; }
  .section-title h2 { font-size: 20px; }

  .detail-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
  .detail-hero .gallery { background: #F4F5F7; aspect-ratio: 4/5; border-radius: var(--radius); display: block; background-size: cover; background-position: center; }
  .detail-hero .gallery.damen { background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0Ij4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gTCAzMjUgMjUwIEwgMzIwIDI5NSBMIDI4MCAyODUgWiIgZmlsbD0iIzNGNDM0OSIgb3BhY2l0eT0iMC40Ii8+CiAgPCEtLSBDaGVzdCBwb2NrZXQgLS0+CiAgPHJlY3QgeD0iMjU1IiB5PSIzMjUiIHdpZHRoPSI0OCIgaGVpZ2h0PSI1OCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjM0Y0MzQ5IiBzdHJva2Utd2lkdGg9IjEuNSIgb3BhY2l0eT0iMC40NSIvPgogIDwhLS0gVGlueSBsYWJlbCAtLT4KICA8cmVjdCB4PSIyMDYiIHk9IjI3NSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjE2IiBmaWxsPSIjRkZGRkZGIiBvcGFjaXR5PSIwLjYiLz4KPC9zdmc+); }
  .detail-hero .info dl { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6px 14px; font-size: 13px; margin: 12px 0; }
  .detail-hero .info dt { color: var(--muted); }
  .detail-hero .info dd { margin: 0; font-weight: 600; }
  .thumb-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .thumb-strip .thumb { width: 64px; height: 80px; border: 2px solid transparent; border-radius: 6px; background-size: cover; background-position: center; cursor: pointer; }
  .thumb-strip .thumb.active { border-color: var(--sitex-red); }

  .tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--sitex-border); margin: 18px 0; }
  .tab { padding: 12px 18px; cursor: pointer; font-weight: 600; color: var(--sitex-grey); border-bottom: 2px solid transparent; font-size: 13.5px; transition: all 0.15s; }
  .tab:hover { color: var(--sitex-dark); }
  .tab.active { color: var(--sitex-red); border-bottom-color: var(--sitex-red); }

  .legend { display: flex; gap: 12px; font-size: 11.5px; color: var(--sitex-grey); margin-top: 8px; flex-wrap: wrap; }
  .legend span { display: inline-flex; align-items: center; gap: 5px; }
  .legend .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sitex-red); }

  /* Mini bar chart · weiches Rot */
  .bars { display: flex; align-items: end; gap: 7px; height: 90px; padding-top: 8px; }
  .bars .bar { flex: 1; background: linear-gradient(180deg, var(--sitex-red) 0%, var(--sitex-red-dark) 100%); border-radius: 6px 6px 0 0; opacity: 0.9; transition: opacity 0.2s; }
  .bars .bar:hover { opacity: 1; }

  .switcher { display: inline-flex; background: var(--sitex-light-grey); padding: 4px; border-radius: 999px; gap: 2px; }
  .switcher button { background: transparent; border: none; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--sitex-grey); cursor: pointer; }
  .switcher button.active { background: #fff; color: var(--sitex-red); box-shadow: var(--shadow-sm); }

  .accordion { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; background: #fff; overflow: hidden; }
  .accordion summary { padding: 12px 14px; font-weight: 600; font-size: 13.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .accordion summary::-webkit-details-marker { display: none; }
  .accordion summary::after { content: '+'; font-size: 18px; color: var(--muted); }
  .accordion[open] summary::after { content: '–'; }
  .accordion .body { padding: 0 14px 14px; font-size: 13px; }

  .berater-card { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
  .berater-card .avatar { width: 64px; height: 64px; box-shadow: 0 0 0 3px #FFE8EC; }
  .berater-card .label { font-size: 11px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.6px; font-weight: 700; }
  .berater-card .name { font-weight: 700; font-size: 15px; margin-top: 2px; }
  .berater-card .meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }


/* 05-kundenansicht.css */
  /* ========== KUNDEN-FRONTEND & WEBSITE-VORSCHAU · Hochwertiges Sitex-Design ========== */
  .customer-frontend { background: #fff; min-height: 100vh; position: relative; padding: 0 55px; }
  .customer-frontend::before, .customer-frontend::after {
    content:''; position: fixed; top: 0; bottom: 0; width: 55px; background: #DB001B; z-index: 5;
  }
  .customer-frontend::before { left: 0; }
  .customer-frontend::after  { right: 0; }
  .customer-frontend .preview-banner {
    background: #2B2B2B; color: #fff; padding: 10px 36px; font-size: 12px; font-weight: 600; text-align: center; letter-spacing: 0.3px;
    position: relative; z-index: 6;
  }
  .customer-frontend .customer-topbar {
    background: #fff; border-bottom: 1px solid #E6E6E6; padding: 0;
    display: flex; align-items: stretch; justify-content: space-between; gap: 0;
    position: relative; z-index: 4; height: 105px;
  }
  .customer-frontend .customer-topbar > div:first-child {
    background: #DB001B; color: #fff; width: 105px; display: flex; align-items: center; justify-content: center;
  }
  .customer-frontend .customer-topbar > div:first-child > * { filter: invert(1) brightness(2); }
  .customer-topbar .menu { display: flex; gap: 8px; align-items: center; padding: 0 18px; flex: 1; }
  .customer-topbar .menu a {
    color: #1F1F1F; font-weight: 500; font-size: 13px; cursor: pointer; transition: all 0.15s;
    padding: 10px 18px; border-radius: 999px;
  }
  .customer-topbar .menu a:hover { background: #F3F3F3; }
  .customer-topbar .menu a.active { background: #DB001B; color: #fff; font-weight: 700; }
  .customer-frontend .topbar-actions { display: flex; align-items: center; gap: 12px; padding-right: 24px; }
  .customer-frontend .topbar-actions .btn {
    border-radius: 999px; padding: 10px 22px; font-size: 13px; font-weight: 700;
    background: #DB001B; color: #fff; border: none;
  }
  .customer-frontend .content {
    padding: 0;
    background: #fff;
  }
  /* Headings in customer-frontend werden rot, fett, schmal */
  .customer-frontend h1 { font-size: 34px; color: #DB001B; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
  .customer-frontend h2 { font-size: 26px; color: #DB001B; font-weight: 800; }
  .customer-frontend h3 { font-size: 17px; color: #DB001B; font-weight: 800; }
  .customer-frontend .card {
    background: #fff; border: 1px solid #E6E6E6; border-radius: 14px; padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .customer-frontend .product-tile {
    background: #fff; border: 1px solid #E6E6E6; border-radius: 4px; box-shadow: none;
    transition: box-shadow 0.2s;
  }
  .customer-frontend .product-tile:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: none; }
  .customer-frontend .product-tile .name { color: #DB001B; font-weight: 700; }
  .customer-frontend .product-img { background: #F7F9F9; }
  .customer-frontend .btn {
    border-radius: 999px; padding: 11px 22px; font-size: 12px; font-weight: 700; box-shadow: none;
    text-transform: none; letter-spacing: 0.2px;
  }
  .customer-frontend .btn.primary { background: #DB001B; color: #fff; border-color: #DB001B; }
  .customer-frontend .btn:hover { transform: none; }
  .customer-frontend .pill { background: #F3F3F3; color: #666; font-weight: 500; padding: 6px 14px; }
  .customer-frontend .pill.red { background: #FDECEC; color: #DB001B; }
  .customer-frontend .pill.green { background: #ECFDF3; color: #16734F; }
  .customer-frontend .kpis { gap: 16px; }
  .customer-frontend .kpi { border-radius: 14px; padding: 22px 24px; }
  .customer-frontend .kpi .num { color: #DB001B; font-size: 36px; font-weight: 800; }
  .customer-frontend .kpi .icon-circle { background: #FDECEC; color: #DB001B; border-radius: 12px; }

  .customer-frontend .footer {
    background: #fff; border-top: 2px solid #DB001B; padding: 30px 36px; font-size: 12px; color: #666;
    display: flex; justify-content: space-between; position: relative; z-index: 4;
  }


/* 06-website-vorschau.css */
  /* ========== sitex.de Website-Vorschau im Backend (eigene Klasse) ========== */
  .sitex-web-preview { background: #fff; min-height: 100vh; position: relative; padding: 0 55px; font-family: 'Anivers', sans-serif; }
  .sitex-web-preview::before, .sitex-web-preview::after {
    content:''; position: fixed; top:0; bottom:0; width: 55px; background: #DB001B; z-index: 5;
  }
  .sitex-web-preview::before { left: 0; }
  .sitex-web-preview::after { right: 0; }
  .sitex-web-preview .preview-banner { background:#2B2B2B; color:#fff; padding:10px 36px; font-size:12px; font-weight:600; text-align:center; position:relative; z-index:6; }
  .sitex-web-preview .web-header {
    background:#fff; border-bottom:1px solid #E6E6E6; position:relative; z-index:4;
  }
  .sitex-web-preview .web-meta-nav { display:flex; justify-content:space-between; height:32px; align-items:center; border-bottom:1px solid #E6E6E6; padding-left:105px; }
  .sitex-web-preview .web-meta-nav-links { display:flex; gap:26px; flex:1; justify-content:center; }
  .sitex-web-preview .web-meta-nav-links a { font-size:11px; color:#666; font-weight:500; }
  .sitex-web-preview .web-meta-nav-links a:hover { color:#DB001B; }
  .sitex-web-preview .web-kundenportal { background:#DB001B; color:#fff; padding:8px 22px; font-size:11px; font-weight:600; height:32px; display:flex; align-items:center; }
  .sitex-web-preview .web-logo-block { position:absolute; left:55px; top:32px; width:105px; height:74px; background:#DB001B; display:flex; align-items:center; justify-content:center; }
  .sitex-web-preview .web-logo-mark { width:46px; height:46px; border-radius:50%; background:#DB001B; border:3px solid #fff; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:20px; font-style:italic; }
  .sitex-web-preview .web-main-nav { height:74px; display:flex; align-items:center; gap:14px; padding-left:130px; }
  .sitex-web-preview .web-nav-pill { background:#DB001B; color:#fff; padding:11px 22px; border-radius:999px; font-size:12.5px; font-weight:700; display:inline-flex; align-items:center; gap:8px; border:none; cursor:pointer; }
  .sitex-web-preview .web-nav-link { padding:11px 16px; font-size:12.5px; font-weight:500; color:#1F1F1F; border-radius:999px; cursor:pointer; background:transparent; border:none; }
  .sitex-web-preview .web-nav-link:hover { background:#F3F3F3; }
  .sitex-web-preview .web-nav-actions { margin-left:auto; display:flex; align-items:center; gap:12px; padding-right:24px; }
  .sitex-web-preview .web-icon-btn { width:38px; height:38px; border-radius:50%; border:1.5px solid #DDDDDD; display:inline-flex; align-items:center; justify-content:center; background:#fff; cursor:pointer; }
  .sitex-web-preview .web-merkliste { background:#DB001B; color:#fff; padding:9px 18px; border-radius:999px; font-size:12px; font-weight:700; border:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px; }

  .sitex-web-preview .web-hero {
    height:480px; position:relative; overflow:hidden;
    background: linear-gradient(115deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 35%),
                linear-gradient(0deg, rgba(120,150,180,0.15), rgba(120,150,180,0.15)),
                radial-gradient(ellipse at 70% 50%, #DCE5EB 0%, #B8C9D8 80%);
  }
  .sitex-web-preview .web-hero-card {
    position:absolute; left:80px; top:50%; transform:translateY(-50%);
    width:440px; background:rgba(255,255,255,0.86); backdrop-filter:blur(10px);
    padding:32px 36px; border-radius:14px; box-shadow:0 18px 50px rgba(0,0,0,0.08); z-index:2;
  }
  .sitex-web-preview .web-breadcrumb { font-size:11px; color:#999; margin-bottom:14px; font-weight:500; }
  .sitex-web-preview .web-hero-card h1 { font-size:44px; color:#DB001B; margin:0 0 6px; font-weight:800; letter-spacing:-0.01em; line-height:1.05; }
  .sitex-web-preview .web-hero-card .sub { font-size:17px; color:#1F1F1F; font-weight:600; }

  .sitex-web-preview .web-section { padding: 60px 80px; max-width: 1360px; margin: 0 auto; }
  .sitex-web-preview .web-section.grey { background:#F3F3F3; }
  .sitex-web-preview .web-intro-grid { display:grid; grid-template-columns:1.5fr 1fr; gap:80px; align-items:start; }
  .sitex-web-preview .web-intro h2 { font-size:28px; color:#DB001B; margin:0 0 18px; font-weight:800; }
  .sitex-web-preview .web-intro p { font-size:13.5px; color:#666; line-height:1.7; }
  .sitex-web-preview .web-stat .num { font-size:80px; font-weight:800; color:#DB001B; line-height:1; letter-spacing:-0.03em; }
  .sitex-web-preview .web-stat .label { font-size:12px; color:#666; margin-top:8px; max-width:200px; }

  .sitex-web-preview .web-cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:36px; }
  .sitex-web-preview .web-cat-card { overflow:hidden; background:#fff; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
  .sitex-web-preview .web-cat-card:hover { transform:translateY(-3px); transition:transform 0.2s; }
  .sitex-web-preview .web-cat-img { height:200px; background-size:cover; background-position:center; }
  .sitex-web-preview .web-cat-foot { background:#DB001B; color:#fff; padding:16px 20px; display:flex; justify-content:space-between; align-items:flex-end; }
  .sitex-web-preview .web-cat-foot strong { display:block; font-size:16px; font-weight:700; }
  .sitex-web-preview .web-cat-foot small { font-size:10px; opacity:0.9; }
  .sitex-web-preview .web-cat-foot .arr { font-size:20px; }

  .sitex-web-preview .web-banner-row { display:grid; grid-template-columns:1fr 1fr; gap:0; }
  .sitex-web-preview .web-banner { height:240px; padding:32px 44px; display:flex; flex-direction:column; justify-content:center; color:#fff; }
  .sitex-web-preview .web-banner.tencel { background: linear-gradient(115deg, rgba(23,56,23,0.95) 0%, rgba(36,75,36,0.7) 60%, rgba(36,75,36,0.4) 100%), radial-gradient(ellipse at 75% 60%, #4a7a48 0%, #2d4d2b 90%); }
  .sitex-web-preview .web-banner.beschaffung { background: linear-gradient(115deg, rgba(75,120,150,0.7) 0%, rgba(180,200,215,0.4) 50%, transparent 100%), radial-gradient(ellipse at 70% 50%, #c4d8e1 0%, #7b9aae 90%); }
  .sitex-web-preview .web-banner h3 { color:#fff; font-size:22px; margin:0 0 6px; font-weight:800; }
  .sitex-web-preview .web-banner p { color:rgba(255,255,255,0.94); font-size:13px; margin:0 0 16px; max-width:340px; }
  .sitex-web-preview .web-btn-outline-white { background:transparent; border:2px solid #fff; color:#fff; padding:9px 22px; border-radius:999px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; cursor:pointer; align-self:flex-start; }

  .sitex-web-preview .web-contact-section { background:#F3F3F3; padding:60px 80px; }
  .sitex-web-preview .web-contact-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:60px; align-items:center; }
  .sitex-web-preview .web-contact-left h2 { font-size:28px; color:#DB001B; margin:0 0 24px; line-height:1.2; font-weight:800; }
  .sitex-web-preview .web-contact-card { background:#fff; padding:22px 26px; border-radius:8px; box-shadow:0 12px 30px rgba(0,0,0,0.06); display:grid; grid-template-columns:120px 1fr; gap:22px; align-items:center; }
  .sitex-web-preview .web-portrait { width:120px; height:150px; border-radius:4px; background: linear-gradient(180deg, transparent 60%, rgba(40,50,60,0.45) 100%), radial-gradient(ellipse at 50% 35%, #d4b896 0%, #c9aa83 28%, transparent 30%), linear-gradient(135deg, #bcc8d2, #9aabbc); position:relative; }
  .sitex-web-preview .web-portrait::after { content:''; position:absolute; left:50%; top:38%; transform:translateX(-50%); width:50px; height:60px; background:linear-gradient(180deg, transparent 50%, #2b3038 50%); border-radius:8px 8px 0 0; }
  .sitex-web-preview .web-contact-info .name { font-size:15px; font-weight:800; letter-spacing:0.5px; color:#1F1F1F; }
  .sitex-web-preview .web-contact-info .role { font-size:12px; color:#666; margin:4px 0 12px; line-height:1.5; }
  .sitex-web-preview .web-contact-info .data { font-size:12px; line-height:1.7; color:#1F1F1F; }
  .sitex-web-preview .web-contact-info .data a { color:#DB001B; }
  .sitex-web-preview .web-btn-red-pill { background:#DB001B; color:#fff; padding:11px 26px; border-radius:999px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; border:none; cursor:pointer; }
  .sitex-web-preview .web-btn-outline-red { background:#fff; border:2px solid #DB001B; color:#DB001B; padding:9px 26px; border-radius:999px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; cursor:pointer; }

  .sitex-web-preview .web-footer { background:#fff; padding:40px 80px 24px; border-top:2px solid #DB001B; position:relative; z-index:4; }
  .sitex-web-preview .web-footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1.4fr 1fr; gap:36px; max-width:1360px; margin:0 auto 24px; }
  .sitex-web-preview .web-footer-logo { width:120px; height:70px; background:#DB001B; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:24px; font-style:italic; margin-bottom:16px; position:relative; }
  .sitex-web-preview .web-footer-logo small { position:absolute; bottom:5px; right:7px; font-style:normal; font-size:7px; font-weight:500; opacity:0.9; }
  .sitex-web-preview .web-footer-col h4 { font-size:10px; color:#999; font-weight:600; text-transform:uppercase; letter-spacing:1.2px; margin:0 0 12px; }
  .sitex-web-preview .web-footer-col p, .sitex-web-preview .web-footer-col li { font-size:11.5px; color:#1F1F1F; line-height:1.7; }
  .sitex-web-preview .web-footer-col ul { list-style:none; padding:0; margin:0; }
  .sitex-web-preview .web-footer-bottom { display:flex; justify-content:space-between; align-items:center; border-top:1px solid #E6E6E6; padding-top:14px; font-size:11px; color:#999; max-width:1360px; margin:0 auto; }
  .sitex-web-preview .web-footer-bottom .legal { display:flex; gap:18px; }

  .footer { background: #fff; border-top: 1px solid var(--sitex-border); padding: 22px 36px; font-size: 12.5px; color: var(--sitex-grey); display: flex; justify-content: space-between; }

  @media (max-width: 1100px) {
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .login-card { grid-template-columns: 1fr; }
    .login-hero { padding: 24px; }
    .detail-hero { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .app { grid-template-columns: 1fr; }
    .sidebar { display: none; }
  }


/* 07-symbole.css */
  /* Monochrome inline icons */
  .ic { display:inline-flex; align-items:center; justify-content:center; width:1em; height:1em; vertical-align:-0.15em; line-height:1; flex-shrink:0; }
  .ic svg { width:100%; height:100%; display:block; stroke:currentColor; }
  .kpi .icon-circle .ic { width:1.1em; height:1.1em; }
  .branch-tile .icon-large .ic { width:1.05em; height:1.05em; }
  .nav-item .icon .ic { width:16px; height:16px; }
  .badge .ic { width:14px; height:14px; }


/* 08-website-anpassung.css */
  body { zoom: 1.09; }
  body, button, input, select, textarea { font-family: "Anivers", "Barlow Condensed", Arial, sans-serif; }
  [class*="card"], [class*="panel"], [class*="box"] { border-radius: 18px; }
  button, .btn { border-radius: 999px; }
  ::selection { background: rgba(219,0,27,.15); }

/* 90-anpassungen.css */
/* Sitex Studio · Smartphone und kleine Tablets (bis 820 px).
   Ergänzt die Prototyp-Oberfläche, ohne die Desktop-Ansicht zu verändern:
   Seitenleiste als ausklappbares Menü, Inhalte einspaltig, Tabellen wischbar. */
.sx-mobilkopf, .sx-schleier { display: none; }

@media (max-width: 820px) {
  body { zoom: 1 !important; -webkit-text-size-adjust: 100%; }
  input, select, textarea { font-size: 16px !important; }   /* verhindert Auto-Zoom auf iOS */

  /* Kopfleiste mit Menü-Knopf */
  .sx-mobilkopf { display: flex; position: fixed; top: 0; left: 0; width: 100vw; box-sizing: border-box; z-index: 950; height: 56px;
    align-items: center; gap: 12px; padding: 0 12px 0 6px; background: #050505; color: #fff;
    padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
  .sx-mobilkopf button { appearance: none; border: 0; background: transparent; color: #fff; width: 44px; height: 44px;
    display: grid; place-items: center; border-radius: 12px; cursor: pointer; }
  .sx-mobilkopf button:active { background: rgba(255,255,255,.1); }
  .sx-mobilkopf .sx-marke { font-weight: 700; font-size: 16px; white-space: nowrap; }
  .sx-mobilkopf .sx-marke span { font-weight: 400; }
  .sx-mobilkopf .sx-titel { margin-left: auto; font-size: 13px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50vw; }
  body.sx-angemeldet { padding-top: calc(56px + env(safe-area-inset-top)); }

  /* Seitenleiste als Schublade */
  .app { display: block !important; padding: 0 !important; min-height: 0; }
  .app > .sidebar { display: flex !important; position: fixed; top: 0; bottom: 0; left: 0; z-index: 1001;
    width: min(86vw, 320px); border-radius: 0 20px 20px 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(-105%); transition: transform .24s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top); }
  body.sx-nav-offen .app > .sidebar { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.45); }
  .sx-schleier { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(17,18,20,.5);
    opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.sx-nav-offen .sx-schleier { opacity: 1; pointer-events: auto; }
  body.sx-nav-offen { overflow: hidden; }
  html, body { overflow-x: hidden; }
  .sidebar .nav-item { min-height: 44px; }

  /* Hauptbereich */
  .main { border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; min-height: calc(100vh - 56px); }
  .topbar { padding: 12px 16px !important; flex-wrap: wrap; gap: 10px; }
  .topbar > * { min-width: 0; }
  .topbar .greeting { font-size: 13px; }
  .topbar-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
  .topbar .search { width: 100% !important; flex: 1 1 100%; }
  .content { padding: 16px 14px 96px !important; overflow-x: visible !important; }
  .content * { max-width: 100%; }
  .content h1 { font-size: 26px !important; line-height: 1.15; overflow-wrap: anywhere; }
  .content h2 { font-size: 20px !important; overflow-wrap: anywhere; }
  .content h3 { overflow-wrap: anywhere; }

  /* Kopfzeile kompakt: Suche bleibt, Begrüßung/Betrieb/Rolle stehen im Menü */
  .topbar { padding: 10px 14px !important; }
  .topbar .greeting, .topbar-actions > :not(.search):not(input) { display: none !important; }
  .topbar > div:first-child:not(.topbar-actions) { display: none !important; }

  /* Überschrift + Knöpfe untereinander statt gequetscht nebeneinander */
  .section-title { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  .section-title > * { max-width: 100%; }
  .content .card, .content .col, .content .kpi { box-sizing: border-box; min-width: 0; }

  /* Mehrspaltiges wird einspaltig, Zeilen dürfen umbrechen */
  .kpis { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .grid-2, .grid-3, .grid-4, .detail-hero { grid-template-columns: 1fr !important; }
  .content [style*="grid-template-columns"]:not([class*="swatch"]):not([class*="farb"]) { grid-template-columns: 1fr !important; }
  .content .row, .content [style*="display:flex"], .content [style*="display: flex"] { flex-wrap: wrap; }
  .content .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .kpi { padding: 14px !important; }
  .kpi .num { font-size: 24px !important; }
  .card { padding-left: 16px !important; padding-right: 16px !important; }

  /* Tabellen seitlich wischen statt abschneiden */
  .content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .content table td, .content table th { white-space: normal; min-width: 90px; }

  /* Knöpfe gut treffbar */
  .btn { min-height: 40px; }

  /* Dialoge */
  [style*="position:fixed; inset:0"] { padding: 10px !important; align-items: end !important; }
  [style*="position:fixed; inset:0"] > * { max-width: 100% !important; width: 100% !important; max-height: calc(100vh - 20px); overflow-y: auto; }

  /* Speicherleiste Portfolio über die volle Breite */
  #sitex-savebar { left: 0 !important; right: 0 !important; width: 100vw; box-sizing: border-box; flex-wrap: wrap !important; gap: 8px !important; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important; }

  /* Assistent: nur runder Knopf, kein Sprechblasen-Hinweis */
  .sxa-teaser { display: none !important; }
  .sxa-fab { width: 52px; padding: 0 !important; justify-content: center; font-size: 0 !important; gap: 0 !important; bottom: calc(14px + env(safe-area-inset-bottom)) !important; }
  body.sx-savebar-da .sxa-fab { bottom: calc(var(--sx-savebar-h, 90px) + 12px) !important; }
  body.sx-savebar-da .content { padding-bottom: calc(var(--sx-savebar-h, 90px) + 40px) !important; }

  /* Anmeldung */
  .login-wrap { padding: 16px !important; min-height: 100svh; }
  .login-hero { display: none !important; }
  .login-form { padding: 28px 22px !important; }
}

@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr !important; }
  .content .product-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Alle Größen: Assistent über der Portfolio-Speicherleiste statt darauf */
body.sx-savebar-da .sxa-fab { bottom: calc(var(--sx-savebar-h, 64px) + 14px) !important; }
body.sx-savebar-da .sxa-teaser { bottom: calc(var(--sx-savebar-h, 64px) + 78px) !important; }
@media (min-width: 821px) {
  body.sx-savebar-da .sxa { bottom: calc(var(--sx-savebar-h, 64px) + 14px) !important; max-height: calc(100vh - var(--sx-savebar-h, 64px) - 40px) !important; }
}

/* Knöpfe in Tabellenzeilen: gleiche Höhe, auf einer Linie, Symbole mittig */
.content td .btn, .content td a.btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
  height: 34px; min-height: 34px !important; padding: 0 14px !important; box-sizing: border-box;
  line-height: 1 !important; vertical-align: middle; margin-top: 0 !important; margin-bottom: 0 !important;
  white-space: nowrap;
}
.content td .btn .ic, .content td .btn svg { width: 14px; height: 14px; flex: 0 0 14px; vertical-align: 0; }
.content td .btn.sx-nur-symbol { width: 34px; padding: 0 !important; }
.content td:has(> .btn) { vertical-align: middle; }

/* Desktop: Seitenleiste nie höher als das Fenster. Kopf (Logo, Profil) und
   Fuß (Sicht, Abmelden) bleiben stehen, nur die Menüliste scrollt in sich.
   --sx-zoom gleicht den zoom:1.09 des Prototyps aus (vh wird mitskaliert). */
@media (min-width: 821px) {
  .app { align-items: start; }
  .app > .sidebar {
    position: sticky; top: 24px;
    height: calc((100vh - 48px) / var(--sx-zoom, 1));
    max-height: calc((100vh - 48px) / var(--sx-zoom, 1));
    display: flex; flex-direction: column; overflow: hidden;
  }
  .app > .sidebar > .brand-bar, .app > .sidebar > .profile, .app > .sidebar > .sidebar-foot { flex: 0 0 auto; }
  .app > .sidebar > .nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #2B2B2B transparent; }
  .app > .sidebar > .nav::-webkit-scrollbar { width: 6px; }
  .app > .sidebar > .nav::-webkit-scrollbar-thumb { background: #2B2B2B; border-radius: 3px; }
}
@media (min-width: 821px) and (max-height: 760px) {
  .app > .sidebar > .profile .role { display: none; }
}

/* Formularfelder wie die Knöpfe: Pillenform, gleicher Rand, gleiche Höhe, gleicher Schatten */
/* gilt überall (auch in Dialogen), nicht für die Sicht-Auswahl in der Seitenleiste und den Assistenten */
body input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=button]):not(.search):not(.sxa__in),
body select:not(.role-switch) {
  border-radius: 999px !important;
  border: 1px solid #E5E7EB !important;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04) !important;
  padding: 11px 20px !important;
  line-height: 16.4px !important;
  height: 40.4px !important; /* = Höhe der Knöpfe (.btn) */
  font-size: 13.5px !important;
  box-sizing: border-box;
}
body select:not(.role-switch) { padding-top: 0 !important; padding-bottom: 0 !important; padding-right: 40px !important; }
body textarea:not(.sxa__in) {
  border-radius: 18px !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04) !important;
  padding: 12px 20px !important;
  font-size: 13.5px !important;
}
body input:not(.search):not(.sxa__in):focus, body select:not(.role-switch):focus, body textarea:not(.sxa__in):focus {
  border-color: var(--sitex-red, #DB001B) !important;
  box-shadow: 0 0 0 4px var(--sitex-soft-red, rgba(219, 0, 27, .12)) !important;
  outline: none;
}
@media (max-width: 820px) { body input, body select, body textarea { font-size: 16px !important; } }

/* Artikelkarten: runde Symbol-Knöpfe in einer Reihe */
.product-tile .btn.sx-karten-symbol {
  width: 38px; height: 38px; padding: 0 !important;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.product-tile .btn.sx-karten-symbol .ic, .product-tile .btn.sx-karten-symbol svg { width: 16px; height: 16px; }
.product-tile .body > div:has(> .sx-karten-symbol) { flex-wrap: nowrap !important; gap: 8px !important; }

/* Schneller Tooltip */
.sx-tip { position: relative; }
.sx-tip:hover::after, .sx-tip:focus-visible::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #111214; color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1;
  padding: 6px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none; z-index: 60;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.sx-tip:hover::before, .sx-tip:focus-visible::before {
  content: ""; position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #111214; border-bottom: 0; pointer-events: none; z-index: 60;
}

/* Beschreibungslisten in Karten (Herstellerinfo, Artikelnummer, Kundenakte …)
   wie die Eigenschaften oben im Artikel: Bezeichnung links grau, Wert rechts fett */
.content .card dl {
  display: grid; grid-template-columns: minmax(140px, 1fr) 1.6fr; gap: 0 14px;
  font-size: 13px; margin: 12px 0 0;
}
.content .card dl > dt, .content .card dl > dd {
  padding: 9px 0; border-bottom: 1px solid var(--sitex-border, #EAEAEA); margin: 0;
}
.content .card dl > dt { color: var(--muted, #6F6F6F); font-weight: 400; }
.content .card dl > dd { font-weight: 600; color: var(--sitex-dark, #2B2B2B); overflow-wrap: anywhere; }
.content .card dl > dt:last-of-type, .content .card dl > dd:last-of-type { border-bottom: 0; }
.content .card dl > dd.muted { grid-column: 1 / -1; font-weight: 400; color: var(--muted, #6F6F6F); border-bottom: 0; }
.content .card .detail-hero .info dl, .content .detail-hero .info dl { gap: 6px 14px; grid-template-columns: 1fr 1.6fr; }
.content .detail-hero .info dl > dt, .content .detail-hero .info dl > dd { padding: 0; border-bottom: 0; }
@media (max-width: 520px) { .content .card dl { grid-template-columns: 1fr; } .content .card dl > dt { padding-bottom: 0; border-bottom: 0; } }

/* Assistent (unten rechts) darf Hinweise und Inhalte nicht verdecken:
   Hinweis-Toast unten mittig, Seiteninhalt mit Luft unter der letzten Karte,
   Dialoge liegen über dem Assistenten. */
.toast { left: 50% !important; right: auto !important; transform: translateX(-50%); bottom: 28px !important; z-index: 9600 !important; text-align: center; }
body.sx-savebar-da .toast { bottom: calc(var(--sx-savebar-h, 64px) + 16px) !important; }
.app .content { padding-bottom: 110px !important; }
.sx-modal { z-index: 9500 !important; }
@media (max-width: 820px) { .toast { max-width: calc(100vw - 32px) !important; width: max-content; } }

/* Zähler offener Anfragen in der Navigation */
.nav-item .sx-zaehler { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--sitex-red, #DB001B); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 22px; text-align: center; box-sizing: border-box; }
.nav-item.active .sx-zaehler { background: #fff; color: var(--sitex-red, #DB001B); }

/* Einheitliche Knopf-Symbole (anpassungen.js → knopfSymbole) */
.btn .sx-bi { display: inline-flex; width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.btn .sx-bi svg { width: 100%; height: 100%; display: block; }
.btn.sx-bi-allein { gap: 0; }
.btn.sm .sx-bi { width: 1.05em; height: 1.05em; }

/* Artikel-Matrix */
.sx-amx td,.sx-amx th{vertical-align:middle;}
.sx-amx input[type=checkbox]{width:18px;height:18px;accent-color:var(--sitex-red,#DB001B);cursor:pointer;margin:0;}
.sx-amx input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5;}
.sx-amx tr.sx-amx-geaendert td{background:#FFFBF2;}
.sx-amx tr.sx-amx-geaendert td:first-child{box-shadow:inset 3px 0 0 #F59E0B;}

/* Auswertung: Wochenbalken und Verteilungen */
.sx-ausw-balken{display:flex;align-items:flex-end;gap:2px;height:140px;margin-top:8px;}
.sx-ausw-spalte{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;cursor:default;}
.sx-ausw-bar{width:70%;max-width:22px;background:var(--sitex-red,#DB001B);border-radius:4px 4px 0 0;transition:opacity .15s;}
.sx-ausw-spalte:hover .sx-ausw-bar{opacity:.75;}
.sx-ausw-wert{font-size:10.5px;color:var(--sitex-grey,#6B7280);margin-bottom:3px;min-height:13px;}
.sx-ausw-achse{display:flex;gap:2px;border-top:1px solid var(--border,#E5E7EB);padding-top:6px;}
.sx-ausw-achse span{flex:1;font-size:10px;color:#9CA3AF;text-align:center;white-space:nowrap;overflow:visible;}
.sx-ausw-zeile{display:grid;grid-template-columns:minmax(110px,1fr) 2fr 36px;gap:10px;align-items:center;font-size:13px;margin-bottom:8px;}
.sx-ausw-zeile strong{text-align:right;}
.sx-ausw-leiste{height:8px;background:#F3F4F6;border-radius:4px;overflow:hidden;}
.sx-ausw-leiste div{height:100%;background:var(--sitex-red,#DB001B);border-radius:4px;}

/* Schnellsuche */
.topbar-actions{position:relative;}
.sx-suche-liste{position:absolute;top:calc(100% + 8px);right:0;width:min(460px,92vw);max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--border,#E5E7EB);border-radius:16px;box-shadow:0 24px 60px rgba(17,18,20,.18);z-index:8000;padding:6px;}
.sx-suche-gruppe{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9CA3AF;padding:10px 12px 4px;}
.sx-suche-treffer{display:flex;flex-direction:column;gap:2px;padding:9px 12px;border-radius:10px;cursor:pointer;font-size:13.5px;}
.sx-suche-treffer span{font-size:12px;color:#6B7280;}
.sx-suche-treffer.aktiv,.sx-suche-treffer:hover{background:#FFF1F3;}
.sx-suche-treffer.aktiv strong{color:var(--sitex-red,#DB001B);}
.sx-suche-leer{padding:14px 12px;color:#6B7280;font-size:13px;}

/* Anmeldung: zweiter Schritt (Code) */
.login-form[hidden]{display:none!important;}

/* Kundenübersicht: Kunden mit neuen Nachrichten */
tr.sx-kunde-neu td{background:#FFF6F7;}
tr.sx-kunde-neu td:first-child{box-shadow:inset 3px 0 0 var(--sitex-red,#DB001B);}
.sx-nachricht-pill{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:3px 9px;border-radius:999px;background:var(--sitex-red,#DB001B);color:#fff;font-size:10.5px;font-weight:700;vertical-align:2px;white-space:nowrap;}

