@charset "UTF-8";
/*!
 * Ferien Kontor Föhr – Custom Theme (Bootstrap 5.3)
 * Bootstrap 4 CSS entfernt – Bootstrap 5 wird via CDN in header.php geladen
 */

/* ---------------------------------------------------------------
   Bootstrap 5 Farb-Overrides (Teal-Primär: #1abc9c)
   --------------------------------------------------------------- */
:root {
    --bs-primary:          #1abc9c;
    --bs-primary-rgb:      26, 188, 156;
    --bs-link-color:       #1abc9c;
    --bs-link-hover-color: #17a589;
}

.btn-primary {
    --bs-btn-bg:                #1abc9c;
    --bs-btn-border-color:      #1abc9c;
    --bs-btn-hover-bg:          #17a589;
    --bs-btn-hover-border-color:#17a589;
    --bs-btn-active-bg:         #148f77;
    --bs-btn-active-border-color:#148f77;
    --bs-btn-disabled-bg:       #1abc9c;
    --bs-btn-disabled-border-color:#1abc9c;
}

.btn-outline-primary {
    --bs-btn-color:             #1abc9c;
    --bs-btn-border-color:      #1abc9c;
    --bs-btn-hover-bg:          #1abc9c;
    --bs-btn-hover-border-color:#1abc9c;
    --bs-btn-hover-color:       #fff;
    --bs-btn-active-bg:         #148f77;
    --bs-btn-active-border-color:#148f77;
    --bs-btn-active-color:      #fff;
}

.bg-primary    { background-color: #1abc9c !important; }
.text-primary  { color: #1abc9c !important; }
.border-primary{ border-color: #1abc9c !important; }

/* ---------------------------------------------------------------
   Theme-Komponenten (Freelancer v6 + Custom Föhr)
   --------------------------------------------------------------- */
.page-section {
    padding: 7rem 0;
    padding-bottom: 50px;
}

.page-section .page-section-heading {
    font-size: 2.25rem;
    line-height: 2rem;
}

@media (min-width: 992px) {
    .page-section .page-section-heading {
        font-size: 3rem;
        line-height: 2.5rem;
    }
}

.divider-custom {
    margin: 1.25rem 0 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-custom .divider-custom-line {
    width: 100%;
    max-width: 7rem;
    height: 0.25rem;
    background-color: #2c3e50;
    border-radius: 1rem;
    border-color: #2c3e50 !important;
}

.divider-custom .divider-custom-line:first-child {
    margin-right: 1rem;
}

.divider-custom .divider-custom-line:last-child {
    margin-left: 1rem;
}

.divider-custom .divider-custom-icon {
    color: #2c3e50 !important;
    font-size: 2rem;
}

.divider-custom.divider-light .divider-custom-line {
    background-color: #fff;
}

.divider-custom.divider-light .divider-custom-icon {
    color: #fff !important;
}

.btn-xl {
    padding: 1rem 1.75rem;
    font-size: 1.25rem;
}

.btn-social {
    border-radius: 100%;
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    justify-content: center;
    align-items: center;
}

.scroll-to-top {
    z-index: 1042;
    right: 1rem;
    bottom: 1rem;
    display: none;
}

.scroll-to-top a {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(33, 37, 41, 0.5);
    line-height: 3.1rem;
}

/* Navigation */
#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
}

#mainNav .navbar-brand {
    color: #fff;
}

#mainNav .navbar-nav {
    margin-top: 1rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
    color: #fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
    color: #457dac;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active,
#mainNav .navbar-nav li.nav-item a.nav-link:focus {
    color: #fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
    color: #1abc9c;
}

#mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.8rem;
}

@media (min-width: 992px) {
    #mainNav {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        transition: padding-top 0.3s, padding-bottom 0.3s;
    }

    #mainNav .navbar-brand {
        font-size: 1.75em;
        transition: font-size 0.3s;
    }

    #mainNav .navbar-nav {
        margin-top: 0;
    }

    #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
        color: #fff;
        background: #1abc9c;
    }

    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active,
    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus,
    #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
        color: #fff;
        background: #1abc9c;
    }

    #mainNav.navbar-shrink {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        background-color: #457dac94;
    }

    #mainNav.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
}

/* Masthead */
.masthead {
    padding-top: calc(6rem + 150px);
    padding-bottom: 6rem;
}

.masthead .masthead-heading {
    font-size: 2.75rem;
    line-height: 2.75rem;
}

.masthead .masthead-subheading {
    font-size: 1.25rem;
}

.masthead .masthead-avatar {
    width: 15rem;
}

@media (min-width: 992px) {
    .masthead {
        padding-top: calc(6rem + 350px);
        padding-bottom: 6rem;
    }

    .masthead .masthead-heading {
        font-size: 4rem;
        line-height: 3.5rem;
    }

    .masthead .masthead-subheading {
        font-size: 1.5rem;
    }
}

/* Portfolio */
.portfolio .portfolio-item {
    cursor: pointer;
    position: relative;
    display: block;
    max-width: 25rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.portfolio .portfolio-item .portfolio-item-caption {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    background-color: rgba(26, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
    opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
    font-size: 1.5rem;
}

.portfolio-modal .portfolio-modal-title {
    font-size: 2.25rem;
    line-height: 2rem;
}

@media (min-width: 992px) {
    .portfolio-modal .portfolio-modal-title {
        font-size: 3rem;
        line-height: 2.5rem;
    }
}

/* Floating Label Form Groups (Kontakt-Formular) */
.floating-label-form-group {
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    font-size: 1.5em;
    position: relative;
    z-index: 1;
    padding-right: 0;
    padding-left: 0;
    resize: none;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none !important;
}

.floating-label-form-group label {
    font-size: 0.85em;
    line-height: 1.764705882em;
    position: relative;
    z-index: 0;
    top: 2em;
    display: block;
    margin: 0;
    transition: top 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.floating-label-form-group:not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #e9ecef;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #1abc9c;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #e9ecef;
}

/* Footer */
.footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #457dac;
    color: #fff;
}

.copyright {
    background-color: #1a252f;
}

/* Hintergrundbilder */
.bg-watt {
    background-image: url(../img/watt.jpg);
    background-size: cover;
}

.bg-strand {
    background-image: url(../img/strand.jpg);
    background-size: cover;
}

.bg-bruecke {
    background-image: url(../img/bruecke.jpg);
    background-size: cover;
    background-position: center;
}

.bg-faehre {
    background-image: url(../img/faehre.jpg);
    background-size: cover;
    background-position: center;
}

.bg-priel {
    background-image: url(../img/priel-20.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-whitecontainer {
    background-color: #ffffffbd;
}

.navbar-shrink {
    background-color: #457dacde;
}

/* ---------------------------------------------------------------
   CMS-Inhalte (TinyMCE): Bilder responsiv, Floats containen
   --------------------------------------------------------------- */
.page-section .col-lg-8::after,
.page-section .col-lg-9::after,
.page-section .col-12::after {
    content: '';
    display: table;
    clear: both;
}
.page-section .col-lg-8 img,
.page-section .col-lg-9 img,
.page-section .col-12 img {
    max-width: 100%;
    height: auto;
}
.page-section .col-lg-8 table,
.page-section .col-lg-9 table,
.page-section .col-12 table {
    max-width: 100%;
    border-collapse: collapse;
}
.page-section .col-lg-8 td,
.page-section .col-lg-9 td,
.page-section .col-12 td {
    vertical-align: top;
}
.page-section img[style*="float: left"] {
    margin: 0 12px 8px 0;
}
.page-section img[style*="float: right"] {
    margin: 0 0 8px 12px;
}

/* Inner page header banner (50vh, accounts for fixed navbar) */
.page-banner {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
    background-position: center;
    background-size: cover;
}

.page-banner h1 {
    font-size: 2.5rem;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}

@media (min-width: 992px) {
    .page-banner h1 {
        font-size: 3.5rem;
    }
}
