/* ===================================================
   MotzEck Koblenz – Shared Stylesheet
   =================================================== */

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

/* ── Design Tokens ── */
:root {
    --primary-red: #e31e24;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
}

/* ── Base ── */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-color);
}

/* ── Skip Navigation ── */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 0.75rem 1.5rem;
    background: var(--primary-red);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-nav:focus {
    top: 0;
}

/* ── Logo ── */
.logo {
    position: fixed;
    top: 20px;
    left: 5%;
    z-index: 1001;
    height: 60px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.3s;
}
.logo:hover {
    transform: scale(1.05);
}
.logo img {
    height: 100%;
    width: auto;
}

/* ── Hamburger Menu (button) ── */
.hamburger {
    position: fixed;
    top: 25px;
    right: 5%;
    z-index: 1001;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 12px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--bg-tertiary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    /* Reset button defaults */
    font: inherit;
    line-height: 1;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}
.hamburger:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 2px;
}
.hamburger:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(227, 30, 36, 0.3);
    border-color: var(--primary-red);
}
.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ── Overlay Menu ── */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.overlay-menu.active {
    opacity: 1;
    pointer-events: auto;
}
.overlay-menu nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.overlay-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
    text-align: center;
}
.overlay-menu a:hover {
    color: var(--primary-red);
    transform: translateX(10px);
}
.overlay-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: width 0.3s;
}
.overlay-menu a:hover::after {
    width: 100%;
}

/* ── Hero Section ── */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
}
.hero-badge {
    display: inline-block;
    background: rgba(227, 30, 36, 0.1);
    color: var(--primary-red);
    border: 1px solid rgba(227, 30, 36, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}
.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
}
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), #ff4040);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}
.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ── CTA Buttons ── */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}
.cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.cta-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
}
.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.4);
}
.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-red);
}
.cta-secondary:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* ── Sections ── */
.section {
    padding: 8rem 5%;
    position: relative;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}
.section-title span {
    color: var(--primary-red);
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}
.section-alt {
    background: var(--bg-secondary);
}

/* ── Feature Cards ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--bg-tertiary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.2);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Pricing ── */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}
.pricing-card {
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--bg-tertiary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
}
.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.3);
}
.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}
.pricing-duration {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}
.pricing-features li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-tertiary);
}
.pricing-features li:last-child {
    border-bottom: none;
}
.central-booking {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.central-booking .cta-btn {
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--bg-tertiary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
}
.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.2);
}
.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}
.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.contact-card a,
.contact-card p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-card a:hover {
    color: var(--primary-red);
}

/* ── Footer ── */
footer {
    background: var(--bg-secondary);
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 2px solid var(--bg-tertiary);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary-red);
}
.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ── Consent Banner ── */
#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--primary-red);
    padding: 1.5rem 5%;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.4s ease;
}
#consent-banner .wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
#consent-banner strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}
.csmall {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: block;
}
.btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.cbtn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-family: inherit;
}
.cbtn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(227, 30, 36, 0.3);
}
.cbtn-ghost:hover {
    border-color: var(--primary-red);
    background: rgba(227, 30, 36, 0.1);
}
.cbtn-primary {
    background: var(--primary-red);
    color: white;
}
.cbtn-primary:hover {
    background: #c41a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

/* ── Consent Modal ── */
#consent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
#consent-modal .box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}
#consent-modal h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
}
#consent-modal p {
    color: var(--text-secondary);
    line-height: 1.6;
}
.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-tertiary);
}
.row strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}
.row small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}
body.modal-open {
    overflow: hidden;
}

/* ── Toggle Switch ── */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--primary-red);
}
input:checked + .slider:before {
    transform: translateX(24px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .section {
        padding: 5rem 5%;
    }
    .features-grid,
    .pricing-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    #consent-banner .wrap {
        flex-direction: column;
        text-align: center;
    }
    .btns {
        width: 100%;
        justify-content: center;
    }
}
