/* =========================================================
   BRZ Kundenportal – Suiteify-Look
   Farben und Typografie nach Suiteify-CI (Web-Tokens)
   ========================================================= */

/* Schriften lokal aus assets/fonts/ (keine Verbindung zu Google, DSGVO-konform).
   Benötigte Dateien: siehe assets/fonts/LIESMICH.txt. Fehlen sie, wird Arial verwendet. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/InstrumentSans-Regular.woff") format("woff"), url("../fonts/InstrumentSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/InstrumentSans-Medium.woff") format("woff"), url("../fonts/InstrumentSans-Medium.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/InstrumentSans-SemiBold.woff") format("woff"), url("../fonts/InstrumentSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/InstrumentSans-Bold.woff") format("woff"), url("../fonts/InstrumentSans-Bold.ttf") format("truetype"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/GeistMono-Bold.woff") format("woff"), url("../fonts/GeistMono-Bold.ttf") format("truetype"); }

@font-face { font-family: "Material Symbols"; font-style: normal; font-weight: 700; font-display: block; src: url("../fonts/MaterialSymbols.woff") format("woff"), url("../fonts/MaterialSymbols.ttf") format("truetype"); }

:root {
  --bg: #F8F8F5;
  --surface: #FFFFFF;
  --surface-2: #F2F2F2;
  --text: #1E1E1B;
  --text-2: #666662;
  --line: #E3E2DC;
  --line-strong: #272724;
  --eyebrow: #6D5BD8;
  --purple: #8E6CFF;
  --purple-dark: #6250C8;
  --lime: #D5F443;
  --lime-soft: #EDF8C8;
  --lavender: #EAE3FF;
  --orange: #FF6A23;

  --radius: 16px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(30,30,27,.04), 0 8px 24px rgba(30,30,27,.06);
  --container: 1280px;
  --gutter: 40px;

  --font: "Instrument Sans", Arial, Helvetica, sans-serif;
  --mono: "Geist Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografie ---------- */
.eyebrow {
  font: 700 12px/1.4 var(--mono);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 12px;
}
h1, h2, h3, h4 { margin: 0; color: var(--text); }
.h-display { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; }
.h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1.13; letter-spacing: -.03em; }
.h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
.h3 { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.h4 { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.lead { font-size: 18px; line-height: 1.5; color: var(--text-2); margin: 16px 0 0; max-width: 640px; }
.muted { color: var(--text-2); }
.small { font-size: 14px; line-height: 1.43; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1 var(--font);
  padding: 12px 24px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: #3A3A37; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-lime { background: var(--lime); color: var(--text); }
.btn-lime:hover { background: #C8E400; }
.btn-s { padding: 9px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,248,245,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 26px; width: auto; }
.brand-divider { width: 1px; height: 24px; background: var(--line); }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--text); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; color: var(--text);
}
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { background: var(--text); color: #fff; }
.header-actions { display: flex; gap: 8px; }
.main-nav a.nav-mobile-only { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: 600 14px var(--font); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero-card {
  background: var(--purple); color: #fff;
  border-radius: var(--radius); padding: 28px;
  position: relative; overflow: hidden;
}
.hero-card .eyebrow { color: var(--lime); }
.hero-card p { position: relative; margin: 0; font-size: 16px; line-height: 1.5; }
.hero-card .btn { position: relative; margin-top: 20px; }
.hero-card .deco { position: absolute; right: -40px; bottom: -40px; width: 180px; opacity: .22; pointer-events: none; }
.page-head { padding: 56px 0 32px; }

/* ---------- Alert / Wichtig ---------- */
.alerts { display: grid; gap: 12px; margin-bottom: 32px; }
.alert {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--lime-soft); border: 1px solid #DCEB9E;
  border-radius: var(--radius-s); padding: 16px 20px; text-decoration: none;
}
.alert:hover { border-color: var(--text); }
.alert-badge {
  flex-shrink: 0; background: var(--text); color: var(--lime);
  font: 700 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; margin-top: 2px;
}
.alert strong { display: block; font-weight: 600; }
.alert span.muted { font-size: 14px; }

/* ---------- Abschnitte ---------- */
.section { padding: 40px 0 72px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }

/* ---------- Kacheln (Stil „Link-Card“ wie suiteify.com) ---------- */
.tile-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.tile, .link-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 16px 16px 18px; min-height: 0;
  background: var(--surface-2); border: 0; border-radius: var(--radius-s);
  text-decoration: none; color: var(--text-2);
  transition: background .15s;
}
.tile:hover, .link-card:hover { background: #E8E8E4; }
.tile-icon, .link-card .lc-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--purple); color: var(--lime);
  font-size: 22px;
}
.tile-icon svg, .link-card .lc-icon svg { width: 22px; height: 22px; }
.tile-body, .link-card .lc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tile-title, .link-card strong {
  margin: 0; font-size: 16px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--text);
}
.tile-desc, .link-card span.lc-text { margin: 0; font-size: 14px; line-height: 1.43; color: var(--text-2); }
.tile-arrow, .link-card .lc-arrow {
  flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center;
  color: var(--text-2); border: 0; background: none; transition: transform .15s, color .15s;
}
.tile-arrow svg, .link-card .lc-arrow svg { width: 18px; height: 18px; }
.tile:hover .tile-arrow, .link-card:hover .lc-arrow { color: var(--text); transform: translateX(3px); }
/* Hervorgehobene Varianten: dezente Flächenfarbe */
.tile.is-purple, .link-card.is-purple { background: var(--lavender); }
.tile.is-purple:hover, .link-card.is-purple:hover { background: #DFD5FF; }
.tile.is-lime, .link-card.is-lime { background: var(--lime-soft); }
.tile.is-lime:hover, .link-card.is-lime:hover { background: #E2F2AE; }

/* ---------- News ---------- */
.news-grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
/* Beitragskarte wie im Suiteify-Blog */
.news-card {
  display: flex; flex-direction: column; gap: 24px;
  background: var(--surface); border-radius: var(--radius); padding: 16px 16px 24px;
  text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-img {
  aspect-ratio: 330 / 208; border-radius: 8px; overflow: hidden; background: var(--lavender);
}
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.03); }
.news-img.is-placeholder { display: grid; place-items: center;
  background: radial-gradient(60% 60% at 30% 30%, rgba(255,123,44,.55), transparent 70%), radial-gradient(60% 70% at 75% 70%, rgba(123,97,255,.6), transparent 70%), var(--lavender); }
.news-img.is-placeholder img { width: 64px; height: auto; opacity: .9; }
.news-body { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.news-text { display: flex; flex-direction: column; gap: 8px; }
.news-eyebrow { font: 700 12px/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--text-2); }
.news-eyebrow.is-urgent { color: var(--orange); }
.news-card h3 { font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -.03em; margin: 0; }
.news-card p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin-top: auto; font-size: 14px; color: var(--text-2); display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--lavender); color: var(--purple-dark);
}
.tag.is-urgent { background: var(--text); color: var(--lime); }
/* Beitragsbild: klein rechts, Text fließt drumherum (auf schmalen Bildschirmen volle Breite) */
.article-hero { float: right; width: min(360px, 42%); margin: 6px 0 20px 32px; border-radius: var(--radius-s); overflow: hidden; background: var(--lavender); }
.article-body .article-hero img { width: 100%; height: auto; display: block; margin: 0; border-radius: 0; }
.article-body::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) {
  .article-hero { float: none; width: 100%; margin: 0 0 24px; }
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: 500 14px/1 var(--font); padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.chip .count { opacity: .6; margin-left: 4px; }

.category-block { margin-bottom: 48px; }
.category-block header { margin-bottom: 20px; }
.category-block header p { margin: 6px 0 0; color: var(--text-2); }

/* ---------- Artikel ---------- */
.article-wrap { max-width: 780px; margin: 0 auto; padding: 48px 0 96px; }
.back-link { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 32px; }
.back-link:hover { text-decoration: underline; }
.article-wrap .lead { max-width: none; }
.article-body {
  margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line);
  font-size: 17px; line-height: 1.65;
}
.article-body h2 { font-size: 26px; font-weight: 650; letter-spacing: -.03em; margin: 40px 0 12px; }
.article-body h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin: 32px 0 8px; }
.article-body p { margin: 0 0 18px; }
.article-body a { color: var(--purple-dark); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body img { border-radius: var(--radius-s); margin: 24px 0; height: auto; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article-body th { background: var(--purple); color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; }
.article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article-body tr:nth-child(even) td { background: #F5F2FD; }
.article-body .hinweis, .article-body blockquote {
  display: flow-root; /* weicht dem Beitragsbild aus, statt dahinter zu laufen */
  background: var(--lime-soft); border-radius: var(--radius-s); padding: 16px 20px; margin: 24px 0;
}
.contact-box {
  margin-top: 48px; background: var(--lavender); border-radius: var(--radius); padding: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}

/* ---------- Downloads ---------- */
.dl-categories { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 40px; }
.dl-cat {
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s;
}
.dl-cat:hover { border-color: var(--text); box-shadow: var(--shadow); }
.dl-cat[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.dl-cat[aria-pressed="true"] .muted { color: rgba(255,255,255,.85); }
.dl-cat .h4 { color: inherit; }
.dl-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.dl-tree {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto;
}
.dl-tree ul { list-style: none; margin: 0; padding: 0; }
.dl-tree ul ul { padding-left: 14px; border-left: 1px solid var(--line); margin-left: 12px; }
.dl-tree button {
  width: 100%; text-align: left; font: 500 14px/1.35 var(--font); color: var(--text);
  background: none; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer;
  display: flex; gap: 8px; align-items: center;
}
.dl-tree button:hover { background: var(--surface-2); }
.dl-tree button[aria-current="true"] { background: var(--lavender); color: var(--purple-dark); font-weight: 600; }
.dl-tree .caret { width: 12px; flex-shrink: 0; transition: transform .15s; }
.dl-tree li.is-open > button .caret { transform: rotate(90deg); }
.dl-tree li:not(.is-open) > ul { display: none; }
.dl-tree .leaf-dot { width: 12px; flex-shrink: 0; text-align: center; color: var(--text-2); }
.dl-main { min-width: 0; }
.breadcrumb { font-size: 14px; color: var(--text-2); margin-bottom: 12px; min-height: 21px; }
.breadcrumb b { color: var(--text); font-weight: 600; }
.search {
  width: 100%; font: 400 16px var(--font); color: var(--text);
  padding: 14px 20px 14px 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23666662' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px center;
  margin-bottom: 20px;
}
.search:focus { outline: none; border-color: var(--text); }
.dl-list { display: grid; gap: 12px; }
.dl-item {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px;
}
.dl-item .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--lavender); color: var(--purple-dark); display: grid; place-items: center; }
.dl-item .ico svg { width: 22px; height: 22px; }
.dl-item h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.dl-item p { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
.dl-item .path { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.dl-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dl-title-link { color: inherit; text-decoration: none; }
.dl-title-link:hover { text-decoration: underline; }
/* Detailseite eines Downloads (download.html) */
.dl-files { margin-top: 32px; background: var(--lavender); border-radius: var(--radius); padding: 20px 24px; }
.dl-files-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dl-files-list .btn { gap: 8px; }
.dl-files-list .btn .msym, .dl-files-list .btn svg { font-size: 18px; width: 18px; height: 18px; }
.dl-files-list .btn-secondary { background: var(--surface); }
.dl-files .muted { margin: 12px 0 0; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.empty {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--text-2);
}

/* ---------- Unterseiten (seite.html) ---------- */
.page-body { padding-bottom: 88px; max-width: 1040px; }
.page-body > * + * { margin-top: 0; }
.page-body section, .page-body .block { margin: 0 0 48px; }
.page-body h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 650; letter-spacing: -.03em; line-height: 1.25; margin: 0 0 8px; }
.page-body h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; }
.page-body p { margin: 0 0 16px; font-size: 17px; line-height: 1.6; max-width: 760px; }
.page-body ul, .page-body ol { margin: 0 0 16px; padding-left: 22px; font-size: 17px; line-height: 1.6; max-width: 760px; }
.page-body li + li { margin-top: 6px; }
.page-body a:not(.link-card):not(.btn) { color: var(--purple-dark); }
.section-intro { color: var(--text-2); margin-bottom: 20px !important; }

/* Linkkarten: Stil siehe „Kacheln“ */
.link-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin: 20px 0 0; }

/* Hinweisbox */
.page-body .hinweis {
  background: var(--lime-soft); border: 1px solid #DCEB9E; border-radius: var(--radius); padding: 24px 28px; margin: 0 0 48px;
}
.page-body .hinweis h2, .page-body .hinweis h3 { font-size: 19px; margin-bottom: 10px; }
.page-body .hinweis ul { margin: 0; }
.page-body .hinweis > :last-child { margin-bottom: 0; }
.page-body .hinweis .btn { margin-top: 4px; }
.page-body .hinweis.is-info { background: var(--lavender); border-color: #D9CEFF; }

/* Schritte */
.steps { list-style: none; padding: 0 !important; margin: 20px 0 0 !important; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: none !important; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 !important; font-size: 15px; color: var(--text-2); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  background: var(--purple); color: var(--lime); font: 700 15px/1 var(--font); margin-bottom: 14px;
}
.steps li strong { display: block; color: var(--text); font-size: 17px; font-weight: 600; margin-bottom: 4px; }

/* Aufklapper (z. B. kurze Fragen) */
.page-body details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); margin: 0 0 10px; max-width: 760px; }
.page-body summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.page-body summary::-webkit-details-marker { display: none; }
.page-body summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--purple-dark); }
.page-body details[open] summary::after { content: "–"; }
.page-body details > *:not(summary) { padding: 0 20px; }
.page-body details > *:last-child { padding-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple); color: #fff; margin-top: 40px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-claim { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--lime); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: #fff; text-decoration: none; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.85);
}
.footer-logo { height: 28px; width: auto; }

/* ---------- Material Symbols (Marken-Icons: Weight 700, Grade 0, Optical Size 48) ---------- */
.msym {
  font-family: "Material Symbols"; font-weight: 700; font-style: normal;
  font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  font-feature-settings: "liga"; -webkit-font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 48;
  -webkit-font-smoothing: antialiased; user-select: none; overflow: hidden;
}
.tile-icon .msym, .link-card .lc-icon .msym { font-size: 24px; }
.dl-item .ico .msym { font-size: 24px; }
.tile-arrow .msym, .lc-arrow .msym { font-size: 20px; }
.dl-tree .msym.caret { font-size: 16px; width: 16px; }

/* ---------- Farbverlauf im Hintergrund (Werte 1:1 von suiteify.com) ---------- */
body { position: relative; }
.page-glow {
  position: absolute; top: 0; left: 0; right: 0;
  overflow: hidden; z-index: -1; pointer-events: none;
}
.page-glow::before { content: ""; position: absolute; inset: 0; }
/* Startseite: Variante "is-hero" (Desktop) */
.page-glow.is-hero { height: clamp(900px, 90vw, 1720px); }
.page-glow.is-hero::before {
  background:
    radial-gradient(40% 32% at 18% 36%, rgba(255,123,44,.62) 0%, rgba(255,123,44,.34) 38%, rgba(255,123,44,0) 75%),
    radial-gradient(26% 46% at 56% 42%, rgba(123,97,255,.56) 0%, rgba(123,97,255,.26) 42%, rgba(123,97,255,0) 78%),
    radial-gradient(34% 24% at 40% 18%, rgba(194,178,255,.42) 0%, rgba(194,178,255,.14) 45%, rgba(194,178,255,0) 78%),
    radial-gradient(42% 30% at 4% 68%, rgba(218,239,118,.56) 0%, rgba(230,241,146,.38) 32%, rgba(239,243,190,.2) 52%, rgba(239,243,190,0) 78%),
    radial-gradient(30% 28% at 38% 48%, rgba(202,107,138,.26) 0%, rgba(202,107,138,.12) 40%, rgba(202,107,138,0) 72%);
}
/* Unterseiten: Variante "is-entry" (wie Blog-/Unterseiten auf suiteify.com) */
.page-glow.is-entry { height: clamp(480px, 34.5vw, 700px); }
.page-glow.is-entry::before {
  background:
    radial-gradient(46% 34% at 32% 10%, rgba(242,159,131,.82) 0%, rgba(242,159,131,.52) 42%, rgba(242,159,131,.24) 64%, rgba(242,159,131,0) 82%),
    radial-gradient(42% 30% at 88% 8%, rgba(218,239,118,.76) 0%, rgba(230,241,146,.48) 42%, rgba(239,243,190,.2) 64%, rgba(239,243,190,0) 82%),
    radial-gradient(58% 44% at 52% 48%, rgba(187,173,255,.82) 0%, rgba(187,173,255,.54) 42%, rgba(187,173,255,.24) 64%, rgba(187,173,255,0) 82%),
    radial-gradient(34% 30% at 44% 36%, rgba(224,164,194,.5) 0%, rgba(224,164,194,.26) 48%, rgba(224,164,194,0) 78%);
}
/* Mobil: Startseiten-Variante wie suiteify.com auf kleinen Bildschirmen */
@media (max-width: 991px) {
  .page-glow.is-hero { height: 800px; }
  .page-glow.is-hero::before {
    left: -20%; right: -20%;
    background:
      radial-gradient(42% 24% at 34% 32%, rgba(255,123,44,.64) 0%, rgba(255,123,44,.36) 38%, rgba(255,123,44,0) 76%),
      radial-gradient(34% 28% at 55% 45%, rgba(205,111,142,.26) 0%, rgba(205,111,142,.12) 42%, rgba(205,111,142,0) 74%),
      radial-gradient(34% 42% at 72% 58%, rgba(132,108,255,.48) 0%, rgba(132,108,255,.22) 44%, rgba(132,108,255,0) 78%),
      radial-gradient(26% 18% at 67% 19%, rgba(221,237,132,.30) 0%, rgba(221,237,132,.13) 42%, rgba(221,237,132,0) 78%);
  }
}
.site-header { background: rgba(248,248,245,.55); }

/* ---------- Hilfsklassen ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.error-box { background: #FFF1EA; border: 1px solid #FFCBB2; border-radius: var(--radius-s); padding: 16px 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .dl-layout { grid-template-columns: 1fr; }
  .dl-tree { position: static; max-height: none; }
}
@media (max-width: 760px) {
  .site-header .container { height: 64px; gap: 12px; }
  .brand-divider, .brand-name { display: none; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a.nav-mobile-only { display: block; }
  .header-actions { display: none; }
  .hero { padding: 40px 0 28px; }
  .tile-grid, .link-grid { grid-template-columns: 1fr; gap: 12px; }
  .alert { padding: 14px 16px; }
  .dl-item { grid-template-columns: 44px 1fr; }
  .dl-item .btn, .dl-item .dl-actions { grid-column: 1 / -1; justify-content: center; }
  .dl-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Abstands-Hilfsklassen (ersetzen Inline-Styles, damit die CSP ohne 'unsafe-inline' für style-src auskommt) */
.mt-16 { margin-top: 16px; }
.mb-4 { margin-bottom: 4px; }
.pt-8 { padding-top: 8px; }
