/* ============================================================
   GLOBAL
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    font-family: "Google Sans Flex", sans-serif !important;
    background: #ffffff;
    color: #333;
    line-height: 1.7;
}
    
    body {
    padding-top: 70px; /* Höhe des Menüs grob, ggf. anpassen */
}

img {
    max-width: 100%;
    height: auto;
}

#home::before,
#profil::before,
#leistung::before,
#impressum::before,
#datenschutz::before,
#agb::before,
#bfsg::before {
    content: "";
    display: block;
    height: 70px;      /* Höhe des Menüs */
    margin-top: -70px; /* Gegenschub, damit das Layout optisch gleich bleibt */
}

/* ============================================================
   CONTENT-BEREICH (1200px)
============================================================ */

#content {
    width: 100%;
    display: block;
    /*padding: 40px 0 0 0;*/
    padding-top: 0;
    font-weight: 300;
}

.content-two-col {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 17px;
    line-height: 1.7;
}

html {
    hyphens: auto;
}

.content-two-col h1,
.content-two-col h2,
.content-two-col h3 {
    font-family: "Google Sans Flex", sans-serif !important;
    font-weight: 400;
    margin: 30px 0 15px 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* ============================================================
   H1 GLOBAL
============================================================ */

h1 {
    font-family: "Google Sans Flex", sans-serif !important;
    font-size: 34px;
    color: #059ab4;
    line-height: 1.3;
    hyphens: auto;
}

/* ============================================================
   H4 GLOBAL
============================================================ */

h4 {
    font-family: 'Meow Script', cursive !important;
    font-size: 55px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #059ab4 0, #da9ed7 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    hyphens: auto;
}

.content-two-col h1 { font-size: 34px; }
.content-two-col h2 { font-size: 28px; }
.content-two-col h3 { font-size: 22px; }

.content-two-col h1 { color: #059ab4; }
.content-two-col h2 { color: #059ab4; }
.content-two-col h3 { color: #059ab4; }

.content-two-col p,
.content-two-col ul {
    margin-bottom: 20px;
}

.content-two-col ul {
    padding-left: 20px;
}

h6 {
    font-family: "Google Sans Flex", sans-serif !important;
    font-size: 10pt;
    font-weight: 300;
    line-height: 1.2;
}

/* ============================================================
   BLOCK-QUOTE ""
============================================================ */

blockquote {
    background: #f2f2f2;;
    padding: 25px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    font-family: "Google Sans Flex", sans-serif;
    margin: 30px auto;        /* zentriert */
    max-width: 800px; 
}

blockquote p,
blockquote ul,
blockquote div,
blockquote span {
    padding-top: 25px;
}

blockquote::before,
blockquote::after {
    content: "“";
    font-size: 60px;
    font-weight: 700;
    color: #059ab4;
    position: absolute;
}

blockquote::before {
    top: -10px;
    left: 15px;
}

blockquote::after {
    content: "”";
    bottom: -25px;
    right: 15px;
}

/* ============================================================
   BLOCK-QUOTE CLEAN 
============================================================ */

blockquote.clean {
    background: color-mix(in srgb, #9ad5f7 30%, white);
    /*color: color-mix(in srgb, #059ab4 30%, white);*/
    padding: 25px 30px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    font-family: "Google Sans Flex", sans-serif;
    margin: 20px auto;        /* zentriert */
    max-width: 800px; 
}

blockquote.clean::before,
blockquote.clean::after {
    content: none !important;
}

blockquote.clean ul {
    margin: 0px;
    padding-top: 0; /* ABSTAND QUOTE TOP*/
    padding-left: 25px;
}

blockquote.clean li {
    margin-top: 0px;
    margin-bottom: 8px;
}


@media (max-width: 767px) {
    blockquote,
    blockquote.clean {
        hyphens: none;          /* keine Silbentrennung */
        word-break: normal;     /* normale Wortumbrüche */
        overflow-wrap: break-word; /* bricht ganze Wörter sauber */
        white-space: normal;    /* verhindert komische Zusammenziehungen */
    }
}

/* ============================================================
   BLOCK-QUOTE CLEAN (FARBE) 
============================================================ */

blockquote.color {
    background: #da9ed7;
    padding: 25px 30px;
    border-radius: 14px;
    border-style:dotted;
    border-color:#fff;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    font-family: "Google Sans Flex", sans-serif;
    color: #fffeff;
    margin: 20px auto;        /* zentriert */
    max-width: 800px; 
}

blockquote.color::before,
blockquote.color::after {
    content: none !important;
}

blockquote.color ul {
    margin: 0px;
    padding-top: 0; /* ABSTAND QUOTE TOP*/
    padding-left: 25px;
}

blockquote.color li {
    margin-top: 0px;
    margin-bottom: 8px;
}


@media (max-width: 767px) {
    blockquote,
    blockquote.clean
    blockquote.color {
        hyphens: none;          /* keine Silbentrennung */
        word-break: normal;     /* normale Wortumbrüche */
        overflow-wrap: break-word; /* bricht ganze Wörter sauber */
        white-space: normal;    /* verhindert komische Zusammenziehungen */
    }
}

/* ============================================================
   SECTION-DIVIDER
============================================================ */

.section-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* ============================================================
   NAVIGATION
============================================================ */

#main-nav {
    width: 100%;
    background: linear-gradient(90deg, #059ab4, #da9ed7);
    border-bottom: 1px solid #e0e0e0;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-menu {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.desktop-menu .nav-item {
    padding: 22px 24px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.2em;
    font-size: 16px;
    font-family: "Google Sans Flex", sans-serif !important;
    font-weight: 300;
}

.desktop-menu .nav-item:hover {
    color: #e0e0e0;
}

.desktop-menu .nav-item.active {
    position: relative;
    color: #fff;
    font-weight: 600;
}

.desktop-menu .nav-item.active::before {
    content: "";
    position: absolute;
    inset: 0; /* volle Fläche des Buttons */
    transform: skewX(0deg); /* 10% Neigung als Raute-Effekt */
    background: rgba(255, 255, 255, 0.25); /* 25% transparentes Weiß */
    z-index: -1;
}

/* ============================================================
   MOBILE TOPBAR
============================================================ */

#mobile-topbar {
    display: none;
    width: 100%;
    background: linear-gradient(90deg, #059ab4, #da9ed7);
    padding: 6px 16px;
    justify-content: space-between;
    align-items: center;
}

#mobile-dolphin {
    display: block;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    text-decoration: none !important;
}

#mobile-dolphin:hover {
    text-decoration: none !important;
}

#mobile-menu-label {
    font-size: 18px;
    color: #fff;
    margin-right: 8px;
    line-height: 1;
}

#hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    padding: 0;
}

/* ============================================================
   MOBILE MENÜ
=============================================================== */

#mobile-menu {
    position: fixed;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background: linear-gradient(90deg, #059ab4, #da9ed7);
    text-align: center;
    z-index: 99999;
}


#mobile-menu a {
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 0px solid rgba(255,255,255,0.3);
    text-decoration: none;
    color: #fff;
    display: block;
    width: 100%;
    letter-spacing: 0.2em;
    font-family: "Google Sans Flex", sans-serif !important;
}

#mobile-menu a.active {
    position: relative;
    color: #fff;
    font-weight: 600;
}

#mobile-menu a.active::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: skewX(0deg);
    background: rgba(255, 255, 255, 0.25);
    z-index: -1;
}

/* ============================================================
   LOGO-BEREICH
============================================================ */

#logo-area {
    transition: opacity 0.2s linear, transform 0.2s linear;
    width: 100%;
    background: linear-gradient(90deg, #059ab4, #da9ed7);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 240px;
}

#logo-area img {
    height: 100%;
    width: auto;
    max-width: 100%;
}

/* ============================================================
   GOLDENE LINIE
============================================================ */

#gold-line {
    transition: opacity 0.25s ease-out;
    width: 100%;
    height: 4px;
    background: #ffc867;
}

/* ============================================================
   HEADER-BILD
============================================================ */

#header-image img {
    width: 100%;
    display: block;

}

#header-image {
    transition: opacity 0.25s ease-out;
    position: relative;
    z-index: 1;
}

/* Weißer Verlauf unten am Headerbild */
#header-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* skaliert automatisch mit Bildhöhe */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
    pointer-events: none;
}

/* ============================================================
   HEADER-LOGO FADE-OUT
============================================================ */

#logo-area,
#header-image {
    transition: opacity 0.25s ease-out;
}

/* Zustand: Header ausgeblendet */
.header-faded {
    opacity: 0;
    height: 0 !important;
    overflow: hidden;
}

/* ============================================================
   FOOTER
============================================================ */

footer {
    width: 100%;
    background: linear-gradient(90deg, #059ab4, #da9ed7);
    padding: 40px 0;
    margin-top: 60px;
    margin-bottom: 0;
    position: relative;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-family: "Google Sans Flex", sans-serif !important;
}

.footer-claim {
    margin-top: 75px;
    margin-bottom: 0px;
    font-size: 14px;
    color: #fff;
}

.footer-links {
    margin-top: 5px;
}

.footer-links a {
    margin: 0 5px;
    text-decoration: none;
    color: #fff;
    font-family: "Google Sans Flex", sans-serif !important;
}

.footer-links a:hover {
    color: #e0e0e0;
}

/* ============================================================
   FOOTER BUTTONS
============================================================ */

.footer-fingerprint-btn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: #ffffff;
    color: #059ab4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.footer-top-btn {
    position: fixed;
    right: 20px;
    bottom: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: #ffffff;
    color: #059ab4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
}

.footer-fingerprint-btn:hover,
.footer-top-btn:hover {
    background: #e0e0e0;
}

/* ============================================================
   POPUPS
============================================================ */

#privacy-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
    display: none;
    z-index: 99999;
    width: 90%;
    max-width: 500px;
}

/* CONSENT TEXT */
.cookie-line {
    display: block;
    margin-bottom: 0px;
}

.cookie-line input {
    margin-right: 8px;
}

#privacy-accept {
    background: #059ab4;
    color: #fff;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

#privacy-cancel {
    background: #ccc;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

/* ============================================================
   >>> ERGÄNZUNG: KONTAKT POPUP (Fingerprint Style)
============================================================ */

#kontakt-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.kontakt-popup-visible {
    display: flex !important;
}

.kontakt-popup-inner {
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.kp-title {
    font-size: 26px;
    font-weight: 600;
    color: #059ab4;
    margin-bottom: 20px;
    text-align: center;
}

#kontakt-popup label {
    font-size: 15px;
    font-weight: 500;
    margin-top: 12px;
    display: block;
}

#kontakt-popup input,
#kontakt-popup textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    font-size: 15px;
    background: #fafafa;
}

#kontakt-popup textarea {
    min-height: 120px;
    resize: vertical;
}

.kp-error {
    color: #b30000;
    margin-top: 10px;
    font-size: 14px;
}

.kp-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.kp-send {
    background: #059ab4;
    color: #fff;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.kp-cancel {
    background: #ccc;
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

/* ============================================================
   FADE-IN
============================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

/* ============================================================
   SLIDER
============================================================ */

.animal-slider-wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.animal-slider-frame {
    width: 500px;
    aspect-ratio: 1 / 1;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.animal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.animal-slide.active {
    opacity: 1;
}

.animal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animal-slider-name {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
}

.animal-slider-text {
    margin-top: 5px;
    font-size: 16px;
    opacity: 0.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
/* ZUSATZ / NEU */
/* ======================================
MINI-LOGO IM MENÜ (nur Desktop sichtbar)
========================================= */

#menu-logo {
    position: absolute;
    left: 20px;
    top: 5px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    z-index: 99999;
}

#menu-logo img {
    height: 60px;
    width: auto;
}

/* Nur auf Desktop sichtbar halten */
@media (max-width: 767px) {
    #menu-logo {
        display: none;
    }
}

/* ============================================================
   MEDIA QUERIES
============================================================ */

@media (min-width: 1200px) {
    #hamburger,
    #mobile-menu,
    #mobile-topbar,
    #mobile-dolphin {
        display: none;
    }

    .desktop-menu {
        display: flex;
    }

    #logo-area {
        height: 240px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #hamburger,
    #mobile-menu,
    #mobile-topbar,
    #mobile-dolphin {
        display: none;
    }

    .desktop-menu {
        display: flex;
    }

    #logo-area {
        height: 180px;
    }
     body {
        padding-top: 70px; /* Höhe der Desktop-Navigation */
    }
}

@media (max-width: 767px) {

    .desktop-menu {
        display: none;
    }

    #mobile-topbar {
        display: flex;
    }

    #mobile-dolphin {
        display: block;
    }

    #hamburger {
        display: block;
    }

    #mobile-menu {
        display: none;
        flex-direction: column;
    }
     body {
        padding-top: 50px; /* Höhe der Mobile-Topbar */
    }

    #logo-area {
        height: 140px;
    }

    .animal-slider-wrapper {
        width: 75%;
        max-width: 75%;
        margin: 0 auto;
    }

    .animal-slider-frame {
        width: 75%;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .animal-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .animal-slider-name {
        width: 75%;
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
        font-size: 20px;
    }

    .animal-slider-text {
        width: 75%;
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        line-height: 1.5;
    }
}

/* ============================================================
   PIC-BLOCK (Bilder aus /pics, 300x300px, responsiv)
============================================================ */

.pic-block {
    width: 100%;
    max-width: 300px;          /* Desktop-Größe */
    margin: 40px auto;         /* immer zentriert */
    text-align: center;        /* Text unter dem Bild zentriert */
}

.pic-block img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;       /* quadratisch */
    object-fit: cover;         /* sauberer Zuschnitt */
    border-radius: 12px;       /* optional, kannst du entfernen */
    display: block;
}

/* Titel unter dem Bild */
.pic-title {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #059ab4;
    font-family: "Google Sans Flex", sans-serif;
}

/* Beschreibung unter dem Titel */
.pic-desc {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 300;
    color: #333;
    line-height: 1.4;
    font-family: "Google Sans Flex", sans-serif;
}

/* Mobile: automatisch kleiner */
@media (max-width: 767px) {
    .pic-block {
        max-width: 70%;        /* skaliert sauber */
    }

    .pic-title {
        font-size: 18px;
    }

    .pic-desc {
        font-size: 14px;
    }
}

/* ============================================================
   SOCIAL MEDIA BUTTONS / RE/LI DATENSCHUTZ BUTTON
============================================================ */
.footer-social-btn {
    position: absolute;
    top: 20px;                 /* gleiche Höhe wie Datenschutz-Button */
    width: 60px;               /* gleiche Breite */
    height: 60px;              /* gleiche Höhe */
    border-radius: 50%;        /* gleiche Rundung */
    border: 2px solid #ffffff;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 9999;             /* über dem Datenschutz-Button */
}

.footer-social-btn img {
    width: 32px;
    height: 32px;
}

/* Instagram links vom Datenschutz-Button */
.footer-instagram-btn {
    left: calc(50% - 100px);
}

/* WhatsApp rechts vom Datenschutz-Button */
.footer-whatsapp-btn {
    left: calc(50% + 40px);
}

.footer-social-btn:hover {
    background: #e0e0e0;
}

/* ============================================================
   POST-IT ADHS
============================================================ */

.postit-note {
    position: relative;
    width: 420px;
    max-width: 90%;
    margin: 60px auto;
    padding: 35px 30px;
    background: #fff6a3;
    border-radius: 2px;

    transform: rotate(-2deg);

    box-shadow:
        0 3px 8px rgba(0,0,0,0.15),
        0 18px 30px rgba(0,0,0,0.20);

    overflow: visible;
}

/* TESA */
.postit-note::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%) rotate(-6deg);

    width: 95px;
    height: 28px;

    background: rgba(255,255,255,0.55);

    border-left: 1px solid rgba(255,255,255,0.8);
    border-right: 1px solid rgba(255,255,255,0.8);

    box-shadow:
        0 1px 2px rgba(0,0,0,0.08);

    z-index: 10;
}

/* Papierstruktur */
.postit-note::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.30) 0%,
            rgba(255,255,255,0.15) 20%,
            rgba(255,255,255,0.00) 45%
        );

    pointer-events: none;
}

.postit-note-title {
    font-family: "Permanent Marker", italic !important;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
    margin-bottom: 15px;

    background: linear-gradient(90deg, #059ab4 0%, #da9ed7 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 12px;
}

.postit-note-text {
    font-family: "Google Sans Flex", sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 767px) {

    .postit-note {
        width: 90%;
        padding: 20px;
        transform: rotate(-2deg);
    }

    .postit-note-title {
        font-size: 28px;
    }
    .postit-note-text {
        font-size: 16px;
    }
}
