/* Gemeinsame kompakte Kopfzeile. Seitenfarben und Inhaltstypografie bleiben erhalten. */
.unified-design .at-header.at-compact {
  --header-accent:#126675;
  background:#f7f6f2;
  color:#203b40;
  border-bottom:1px solid #d4ddd9;
}
.unified-design .at-compact .at-top {
  display:flex; flex-wrap:nowrap; align-items:center; gap:20px;
  min-height:80px; padding-block:14px;
}
.unified-design .at-compact .at-brand.at-brand-home {
  width:280px; flex:0 0 280px;
}
.unified-design .at-compact .at-panel {
  flex:1; min-width:0; background:transparent; border:0;
}
.unified-design .at-compact .at-panel-inner { padding:0; }
.unified-design .at-compact .at-sections {
  display:flex; flex-flow:row nowrap; justify-content:flex-end;
  align-items:center; gap:18px; padding:0;
}
.unified-design .at-compact .at-sections a {
  color:var(--header-accent); font-size:15px; font-weight:500;
  white-space:nowrap; text-decoration:none; padding:8px 0;
}
.unified-design .at-compact .at-sections a:hover { text-decoration:underline; }
.unified-design .at-compact .at-sections .at-contact {
  background:var(--header-accent); color:white; border:1px solid var(--header-accent);
  border-radius:8px; padding:10px 18px; min-height:46px; font-weight:600;
}
.unified-design .at-compact .at-actions { display:flex; flex:0 0 auto; gap:8px; }
.unified-design .at-compact .at-linkedin { display:grid; width:44px; height:44px; }
.unified-design .at-compact .at-linkedin img { width:28px; height:28px; }
.unified-design .at-compact .at-toggle { color:var(--header-accent); background:#fff; border-color:#d4ddd9; }
.unified-design .at-compact :is(a,button):focus-visible { outline-color:var(--header-accent); }
@media (min-width:1001px) and (max-width:1150px) {
  .unified-design .at-compact .at-top { gap:12px; }

  .unified-design .at-compact .at-sections { gap:12px; }
  .unified-design .at-compact .at-sections a { font-size:14px; }
}
@media (max-width:1000px) {
  .unified-design .at-compact .at-top { flex-wrap:wrap; justify-content:space-between; gap:8px; min-height:76px; }
  .unified-design .at-compact .at-brand.at-brand-home { width:240px; flex-basis:240px; }
  .unified-design .at-compact .at-actions { order:1; }
  .unified-design .at-compact .at-panel { order:2; flex-basis:100%; }
  .unified-design .at-compact .at-panel-inner { padding:16px 24px; }
  .unified-design .at-compact .at-sections { flex-direction:column; align-items:stretch; gap:4px; }
  .unified-design .at-compact .at-sections a { font-size:17px; }
  .unified-design .at-compact.at-enhanced .at-panel { background:#f7f6f2; border-color:#d4ddd9; }
  .unified-design .at-compact .at-sections .at-contact { margin-top:8px; }
}
@media (max-width:600px) {
  .unified-design .at-compact .at-brand.at-brand-home { width:230px; flex-basis:230px; max-width:calc(100% - 100px); }
  .unified-design .at-compact .at-actions { gap:4px; }
}

/* Angebotslogo unter der Dachmarke, ohne die Navigationszeile zu verbreitern. */
.unified-design .at-compact .at-brand-stack { display:flex; flex-direction:column; align-items:flex-start; flex:0 0 280px; width:280px; gap:2px; }
.unified-design .at-compact .at-brand-stack .at-brand-home { width:100%; flex:0 0 auto; max-width:100%; }
.unified-design .at-compact .at-product-brand { display:flex; align-items:center; gap:8px; margin-left:10px; min-height:36px; color:#203b40; text-decoration:none; }
.unified-design .at-compact .at-product-brand img { display:block; width:180px; height:36px; object-fit:contain; object-position:left center; }
.unified-design .at-compact .at-product-icon img { width:28px; height:28px; }
.unified-design .at-compact .at-product-icon span { font:600 17px/1.2 "Segoe UI",Arial,sans-serif; }
@media(max-width:1000px) {
  .unified-design .at-compact .at-brand-stack { width:240px; flex-basis:240px; max-width:calc(100% - 100px); }
}
@media(max-width:600px) {
  .unified-design .at-compact .at-brand-stack { width:230px; flex-basis:230px; }
  .unified-design .at-compact .at-product-brand { margin-left:8px; }
  .unified-design .at-compact .at-product-brand img { width:155px; height:31px; }
  .unified-design .at-compact .at-product-icon img { width:24px; height:24px; }
  .unified-design .at-compact .at-product-icon span { font-size:15px; }
}

/* Symbole separat skalieren; die bisherigen Wortmarken bleiben unverändert groß. */
.unified-design .at-compact .at-product-brand { --symbol-size:28px; --wordmark-width:180px; --wordmark-height:36px; --wordmark-cut:36px; }
.unified-design .at-compact .at-symbol-box { display:block; width:var(--symbol-size); height:var(--symbol-size); overflow:hidden; flex:none; }
.unified-design .at-compact .at-product-brand .at-product-symbol { width:var(--symbol-size); height:var(--symbol-size); flex:none; }
.unified-design .at-compact .at-symbol-padded .at-product-symbol { width:128%; height:128%; max-width:none; transform:translate(-10.94%,-10.94%); }
.unified-design .at-compact .at-product-wordmark { display:block; width:calc(var(--wordmark-width) - var(--wordmark-cut)); height:var(--wordmark-height); overflow:hidden; }
.unified-design .at-compact .at-product-wordmark img { width:var(--wordmark-width); height:var(--wordmark-height); max-width:none; transform:translateX(calc(-1 * var(--wordmark-cut))); }
@media(max-width:600px) {
  .unified-design .at-compact .at-product-brand { --symbol-size:24px; --wordmark-width:155px; --wordmark-height:31px; --wordmark-cut:31px; }
}

/* Gemeinsame Symbol- und Textspalten; Dachmarke bewusst etwas größer. */
.unified-design .at-compact { --home-wordmark-width:280px; --home-cut:56px; --home-height:56px; --brand-column:32px; --brand-gap:10px; }
.unified-design .at-compact .at-brand.at-brand-home,
.unified-design .at-compact .at-product-brand { display:grid; grid-template-columns:var(--brand-column) auto; column-gap:var(--brand-gap); align-items:center; margin-left:0; }
.unified-design .at-compact .at-brand .at-home-symbol { width:var(--brand-column); height:var(--brand-column); }
.unified-design .at-compact .at-home-wordmark { display:block; width:calc(var(--home-wordmark-width) - var(--home-cut)); height:var(--home-height); overflow:hidden; }
.unified-design .at-compact .at-home-wordmark img { display:block; width:var(--home-wordmark-width); height:var(--home-height); max-width:none; transform:translateX(calc(-1 * var(--home-cut))); }
@media(max-width:1000px) {
 .unified-design .at-compact { --home-wordmark-width:240px; --home-cut:48px; --home-height:48px; }
}
@media(max-width:600px) {
 .unified-design .at-compact { --home-wordmark-width:230px; --home-cut:46px; --home-height:46px; --brand-column:28px; }
 .unified-design .at-compact .at-home-wordmark { max-width:100%; }
 .unified-design .at-compact .at-brand.at-brand-home { grid-template-columns:var(--brand-column) minmax(0,1fr); }
}
@media(min-width:1440px) {
 /* Die Kopfzeile nutzt dieselbe .wrap-Breite wie der Seiteninhalt. */
 .unified-design .at-compact .at-brand-stack { flex-direction:row; align-items:center; width:auto; flex-basis:auto; gap:24px; }
 .unified-design .at-compact .at-brand-stack .at-brand-home { width:266px; }
 .unified-design .at-compact .at-product-brand { white-space:nowrap; }
}
