:root { 
    --primary: #d4a017;   
    --dark: #222; 
}

/* LOGO - ganz oben mit hoher Priorität */
.logo {
    width: 140px !important;
    height: auto !important;
    max-width: 140px !important;
}

@media (max-width: 768px) {
    .logo {
        width: 110px !important;
        max-width: 110px !important;
    }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: system-ui, -apple-system, sans-serif; 
    line-height: 1.6; 
    color: #333; 
}
img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    border-radius: 10px; 
}

.container { 
    width: 100%; 
    max-width: 1100px; 
    margin: auto; 
    padding: 0 20px; 
}

section { padding: 60px 0; }
@media (max-width: 768px) { section { padding: 45px 0; } }

h1, h2, h3 { line-height: 1.3; }
.section-title { 
    text-align: center; 
    font-size: clamp(1.8rem, 4vw, 2.4rem); 
    margin-bottom: 30px; 
}

/* HEADER */
.topbar { 
    position: fixed; 
    top: 0; left: 0; right: 0; 
    background: rgba(255,255,255,0.97); 
    backdrop-filter: blur(8px);
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 20px; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); 
}

.btn-small { 
    background: var(--primary); 
    color: #000; 
    padding: 7px 16px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.9rem;
    transition: all 0.2s;
}
.btn-small:hover { background: #FFDD33; }

/* HERO */
.hero { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    text-align: center; 
    color: #fff; 
    padding-top: 85px; 
    background: 
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.00) 0%,
            rgba(0, 0, 0, 0.01) 30%,
            rgba(0, 0, 0, 0.05) 48%,
            rgba(0, 0, 0, 0.15) 62%,
            rgba(0, 0, 0, 0.28) 72%,
            rgba(0, 0, 0, 0.38) 80%
        ),
        url('image(31).jpg') center top / 100% auto no-repeat;
}

.hero .content {
    background: rgba(0, 0, 0, 0.24);
    padding: 50px 42px;
    border-radius: 16px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.hero h1 { 
    font-size: clamp(2.2rem, 7.5vw, 3.6rem); 
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 4px 22px rgba(0,0,0,0.95);
}

.hero p { 
    font-size: 1.22rem;
    margin-bottom: 10px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.9);
}

.btn { 
    display: inline-block; 
    background: var(--primary); 
    color: #000; 
    padding: 17px 34px; 
    border-radius: 8px; 
    text-decoration: none; 
    margin-top: 28px; 
    font-size: 1.12rem;
    font-weight: 600;
    cursor: pointer; 
    transition: all 0.25s; 
    border: none;
}
.btn:hover { 
    transform: translateY(-4px); 
    background: #FFDD33;
}

/* GRID */
.grid { display: grid; gap: 20px; }
@media (min-width: 768px) { 
    .grid-2 { grid-template-columns: 1fr 1fr; } 
    .grid-3 { grid-template-columns: repeat(3, 1fr); } 
}

/* ====================== CARDS – besser erkennbar auf Handy & Desktop ====================== */
.card { 
    background: #fff; 
    padding: 28px 20px 40px; 
    border-radius: 12px; 
    box-shadow: 0 6px 25px rgba(0,0,0,0.09); 
    text-align: center; 
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    border: 2px solid transparent;   /* für Hover-Effekt */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    border-color: var(--primary);
}

.card h3 {
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: var(--primary);
}

/* Hinweis "Mehr erfahren" – auf Handy immer sichtbar, auf Desktop beim Hover */
.card .more-text {
    margin-top: 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.85;
    transition: all 0.3s ease;
}

/* Auf Desktop nur beim Hover stärker */
@media (hover: hover) {
    .card .more-text {
        opacity: 0;
    }
    .card:hover .more-text {
        opacity: 1;
    }
}

/* Kleines Info-Icon oben rechts (immer sichtbar) */
.card::before {
    content: "ⓘ";
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.35rem;
    color: #aaa;
    transition: color 0.3s ease;
}

.card:hover::before {
    color: var(--primary);
}

/* ====================== MODAL – Beste Version ====================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-content {
    background-color: white;
    padding: 35px 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from { transform: scale(0.7) translateY(40px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 34px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.close:hover {
    color: #222;
}

#modalTitle {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.65rem;
}

#modalText {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #444;
}

/* Mobile Anpassung für Modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 25px 20px;
        margin: 10px;
        max-height: 85vh;
    }
}

/* FORMULAR & LISTEN */
ul { 
    max-width: 620px; 
    margin: 25px auto; 
    font-size: 1.05rem; 
}
ul li { 
    margin: 12px 0; 
}

form { 
    max-width: 620px; 
    margin: auto; 
    background: #fff; 
    padding: 35px; 
    border-radius: 12px; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
input, textarea { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 18px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-size: 1rem;
}
input:focus, textarea:focus { 
    outline: none; 
    border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(255,204,0,0.25); 
}

/* FOOTER */
footer { 
    background: var(--dark); 
    color: #fff; 
    text-align: center; 
    padding: 45px 20px; 
}

.discount {
    color: #ffff00;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    margin-top: 20px;
    font-size: 1.05rem;
}

html { scroll-behavior: smooth; }