

/* MAIN */


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

@font-face {
    font-family: 'Sarabun';
    src: url('/fonts/sarabun/Sarabun-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sarabun', sans-serif;
    line-height: 1.6;
    color: #222;
    overflow-x: hidden;
    padding-top: 0;
}

body.legal header {
    transform: translateY(0) !important;
    opacity: 1 !important;
}


/* Preloader Vollbild */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* Logo Animation */
.loader-logo {
    width: 100px; 
    animation: spin 1.2s linear infinite;
}

/* Rotation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Inhalt erstmal verstecken */
#content {
    opacity: 0;
    transition: opacity 0.6s ease;
}

#content.show {
    opacity: 1;
}

/* IMAGES */
img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 0;
}

.logo-header {
    height: 40px;
    opacity: 1;  
    transition: all 0.4s ease;
}



/* CONTAINER */
.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* SECTIONS */
.section {
    padding: 70px 0;
    border-top: 10px solid #22455d;
}

.center {
    text-align: center;
}

.light-bg {
    background: #f7f8f5;
}

/* HEADER */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    border-top: 10px solid #22455d;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    height: 60px;
}



/* BURGER */
.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2000;
}

.burger span {
    width: 26px;
    height: 3px;
    background: #22455d;
    border-radius: 20px;
    transition: 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
}

nav.active {
    right: 0;
}

nav ul {
    display: flex;
    flex-direction: column;
    gap: 35px;
    list-style: none;
    text-align: center;
}


nav a {
    position: relative;
    text-decoration: none;
    color: #22455d;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 5px 0;
}


nav a:hover {
    opacity: 1;
}


nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #22455d;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}


nav a:hover::after {
    transform: scaleX(1);
}

nav a.active::after {
    transform: scaleX(1);
}

/* HERO */
.hero {
    height: 100vh;
    background: url('../img/S1_1_Plantage.webp') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-logo {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
    margin: 0 auto 100px auto;
}


.hero-note {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #222;
    opacity: 0.9;
    background: yellow;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid #222;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    background: #fff;
    color: #22455d;
    border: 2px solid #22455d;
    position: relative;
}

.btn:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.btn::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: left;
    bottom: 10px;
    height: 2px;
    width: 70%; 
    background: #22455d;
    transition: transform 0.3s ease;
}



/* CONTENT GRID */
.two-columns {
    display: grid;
    gap: 40px;
    align-items: center;
}

.two-columns img {
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* HEADINGS */
h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #22455d;
}

/* CARDS */
.cards {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 15px;
    color:#22455d
}

.card-content a {
    display: inline-block;
    margin-top: 15px;
    color: #4da760;
    text-decoration: none;
    font-weight: bold;
}

.card-number a{
    color:#22455d;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-row h3 {
    margin: 0;
}

.title-row img {
    width: 24px;
    height: 24px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f7f7f7;
    padding: 1rem;
    border-radius: 14px;
}

.step span {
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #4da760;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.step p {
    margin: 0;
    line-height: 1.5;
}

.beerenverkauf .card {
    padding: 18px;
}

.beerenverkauf .card > img {
    width: 100%;
    height: 550px; 
    object-fit: cover;
    border-radius: 18px;
}

/* OPENING */
.opening-box {
    margin-top: 30px;
    background: white;
    display: inline-block;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.opening-image {
    flex: 0 0 auto;
}

.opening-text {
    flex: 1;
}

.opening-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.opening-box strong {
    color:#22455d;
}

.small-text {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.small-text a{
    text-decoration: none;
}

.opening-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* INFO TEXT */
.opening-info-box {
    max-width: 700px;
    margin: 25px auto 0 auto;
    padding: 25px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.opening-info-box p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: center;
}

.opening-info-box p:last-child {
    margin-bottom: 0;
}




/* CONTACT / ANFAHRT */
.contact-grid {
    display: grid;
    gap: 40px;
}

.contact-grid strong {
    color:#22455d;
}

.contact-grid h3{
    margin-bottom: 15px;
    color:#22455d
}

.contact-anfahrt {
    text-align: center;
}

.contact-grid a {
    color:#22455d;
}

.externer-link-notiz {
    color: #c62828;
    font-weight: 600;
}

.info-stack {
    display: grid;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.info-card img {
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
}

/* MAP */
.map-container {
    margin-top: 25px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
    background: #22455d;
    color: white;
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    gap: 40px;
}

footer a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.85;
    transition: 0.2s;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Plantage / Layout */
.text-block {
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.single-image {
    margin: 25px 0;
}

.single-image img {
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 3er GRID */
.three-grid {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

/* einzelne Karten */
.grid-item {
    background: white;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}


.grid-item img {
    border-radius: 18px;
    margin-bottom: 15px;
}

.grid-item h3 {
    color: #22455d;
    font-size: 1.1rem;
    margin-top: 5px;
}

/* MARKT BOX */
.market-box {
    max-width: 700px;
    margin: 40px auto;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.market-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    border-bottom: 1px solid #eee;
}

.market-row:last-child {
    border-bottom: none;
}

.market-row strong {
    color: #22455d;
}

.market-row span {
    color: #444;
}

/* DATENSCHUTZ  */

.datenschutz-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    margin-top: 20px;
}

/* Überschriften */
.datenschutz-container h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #22455d;
    font-size: 18px;
}

/* Absätze */
.datenschutz-container p {
    margin-bottom: 12px;
    font-size: 15px;
}

/* Listen */
.datenschutz-container ul {
    margin: 10px 0 20px 20px;
}

.datenschutz-container ul li {
    margin-bottom: 6px;
}

/* Links */
.datenschutz-container a {
    color: #22455d;
    font-weight: bold;
    text-decoration: none;
}

.datenschutz-container a:hover {
    text-decoration: underline;
}



/* IMPRESSUM CONTAINER */

.impressum-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    margin-top: 20px;
}

/* Überschriften */
.impressum-container h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #22455d;
    font-size: 18px;
}

/* Texte */
.impressum-container p {
    margin-bottom: 12px;
    font-size: 15px;
}

/* Links */
.impressum-container a {
    color: #22455d;
    font-weight: bold;
    text-decoration: none;
}

.impressum-container a:hover {
    text-decoration: underline;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 50px;
    height: 50px;

    background: #22455d;   /* dein Blau */
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.18);

    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;

    transition: 0.3s ease;
}

/* sichtbar */
.scroll-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* weißer Pfeil */
.scroll-icon {
    width: 22px;
    height: 22px;
    fill: white;
    transition: transform 0.3s ease;
}

/* Hover Effekt */
.scroll-top:hover {
    transform: translateY(-3px) scale(1.05);
}

.scroll-top:hover .scroll-icon {
    transform: translateY(-1px);
}

/* Mobile */
/* TABLET */
@media (min-width: 768px) {

    .hero h1 {
        font-size: 4rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .three-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}



/* DESKTOP */
@media (min-width: 1024px) {

    .burger {
        display: none;
    }

    nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
    }

    nav ul {
        flex-direction: row;
        gap: 30px;
    }

    nav a {
        font-size: 1rem;
    }

    .two-columns {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .cards {
        grid-template-columns: repeat(3, 1fr);
    }

    h2 {
        font-size: 2.6rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 60px;
    }
}

/* Mobile */

@media (max-width: 768px) {

    .hero {
        background-size: cover;
        background-position: center top;
    }

    header {
        transform: translateY(-100%);
        transition: 0.4s ease;
    }

    header.scrolled {
        transform: translateY(0);
    }
    

    .opening-content {
        flex-direction: column;
        text-align: center;
    }
    .market-row {
        flex-direction: column;
        text-align: center;
    }

    .grid-item img {
        width: 100%;
        height: auto;
    }
    .datenschutz-container {
        padding: 18px;
    }

    .datenschutz-container h3 {
        font-size: 16px;
    }
    .impressum-container {
        padding: 18px;
    }

    .impressum-container h3 {
        font-size: 16px;
    }

    .btn::after {
        width: 30%;  
        bottom: 9px;
    }

    .logo-header {
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s ease;
    }

    header.scrolled .logo-header {
        opacity: 1;
        transform: translateY(0);
    }

    .hero-logo {
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .hero.hide-logo .hero-logo {
        opacity: 0;
        transform: scale(0.8);
    }
}


