@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-family: var(--font-family), sans-serif;
    font-weight: var(--fw-normal);
    font-size: clamp(14px, 1.25vw, 16px);
    line-height: 1.75;
    overflow-x: hidden;
}

.h1, h1 {
    color: var(--primary);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: var(--fw-light);
    line-height: 1.35;
}

.h2, h2 {
    color: var(--text);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: var(--fw-light);
    line-height: 1.35;
}

.h3, h3 {
    color: var(--text);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: var(--fw-light);
    line-height: 1.35;
}

.h4, h4 {
    color: var(--text);
    font-size: clamp(18px, 2.75vw, 22px);
    font-weight: var(--fw-light);
    line-height: 1.35;
}

.h5, h5 {
    color: var(--text);
    font-size: clamp(16px, 2.25vw, 20px);
    font-weight: var(--fw-light);
    line-height: 1.35;
}

.h6, h6 {
    color: var(--text);
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: var(--fw-light);
    line-height: 1.35;
}

.lead {
    font-size: 1.125em;
}

.large, large {
    font-size: 1.125em;
}

.small, small {
    font-size: .875em;
}

.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 1.25rem;
    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: 3em 0;
}

/* Logo */
.navbar-brand {
    padding: 0;
    margin-right: 1em;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.navbar-brand .logo {
    height: clamp(25px, 3vw, 40px);
    width: auto;
}

/* Mobile Buttons */
.mobile-buttons a {
    padding: 5px;
    font-size: 1.5rem;
}

/* Navbar Toggler */
.navbar-toggler {
    padding: 6px 8px;
    font-size: 1.2em;
    line-height: 1;
    color: var(--white);
    background-color: var(--primary);
    border: 0;
    border-radius: 8px;
}

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

.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 {
    position: relative;
    height: clamp(600px, 100vh, 1200px);
    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: 10em;
    /*padding-top: 20vh;*/
    color: var(--dark);
    border-bottom: 5px solid white;
}

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

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

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

/* BG Image */
.bg-no-repeat {
    background-repeat: no-repeat;
}


/* 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: -60px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.teaser-img {
    height: clamp(120px, 16vw, 180px);
    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);
}

.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: clamp(56px, 10vw, 96px);
    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;
    }
}



/* Parallax Effect */
.parallax-section {
    position: relative;
    min-height: clamp(600px, 50vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

/* Hintergrundebene */
.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -3;
}

/* Text */
.parallax-text-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    inset: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.parallax-text {
    color: var(--primary);
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.65);
    padding: 15px 20px 10px;
    font-size: clamp(28px, 7.5vw, 200px);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    line-height: .95;
    pointer-events: none;
    user-select: none;
}

/* Check Lists */
ul.checklist {
    list-style: none;
    padding-left: 2.25em;
}

ul.checklist li {
    position: relative;
    padding-top: 3px;
    padding-bottom: 3px;
}

ul.checklist li:before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-block;
    background-image: url(../img/icon-check.svg);
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    width: 1.75em;
    height: 1.75em;
    margin-left: -2.25em;
    line-height: 1;
}


/* Contact Person */
.contact-person {
    a {
        text-decoration: none !important;
    }
}


/* Gender Info */
.gender-info {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 5px 0;
    font-size: clamp(14px, 1.25vw, 16px);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
}