/* ====================================
   HÄNSCH BEKATEC - Joomla 6 Cassiopeia
   ==================================== */

:root {
    --haensch-red: #d31621;
    --haensch-grey: #7f7f7f;
    --haensch-light: #f5f7f8;
    --haensch-dark: #2f2f2f;
}

/* Allgemein */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--haensch-dark);
    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    color: var(--haensch-dark);
}

a {
    color: var(--haensch-red);
    text-decoration: none;
}

a:hover {
    color: #b10f1a;
}

/* Header */

.container-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Logo */

.navbar-brand img,
.brand-logo img,
.container-header img {
    max-height: 65px !important;
    width: auto !important;
    max-width: 280px !important;
}

/* Menü */

.mod-menu {
    gap: 10px;
}

.mod-menu > li > a {
    font-weight: 600;
    color: #333333;
    padding: 12px 18px;
}

.mod-menu > li > a:hover {
    color: var(--haensch-red);
}

.mod-menu .active > a {
    color: var(--haensch-red);
}

/* Buttons */

.btn-primary,
.btn-success,
.btn-info {
    background: var(--haensch-red);
    border-color: var(--haensch-red);
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
    background: #b10f1a;
    border-color: #b10f1a;
}

/* Hero */

.hero-home {
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 4rem;
    line-height: 1.1;
}

.hero-content p {
    color: #ffffff;
    font-size: 1.3rem;
}

/* Inhaltsbereiche */

.white-section {
    padding: 80px 0;
    background: #ffffff;
}

.grey-section {
    padding: 80px 0;
    background: var(--haensch-light);
}

/* Leistungskacheln */

.leistung-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);

  /* Cassiopeia Menü Reparatur */

.container-header .mod-menu {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.container-header .mod-menu li {
    display: inline-block !important;
}

.container-header .mod-menu a {
    display: block !important;
    color: #333 !important;
    text-decoration: none;
    padding: 0.75rem 1rem;
}

.container-header .mod-menu a:hover {
    color: #d31621 !important;
}

/* Mobile Menü */

.navbar-toggler {
    display: block;
}