/* -----------------------------------------------------------------------------------------------------------
   SaCaSoft – Markenfarben und Grundlayout (ergänzt Bootstrap)
   ----------------------------------------------------------------------------------------------------------- */
/* Orange aus dem Firmenlogo; Primärfarbe so dunkel, dass weiße Schrift lesbar bleibt (Kontrast ≥ 4.5:1) */
:root {
  --brand-primary: #c2410c;
  --brand-primary-dark: #9a3412;
  --brand-primary-rgb: 194, 65, 12;
  --brand-accent: #2563eb;
  --brand-gradient: linear-gradient(135deg, #9a3412 0%, #c2410c 55%, #ea580c 100%);
  --brand-surface: #f8f6f4;
  /* Einheitliche Schrift auf allen Geräten (lokal, lib/inter); CJK-Sprachen fallen auf die Systemschrift zurück.
     Bootstrap übernimmt die Variable für Text, Überschriften, Buttons und Formulare – auch auf den App-Seiten. */
  --bs-body-font-family: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* Überschriften etwas enger, wie bei Inter üblich */
h1, h2, h3, .h1, .h2, .h3, .display-5, .display-6 {
  letter-spacing: -0.01em;
}

html {
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background-color: var(--brand-surface);
}

a {
  color: var(--brand-primary);
}

a:hover {
  color: var(--brand-primary-dark);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--brand-primary);
}

/* Navigation */
/* Schriftzug-Bild (Navbar, Footer): Höhe fest, Breite proportional */
.brand-name {
  width: auto;
}

.navbar .nav-link.active {
  color: var(--brand-primary);
  font-weight: 600;
}

/* Sprachauswahl: 26 Einträge – scrollbar, auf großen Bildschirmen zweispaltig */
.language-menu {
  max-height: 60vh;
  overflow-y: auto;
}

@media (min-width: 992px) {
  .language-menu {
    columns: 2;
    column-gap: 0;
    min-width: 26rem;
  }

  .language-menu li {
    break-inside: avoid;
  }
}

.language-menu .dropdown-item.active,
.language-menu .dropdown-item:active {
  background-color: var(--brand-primary);
}

/* Buttons in Markenfarbe */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-primary-dark);
  --bs-btn-hover-border-color: var(--brand-primary-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-primary-dark);
  --bs-btn-active-border-color: var(--brand-primary-dark);
}

/* Hero-Bereich der Startseite */
.hero {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 1.25rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

/* Logo auf weißer Kreisfläche, damit das Orange des Logos auf dem orangen Verlauf sichtbar bleibt */
.hero-logo {
  width: clamp(96px, 20vw, 180px);
  height: auto;
  padding: 6%;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.25);
}

/* Karten – weiße Fläche auch ohne Bootstrap .card (Apps-Übersicht, App-Seiten) */
.feature-card {
  background-color: #fff;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.06);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Store-Buttons (ViewComponent StoreBadges): über dem stretched-link der Karten in der Apps-Übersicht.
   Apple-SVG ohne Rand, 40 px hoch; das Google-PNG (646 × 250) hat je nach Sprache 12–16 % transparenten Rand –
   55 px hoch mit negativem Rand ergibt etwa dieselbe sichtbare Höhe wie bei Apple. Microsoft-SVG ohne Rand, 40 px. */
.store-badges {
  position: relative;
  z-index: 2;
}

.store-badge-apple,
.store-badge-microsoft {
  height: 40px;
  width: auto;
}

.store-badge-google {
  height: 55px;
  width: auto;
  margin: -8px;
}

/* Inhaltsseiten (Impressum, Datenschutz, Kontakt) */
.content-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.06);
}

/* Statuscode-Seite (404 usw.) */
.status-code {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.hero-logo-sm {
  width: clamp(80px, 14vw, 128px);
}

/* FAQ-Accordion */
.faq-accordion .accordion-button {
  font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background-color: rgba(var(--brand-primary-rgb), 0.06);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--brand-primary-rgb), 0.25);
}

/* Footer */
.site-footer {
  background-color: #fff;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-body-color);
  margin-bottom: 0.75rem;
}

.site-footer .list-unstyled li + li {
  margin-top: 0.4rem;
}

.footer-link {
  color: var(--bs-secondary-color);
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--brand-primary);
  text-decoration: underline;
}
