/* ============================================================
   BiBer Bildungsberatung – Onepage Styles
   CI aus altem Joomla-Template: weiß, rote Überschriften & Links,
   Schriften Oswald (Headings) + PT Sans (Fließtext).
   ============================================================ */

/* --- Webfonts (lokal, kein Google-CDN) --- */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/oswald-v49-latin-regular.woff2') format('woff2'),
       url('../fonts/oswald-v49-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'),
       url('../fonts/pt-sans-v17-latin-regular.woff') format('woff');
}

:root {
  /* BiBer-CI */
  --biber-red: #E2001A;
  --biber-red-dark: #b30015;
  --biber-red-soft: #fdecee;
  --biber-ink: #5a5a5a;          /* Fliesstext rgb(90,90,90) */
  --biber-ink-dark: #1a2024;     /* Folder Near-Black (Subtitel/PLZ) */
  --biber-gray: #acacac;         /* Hover/Sekundaer */
  --biber-gold: #f2b200;         /* Folder Sekundaerakzent (warmes Gold) */
  --biber-mist: #eef3f2;         /* Folder Hellgrau/Mint */
  --biber-page: #fee7c4;         /* Creme Content-Flaeche, BiBer-Theme (body wie termine.biber-salzburg.at) */
  --bs-body-font-family: 'PT Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  font-family: 'PT Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--biber-ink);
  background-color: var(--biber-page);   /* hellgraue Content-Flaeche */
}

/* Header weiss (wie Terminseite) */
body > header {
  background: #fff;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Oswald', 'PT Sans', sans-serif;
  font-weight: 400;
  color: var(--biber-red);
  line-height: 1.2;
}

/* Fliesstext-Links rot, Hover grau */
a {
  color: var(--biber-red);
  text-decoration: underline;
}
a:hover, a:focus {
  color: var(--biber-gray);
  text-decoration: none;
}

/* Wartungsleiste */
.maintenance-bar {
  background: var(--biber-red);
  color: #fff;
  font-size: .95rem;
}

/* Branding */
.brand-logo { height: 70px; width: auto; }
.brand-fallback { font-size: 1.6rem; font-weight: 700; color: var(--biber-red); font-family: 'Oswald', sans-serif; }

/* Hero – erbt die Creme-Flaeche (wie Terminseite), Header bleibt weiss */
.hero {
  background: transparent;
}
.hero h1 { color: var(--biber-ink-dark); }   /* Hero-Ueberschrift schwarz statt rot */

/* Akzent-Helfer */
.text-accent { color: var(--biber-red) !important; }
.bg-accent-soft { background: var(--biber-red-soft); }

.btn-accent {
  background: var(--biber-red);
  border-color: var(--biber-red);
}
/* Button-Text immer weiss & ohne Unterstreichung (sonst rote Link-Farbe = unlesbar) */
.btn-accent,
.btn-accent:link,
.btn-accent:visited,
.btn-accent:hover,
.btn-accent:focus {
  color: #fff !important;
  text-decoration: none;
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--biber-red-dark);
  border-color: var(--biber-red-dark);
}

/* Outline-Button (Anrufen, E-Mail): Text immer lesbar, auf Hover weiss auf dunklem Grund
   (sonst ueberschreibt die globale a:hover-Regel die Bootstrap-Hover-Farbe) */
.btn-outline-dark,
.btn-outline-dark:link,
.btn-outline-dark:visited {
  color: #212529 !important;
  text-decoration: none;
}
.btn-outline-dark:hover,
.btn-outline-dark:focus {
  color: #fff !important;
}
.btn-outline-dark { text-decoration: none; }

/* Feature-Icons */
.icon-feature {
  font-size: 2rem;
  color: var(--biber-red);
}

/* Themen-Cards ("Wir informieren, beraten und orientieren zu:") */
.themen-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-top: 3px solid var(--biber-red);
  border-radius: .7rem;
  padding: 1.05rem 1.2rem;
  box-shadow: 0 .125rem .5rem rgba(0,0,0,.06);
  font-weight: 700;
  color: var(--biber-ink-dark);
  transition: transform .15s ease, box-shadow .15s ease;
}
.themen-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}
.themen-card i {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--biber-red);
  flex-shrink: 0;
}

/* Standort-Karten */
.standort-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-left: 4px solid var(--biber-red);
  border-radius: .6rem;
  padding: 1rem 1.1rem;
}
.standort-card h3 { color: var(--biber-ink-dark); }   /* PLZ + Ort schwarz */
.standort-card li + li { margin-top: .35rem; }

/* "Unser Angebot": Karten-Titel schwarz (Ueberschrift + Icons bleiben rot) */
#angebot .card .card-body h3 { color: var(--biber-ink-dark); }

/* Section-Titel: dezenter Gold-Unterstrich (Folder-Sekundaerfarbe) */
.section-title { position: relative; padding-bottom: .65rem; }
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: .7rem auto 0;
  background: var(--biber-gold);
  border-radius: 2px;
}
.standort-card a { color: var(--biber-ink); text-decoration: underline; }
.standort-card a:hover { color: var(--biber-red); }

/* Foerdergeber-Logos */
.foerdergeber-logos img {
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Footer weiss (wie Terminseite) */
.footer {
  background: #fff;
  color: var(--biber-ink);
  border-top: 1px solid #e3e3e3;
}
.footer h2 { color: var(--biber-red); }
.footer a { color: var(--biber-ink); }
.footer a:hover { color: var(--biber-red); }

/* Karten-Ueberschriften bleiben rot, Body dunkelgrau */
.card-body p, .card-body li, .card-body address { color: var(--biber-ink); }
.card-body a { color: var(--biber-ink); }
.card-body a:hover { color: var(--biber-red); }
