/* RESET & BASE TYPOGRAPHY - GEOMETRIC STRUCTURED STYLE */
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, 
main, 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; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; }

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: #fff;
    color: #294E2F;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
img {
    max-width: 100%;
    display: block;
}
a { 
    color: #B55D00; 
    text-decoration: none;
    transition: color .18s;
    font-weight: 500;
}
a:hover, a:focus {
    color: #F28B30;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #294E2F;
}
h1 {
    font-size: 2.75rem;
    margin-bottom: 28px;
    line-height: 1.12;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.14;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    line-height: 1.18;
}
.subheadline {
    font-size: 1.125rem;
    color: #294E2F;
    font-family: 'Montserrat', Arial, sans-serif;
    opacity: .88;
    margin-bottom: 32px;
    letter-spacing: 0.005em;
}

strong { font-weight: bold; }

/* Container and Grids */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}
.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

/* GEOMETRIC/STRUCTURED LAYOUTS */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #E8F5DC;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(41,78,47,0.09);
}

.card-container,
.recipe-cards,
.services-overview,
.service-list,
.recipe-list,
.blog-list,
.course-list,
.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.card,
.recipe-cards > div,
.services-overview > div,
.service-card,
.recipe-list > div,
.blog-list > div,
.course-list > div,
.timeline > div {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(41,78,47,0.06), 0 1.5px 3px rgba(178,93,0,0.03);
    padding: 24px 22px 20px 22px;
    min-width: 240px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.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;
    width: 100%;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    box-shadow: 0 2.5px 14px rgba(41,78,47,.07);
    border-radius: 13px 13px 30px 13px;
    padding: 20px;
    margin-bottom: 20px;
    color: #272727;
    font-size: 1.1rem;
    min-width: 260px;
    flex: 1 1 300px;
    border-left: 6px solid #F28B30;
}
.testimonial-card span {
    display: block;
    color: #294E2F;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 8px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Header & Navigation */
header {
    width: 100%;
    background: #294E2F;
    padding: 0;
    min-height: 72px;
    box-shadow: 0 2px 7px rgba(41,78,47,0.07);
    position: sticky;
    top: 0;
    z-index: 60;
}
header .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 18px;
}
header img[alt="RovenKneel Rezeptewelt"] {
    height: 46px;
    margin-right: 12px;
}
.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.main-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.01rem;
    letter-spacing: 0.01em;
    padding: 5px 0 5px 0;
    border-bottom: 2.5px solid transparent;
    transition: border-bottom 0.23s, color .16s;
    border-radius: 0;
}
.main-nav a:hover, .main-nav a:focus {
    color: #F28B30;
    border-bottom: 2.5px solid #F28B30;
    background: none;
}
.cta {
    background: #B55D00;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 6px 28px 6px 6px;
    padding: 12px 28px;
    margin-left: 18px;
    cursor: pointer;
    font-size: 1.15rem;
    transition: background 0.19s, box-shadow .25s, color .13s;
    box-shadow: 0 2.5px 8px rgba(178,93,0, 0.13);
    display: inline-block;
    text-align: center;
}
.cta:hover, .cta:focus {
    background: #F28B30;
    color: #fff;
    box-shadow: 0 5px 20px 0 rgba(178,93,0,0.21);
}

/* MOBILE MENU */
.mobile-menu-toggle {
    background: none;
    color: #fff;
    font-size: 2.1rem;
    border: none;
    display: none;
    margin-left: 18px;
    cursor: pointer;
    z-index: 105;
    line-height: 1;
    padding: 3px 10px;
    border-radius: 7px;
    transition: background .17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: #F28B3040;
    color: #F28B30;
}

.mobile-menu {
    position: fixed;
    z-index: 120;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(41,78,47,0.96);
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.8,0,.4,1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    align-self: flex-end;
    margin: 24px 28px 12px 0;
    cursor: pointer;
    transition: background .19s, color .14s;
    border-radius: 6px;
    padding: 3px 12px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
    color: #B55D00;
    background: #F28B3020;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    margin-top: 30px;
    gap: 20px;
    width: 80vw;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.35rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    padding: 12px 0;
    letter-spacing: 0.02em;
    border-bottom: 2.5px solid transparent;
    transition: color .18s, border-bottom .13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
    color: #F28B30;
    border-bottom: 2.5px solid #F28B30;
}

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

@media (max-width: 600px) {
    .mobile-nav {
        width: 90vw;
        font-size: 1.13rem;
    }
}

/* MAIN & PAGE SECTIONS */
main {
    width: 100%;
    padding-bottom: 36px;
}
section {
    width: 100%;
    padding: 0;
    margin-bottom: 0;
}

/* SEARCH BAR (in rezepte) */
.search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 16px 0 10px 0;
}
.search-bar input[type="search"] {
    border: 1.7px solid #294E2F;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1.12rem;
    width: 240px;
    font-family: 'Open Sans', sans-serif;
    transition: border 0.18s;
}
.search-bar input[type="search"]:focus {
    border-color: #F28B30;
    outline: none;
}
.search-bar button {
    background: #B55D00;
    color: #fff;
    border-radius: 8px;
    padding: 9px 16px 7px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.18s;
    display: flex;
    align-items: center;
}
.search-bar button:hover, .search-bar button:focus {
    background: #F28B30;
}

/* FILTERS */
.filter-categories,
.dietary-filters,
.ingredient-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 7px;
}
.filter-categories strong,
.dietary-filters strong,
.ingredient-filters strong {
    min-width: 80px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #294E2F;
}
.filter-categories button,
.dietary-filters button,
.ingredient-filters button {
    background: #E8F5DC;
    border: 1.5px solid #B55D00;
    border-radius: 6px;
    color: #B55D00;
    font-size: 1.03rem;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 7px 14px 7px 14px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: background .16s, color .14s, border .16s;
    font-weight: 600;
}
.filter-categories button:hover,
.dietary-filters button:hover,
.ingredient-filters button:hover {
    background: #F28B30;
    color: #fff;
    border-color: #F28B30;
}

/* PAGINATION */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.pagination a {
    background: #E8F5DC;
    color: #294E2F;
    border-radius: 30px;
    padding: 7px 19px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #E8F5DC;
    transition: background .17s, color .14s, border .18s;
}
.pagination a:hover, .pagination a:focus {
    background: #B55D00;
    color: #fff;
    border-color: #B55D00;
}

/* TIMELINE (ueber-uns) */
.timeline > div {
    border-left: 6px solid #B55D00;
    border-radius: 10px 10px 18px 10px;
    margin-right: 10px;
}
.timeline h3 {
    color: #B55D00;
    font-size: 1.35rem;
}

/* COURSE/BLOG/RECIPE/SERVICE CARD INTERACTIONS */
.recipe-cards > div,
.recipe-list > div,
.service-card,
.blog-list > div,
.course-list > div {
    cursor: pointer;
    will-change: transform, box-shadow;
    transition: transform .19s, box-shadow .22s;
}
.recipe-cards > div:hover,
.recipe-list > div:hover,
.service-card:hover,
.blog-list > div:hover,
.course-list > div:hover {
    transform: translateY(-6px) scale(1.035) skew(-.5deg, -.5deg);
    box-shadow: 0 10px 24px -5px rgba(178,93,0,0.11),0 3.5px 13px -4px rgba(41,78,47,.12);
    border-color: #F28B30;
}

/* BUTTONS */
button, input[type="button"], input[type="submit"] {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    background: #B55D00;
    color: #fff;
    padding: 11px 28px;
    border-radius: 7px;
    border: none;
    transition: background .17s, color .13s, box-shadow .17s;
    font-size: 1.1rem;
    cursor: pointer;
}
button:hover, button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: #F28B30;
    color: #fff;
    box-shadow: 0 3px 14px rgba(178,93,0,0.11);
}

/* TEXT SECTIONS */
.text-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}
.text-section > div {
    background: none;
    border-left: 4px solid #E8F5DC;
    padding-left: 12px;
    min-width: 170px;
}
.map {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 1.04rem;
}

/* TESTIMONIAL SLIDERS & LISTS */
.testimonial-slider, .testimonial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* FOOTER */
footer {
    background: #294E2F;
    color: #E8F5DC;
    padding: 42px 0 36px 0;
    width: 100%;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    box-shadow: 0 -2.5px 14px rgba(41,78,47,0.09);
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
    justify-content: space-between;
}
.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 48px;
}
.footer-nav nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a {
    color: #E8F5DC;
    font-size: 1.07rem;
    font-weight: 500;
    padding: 2px 0;
    border-radius: 0;
    border-bottom: 1.5px solid transparent;
    transition: color .17s, border-bottom .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #F28B30;
    border-bottom: 1.5px solid #F28B30;
}
.brand-contact {
    font-size: 1.02rem;
    color: #E8F5DC;
    line-height: 1.6;
    margin-bottom: 18px;
    margin-top: 6px;
}
.brand-contact img {
    width: 22px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}
.footer-social {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    margin-top: 8px;
}
.footer-social a {
    color: #E8F5DC;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}
.footer-social a img {
    width: 28px;
    height: 28px;
    filter: brightness(1.1);
    transition: filter .18s;
}
.footer-social a:hover img, .footer-social a:focus img {
    filter: brightness(2) sepia(1) hue-rotate(15deg);
}
.newsletter-signup {
    background: #E8F5DC;
    color: #294E2F;
    border-radius: 11px;
    padding: 20px 25px;
    min-width: 240px;
    margin-top: 8px;
    box-shadow: 0 1.5px 10px 0 rgba(41,78,47,0.06);
    font-size: 1.01rem;
}
.newsletter-signup h3 {
    color: #B55D00;
    font-size: 1.18rem;
    margin-bottom: 7px;
}
.newsletter-signup p {
    font-size: 1rem;
}

/* Cookie Banner (fixed bottom) */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    color: #294E2F;
    box-shadow: 0 -2.5px 28px -8px rgba(41,78,47,0.14);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 22px 16px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    gap: 18px;
    transition: transform .33s cubic-bezier(.83,0,.32,1);
    font-size: 1.04rem;
}
.cookie-consent-banner.hide {
    transform: translateY(120%);
}
.cookie-consent-banner .cookie-banner-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
}
.cookie-consent-banner button {
    padding: 9px 24px 9px 24px;
    font-size: 1rem;
    margin-bottom: 0;
}
.cookie-consent-banner .cookie-btn-settings {
    background: #fff;
    color: #B55D00;
    border: 1.3px solid #B55D00;
    transition: background .18s, color .14s, border .18s;
}
.cookie-consent-banner .cookie-btn-settings:hover,
.cookie-consent-banner .cookie-btn-settings:focus {
    border-color: #F28B30;
    color: #fff;
    background: #F28B30;
}
/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(41,78,47,0.51);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cookie-modal {
    background: #fff;
    border-radius: 14px;
    max-width: 430px;
    width: 95vw;
    padding: 36px 28px 18px 28px;
    box-shadow: 0 4px 26px 0 rgba(41,78,47,0.15);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cookie-modal h3 {
    color: #294E2F;
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.cookie-modal .cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.cookie-modal .cookie-category.essential label {
    font-weight: 700;
    color: #B55D00;
}
.cookie-modal .cookie-switch {
    margin-left: 24px;
}
.cookie-modal .cookie-modal-actions {
    display: flex;
    gap: 14px;
    width: 100%;
    justify-content: flex-end;
}
.cookie-modal button {
    font-size: 1.02rem;
    min-width: 100px;
    padding: 8px 19px;
    margin-bottom: 0;
}
.cookie-modal .cookie-modal-close {
    position: absolute;
    top: 20px; right: 26px;
    background: none;
    border: none;
    color: #B55D00;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}
.cookie-modal .cookie-modal-close:focus,
.cookie-modal .cookie-modal-close:hover {
    background: #F28B3020;
    color: #F28B30;
    border-radius: 6px;
}

/* Responsive - Mobile first */
@media (max-width: 1024px) {
    .container {
        max-width: 98vw;
        padding-left: 6vw;
        padding-right: 6vw;
    }
    .footer-nav, footer .container {
        flex-wrap: wrap;
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .card,
    .recipe-cards > div,
    .services-overview > div,
    .service-card,
    .recipe-list > div,
    .blog-list > div,
    .course-list > div,
    .timeline > div {
        min-width: 180px;
        flex: 1 1 160px;
    }
    .footer-nav {
        flex-wrap: wrap;
        gap: 22px;
    }
}
@media (max-width: 768px) {
    .section {
        padding: 28px 6vw;
        margin-bottom: 40px;
    }
    .container {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .content-wrapper {
        gap: 14px;
    }
    .card-container,
    .recipe-cards,
    .services-overview,
    .service-list,
    .recipe-list,
    .blog-list,
    .course-list,
    .timeline {
        gap: 12px;
    }
    .card,
    .recipe-cards > div,
    .services-overview > div,
    .service-card,
    .recipe-list > div,
    .blog-list > div,
    .course-list > div,
    .timeline > div {
        min-width: 120px;
        flex: 1 1 110px;
        padding: 18px 11px 12px 13px;
    }
    .footer-nav {
        flex-direction: column;
        gap: 9px;
    }
    .footer-social {
        gap: 9px;
    }
    .newsletter-signup {
        padding: 13px 10px;
        font-size: .97rem;
    }
    header .container {
        gap: 8px;
    }
}
@media (max-width: 600px) {
    .content-wrapper {
        gap: 9px;
    }
    .section {
        margin-bottom: 28px;
        border-radius: 12px;
        padding: 13px 4vw;
    }
    h1 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    h2 {
        font-size: 1.23rem;
        margin-bottom: 10px;
    }
    h3 {
        font-size: 1.07rem;
        margin-bottom: 7px;
    }
    .main-nav, .footer-nav {
        font-size: .93rem;
    }
    .testimonial-card {
        font-size: .98rem;
        min-width: 90vw;
        padding: 14px 6px;
        border-left-width: 3px;
    }
    .recipe-cards > div,
    .recipe-list > div,
    .service-card,
    .blog-list > div,
    .course-list > div {
        flex: 1 1 80vw;
        min-width: 90vw;
        max-width: 100vw;
    }
    .timeline > div {
        min-width: 75vw;
        max-width: 100vw;
    }
    footer .container {
        flex-direction: column;
        gap: 20px;
    }
}

/* AUX: Utility Classes & Focus-Outlines */
:focus {
    outline: 2px solid #F28B30;
    outline-offset: 2px;
}
.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px; width: 1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: 0;
}

/* Misc Spacing */
ul, ol {
    margin-left: 18px;
    margin-bottom: 10px;
    padding-left: 16px;
}
ul li, ol li {
    margin-bottom: 8px;
    font-size: 1.03rem;
}

/***** Forms (for Kontakt etc.) *****/
input, textarea, select {
    font-family: 'Open Sans', Arial, sans-serif;
    border: 1.3px solid #294E2F;
    border-radius: 7px;
    padding: 10px 14px;
    font-size: 1rem;
    margin-bottom: 12px;
    width: 100%;
    transition: border .14s;
}
input:focus, textarea:focus, select:focus {
    border: 1.3px solid #F28B30;
    outline: none;
}
label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    margin-bottom: 5px;
    color: #294E2F;
}

/* Confirmation message on thank-you */
.confirmation-message {
    background: #E8F5DC;
    border-left: 4px solid #B55D00;
    padding: 18px 22px;
    border-radius: 7px;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

/* Hide scroll on mobile-menu open (optional, needs JS handler) */
body.mobile-menu-open {
    overflow: hidden !important;
}

/* Animations */
@keyframes fadeInScale {
    from { opacity:0; transform: scale(.965); }
    to { opacity:1; transform: scale(1); }
}
.mobile-menu.open, .cookie-modal-overlay {
    animation: fadeInScale 0.36s cubic-bezier(.77,.02,.17,1);
}

/***** END OF ROVENKNEEL GEOMETRIC STRUCTURED CSS *****/
