/* ==========================================================================
   aurebus – Zoho Desk Help Center
   Custom CSS · Stand 07.08.2026 · Theme: Elegant
   Grundlage: aurebus Design System (Corporate Design Guide v1.0)

   Import:  Setup > Channels > Help Center > Help Center Customization
            > Elegant > Customize > CSS > Import-Icon
            (.css oder .txt, max. 1 MB)

   Die Selektoren stammen aus dem tatsaechlichen Header-Markup des Portals
   (HTML-Tab, Stand 07.08.2026) – nicht geraten.
   Reihenfolge: erst Erscheinungsbild setzen, dann dieses CSS importieren.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1 · Markenschriften laden
   Die Auswahl unter "Schriftarten" kennt DM Sans nicht – sie kommt hierueber.
   -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');


/* --------------------------------------------------------------------------
   2 · Design-Tokens
   -------------------------------------------------------------------------- */

:root {
  --ab-blue:        #4C6DFB;   /* Technik / Produkte – Akzentfarbe */
  --ab-magenta:     #AC007A;   /* Business / Loesungen – sparsam */
  --ab-navy:        #3A4161;   /* Header, Footer, Ueberschriften */

  --ab-dark:        #3C3C3C;   /* Fliesstext */
  --ab-gray:        #8A8A8A;   /* Meta, Labels, Breadcrumb */
  --ab-gray-light:  #E6E6E6;
  --ab-highlight:   #A6DDFF;   /* Hover auf dunklem Grund */

  --ab-bg:          #F4F5F7;   /* Seitenhintergrund */
  --ab-card:        #FFFFFF;
  --ab-card-alt:    #F8F9FB;
  --ab-border:      #F0F1F4;
  --ab-hover:       #EEF0F8;   /* Hover auf hellen Flaechen */

  --ab-r-badge:      6px;
  --ab-r-box:        8px;
  --ab-r-card:      12px;
  --ab-r-pill:      20px;

  --ab-shadow: 0 2px 8px rgba(58,65,97,0.08);

  --ab-font:      'DM Sans', 'Lato', Arial, Helvetica, sans-serif;
  --ab-font-mono: 'DM Mono', Consolas, monospace;

  --ab-transition: all 0.15s;
  --ab-maxwidth:  1100px;      /* Navbar; Content-Spalte 1000px */
}


/* --------------------------------------------------------------------------
   3 · Basis-Typografie
   Bewusst kein "*"-Selektor – das wuerde Icon-Fonts zerstoeren.
   -------------------------------------------------------------------------- */

body,
p, li, td, th, dd, dt,
label, input, select, textarea, button,
h1, h2, h3, h4, h5, h6, a {
  font-family: var(--ab-font);
}

[class*="icon"], [class^="icon"], [class*="Icon"],
i, .fa, .material-icons, [data-icon] {
  font-family: inherit;
}
[class*="icon"]:before, [class*="icon"]:after,
i:before, i:after { font-family: inherit !important; }

body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ab-dark);
  -webkit-font-smoothing: antialiased;
}

h1 { font-size: 28px; font-weight: 700; line-height: 1.25; color: var(--ab-navy); }
h2 { font-size: 20px; font-weight: 600; line-height: 1.3;  color: var(--ab-navy); }
h3 { font-size: 17px; font-weight: 600; line-height: 1.4;  color: var(--ab-navy); }
h4, h5, h6 { font-weight: 600; color: var(--ab-navy); }

code, pre, kbd, samp {
  font-family: var(--ab-font-mono);
  font-size: 13px;
  background-color: var(--ab-border);
  border-radius: var(--ab-r-badge);
  padding: 1px 5px;
}
pre { padding: 16px; border-radius: var(--ab-r-box); overflow-x: auto; }


/* --------------------------------------------------------------------------
   4 · Header – echte Selektoren aus dem HTML-Tab
   -------------------------------------------------------------------------- */

/* Navbar: volle Breite, Inhalt zentriert (Design System:
   "Full-width document header (Navy) sits outside the content column") */
#navBar, .Header__navbar {
  background-image: none;                 /* keine Verlaeufe in der UI */
  box-shadow: none;
}

#navBarContainer, .Header__container {
  max-width: var(--ab-maxwidth);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Logo – Hoehe begrenzen, damit die Navbar ruhig bleibt */
.Header__logo img {
  max-height: 40px;
  width: auto;
}

/* Firmenname neben dem Logo. "aurebus" wird immer klein geschrieben –
   deshalb ausdruecklich KEIN text-transform. */
.Header__name {
  font-family: var(--ab-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Tabs als Pills, mit der einen erlaubten Transition */
.Header__tabsTab {
  border-radius: var(--ab-r-pill);
  transition: var(--ab-transition);
  font-size: 14px;
  font-weight: 500;
}
.Header__tabsTab:hover {
  background-color: rgba(255,255,255,0.10);
}

/* Hero-/Suchbereich unter der Navbar */
#headerContent, .Header__searchSection {
  background-image: none;
}
#headerContent .Header__container,
.Header__searchSection .Header__container {
  max-width: 1000px;                       /* Content-Spalte laut Design System */
}

.Header__searchTitle {
  font-family: var(--ab-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.Header__description {
  font-family: var(--ab-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.9;
}

/* Mobiles Menue-Icon */
.Header__menuBoxMain, #menuIconContainer { transition: var(--ab-transition); }


/* --------------------------------------------------------------------------
   5 · Tabs ausblenden – NUR als Fallback
   Der saubere Weg ist die Tab-Verwaltung (Customize > Tabs > Toggle),
   weil sie ohne HTML-Eingriff auskommt. Diese Regeln nur einkommentieren,
   falls das Ausblenden dort nicht wie gewuenscht greift.
   -------------------------------------------------------------------------- */

/*
#portal_tabSolutions { display: none; }
#portal_tabCommunity { display: none; }
*/


/* --------------------------------------------------------------------------
   6 · Links, Buttons, Flaechen
   -------------------------------------------------------------------------- */

a { color: var(--ab-blue); text-decoration: none; transition: var(--ab-transition); }
a:hover { color: var(--ab-blue); text-decoration: underline; }

/* Links im Header und Footer erben deren Farbe, nicht das Blau */
#navBar a, #navBar a:hover,
#footer a, [class*="Footer"] a { text-decoration: none; }

button, input[type="submit"], input[type="button"], .btn, [class*="button"] {
  font-family: var(--ab-font);
  font-weight: 500;
  border-radius: var(--ab-r-box);
  transition: var(--ab-transition);
}

/* Genau eine Schattenstufe, keine gestapelten Elevations */
[class*="card"], [class*="Card"],
[class*="panel"], [class*="box"],
[class*="tile"], [class*="widget"] {
  border-radius: var(--ab-r-card);
  box-shadow: var(--ab-shadow);
  background-color: var(--ab-card);
  border: none;
  background-image: none;
}

hr, [class*="divider"], [class*="separator"] {
  border: none;
  border-top: 1px solid var(--ab-border);
}

/* Suchfeld als Pill */
input[type="search"], input[type="text"][class*="search"], [class*="search"] input {
  border-radius: var(--ab-r-pill);
  font-family: var(--ab-font);
}


/* --------------------------------------------------------------------------
   7 · Bausteine fuer eigene Widget-Inhalte
   Nutzbar im Custom Widget (Customize > Widgets > Custom Widgets > Content).
   -------------------------------------------------------------------------- */

.ab-kicker {
  display: inline-block;
  font-family: var(--ab-font);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ab-navy);
  border-bottom: 2px solid rgba(76,109,251,0.15);
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.ab-kicker--tech { color: var(--ab-blue);    border-bottom-color: rgba(76,109,251,0.15); }
.ab-kicker--biz  { color: var(--ab-magenta); border-bottom-color: rgba(172,0,122,0.15); }

.ab-badge {
  display: inline-block;
  font-family: var(--ab-font-mono);
  font-size: 12px;
  color: var(--ab-blue);
  background-color: rgba(76,109,251,0.08);
  border-radius: var(--ab-r-badge);
  padding: 3px 8px;
  margin-right: 6px;
}

.ab-callout {
  border-left: 4px solid var(--ab-blue);
  background-color: rgba(76,109,251,0.04);
  border-radius: var(--ab-r-box);
  padding: 12px 16px;
  margin: 18px 0;
}
.ab-callout--warn {
  border-left-color: var(--ab-magenta);
  background-color: rgba(172,0,122,0.04);
}


/* --------------------------------------------------------------------------
   8 · Druck – Schatten raus, feine Rahmen rein
   -------------------------------------------------------------------------- */

@media print {
  #navBar, #headerContent, [class*="Footer"] { display: none; }
  [class*="card"], [class*="panel"], [class*="box"], [class*="widget"] {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  body { background: #fff; }
}
