:root {
    --color-primary: #0a95b3;
    --color-secondary: #1F7487;
    --color-tertiary: #25545E;
    --ls_semi_cyan: #0a95b3;
    --ls_light_cyan: #57dbf8;
    --color-text: rgb(106, 124, 128);
    --color-text-dark: #1D2F33;
    --color-white: #fff;
    --color-overlay-bg: rgba(255, 255, 255, 1);
}

html,
body {
    height: 100%;
}

body {
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    color: var(--color-text);
    font-size: 1rem;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

ul {
    padding: 0;
    list-style-type: none;
}

.btn {
    border-radius: 0 !important;
}

/* Bootstrap Overrides for Brand Colors */
.bg-primary {
    background-color: var(--color-primary) !important;
}

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

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

.btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
}

.btn-outline-primary {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-white) !important;
}

.btn-outline-secondary {
    color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.price,
.navbar-brand,
.nav-link,
.overlay-link {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: var(--color-text);
}

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

a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

/* --- Navbar Anpassungen --- */
.navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-nav .nav-link {
    font-size: 1.175rem;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 10px;
        padding-left: 10px;
    }
}

.nav-item {
    margin-left: 15px;
}

.navbar-brand {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.navbar-brand img {
    width: 189px;
    height: 40px;
    padding-left: 1rem;
}

@media (min-width: 1200px) {
    .navbar-brand {
        margin-left: 8.333333%;
        padding-left: 0;
    }

    .navbar-nav {
        margin-right: 8.333333%;
        padding-right: 29px;
    }
}

.navbar-toggler {
    border: none;
    padding: 0;
    margin-right: 1rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Offcanvas Close Button Styling */
.offcanvas .btn-close {
    transition: transform 0.3s ease;
}

.offcanvas .btn-close:hover {
    transform: rotate(90deg);
}

.offcanvas .btn-close:focus {
    box-shadow: none;
    outline: none;
}

/* --- Overlay Navigation CSS --- */
.overlay-nav {
    /* Positionierung: Überlagert alles */
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2000;
    /* Höher als Bootstrap Navbar (1030) */
    top: 0;
    left: 0;
    background-color: var(--color-overlay-bg);
    /* Weißer Hintergrund, fast deckend */
    color: var(--color-text);

    /* Animation & State */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    /* Erlaubt Scrollen im Menü bei kleinen Bildschirmen */
}

/* Klasse, die per JS hinzugefügt wird, um das Menü zu zeigen */
.overlay-nav.is-active {
    opacity: 1;
    visibility: visible;
}

/* Schließen-Button */
.closebtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    background: none;
    border: none;
    color: var(--color-text);
    line-height: 1;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s ease, color 0.3s ease;
}

.closebtn:hover {
    color: var(--color-primary);
    outline: none;
    transform: rotate(90deg);
}

.closebtn:focus {
    color: var(--color-primary);
    outline: 2px solid var(--color-text);
    /* Für Tastatur-Fokus sichtbar */
}

/* Links im Overlay */
.overlay-content {
    position: relative;
    top: 15%;
    /* Startet etwas weiter unten */
    width: 100%;
    margin-bottom: 50px;
}

.overlay-section-title {
    color: var(--color-text);
    /* Standard text color für Überschriften */
    font-size: 0.9rem;
    letter-spacing: 1.875px;
    margin-bottom: .5rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    display: flex;
    width: 100%;
    min-height: 50px;
    /* Force minimum height for alignment */
    align-items: flex-end;
    /* Align text to bottom */
    line-height: 1.4;
    text-transform: uppercase;
}

.overlay-link {
    padding: 8px 0;
    text-decoration: none;
    font-size: 1.5rem;
    /* Große Schrift für Klickbarkeit */
    color: var(--color-text);
    display: block;
    transition: 0.2s;
    text-transform: none;
}

.overlay-link:hover,
.overlay-link:focus {
    color: var(--color-primary);
    /* Primary Color for hover */
    padding-left: 10px;
    /* Kleiner Einrück-Effekt */
    outline: none;
}

/* --- Scroll Blocking Helper --- */
body.noscroll {
    overflow: hidden;
    /* Verhindert Scrollen der Hauptseite */
}




/* --- Navbar Layout & Full Height CTA (Desktop) --- */
@media (min-width: 992px) {

    /* 1. Navbar Container Layout */
    .navbar {
        padding: 0 !important;
        display: flex !important;
        align-items: stretch !important;
    }

    .navbar .container-fluid {
        display: flex !important;
        align-items: stretch !important;
        height: auto !important;
        /* Let flex stretch handle it */
        min-height: 100%;
        flex-wrap: nowrap !important;
    }

    /* 2. Brand Positioning */
    .navbar-brand {
        display: flex;
        align-items: center;
    }

    /* 3. Offcanvas Reset for Desktop */
    .navbar .offcanvas {
        position: static !important;
        z-index: auto !important;
        flex-grow: 1 !important;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: 0 !important;
        transform: none !important;
        transition: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        box-shadow: none !important;
    }

    .navbar .offcanvas-header {
        display: none !important;
    }

    .navbar .offcanvas-body {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        height: auto !important;
        flex-grow: 1 !important;
        justify-content: flex-end !important;
    }

    /* 4. Nav Items Layout */
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        height: 100% !important;
        /* Ensure it fills parent */
        width: auto !important;
        margin-left: auto !important;
        margin-bottom: 0 !important;
    }

    .nav-item {
        display: flex !important;
        align-items: stretch !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }

    /* 5. Link Layout & Centering */
    .navbar-nav .nav-link {
        display: flex !important;
        align-items: center !important;
        /* Vertically center text */
        justify-content: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        height: 100% !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


#usp {
    min-height: calc(100vh - 56px);
    margin-top: 56px;
}

/* USP Section Typography */
.usp-headline {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.75rem;
    line-height: 1.1;
    color: var(--color-text-dark);
    margin-bottom: 0;
}

.usp-headline .font-weight-light {
    font-weight: 300;
    color: var(--color-text);
    display: inline-block;
}

.usp-headline .text-primary {
    color: var(--color-primary) !important;
    font-weight: 400;
    margin: 0 5px;
}

.lead-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text-dark);
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
}

.body-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-top: 1rem;
}

.signature {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signature-link {
    color: #888;
    transition: color 0.3s ease;
}

.signature-link:hover {
    color: var(--color-primary);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .usp-headline {
        font-size: 2.25rem;
    }
}

@media (min-width: 1200px) {
    .usp-headline {
        font-size: 2.75rem;
    }
}

/* Scroll Down Arrow*/

.scroll a {
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity .3s;
}

.scroll a:hover {
    opacity: .5;
}

#scrollButton a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sb 1.5s infinite;
    animation: sb 1.5s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sb {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes sb {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

.cyan {
    color: var(--color-primary);
}

/* Mobile Overlay Adjustment */
@media (max-width: 767.98px) {
    .overlay-link {
        font-size: 1.25rem;
    }
}

.topics {
    scroll-margin-top: 56px;
}

.row-topic {
    display: block;
    height: calc(100vh - 56px);
    position: sticky;
    top: 56px;
    scroll-margin-top: 56px;
    overflow: hidden;
}

.row-topic>.topic-text {
    position: relative;
    padding-top: 2rem;
    height: 30vh;
}

.row-topic>.topic-text h3 {
    font-size: 1.5rem;
}

@media screen and (max-height:600px) {
    .row-topic>.topic-text>.cyanLarge {
        display: none;
    }
}

@media screen and (min-width:576px) and (max-width: 991px) and (max-height:750px) {
    .row-topic>.topic-text>.cyanLarge {
        display: none;
    }
}

.row-topic>.topic-text>ul>li {
    font-family: 'Oswald';
    list-style: none;
}

.row-topic .subtext-right {
    display: none;
    margin: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    padding-bottom: 5rem;
}

.row-topic .subtext-left {
    display: none;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    padding-bottom: 5rem;
}

.topic-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: top center;
    padding: 0;
}

.topic-img>picture {
    position: relative;
    width: 100%;
    height: 100%;
}

.topic-img>picture>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 991px) {
    .row-topic.sticky-30vh {
        position: sticky;
        top: calc(30vh + 56px);
    }
}

.first-section {
    margin-top: 56px;
}

@media (min-width: 992px) {
    .scale-up {
        transform: scale(1.05);
        z-index: 10;
    }
}

.currency-symbol {
    font-size: 0.6em !important;
    vertical-align: baseline !important;
    margin-right: 5px !important;
    display: inline-block;
}

.row-thanks {
    display: block;
}

@media screen and (min-width: 992px) {

    #businessportraits {
        height: calc(100vh -56px);
    }

    #produktfotografie {
        height: calc(100vh - 56px);
    }

    #preise,
    #kompakt,
    #fokus,
    #portfolio {
        scroll-margin-top: 56px;
    }

    .row-topic {
        display: flex
    }

    .row-topic>.topic-text {
        height: 100%;
        padding-top: 2rem;
    }

    .row-topic>.topic-text>ul>li,
    .row-topic>.topic-text>ul>li>a {
        font-size: 1.1rem;
    }

    .row-topic .subtext-right,
    .row-topic .subtext-left {
        display: block;
    }
}

@media screen and (min-width: 1100px) {

    .row-topic>.topic-text {
        padding-top: 3.5rem;
    }
}

@media screen and (min-width: 1200px) {

    .row-topic>.topic-text>ul>li,
    .row-topic>.topic-text>ul>li>a {
        font-size: 1.3rem;
    }

    .row-topic>.topic-text {
        height: 100%;
        padding-top: 5rem;
    }

}

.first-section {
    margin-top: 56px;
}

.cyanLarge {
    color: var(--color-primary);
    font-size: 1.75rem;
    font-weight: 900;
}

@media screen and (min-width:992px) {
    .cyanLarge {
        font-size: 2rem;
    }
}

@media screen and (max-height:600px) {
    .row-topic>.topic-text>.cyanLarge {
        display: none;
    }
}

@media screen and (min-width:576px) and (max-width: 991px) and (max-height:750px) {
    .row-topic>.topic-text>.cyanLarge {
        display: none;
    }
}



#referenzen {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media screen and (min-width: 992px) {
    #referenzen {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

#fotograf {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media screen and (min-width: 992px) {
    #fotograf {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

@media screen and (max-width: 991px) {
    #fotograf img {
        margin-bottom: 2rem;
    }
}

.slash {
    color: var(--color-primary);
}

.callout-info {
    background-color: #abe1ec;
    border-left-color: var(--color-primary);
    border-left-style: solid;
    border-left-width: 4px;
    color: rgb(5, 81, 96);
    margin: 20px 0;
    padding: 20px 20px 10px 20px;
}

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

.text-decoration-line-through {
    font-size: 1.5rem;
}

.agb-section {
    margin-bottom: 2rem;
}

.agb-header {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.list-group-item {
    border: none;
    padding-left: 0;
}

/* Boderline */

.borderline {
    position: relative;
    background: #eaeaea;
    display: block;
    height: 1px;
    width: 100%;
    margin: 40px 0;
}

.borderline:before {
    position: absolute;
    background: #eaeaea;
    content: "";
    bottom: -7px;
    left: 50%;
    height: 14px;
    width: 14px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-left: -7px;
}

.borderline:after {
    position: absolute;
    background: #fff;
    content: "";
    bottom: -5px;
    left: 50%;
    height: 16px;
    width: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-left: -8px;
}

/* Footer */

footer {
    background: #111;
    padding: 20px 20px 50px 20px;
}

footer a {
    color: var(--ls_semi_cyan);
}

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

footer .sm {
    fill: var(--ls_semi_cyan);
}

footer .sm:hover {
    fill: var(--ls_light_cyan);
}