/* Haupt CSS-Datei fuer Website Ralf Waetzig */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Basics */
body {
    background: var(--white);
    color: var(--black);
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--blue);
}

h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

/* globale Section Definitionen */
section {
    padding: 80px 0 40px 0;
}

@media (max-width: 768px) {
    section {
        padding: 50px 0 25px 0;
    }
}

/* Farbeinstellungen */
.bg-primary-color-1 {
    background-color: var(--blue);
    color: var(--white);
}
.bg-primary-color-2 {
    background-color: var(--orange);
    color: var(--blue);
}

/*
HEADER- Navigation
*/
.navbar {
    height: 65px;
}

.navbar-brand {
    font-weight: 600;
    font-size: 20px;
}
.brand-link {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
}
.brand-link:hover {
    text-decoration: none;
    color: var(--white);
}

/* FULLSCREEN OFFCANVAS */
.offcanvas-fullscreen {
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh;
    overflow: hidden;
    background-color: var(--blue); /* blau */
    color: white;
}

.offcanvas-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

.offcanvas-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.offcanvas-nav {
    text-align: center;
}

.offcanvas-nav a {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    text-decoration: none;
    margin: 20px 0;
    transition: 0.3s;
}

.offcanvas-nav a:hover {
    opacity: 0.7;
}
.offcanvas {
    transition: none !important;
}
.offcanvas-backdrop {
    transition: none !important;
}

/* Hamburger größer */
.menu-btn {
    font-size: 1.6rem;
    border: 2px solid white;       /* Rahmen */
    border-radius: 15px;
    padding: 6px 10px;
    margin: 0 5px;
    background: transparent;
    color: white;
    transition: all 0.3s ease;
}

/* ICON */
.menu-btn i {
    color: white;
}

/* HOVER */
.menu-btn:hover {
    background: var(--blue);
    color: var(--white);
}

.menu-btn:hover i {
    color: var(--white);
}

.menu-btn:active {
    transform: scale(0.95);
}

.btn-close {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 2rem;
    filter: invert(1);
}

.navbar {
    height: 65px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    transition: all 0.3s ease;
}

.navbar-transparent {
    background: transparent;
}

.navbar-scrolled {
    background: rgba(53, 118, 160, 0.85);
    backdrop-filter: blur(10px);
}

@media (max-width: 767px) {
    .cta-btn {
       display: none;
    }
}

/* gesamte Breadcrumb */
.breadcrumb-white {
    background: transparent;
    margin: 0;
}

/* Links */
.breadcrumb-white .breadcrumb-item a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
}

/* Hover */
.breadcrumb-white .breadcrumb-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* aktives Element */
.breadcrumb-white .breadcrumb-item.active {
    color: white;
    opacity: 1;
}

/* Trenner (/) weiß */
.breadcrumb-white .breadcrumb-item + .breadcrumb-item::before {
    color: white;
    opacity: 0.6;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}


/* TEXT & ICON FARBE */
.navbar-brand,
.menu-btn i {
    color: white;
    transition: 0.3s;
}

/* HOVER */
.navbar-brand:hover,
.menu-btn:hover i {
    opacity: 0.7;
}

.navbar-hidden {
    opacity: 0;
    pointer-events: none;
}

/*
HERO Element
*/
/* ===== MOBIL ===== */
.hero-fullscreen {
    min-height: 100vh;
    padding: 0;
}
.hero-image {
    height: 100vh;      /* voller Bildschirm */
    overflow: hidden;
}
@supports (height: 100dvh) {
    .hero-image {
        height: 100dvh; /* besser für mobile Browser */
    }
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* füllt Fläche → schneidet ggf. */
    object-position: center top;
    display: block;
}

/* ZITAT MOBIL */
.hero-quote {
    padding: 2rem;
}

/* DESKTOP */
@media (min-width: 992px) {

    .hero-fullscreen {
        height: 100vh;
    }

    .hero-fullscreen .row {
        height: 100%;
    }

    .hero-image,
    .hero-quote {
        height: 100%;
    }

    /* Bild füllt rechte Spalte */
    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Zitat mittig */
    .hero-quote {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* Zitat */
.hero-quote {
    background-color: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.hero-quote-inner {
    max-width: 520px;
}

.hero-quote blockquote {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero-quote p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.85;
}
/*
Footer
*/
.footer-blue {
    background-color: var(--blue);
    color: white;
    padding: 40px 0;
}

/* Copyright */
.footer-copy {
    font-size: 0.9rem;
    opacity: 0.8;
}
/*
Zitat (blockquote)
*/
.quote-custom {
    font-style: italic;
    margin: 2rem 0;
    border-left: 4px solid var(--orange);
    line-height: 1.6;
    background: rgba(220,141,0,0.05);
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    border-radius: 8px;
}

.quote-author {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--orange);
}

/*
Parallax section
*/
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
}
/*Parallax 2 Section*/
.parallax-section {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    display: flex;
    padding: 20px;
}

.parallax-img {
    position: absolute;
    transform: translateZ(0);
    will-change: transform;
    inset: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
}
.parallax-caption, .parallax-caption h1 {
    color: var(--white);
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 991.98px) {
    .parallax {
        background-attachment: scroll;
    }
}
/*
Timeline
*/

.py-8 {
    padding-bottom:4.5rem!important;
    padding-top:4.5rem!important
}

@media(min-width:576px) {
    .py-sm-8 {
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:768px) {
    .py-md-8 {
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:992px) {
    .py-lg-8 {
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:1200px) {
    .py-xl-8 {
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
@media(min-width:1400px) {
    .py-xxl-8 {
        padding-bottom:4.5rem!important;
        padding-top:4.5rem!important
    }
}
.bsb-timeline-1 {
    --bsb-tl-color:var(--orange );
    --bsb-tl-circle-color:var(--orange);
    --bsb-tl-circle-size:18px;
    --bsb-tl-circle-offset:9px
}
.bsb-timeline-1 .timeline {
    list-style:none;
    margin:0;
    padding:0;
    position:relative
}
.bsb-timeline-1 .timeline:after {
    background-color:var(--bsb-tl-color);
    bottom:0;
    content:"";
    left:0;
    margin-left:-1px;
    position:absolute;
    top:0;
    width:2px
}
.bsb-timeline-1 .timeline>.timeline-item {
    margin:0;
    padding:0;
    position:relative
}
.bsb-timeline-1 .timeline>.timeline-item:before {
    background-color:var(--bsb-tl-circle-color);
    border-radius: 50%;
    content:"";
    height:var(--bsb-tl-circle-size);
    left:calc(var(--bsb-tl-circle-offset)*-1);
    position:absolute;
    top:0;
    width:var(--bsb-tl-circle-size);z-index:1
}
.bsb-timeline-1 .timeline>.timeline-item .timeline-body {
    margin:0;
    padding:0;
    position:relative
}
.bsb-timeline-1 .timeline>.timeline-item .timeline-content {
    padding:0 0 2.5rem 2.5rem
}
@media(min-width:768px) {
    .bsb-timeline-1 .timeline>.timeline-item .timeline-content {
        padding-bottom:3rem
    }
}
.bsb-timeline-1 .timeline>.timeline-item:last-child .timeline-content {
    padding-bottom:0
}

.bsb-timeline-1 .timeline h5 {
    font-size: 16px;
    background: rgb(220,141,0);;
    padding: 5px 5px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: -10px;
    color: white;
}

/*
Grundstil: versteckt
*/
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}