@import url('fonts.css');

:root {
    --font-family: 'Poppins', sans-serif;
    --fw-light: 200;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-bold: 700;
    --primary: #6D5577;
    --primary-light: #a284af;
    --primary-lighter: #f1ebf4;
    --primary-dark: #3b2e4d;
    --secondary: #b2bb86;
    --text: #242225;
    --bg: #f4efec;
    --bg-light: #f0f0f0;
    --bg-dark: #ddd4d4;
    --white: #ffffff;
    --dark: #242225;

    --bs-primary: var(--primary);
    --bs-secondary: var(--secondary);
    --bs-body-font-family: var(--font-family);
    --bs-body-color: var(--text);
    --bs-body-bg: var(--bg);
}

body {
    font-weight: var(--fw-normal);
    line-height: 1.75;
    overflow-x: hidden;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-weight: var(--fw-medium);
    line-height: 1.35;
}

h1,
h2 {
    font-weight: var(--fw-light);
}

.h1,
h1 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: var(--fw-light);
}

.h2,
h2 {
    font-size: 2.25rem;
    font-weight: var(--fw-light);
}

.h3,
h3 {
    font-size: 1.875rem;
    font-weight: var(--fw-light);
}

.h4,
h4 {
    font-size: 1.5rem;
    font-weight: var(--fw-light);
}

.bg-hr-primary,
.bg-hr-primary h1,
.bg-hr-primary h2,
.bg-hr-primary h3,
.bg-hr-primary h4,
.bg-hr-primary h5,
.bg-hr-primary h6,
.bg-hr-primary p,
.bg-hr-primary a {
    color: var(--white) !important;
}

/* Custom Utilities */
.bg-hr-primary {
    background-color: var(--primary) !important;
}

.bg-hr-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-hr-primary-dark {
    background-color: var(--primary-dark) !important;
}

.bg-hr-secondary {
    background-color: var(--secondary) !important;
}

.bg-hr {
    background-color: var(--bg) !important;
}

.bg-hr-light {
    background-color: var(--bg-light) !important;
}

.bg-hr-dark {
    background-color: var(--bg-dark) !important;
}

.text-hr-primary {
    color: var(--primary) !important;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: var(--fw-medium);
    transition: all 0.3s ease;
}

.btn-primary,
.btn-hr-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover,
.btn-hr-primary:hover {
    background-color: #5d4766;
    border-color: #5d4766;
    color: var(--white);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary);
    --bs-gradient: none;
}

.btn-outline-primary:hover {
    border-color: #5d4766;
    background-color: transparent;
    color: #5d4766;
}

.btn-white,
.btn-hr-white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--text);
}

.btn-white:hover,
.btn-hr-white:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--text);
}


.text-primary {
    --bs-text-opacity: 1;
    color: var(--primary) !important;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Header & Navbar */
.navbar {
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--text);
    font-weight: var(--fw-medium);
    margin: 0 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-color: var(--primary-lighter);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    color: var(--dark);
    border-bottom: 5px solid white;
}

/* Intro Section */
.intro {
    background-color: var(--primary-lighter);
    border-bottom: 5px solid white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: var(--fw-normal);
}

/* Cards */
.card {
    background-color: var(--white) !important;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    overflow: visible;
    /* Allow images to protrude */
}

.ani-move-up:hover {
    transform: translateY(-5px);
}

.teaser-img-wrapper {
    display: block;
    margin-top: -80px;
    /* Protrude over the top */
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.teaser-img {
    height: 180px;
    /* Increased size */
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.card:hover .teaser-img {
    transform: scale(1.1);
}

.card-title {
    font-weight: var(--fw-medium);
    margin-bottom: 1rem;
}

/* Comparison Section */
.comparison-container {
    position: relative;
    background: transparent url('../img/icon-comparison-bg.svg') center center no-repeat;
    background-size: 14px 50px;
}

.comparison-label {
    background-color: var(--primary);
    color: white;
    padding: 0.35rem 1.25rem;
    font-weight: var(--fw-light);
    font-size: 1rem;
    border-radius: 0;
}

/* Comparison Section */
.comparison-container img {
    width: 100%;
    height: auto;
}

/* Checklist Section */
.checklist-section {
    background-color: var(--primary);
    color: var(--white);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.checklist-item i {
    color: #fff;
    opacity: 0.9;
    margin-right: 1.25rem;
    margin-top: 0.15rem;
}

.checklist-item h6 {
    font-size: 1.125rem;
    font-weight: var(--fw-medium);
}

/* Footer */
footer {
    padding: 60px 0 20px;
}

footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

.flip-x,
.bi.flip-x:before {
    transform: scaleX(-1);
}

.flip-y,
.bi.flip-y:before {
    transform: scaleY(-1);
}

.rotate-180,
.bi.rotate-180:before {
    transform: rotate(180deg);
}

.va-b {
    vertical-align: bottom;
}

.va-t {
    vertical-align: top;
}

.citation {
    font-weight: var(--fw-light);
    font-size: 1.35rem;
    line-height: 1.6;
}

.citation .bi,
.citation .bi:before {
    line-height: 1;
}

.quick-contact .h4 {
    font-weight: var(--fw-light);
    line-height: 1.6;
}

.fw-bold,
strong,
b {
    color: var(--primary);
    font-weight: var(--fw-medium);
}

.card-icon {
    font-size: 6rem;
    margin-top: -0.35em;
    line-height: 1;
    transition: 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.25);
}

.card-footer {
    background-color: var(--primary-lighter);
    border-top-color: var(--primary-light);
}

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

label {
    font-weight: var(--fw-medium);
}

.table-px-0 td,
.table-px-0 th {
    padding-left: 0;
    padding-right: 0;
}

.table th {
    font-weight: var(--fw-medium);
}


.parallax-section {
    min-height: 850px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* dunkles Overlay für bessere Lesbarkeit */
.parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}


@media (max-width: 991px) {
    .parallax-section {
        background-attachment: scroll;
    }
}