:root{
    --beige:#D8A491;
    --yellow:#DADA53;
    --red:#F42E6C;
    --black:#111;
    --white:#FFFFFF;
    --light:#f6f6f6;
    --shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter','Segoe UI',sans-serif;
    background:#fff;
    color:var(--black);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
}

/* ================= LOGO ================= */
.logo-wrapper{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-img{
    height:42px;
    width:auto;
    object-fit:contain;
}

.logo-text{
    font-size:20px;
    font-weight:800;
    letter-spacing:-0.5px;
}

/* ================= NAVBAR ================= */
header{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(216,164,145,0.92);
    backdrop-filter: blur(10px);
    border-bottom:1px solid rgba(0,0,0,0.06);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 6%;
}

nav a{
    margin-left:18px;
    text-decoration:none;
    color:var(--black);
    font-weight:600;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0%;
    height:2px;
    background:var(--red);
    transition:0.3s;
}

nav a:hover{
    color:var(--red);
}

nav a:hover::after{
    width:100%;
}

/* ================= HERO ================= */
.hero{
    height:92vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    padding:0 20px;
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("../images/hero.jpg");
    background-size:cover;
    background-position:center;
}

.hero h1{
    font-size:56px;
    font-weight:800;
    letter-spacing:-1px;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
    max-width:700px;
    margin:0 auto;
    opacity:0.9;
}

/* ================= BUTTON ================= */
.btn{
    display:inline-block;
    margin-top:28px;
    padding:14px 34px;
    background:var(--red);
    color:white;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    transition:0.25s ease;
    box-shadow:0 10px 25px rgba(244,46,108,0.25);
}

.btn:hover{
    background:var(--yellow);
    color:#111;
    transform:translateY(-3px);
}

/* ================= SECTIONS ================= */
.section{
    padding:90px 6%;
}

/* ================= GRID ================= */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:22px;
}

/* ================= CARD ================= */
.card{
    background:var(--light);
    padding:26px;
    border-radius:14px;
    border-left:5px solid var(--red);
    box-shadow:var(--shadow);
    transition:0.3s ease;
    cursor:pointer;
}

.card-title{
    font-size:18px;
    font-weight:700;
}

/* TEXT (DESKTOP HOVER) */
.card-text{
    margin-top:12px;
    font-size:14px;
    color:#333;

    opacity:0;
    max-height:0;
    overflow:hidden;

    transform:translateY(8px);
    transition:0.35s ease;
}

/* HOVER EFFECT */
.card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.12);
}

.card:hover .card-text{
    opacity:1;
    max-height:200px;
    transform:translateY(0);
}

/* ================= PAGE HEADER ================= */
.page-header{
    padding:90px 6%;
    text-align:center;
    background:var(--beige);
}

.page-header h1{
    font-size:42px;
}

/* ================= FOOTER ================= */
footer{
    background:#111;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:60px;
}

footer a{
    color:white;
    text-decoration:none;
    opacity:0.8;
    font-size:14px;
}

footer a:hover{
    opacity:1;
    text-decoration:underline;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
    nav{
        flex-direction:column;
        align-items:center;
        gap:10px;
        padding:12px 4%;
    }
    nav > div{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:8px;
    }
    nav a{
        margin-left:0;
        font-size:14px;
    }
    .hero{
        height:auto;
        min-height:100svh;
        padding:80px 20px;
    }
    .hero h1{
        font-size:32px;
        line-height:1.3;
    }
    .hero p{
        font-size:15px;
    }
    .section{
        padding:50px 16px;
    }
    /* GRID: erzwinge eine Spalte */
    .grid{
        display:flex !important;
        flex-direction:column !important;
        gap:16px;
    }
    /* CARDS */
    .card{
        width:100% !important;
        padding:18px 16px;
        transform:none !important;
        box-shadow:var(--shadow);
        word-break:break-word;
        overflow-wrap:break-word;
        hyphens:auto;
    }
    .card-text{
        opacity:0;
        max-height:0;
        overflow:hidden;
        transition:0.3s ease;
    }
    .card.open .card-text{
        opacity:1;
        max-height:500px;
    }
    .card:hover{
        transform:none;
    }
    .card-title{
    font-size:15px;
    word-break:break-word;
    overflow-wrap:break-word;
    hyphens:auto;
    }
    .logo-wrapper{
        justify-content:center;
    }
    .logo-img{
        height:34px;
    }
    .logo-text{
        font-size:17px;
    }
    .page-header h1{
        font-size:28px;
    }
}
