/* CSS RESET & BASIC SETUP */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
    box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
    background: #FCFBF7;
    color: #2E3832;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    min-height: 100vh;
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --brand-primary: #2E3832;
    --brand-secondary: #F6E1B0;
    --brand-accent: #B77A4E;
    --brand-coffee: #9A5500;
    --brand-bg: #FCFBF7;
    --text-dark: #273026;
    --text-medium: #5B645B;
    --border-light: #EFEDE6;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 1.75rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
p, ul, ol, dl { font-size: 1rem; color: var(--text-medium); margin-bottom: 20px; }
strong, b { font-weight: 700; color: var(--brand-primary); }
a {
    color: var(--brand-accent);
    text-decoration: underline;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: var(--brand-coffee);
    text-decoration: none;
    outline: none;
}

/* CONTAINER & SECTIONS */
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(46,56,50,0.04), 0 1.5px 3px rgba(180,180,160,0.05);
    margin-bottom: 60px;
    padding: 40px 20px;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* FLEX LAYOUTS */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(46,56,50,0.07);
    padding: 28px 18px;
    margin-bottom: 20px;
    position: relative;
    min-width: 240px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.22s;
}
.card:hover {
    box-shadow: 0 6px 18px rgba(46,56,50,0.13);
    border-color: var(--brand-accent);
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 28px;
    margin-bottom: 20px;
    background: #FFF9EF;
    border-left: 4px solid var(--brand-accent);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(46,56,50,0.06);
}
.testimonial-card p {
    color: #26301D;
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.testimonial-card span {
    font-size: 0.99rem;
    color: var(--brand-primary);
    font-weight: 600;
}
.star-rating {
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: var(--brand-accent);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

ul, ol {
    padding-left: 26px;
}
ul li, ol li {
    margin-bottom: 10px;
    position: relative;
    line-height: 1.6;
}
ul li img {
    vertical-align: middle;
    height: 24px;
    width: 24px;
    margin-right: 8px;
}

/* BUTTONS & CTA */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-accent);
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 32px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 2px 6px rgba(180,145,105,0.08);
    transition: background 0.23s, color 0.15s, box-shadow 0.22s;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-coffee);
    color: #fff;
    box-shadow: 0 4px 14px rgba(180, 110, 32, 0.13);
    outline: none;
}
.cta-link {
    color: var(--brand-coffee);
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: underline;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.18s;
}
.cta-link:hover {
    border-bottom: 2px solid var(--brand-accent);
}

/* TABLES & FAQ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 26px;
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(220, 210, 180, 0.04);
}
th, td {
    padding: 15px 8px;
    border-bottom: 1px solid var(--border-light);
}
th {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: var(--brand-primary);
    font-weight: 600;
    background: #F6E1B0;
}
tr:last-child td {
    border-bottom: none;
}

/* DEFINITION LISTS */
dt { font-family: 'Montserrat', Arial, Helvetica, sans-serif; color: var(--brand-accent); font-weight: 700; margin-bottom: 2px; }
dd { margin-bottom: 18px; color: var(--text-medium); }

/* HEADER */
header {
    background: #FFF;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(46,56,50,0.02);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 30;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 72px;
}
header a img {
    height: 40px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 16px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.02rem;
    color: var(--brand-primary);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
    background: var(--brand-secondary);
    color: var(--brand-coffee);
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-accent);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.18s;
    margin-left: 8px;
    z-index: 41;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--brand-accent); }

.mobile-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(46,56,50,0.82);
    backdrop-filter: blur(1.5px);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.42,1.15,.57,1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100vw;
    min-height: 100vh;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.menu-open {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.35rem;
    margin: 22px 28px 22px 0;
    cursor: pointer;
    transition: color 0.13s;
    z-index: 2001;
}
.mobile-menu-close:focus { outline: 2px solid #fff; }
.mobile-nav {
    background: #fff;
    width: 85vw;
    max-width: 330px;
    min-height: 100vh;
    padding: 56px 32px 32px 32px;
    box-shadow: -2px 0 12px 0 rgba(70,70,45,0.10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    z-index: 1002;
}
.mobile-nav a {
    color: var(--brand-primary);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.18rem;
    text-decoration: none;
    padding: 10px 0;
    width: 100%;
    border-radius: 6px;
    transition: background 0.16s;
    text-align: left;
    margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--brand-secondary);
    color: var(--brand-accent);
    outline: none;
}

/* FOOTER */
footer {
    background: #F4F1EC;
    border-top: 1px solid var(--border-light);
    padding: 40px 0 28px 0;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 6px;
}
.footer-menu a {
    color: var(--brand-accent);
    font-size: 0.97rem;
    text-decoration: underline;
    transition: color 0.19s;
}
.footer-menu a:hover { color: var(--brand-primary); }
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    color: var(--text-medium);
}
.footer-info img {
    height: 32px;
    margin-bottom: 6px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: #fffbe3;
    color: #2E3832;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -2px 16px rgba(165,130,60,0.10);
    z-index: 3000;
    padding: 20px 12px 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: cookieBannerIn 0.55s ease;
}
@keyframes cookieBannerIn { from { transform: translateY(48px); opacity:0; } to { transform: translateY(0); opacity:1; } }
.cookie-banner .cookie-actions {
    display: flex;
    gap: 18px;
}
.cookie-banner button {
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin: 0 2px;
    cursor: pointer;
    transition: background 0.16s, color 0.13s, box-shadow 0.17s;
}
.cookie-banner .accept {
    background: var(--brand-accent);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 7px rgba(180,110,40,0.10);
}
.cookie-banner .accept:hover { background: var(--brand-coffee); }
.cookie-banner .reject {
    background: #EFEDE6;
    color: var(--brand-accent);
    font-weight: 600;
    border: 1px solid var(--brand-accent);
}
.cookie-banner .reject:hover { background: #fffaf2; color: var(--brand-coffee); }
.cookie-banner .settings {
    background: #fff;
    color: var(--brand-primary);
    font-weight: 500;
    border: 1px solid var(--brand-primary);
}
.cookie-banner .settings:hover { background: #F6E1B0; color: var(--brand-coffee); }

.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(46,56,50,0.25);
    z-index: 3001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: cookieModalIn 0.38s;
}
@keyframes cookieModalIn { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 44px 2px rgba(90,62,18,0.16);
    padding: 40px 28px;
    max-width: 410px;
    width: 94vw;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3005;
}
.cookie-modal h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.cookie-modal .cookie-cat {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 11px;
    font-size: 1.08rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-cat.essential {
    opacity: 0.77;
    font-style: italic;
}
.cookie-modal label.switch {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}
/* Toggle switch styled for cookie categories (not essential) */
.switch input[type='checkbox'] { display: none; }
.switch .slider {
    display: inline-block;
    width: 32px;
    height: 18px;
    background: #EEE;
    border-radius: 18px;
    position: relative;
    transition: background 0.18s;
}
.switch input:checked + .slider {
    background: var(--brand-accent);
}
.switch .slider:before {
    content: '';
    position: absolute;
    left: 2.5px;
    top: 2.5px;
    width: 13px;
    height: 13px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.19s;
}
.switch input:checked + .slider:before {
    transform: translateX(14px);
}
.cookie-modal .cookie-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 12px;
}
.cookie-modal .close-modal {
    background: #EFEDE6;
    color: var(--brand-accent);
    border: none;
}
.cookie-modal .save {
    background: var(--brand-accent);
    color: #fff;
    border: none;
}
.cookie-modal .save:hover { background: var(--brand-coffee); }
.cookie-modal .close-modal:hover { background: #fffaf2; color: var(--brand-coffee); }

/* SPACING UTILS */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mt-24 { margin-top: 24px !important; }
.pt-24 { padding-top: 24px !important; }
.pb-24 { padding-bottom: 24px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* MEDIA QUERIES */
@media (max-width: 1080px) {
    .container { max-width: 94vw; }
}
@media (max-width: 900px) {
    section { padding: 30px 8px; }
    header .container { min-height: 54px; }
}
@media (max-width: 768px) {
    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.22rem; }
    h3 { font-size: 1.04rem; }
    section { padding: 22px 4px; margin-bottom: 34px; border-radius: 12px; }
    .container { padding: 0 6px; }
    .content-wrapper { gap: 14px; }
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .footer-menu { gap: 10px; }
    .footer-info { font-size: 0.92rem; }
    .testimonial-card { padding: 16px 8px; font-size: 0.98rem; }
    .card { padding: 16px 8px; }
    .cookie-modal { padding: 18px 6px; }
    .mobile-nav { padding: 34px 13px 20px 13px; }
    .text-image-section, .content-grid { flex-direction: column; gap: 18px; }
}

@media (max-width: 500px) {
    h1 { font-size: 1.25rem; }
    h2 { font-size: 1.07rem; }
    .btn-primary { font-size: 0.97rem; padding: 11px 18px; }
}

/* ACCESSIBLE FOCUS STYLES */
a:focus, button:focus, .btn-primary:focus, .main-nav a:focus, .mobile-nav a:focus {
    outline: 2px solid var(--brand-accent);
    outline-offset: 1px;
}

/* MICRO-INTERACTIONS */
.btn-primary, .cookie-banner button, .cookie-modal .save, .cookie-modal .close-modal {
    transition: background 0.18s, color 0.15s, box-shadow 0.18s;
}
.card, .testimonial-card {
    transition: box-shadow 0.22s, border-color 0.21s;
}
.card:hover, .testimonial-card:hover {
    box-shadow: 0 6px 22px 3px rgba(46,56,50,0.17);
    border-color: var(--brand-coffee);
}

/* SELECTION STYLING */
::selection {
    background: var(--brand-secondary);
    color: var(--brand-primary);
}

/* CUSTOM SCROLLBAR for webkit */
::-webkit-scrollbar { width: 8px; background: #ECE7DB; }
::-webkit-scrollbar-thumb { background: #d4cebc; border-radius: 5px; }

/* MISC */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ENSURE NO OVERLAPPING */
section, .card, .testimonial-card, .card-container > * {
    margin-bottom: 20px;
}

/* Z-ORDER FOR MOBILE MENU & COOKIE BANNER */
.mobile-menu,
.mobile-menu .mobile-nav,
.cookie-banner,
.cookie-modal-overlay {
    z-index: 3000 !important;
}

/* HIDE default list bullets where icons are used (e.g. Vorteile, Kontakt) */
ul li img + * { padding-left: 0; }

/* END */
