/* ============================================
   Farbpalette
   #d8af6f - Logo, Buttons, Akzente
   #555 - Text
   #333 - Footer
   #535353 - Überschriften, dunklere Akzente
   ============================================ */

:root {
    --akzent: #d8af6f;
    --akzent-dark: #b8955a;
    --text: #555;
    --text-dark: #535353;
    --creme-weiss: #FAFAFA;
    --footer: #333;
    --footer-text: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--creme-weiss);
    line-height: 1.6;
}

/* Header */
.header {
    background: var(--creme-weiss);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-placeholder {
    width: 44px;
    height: 44px;
    background: var(--akzent);
    border-radius: 8px;
    flex-shrink: 0;
}

/* Später: <img src="logo.png" alt="Logo"> statt .logo-placeholder */
.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(216, 175, 111, 0.2);
    color: var(--akzent-dark);
}

.nav-cta {
    background: var(--akzent) !important;
    color: white !important;
}

.nav-cta:hover {
    background: var(--akzent-dark) !important;
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(216, 175, 111, 0.15) 0%, rgba(216, 175, 111, 0.08) 100%);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--akzent);
    color: white;
}

.btn-primary:hover {
    background: var(--akzent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 175, 111, 0.4);
}

.btn-secondary {
    background: rgba(216, 175, 111, 0.25);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: rgba(216, 175, 111, 0.4);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 4rem 2rem;
    background: var(--creme-weiss);
}

.section-alt {
    background: rgba(216, 175, 111, 0.08);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Content Section (oberhalb FAQ) */
.content-section {
    padding-top: 2rem;
}

.content-section h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 2.5rem 0 1rem;
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--akzent);
}

.content-section h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text);
}

.content-section ul,
.content-section ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text);
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section .content-cta {
    margin-top: 2rem;
    margin-bottom: 0;
}

.content-cta .btn + .btn {
    margin-left: 1rem;
}

.content-cta-center {
    text-align: center;
    margin-top: 2.5rem !important;
}

/* FAQ */
.faq-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text);
}

.faq-category {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--akzent);
}

.faq-category:first-of-type {
    margin-top: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-details {
    background: var(--creme-weiss);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(74, 74, 74, 0.06);
}

.faq-details summary {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-details summary::-webkit-details-marker {
    display: none;
}

.faq-details summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--akzent);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s;
}

.faq-details[open] summary::after {
    transform: rotate(45deg);
}

.faq-details summary:hover {
    background: rgba(216, 175, 111, 0.15);
}

.faq-details p {
    padding: 0 1.5rem 1.25rem;
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

/* Pricing */
.container-wide {
    max-width: 1100px;
}

.pricing-note {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: var(--text);
}

.price-legend-mobile {
    display: none;
}

.badge-new {
    display: inline-block;
    background: var(--akzent);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.price-area {
    margin-bottom: 2.5rem;
}

.price-area-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--akzent);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(74, 74, 74, 0.08);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.price-table th {
    background: rgba(216, 175, 111, 0.15);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.9rem 1rem;
    text-align: left;
}

.price-table th:first-child {
    border-radius: 12px 0 0 0;
}

.price-table th:last-child {
    border-radius: 0 12px 0 0;
    background: rgba(216, 175, 111, 0.25);
}

.price-table th small {
    font-weight: 500;
    opacity: 0.85;
}

.price-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(74, 74, 74, 0.08);
}

.price-table tbody tr:hover {
    background: rgba(216, 175, 111, 0.12);
}

.price-table td.highlight {
    background: rgba(216, 175, 111, 0.2);
    font-weight: 600;
    color: var(--akzent-dark);
}

.price-table tbody tr:hover td.highlight {
    background: rgba(216, 175, 111, 0.25);
}

.payment-methods {
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;
    color: var(--text);
}

/* Footer */
.footer {
    background: var(--footer);
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: var(--footer-text);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--akzent);
}

/* Legal Pages */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-page h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.legal-page p {
    margin-bottom: 1rem;
    color: var(--text);
}

.legal-page .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--akzent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.legal-page .back-link:hover {
    color: var(--akzent-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--creme-weiss);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s;
    }

    .nav-links.open {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 101;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .mobile-menu-btn span {
        transition: all 0.3s;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile: Preise als Karten statt Tabelle */
    .price-legend-mobile {
        display: block;
        font-size: 0.8rem;
        color: var(--text);
        background: rgba(216, 175, 111, 0.15);
        padding: 0.75rem 1rem;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .table-wrap {
        overflow-x: visible;
    }

    .price-table thead {
        display: none;
    }

    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
    }

    .price-table tbody tr {
        background: white;
        border-radius: 12px;
        padding: 1rem 1.25rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 2px 12px rgba(74, 74, 74, 0.08);
        border: 1px solid rgba(74, 74, 74, 0.08);
    }

    .price-table tbody td {
        padding: 0.35rem 0;
        border: none;
        font-size: 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
    }

    .price-table tbody td:first-child {
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--text-dark);
        padding-bottom: 0.6rem;
        margin-bottom: 0.5rem;
        border-bottom: 2px solid rgba(216, 175, 111, 0.3);
        display: block;
    }

    .price-table tbody td:first-child::before {
        content: none;
    }

    .price-table tbody td:nth-child(2)::before { content: "1 Zone"; }
    .price-table tbody td:nth-child(3)::before { content: "2 Zone"; }
    .price-table tbody td:nth-child(4)::before { content: "3 Zone"; }
    .price-table tbody td:nth-child(5)::before { content: "5er-Paket"; font-weight: 600; color: var(--akzent); }

    .price-table tbody td.highlight {
        background: transparent;
    }

    .price-table tbody td.highlight::before {
        color: var(--akzent);
    }

    .price-table tbody tr:hover {
        background: white;
    }

    .price-table tbody tr:hover td.highlight {
        background: transparent;
    }

    .pricing-note {
        font-size: 1rem;
    }

    .content-cta .btn + .btn {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    .content-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
