/* ===========================
   SammlerStube Freiburg - style.css
   Geometric Structured Flexbox Theme
   =========================== */

/* CSS RESET & BASE STYLES */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #F5F3EF;
    color: #28485A;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #28485A;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #E2B26B;
    outline: none;
}
ul, ol {
    margin-bottom: 16px;
}
li {
    margin-bottom: 8px;
}
button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

/* ===============================
   TYPOGRAPHY (GEOMETRIC STRUCTURED)
=============================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: #28485A;
    line-height: 1.1;
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.7rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
h4, h5, h6 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.subheadline {
    font-family: 'Roboto', Arial, sans-serif;
    color: #28485A;
    font-size: 1.18rem;
    font-style: italic;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

p {
    margin-bottom: 16px;
    font-size: 1rem;
}
strong {
    font-weight: bold;
}

/* Typography for geometric flavor */
@media (min-width: 992px) {
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.3rem; }
}

/* ===============================
   LAYOUT
=============================== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.text-section {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(40,72,90,0.03), 0 0.5px 2px rgba(40,72,90,0.08);
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(40,72,90,.10);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    min-width: 240px;
    flex: 1 1 260px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 7px 24px rgba(40,72,90,0.16);
    transform: translateY(-4px) scale(1.025);
}

.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;
}

@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(40,72,90,0.09);
    margin-bottom: 20px;
    flex-direction: column;
    border-left: 6px solid #E2B26B;
    transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
    box-shadow: 0 6px 22px rgba(40,72,90,0.13);
    transform: scale(1.018);
}
.testimonial-card blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    color: #28485A;
    font-size: 1.14rem;
    margin: 0 0 6px 0;
    padding: 0;
    font-style: italic;
}
.testimonial-card .author {
    font-family: 'Roboto', Arial, sans-serif;
    color: #34495a;
    font-size: 0.98rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    margin-top: 22px;
}
.feature-grid > div {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(40,72,90,0.055);
    padding: 30px 24px;
    min-width: 220px;
    max-width: 280px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
    transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
    box-shadow: 0 4px 16px rgba(40,72,90,0.13);
    transform: scale(1.03);
}
.feature-grid img {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
}

.service-list,
.event-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 0 24px 0;
}

.service-list li, .event-list li {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(40,72,90,0.07);
    padding: 26px 20px;
    margin-bottom: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-list .price, .event-list .event-date {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    color: #E2B26B;
    margin-left: 8px;
}

ol {
    padding-left: 20px;
    margin-bottom: 18px;
}
ol li {
    margin-bottom: 8px;
}

@media (max-width: 1100px) {
    .feature-grid {
        justify-content: flex-start;
    }
    .feature-grid > div {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .feature-grid {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .card-container, .content-grid {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .section {
        padding: 30px 7px;
    }
}

/* =========== HEADER =========== */
header {
    background: #fff;
    box-shadow: 0 2px 18px rgba(40,72,90,0.07);
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 100;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
}
.brand-logo img {
    height: 42px;
    width: auto;
    display: block;
}
nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
nav a {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    color: #28485A;
    font-size: 1rem;
    position: relative;
    padding: 4px 0;
    border-radius: 2px;
    transition: color 0.17s;
}
nav a:hover, nav a:focus {
    color: #E2B26B;
}
nav .cta-primary {
    background: #E2B26B;
    color: #28485A;
    font-family: 'Playfair Display', Georgia, serif;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.09rem;
    letter-spacing: 0.03em;
    margin-left: 14px;
    box-shadow: 0 1px 5px rgba(226,178,107,0.09);
    border: none;
    transition: background 0.18s, color 0.16s, box-shadow 0.16s, transform 0.12s;
}
nav .cta-primary:hover, nav .cta-primary:focus {
    background: #28485A;
    color: #E2B26B;
    box-shadow: 0 3px 12px rgba(226,178,107,0.16);
    transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU / BURGER */
.mobile-menu-toggle {
    display: none;
    position: relative;
    z-index: 120;
    background: none;
    color: #28485A;
    font-size: 2rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: #E2B26B;
    color: #28485A;
}

@media (max-width: 900px) {
    nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #28485A;
    z-index: 400;
    transform: translateX(-104vw);
    transition: transform 0.36s cubic-bezier(0.5,0.05,0.1,1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    padding: 0;
    will-change: transform;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    margin: 24px 22px 12px 0;
    font-size: 2.2rem;
    color: #FFF;
    background: none;
    border: none;
    padding: 4px 16px 4px 4px;
    border-radius: 8px;
    transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: #E2B26B;
    color: #28485A;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 40px 40px 38px;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 4px;
    transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #E2B26B;
    color: #28485A;
}

/* =========== HERO & CTA =========== */
.hero {
    background: #28485A;
    padding: 50px 0 40px 0;
    color: #fff;
    border-radius: 0 0 44px 44px / 0 0 20px 20px;
}
.hero h1, .hero h2, .hero .subheadline {
    color: #fff;
}
.hero .cta-primary {
    background: #E2B26B;
    color: #28485A;
    margin-top: 20px;
}

.cta {
    margin-bottom: 60px;
    padding: 36px 0;
    background: #28485A;
    border-radius: 22px;
}
.cta .text-section, .cta .content-wrapper {
    color: #fff;
}
.cta h2, .cta p {
    color: #fff;
}
.cta .cta-primary {
    background: #E2B26B;
    color: #28485A;
    margin-top: 18px;
}

.cta-primary {
    display: inline-block;
    background: #E2B26B;
    color: #28485A;
    font-family: 'Playfair Display', Georgia, serif;
    padding: 11px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.11rem;
    letter-spacing: 0.04em;
    transition: background 0.17s, color 0.16s, box-shadow 0.14s, transform 0.11s;
    box-shadow: 0 2px 7px rgba(226,178,107,0.12);
    border: none;
}
.cta-primary:hover, .cta-primary:focus {
    background: #fff;
    color: #28485A;
    box-shadow: 0 5px 16px rgba(226,178,107,0.15);
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .hero, .cta {
        padding: 32px 0 28px 0;
    }
}

/* =====================
   ABOUT, FEATURES, SERVICES, LEGAL PAGES
===================== */
.about, .features, .services-overview, .values, .events-overview, .contact-section, .find-us, .pricing, .legal {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(40,72,90,0.07);
}

.about ul, .values ul, .features ul {
    margin: 18px 0 12px 24px;
    list-style-type: square;
}
.about li, .values li, .features li {
    font-size: 1rem;
    margin-bottom: 8px;
}

.features ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.features ul li img {
    width: 28px;
    height: 28px;
    margin-right: 6px;
}

/* PRICING */
.pricing ul {
    margin: 10px 0 18px 28px;
}
.pricing li { margin-bottom: 8px; }

/* CONTACT ADDRESS */
address {
    font-style: normal;
    font-size: 1rem;
    margin-bottom: 16px;
    color: #223848;
    display: block;
    line-height: 1.7;
}
address img {
    width: 22px;
    height: 22px;
    margin-right: 7px;
    vertical-align: middle;
}
address a {
    color: #28485A;
    text-decoration: underline;
    word-break: break-all;
    font-size: 1rem;
}
address a:hover {
    color: #E2B26B;
}

/* THANK YOU PAGE */
.thank-you {
    margin: 60px 0;
    padding: 40px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 7px rgba(40,72,90,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* =============================
   FOOTER
============================= */
footer {
    background: #28485A;
    color: #fff;
    padding: 48px 0 30px 0;
    border-radius: 28px 28px 0 0 / 14px 14px 0 0;
    margin-top: 66px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-content > div {
    display: flex;
    flex-direction: column;
    min-width: 190px;
    margin-bottom: 12px;
    gap: 8px;
}
.quick-links a, .legal-links a {
    color: #fff;
    margin-bottom: 5px;
    font-size: 0.99rem;
    transition: color 0.13s;
}
.quick-links a:hover, .legal-links a:hover, .newsletter-signup a:hover {
    color: #E2B26B;
}
.footer-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.12rem;
    margin-bottom: 8px;
    color: #E2B26B;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.newsletter-signup a {
    color: #E2B26B;
    word-break: break-all;
    text-decoration: underline;
}
.brand-signature img {
    height: 42px;
    margin-bottom: 13px;
}
.brand-signature p {
    margin-top: 8px;
    color: #F5F3EF;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }
    .footer-content > div {
        width: 100%;
        min-width: unset;
        max-width: 420px;
    }
}

/* ================================
   COOKIE CONSENT BANNER
================================ */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #28485A;
    color: #fff;
    padding: 25px 20px 22px 20px;
    box-shadow: 0 -2px 24px rgba(40,72,90, 0.22);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-radius: 22px 22px 0 0 / 14px 14px 0 0;
    transition: transform 0.36s cubic-bezier(0.54,0.06,0.25,0.99), opacity 0.42s;
}
.cookie-banner.hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner .cookie-banner-text {
    max-width: 500px;
    font-size: 1.03rem;
    margin-right: 14px;
}
.cookie-banner .cookie-btn {
    min-width: 120px;
    margin: 8px;
    padding: 10px 22px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    background: #E2B26B;
    color: #28485A;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: bold;
    transition: background 0.18s, color 0.13s, transform 0.12s;
    box-shadow: 0px 2px 8px rgba(226,178,107,0.08);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
    background: #fff;
    color: #28485A;
    transform: scale(1.04);
}
.cookie-banner .cookie-settings {
    background: #fff;
    color: #28485A;
    font-weight: 500;
    border: 2px solid #E2B26B;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
    background: #E2B26B;
    color: #28485A;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 15px 6px 21px 6px;
        gap: 14px;
    }
    .cookie-banner .cookie-banner-text {
        margin: 0 0 6px 0;
        text-align: center;
    }
    .cookie-banner .cookie-btn {
        min-width: unset;
        width: 100%;
    }
}

/* === Cookie Modal === */
.cookie-modal-overlay {
    position: fixed;
    left:0; top:0; right:0; bottom:0;
    background: rgba(40,72,90,0.28);
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.32s;
}
.cookie-modal {
    background: #fff;
    color: #28485A;
    border-radius: 18px;
    padding: 38px 28px 28px 28px;
    min-width: 320px;
    max-width: 96vw;
    box-shadow: 0 4px 30px rgba(40,72,90,0.18);
    font-size: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: popUpModal 0.30s cubic-bezier(.71,.1,.29,1.14);
}
@keyframes popUpModal {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: none;
    color: #28485A;
    font-size: 1.42rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
    background: #F5F3EF;
}
.cookie-modal h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.cookie-modal-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E2B26B;
}
.cookie-category label {
    font-size: 1rem;
}
.cookie-category .always-on {
    font-size: 0.95rem;
    font-weight: bold;
    color: #E2B26B;
    margin-left: 6px;
}

.cookie-modal-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    margin-top: 16px;
}
.cookie-modal-actions .cookie-btn {
    min-width: 120px;
}
@media (max-width: 480px) {
    .cookie-modal {
        padding: 22px 6px 19px 6px;
        min-width: unset;
        width: 98vw;
    }
}

/* ===============
   MICROS & UTILITY
=============== */
::-webkit-scrollbar { width: 10px; background: #F5F3EF; }
::-webkit-scrollbar-thumb { background: #E2B26B; border-radius: 8px; }

hr {
    border: none;
    border-top: 1.5px solid #E2B26B;
    margin: 30px 0;
}

/* Spacing helpers */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pt-20 { padding-top: 20px !important; }
.pt-50 { padding-top: 50px !important; }

/* Images and icons in sections */
section img, .feature-grid img {
    border-radius: 7px;
    background: #F5F3EF;
    border: 1.2px solid #E2B26B11;
}

/* ===============
   ACCESSIBILITY
=============== */
:focus-visible {
    outline: 2.5px dashed #E2B26B;
    outline-offset: 2px;
}
[tabindex]:focus {
    outline: 2.5px dashed #E2B26B;
    outline-offset: 2px;
}

/* ===============
   PRINT
=============== */
@media print {
    *, *:before, *:after { background: none !important; color: #222 !important; box-shadow: none !important; text-shadow: none !important; }
    nav, .cta, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .footer-content { display: none !important; }
    header, footer, .container, main, section { box-shadow: none !important; }
}
