/* =========================================================
   1. GLOBALE EINSTELLUNGEN
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/poppins-v24-latin-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-image: url('farn.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* =========================================================
   2. HEADER & NAVIGATION
   ========================================================= */
header {
    background-color: #f8f8f8;
    color: #fff;
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto 40px auto;
}

header h1 {
    font-family: "Lucida Handwriting", "Lucida Calligraphy", cursive;
    font-size: 82px;
    margin-bottom: 50px;
}

nav ul {
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 30px !important;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: 100;
    font-size: 15px;
    letter-spacing: 2px !important;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase !important;
}

nav a:hover {
    text-decoration: underline;
    color: #2c2d2e;
}

/* Aktiver Menüpunkt */
nav a.active {
    text-decoration: underline;
    color: #2c2d2e;
}


/* =========================================================
   3. HAUPTINHALT / CONTENT-BOX
   ========================================================= */
main {
    flex: 1;
    display: flex;
      justify-content: center;
    align-items: flex-start;   /* vorher: center */
    padding: 80px 20px 40px;
}

.content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

.content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.content p {
    margin-bottom: 20px;
}

/* Listen innerhalb von Content-Bereichen (z.B. Infolisten auf Kontaktseite) */
.content-form ul,
.content ul {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 20px auto;
    padding-left: 20px;
    margin-bottom: 50px;
}

.content-form li,
.content li {
    margin-bottom: 0px;
}

.content-form h3,
.content h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 8px;
    text-align: center;
}

.social-icon {
    display: inline-block;
    font-size: 52px;
    color: #2c3e50;
    transition: transform 0.2s ease, color 0.3s ease;
}

.social-icon:hover {
    color: #E1306C;
    transform: scale(1.1);
}

/* =========================================================
   4. BUTTONS
   ========================================================= */
/*
   .btn {
    background-color: #00492b;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 30px;
}

.btn:hover {
    background-color: #00492b;
}
*/
.btn,
.btn-submit {
    position: relative;
    overflow: hidden;
    color: #2c3e50 ! important;
    border: none;
    padding: 12px 24px;
    max-width: fit-content;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    background: linear-gradient(
        120deg,
        #f7f3ea 0%,
        #e8d9e8 20%,
        #30b8ca 40%,
        #f0e6d2 60%,
        #e8d9e8 80%,
        #f7f3ea 100%
    );
    background-size: 300% 300%;
    animation: pearlShift 6s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn::before,
.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn:hover::before,
.btn-submit:hover::before {
    left: 130%;
}

@keyframes pearlShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* =========================================================
   5. KONTAKTFORMULAR
   ========================================================= */
.content-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1100px;
    font-family: 'Poppins', sans-serif !important;
}

.content-form h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-size: 18px;
       }

  .content-form h4 {
    color: #2c3e50;
    margin: 0 auto 20px auto;
    font-size: 18px;
    max-width: 400px;
    padding-left: 8px;
    margin-bottom: 5px;
}
.content-form p {
    margin-bottom: 25px;
    text-align: center;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*font-family: inherit;*/
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00492b;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background-color: #00492b;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #34495e;
}


/* =========================================================
   7. STANDORT / GOOGLE MAPS
   ========================================================= */
.location-info {
    margin-top: 30px;
    text-align: center;
}

.map-wrapper {
    max-width: 600px;
    margin: 15px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
}


/* =========================================================
   8. INSTAGRAM / WIDGET-EINBETTUNG
   ========================================================= */
.instagram-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px; /* Begrenzt die Breite des Posts */
    margin: 20px auto 0 auto; /* Zentriert das Element */
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
}

.instagram-wrapper iframe {
    width: 100%;
    height: 480px; /* Standardhöhe für quadratische Beiträge */
    display: block;
}


/* =========================================================
   9. COOKIE-BANNER
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 100;
    width: 90%;
    max-width: 480px;
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 2px solid #00492b;
}

.cookie-icon {
    font-size: 40px;
    display: inline-block;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.cookie-text h3 {
    color: #2c3e50;
    margin: 10px 0 8px;
    font-size: 18px;
}

.cookie-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

.cookie-btn-accept {
    background-color: #00492b;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #00492b;
}

.cookie-btn-decline {
    background-color: #f4f4f9;
    color: #555;
}

.cookie-btn-decline:hover {
    background-color: #e2e2e8;
}


/* =========================================================
   10. DEKO-ANIMATION: Pochendes Haus (Startseite)
   ========================================================= */
.nest-scene {
    max-width: 280px;
    margin: 20px auto 0 auto;
    text-align: center;
}

.nest-scene img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #000;
}
/* =========================================================
   11. FOOTER
   ========================================================= */
footer {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

footer a {
    color: #000;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
}

footer a:hover {
    color: #2c2d2e;
}


/* =========================================================
   12. RESPONSIVE / MEDIA QUERIES
   ========================================================= */
@media (max-width: 768px) {
    header {
        padding: 25px 15px;
    }

    .logo img {
        height: 55px;
        margin-bottom: 20px;
    }

    nav ul {
        flex-wrap: wrap !important;
        gap: 12px !important;
        row-gap: 10px !important;
    }

    nav a {
        font-size: 13px;
        letter-spacing: 1px !important;
    }

    .content {
        padding: 20px;
    }

    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .about-photo img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 500px) {
    .cookie-banner {
        width: 94%;
        bottom: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 10px;
    }

    .logo img {
        height: 45px;
        margin-bottom: 15px;
    }

    nav ul {
        gap: 8px !important;
    }

    nav a {
        font-size: 12px;
    }

    .content h2 {
        font-size: 20px;
    }

    .content-form {
        padding: 25px;
    }
}