/* ---------------------------------------------------------------------------
   AKU GmbH - Designtokens aus der Visitenkarte abgeleitet:
   Signalrot #DE1118 (direkt aus dem Logo gemessen), Schwarzflaeche, weisse
   Grundflaeche, angeschnittene Chevron-Kanten und rote Haken-Listen.

   Schriften bewusst als System-Stack statt Google Fonts: die alte Seite lud
   Open Sans und Roboto vom Google-CDN, was eine externe Verbindung mit
   IP-Uebertragung bedeutet. Diese Seite kommt ohne externe Requests aus.
--------------------------------------------------------------------------- */

:root {
  --aku-accent: #de1118;
  --aku-accent-dark: #b00d13;
  --aku-text: #4a4a4a;
  --aku-heading: #101010;
  --aku-muted-bg: #f4f4f4;
  --aku-dark: #101010;
  --aku-dark-soft: #1c1c1c;
  --aku-border: #e2e2e2;
  --aku-container: 1200px;

  --bs-primary: var(--aku-accent);
}

body {
  margin: 0;
  color: var(--aku-text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background: #ffffff;
}

/* Bootstrap gibt .container nur 12px Innenabstand, eine Zeile mit g-5 zieht
   aber -24px Aussenrand. Das erzeugte auf schmalen Viewports 12px
   horizontalen Ueberlauf (abgeschnittener Text). 24px gleichen das aus. */
.container {
  max-width: var(--aku-container);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

h1,
h2,
h3,
h4 {
  color: var(--aku-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

a {
  color: var(--aku-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--aku-accent-dark);
  text-decoration: underline;
}

.lead-accent {
  color: var(--aku-accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.color-primary {
  color: var(--aku-accent);
  font-weight: 700;
}

/* Rote Trennpunkte wie in der Kopfzeile der Visitenkarte. */
.dot-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.dot-list li {
  position: relative;
}

.dot-list li + li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aku-accent);
  transform: translateY(-50%);
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  border-radius: 0;
  padding: 0.7rem 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.btn-primary {
  background-color: var(--aku-accent);
  border-color: var(--aku-accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--aku-accent-dark);
  border-color: var(--aku-accent-dark);
}

.btn-outline-primary {
  color: var(--aku-accent);
  border-color: var(--aku-accent);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--aku-accent);
  border-color: var(--aku-accent);
  color: #ffffff;
}

.btn-on-dark {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-on-dark:hover,
.btn-on-dark:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--aku-heading);
  text-decoration: none;
}

/* --- Sprungmarke -------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1100;
  background: var(--aku-accent);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
}

.skip-link:focus {
  left: 0;
  color: #ffffff;
}

/* --- Kopfbereich -------------------------------------------------------- */

.top-bar {
  background: var(--aku-dark);
  color: #d8d8d8;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.mini-contact a {
  color: #ffffff;
}

.header-bar {
  background: #ffffff;
  border-bottom: 3px solid var(--aku-accent);
  padding: 0.75rem 0;
}

.navbar-brand img {
  height: 62px;
  width: auto;
}

.main-nav .nav-link {
  color: var(--aku-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  margin-left: 2rem;
  border-bottom: 3px solid transparent;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-link.active {
  color: var(--aku-accent);
  border-bottom-color: var(--aku-accent);
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .main-nav .nav-link {
    margin-left: 0;
    border-bottom: none;
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
  }

  .main-nav .nav-link.active {
    border-bottom-color: transparent;
    border-left-color: var(--aku-accent);
  }
}

/* --- Hero und Seitenkopf ------------------------------------------------ */

.hero,
.page-hero {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.hero {
  min-height: 470px;
}

.hero-overlay,
.page-hero-overlay {
  background: linear-gradient(
    100deg,
    rgba(16, 16, 16, 0.82) 0%,
    rgba(16, 16, 16, 0.62) 45%,
    rgba(16, 16, 16, 0.3) 100%
  );
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-overlay {
  min-height: 470px;
}

.page-hero {
  min-height: 300px;
}

.page-hero-overlay {
  min-height: 300px;
}

.hero-claim {
  color: #ffffff;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  max-width: 20ch;
}

.hero-claim .accent {
  color: var(--aku-accent);
}

.hero-sub {
  color: #e6e6e6;
  margin: 1rem 0 0;
  max-width: 46ch;
}

.hero .dot-list,
.page-hero .dot-list {
  color: #ffffff;
  margin-bottom: 1.1rem;
}

.page-hero h1 {
  color: #ffffff;
  margin: 0;
}

.page-hero-subtitle {
  color: #e6e6e6;
  margin: 0.5rem 0 0;
}

/* Roter Kantenstrich unter dem Hero - Anlehnung an den Keil der Karte. */
.hero-edge {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--aku-accent) 0%,
    var(--aku-accent) 55%,
    var(--aku-dark) 55%,
    var(--aku-dark) 100%
  );
}

/* --- Abschnitte --------------------------------------------------------- */

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--aku-muted-bg);
}

.section-dark {
  background: var(--aku-dark);
  color: #c9c9c9;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-title {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--aku-accent);
  margin-top: 0.85rem;
}

/* --- Werteband (Karte: QUALITAET - ZUVERLAESSIGKEIT - ...) -------------- */

.value-strip {
  background: var(--aku-dark);
  padding: 1.1rem 0;
}

.value-strip .dot-list {
  justify-content: center;
  color: var(--aku-accent);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.value-strip .dot-list li + li::before {
  background: #ffffff;
}

/* --- Kontaktkarte ------------------------------------------------------- */

.contact-card {
  background: var(--aku-dark);
  color: #c9c9c9;
  border-top: 4px solid var(--aku-accent);
  padding: 1.75rem;
}

.contact-card h3 {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card strong {
  color: #ffffff;
}

.contact-card a {
  color: #ffffff;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(222, 17, 24, 0.55);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aku-accent);
  font-weight: 700;
}

.contact-address {
  font-style: normal;
}

/* --- Listen ------------------------------------------------------------- */

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--aku-accent);
}

/* Haken-Liste im Stil der Visitenkarte: roter Kreis, weisser Haken,
   duenne rote Trennlinie darunter. Der Haken ist reines CSS, damit die
   Seite ohne Icon-Font und ohne externe Requests auskommt. */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0 0 0.7rem 3rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(222, 17, 24, 0.45);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--aku-accent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.66rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.9rem;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(42deg);
}

.section-dark .check-list li {
  color: #ffffff;
}

.sealing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sealing-list li {
  background: var(--aku-muted-bg);
  border-left: 3px solid var(--aku-accent);
  padding: 0.35rem 0.85rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--aku-border);
  border-top: 4px solid var(--aku-accent);
  padding: 1.75rem;
}

/* Nummerierte Leistungskarten. */
.service-card {
  background: #ffffff;
  border: 1px solid var(--aku-border);
  padding: 1.75rem;
  height: 100%;
  position: relative;
}

.service-card .num {
  display: inline-block;
  background: var(--aku-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.9rem;
}

.service-card h3 {
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* --- Rechtstexte -------------------------------------------------------- */

.legal-page {
  padding-top: 3rem;
}

.legal-body h2 {
  margin-top: 2rem;
}

.legal-body h3 {
  margin-top: 1.5rem;
}

.legal-body a {
  word-break: break-word;
}

/* --- Fussbereich -------------------------------------------------------- */

.footer {
  background: var(--aku-dark);
  color: #b8b8b8;
  border-top: 4px solid var(--aku-accent);
  padding-top: 3rem;
  margin-top: 0;
}

.footer a {
  color: #ffffff;
}

.widget-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.widget-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--aku-accent);
  margin-top: 0.6rem;
}

.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info li {
  margin-bottom: 0.75rem;
}

.bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.875rem;
}

.bottom-bar img {
  height: 42px;
  width: auto;
}

.bottom-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
