/* =============================================
   SELF-HOSTED FONTS (GDPR-compliant, no Google)
   ============================================= */
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../assets/fonts/josefin-vietnamese.woff2') format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../assets/fonts/josefin-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../assets/fonts/josefin-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.12);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}
#cookie-banner.cookie-banner--visible { transform: translateY(0); }
#cookie-banner.cookie-banner--hiding  { transform: translateY(100%); }
.cb-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.cb-text { flex: 1; }
.cb-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.cb-body  { font-size: 0.85rem; color: #555; line-height: 1.5; }
.cb-body a { color: #5fa2b3; }
.cb-details-toggle {
    background: none; border: none; cursor: pointer;
    font-size: 0.8rem; color: #5fa2b3; padding: 6px 0; display: block; margin-top: 6px;
}
.cb-details { display: none; margin-top: 10px; border-top: 1px solid #e2e8f0; padding-top: 10px; }
.cb-details.cb-details--open { display: block; }
.cb-category { margin-bottom: 10px; font-size: 0.82rem; color: #555; }
.cb-cat-name { font-weight: 600; display: inline-block; margin-right: 8px; }
.cb-cat-badge {
    display: inline-block; font-size: 0.72rem; padding: 2px 8px;
    border-radius: 99px; background: #e8f4f7; color: #4a8fa0; margin-bottom: 4px;
}
.cb-cat-badge--always { background: #d1fae5; color: #065f46; }
.cb-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.cb-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #5fa2b3;
    white-space: nowrap;
    min-width: 160px;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.cb-btn--primary  { background: #5fa2b3; color: #fff; }
.cb-btn--primary:hover  { background: #4a8b9c; }
.cb-btn--secondary { background: transparent; color: #5fa2b3; }
.cb-btn--secondary:hover { background: #f0f8f8; }
@media (max-width: 640px) {
    .cb-inner { flex-direction: column; gap: 14px; padding: 16px; }
    .cb-actions { flex-direction: row; width: 100%; }
    .cb-btn { flex: 1; min-width: 0; }
}

/* =============================================
   GLOBAL
   ============================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Josefin Sans', 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: #202c2d;
    background: #fff;
}

a { color: #5fa2b3; text-decoration: none; }
a:hover { text-decoration: underline; }

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */
.display-heading {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: -2px;
    line-height: 1;
    color: #fff;
    margin-bottom: 36px;
}
.display-heading.dark { color: #202c2d; }

.section-deco-line {
    width: 80px;
    height: 2px;
    background: #202c2d;
    margin: 0 auto 28px;
}
.section-deco-line--white { background: rgba(255,255,255,0.55); }

/* =============================================
   LEGAL PAGE (IMPRESSUM)
   ============================================= */
.section { padding: 100px 40px; }
.section-light { background: #fff; }
.container { max-width: 860px; margin: 0 auto; }

.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 5vw, 3rem);
    letter-spacing: -1px;
    color: #202c2d;
    margin-bottom: 14px;
}
.section-heading p { color: #666; font-size: 1.05rem; }

.card {
    background: #f7f9fa;
    border-radius: 14px;
    padding: 40px 44px;
    margin-bottom: 32px;
}
.card:last-child { margin-bottom: 0; }
.card h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 1.3rem;
    color: #5fa2b3;
    margin-bottom: 20px;
}
.card p { margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }

/* =============================================
   TEXT LOGO
   ============================================= */
.text-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
}
.text-logo-icon {
    height: 32px;
    width: auto;
    display: block;
}
.text-logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.text-logo-main {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
}
.text-logo-sub {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1;
}
.text-logo--dark .text-logo-icon,
.text-logo--dark .text-logo-main,
.text-logo--dark .text-logo-sub { color: #e6b9c4; }

.text-logo--light .text-logo-icon { color: #fff; }
.text-logo--light .text-logo-main,
.text-logo--light .text-logo-sub { color: rgba(255,255,255,0.85); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.header-logo { height: 52px; width: auto; }

.site-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-nav a {
    position: relative;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5fa2b3;
    transition: color 0.2s;
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #202c2d;
    transition: width 0.25s ease;
}
.site-nav a:hover { color: #202c2d; text-decoration: none; }
.site-nav a:hover::after { width: 100%; }

.site-nav .nav-cta {
    background: #5fa2b3;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
}
.site-nav .nav-cta::after { content: none; }
.site-nav .nav-cta:hover { background: #4a8b9c; color: #fff; }

/* =============================================
   HERO SLIDER  (overrides slider.css)
   ============================================= */
.hero-slider-container {
    height: 100vh;
    min-height: 600px;
}
.slide-image {
    filter: brightness(1.25);
}

.slide-overlay {
    background: rgba(0,0,0,0.18);
    align-items: flex-end;
    padding-bottom: 110px;
    padding-left: 10%;
    justify-content: flex-start;
}
.slide-content {
    text-align: left;
    max-width: 680px;
    animation: none;
}
.slide-line-deco {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}
.slide-content h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2.4rem, 5.6vw, 4.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -4px;
    line-height: 0.95;
    color: #fff;
    margin: 0 0 18px;
    animation: none;
}
.slide-content p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    margin: 0;
    animation: none;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
    display: grid;
    grid-template-columns: 5fr 7fr;
}
.cta-band-left {
    background: #5fa2b3;
    padding: 36px 48px;
    display: flex;
    align-items: center;
}
.cta-band-right { background: #fff; }

.cta-link {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.2s;
}
.cta-link:hover { opacity: 0.8; text-decoration: none; }
.cta-arrow {
    width: 48px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}
.cta-link:hover .cta-arrow { transform: translateX(6px); }

/* =============================================
   WELCOME SECTION
   ============================================= */
.welcome-section {
    display: grid;
    grid-template-columns: 5fr 7fr;
    min-height: 580px;
}
.welcome-photo { overflow: hidden; }
.welcome-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.welcome-text {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.welcome-text h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 4px;
}
.simple-list { list-style: none; padding: 0; }
.simple-list li { padding: 3px 0; font-size: 0.95rem; }
.simple-list li::before { content: "– "; color: #5fa2b3; }

.frankl-quote {
    border-left: 3px solid #5fa2b3;
    padding-left: 16px;
    font-size: 0.93rem;
    color: #555;
    font-style: normal;
}
.leitmotiv { font-size: 0.95rem; letter-spacing: 0.1em; color: #5fa2b3; }

/* =============================================
   PSYCHO DARK
   ============================================= */
.psycho-dark {
    position: relative;
    padding: 100px 40px;
    overflow: hidden;
    background: #357c8d;
}
.psycho-dark-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    text-align: left;
    background: rgba(255,255,255,0.05);
    padding: 36px;
}
.three-col h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
    font-weight: 700;
}
.three-col p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    font-weight: 300;
}

/* =============================================
   QUOTE BORDER BOX
   ============================================= */
.quote-border-section { padding: 80px 40px; }
.quote-border-inner {
    border: 15px solid #5fa2b3;
    padding: 70px 48px;
    text-align: center;
}
.quote-border-inner blockquote {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #5fa2b3;
    letter-spacing: -0.5px;
    line-height: 1.35;
}

/* =============================================
   SPLIT SECTIONS
   ============================================= */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}
.split-section--rev { direction: rtl; }
.split-section--rev > * { direction: ltr; }

.split-image { overflow: hidden; }
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.split-text {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.split-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #5fa2b3;
    margin-bottom: -4px;
}
.split-text p { line-height: 1.78; font-size: 1rem; color: #333; }
.split-text strong { font-weight: 700; color: #202c2d; }

.dot-list { list-style: none; padding: 0; }
.dot-list li { padding: 4px 0; font-size: 1rem; color: #333; line-height: 1.6; }
.dot-list li::before { content: "– "; color: #5fa2b3; }

.qual-list { list-style: none; padding: 0; margin-top: 8px; }
.qual-list li {
    padding: 7px 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* =============================================
   SERVICES DIVIDER
   ============================================= */
.services-divider {
    padding: 100px 40px;
    text-align: center;
}

/* =============================================
   LINE SEPARATOR
   ============================================= */
.img-separator { padding: 48px 40px; text-align: center; }

/* =============================================
   LEBE
   ============================================= */
.lebe-section { padding: 0 40px; margin: 60px 0; }
.lebe-box {
    border: 15px solid #5fa2b3;
    padding: 70px 48px;
    text-align: center;
}
.lebe-box h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5fa2b3;
    line-height: 1.2;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
    padding: 80px 40px;
    background: #f5f5f5;
}
.t-track-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.t-slide { display: none; }
.t-slide.active { display: block; }

.t-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.testimonial {
    background: #fff;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.testimonial p {
    font-size: 1rem;
    line-height: 1.82;
    color: #444;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 300;
}
.testimonial cite {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5fa2b3;
    font-style: normal;
}
.t-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}
.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #5fa2b3;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.t-dot.active {
    background: #5fa2b3;
    width: 28px;
    border-radius: 6px;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 380px;
}
.gallery-item { overflow: hidden; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* =============================================
   KONTAKT
   ============================================= */
.kontakt-section {
    padding: 100px 40px;
    text-align: center;
}
.kontakt-cta-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 56px;
}
.kontakt-cta {
    display: inline-block;
    background: #5fa2b3;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 36px;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s;
}
.kontakt-cta:hover { background: #4a8b9c; color: #fff; text-decoration: none; }
.kontakt-cta--outline {
    background: transparent;
    color: #5fa2b3;
    border: 2px solid #5fa2b3;
}
.kontakt-cta--outline:hover { background: #5fa2b3; color: #fff; }
.kontakt-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 56px auto 0;
    text-align: left;
}
.kontakt-col { display: flex; gap: 14px; align-items: flex-start; }
.kontakt-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: #202c2d;
    padding-top: 2px;
}
.kontakt-val { font-size: 1rem; color: #444; line-height: 1.7; }
.kontakt-val a { color: #5fa2b3; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #5fa2b3; padding: 18px 40px; }
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.footer-col a {
    color: rgba(255,255,255,0.65);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-logo-col { text-align: center; }
.footer-logo {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}
.footer-copy {
    text-align: right;
    color: rgba(255,255,255,0.65);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}
.footer-copy-link { color: inherit; text-decoration: none; }
.footer-copy-link:hover { color: inherit; text-decoration: none; }

/* =============================================
   NAV TOGGLE (Hamburger)
   ============================================= */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #202c2d;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 1024px) {
    .three-cols { grid-template-columns: 1fr; }

    .cta-band,
    .welcome-section,
    .split-section { grid-template-columns: 1fr; }

    .split-section--rev { direction: ltr; }

    .cta-band-right { display: none; }

    .welcome-photo,
    .split-image { height: 400px; }

    .kontakt-cols,
    .t-pair { grid-template-columns: 1fr; }

    .site-nav {
        flex-wrap: wrap;
        gap: 10px 18px;
    }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {

    /* Header */
    .header-inner {
        flex-wrap: wrap;
        padding: 14px 20px;
        gap: 0;
    }
    .brand { flex: 1; }
    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 16px 0 8px;
        gap: 0;
        border-top: 1px solid #eee;
        margin-top: 12px;
    }
    .site-nav.open { display: flex; }
    .site-nav a {
        padding: 10px 0;
        font-size: 0.95rem;
        border-bottom: 1px solid #f0f0f0;
    }
    .site-nav .nav-cta {
        border-bottom: none;
        border-radius: 6px;
        margin-top: 10px;
        padding: 12px 0;
        text-align: center;
    }

    /* Hero */
    .hero-slider-container { min-height: 480px; height: 80vh; }
    .slide-overlay {
        padding-left: 6%;
        padding-bottom: 60px;
    }
    .slide-content h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }
    .slide-content p { font-size: 1rem; }

    /* CTA Band */
    .cta-band-left { padding: 28px 24px; }

    /* Welcome */
    .welcome-photo { height: 320px; }
    .welcome-text { padding: 48px 24px; gap: 16px; }
    .welcome-text h2 { font-size: 2rem; }
    .simple-list li { font-size: 1rem; }

    /* Psycho Dark */
    .psycho-dark { padding: 60px 20px; }
    .three-cols { padding: 24px 20px; gap: 24px; }
    .three-col p { font-size: 1rem; }

    /* Quote + Lebe */
    .quote-border-section { padding: 48px 20px; }
    .lebe-section { padding: 0 20px; margin: 48px 0; }
    .quote-border-inner,
    .lebe-box { border-width: 8px; padding: 40px 24px; }
    .quote-border-inner blockquote { font-size: 1.2rem; }

    /* Split sections */
    .split-section { min-height: unset; }
    .split-image { height: 380px; }
    .split-text { padding: 48px 24px; gap: 14px; }
    .split-label { font-size: 0.9rem; }

    /* Services divider */
    .services-divider { padding: 60px 20px; }
    .img-separator { padding: 40px 20px; }

    /* Testimonials */
    .testimonials-section { padding: 60px 20px; }
    .testimonial { padding: 28px 24px; }
    .t-pair { gap: 20px; }

    /* Gallery */
    .gallery-strip { grid-template-columns: 1fr; height: auto; }
    .gallery-item { height: 240px; overflow: hidden; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

    /* Kontakt */
    .kontakt-section { padding: 60px 20px; }
    .kontakt-cta-group { flex-direction: column; align-items: stretch; }
    .kontakt-cols { margin-top: 40px; gap: 28px; }

    /* Legal page */
    .section { padding: 60px 20px; }
    .section-heading { margin-bottom: 36px; }
    .card { padding: 28px 24px; }

    /* Footer */
    .site-footer { padding: 24px 20px; }
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 14px;
    }
    .footer-copy { text-align: center; }
    .text-logo--light .text-logo-main { font-size: 0.7rem; }
}
