/* Schnelle Heimatküche – Elegant Classic CSS Theme */

/* --- FONT IMPORTS (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');

:root {
  --primary: #34623F;
  --primary-dark: #274b2f;
  --secondary: #F7C873;
  --secondary-dark: #e6b85f;
  --accent: #FFFFFF;
  --muted-bg: #F9F7F3;
  --muted-border: #E5E1D8;
  --text-main: #2C2C2C;
  --text-muted: #6B6B6B;
  --shadow: 0 2px 16px 0 rgba(52, 98, 63, 0.08);
  --radius: 12px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --section-spacing: 60px;
  --container-max: 1100px;
  --gap-main: 24px;
  --gap-card: 20px;
  --gap-feature: 15px;
  --gap-testimonial: 20px;
  --header-height: 80px;
}

html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', serif;
  color: var(--text-main);
  background: var(--muted-bg);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: var(--primary);
  margin: 0 0 12px 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
p, li, span, label {
  font-family: 'Roboto', serif;
  color: var(--text-main);
  font-size: 1rem;
  margin: 0 0 10px 0;
}

strong {
  font-weight: 600;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--accent);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 0;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 32px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
}

.cta-btn {
  background: var(--primary);
  color: var(--accent);
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  margin-left: 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(52, 98, 63, 0.10);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px 0 rgba(52, 98, 63, 0.13);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 201;
  background: var(--primary);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(52, 98, 63, 0.10);
  transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  box-shadow: 0 4px 32px 0 rgba(52, 98, 63, 0.18);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  z-index: 210;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 90px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
  padding: 6px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

/* --- MAIN LAYOUT & SECTIONS --- */
main {
  margin-top: 0;
  margin-bottom: 0;
}
section {
  background: var(--accent);
  border-radius: var(--radius);
  margin-bottom: var(--section-spacing);
  padding: 40px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- FLEXBOX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-main);
}
.card {
  background: var(--muted-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(52, 98, 63, 0.16);
  transform: translateY(-4px) scale(1.01);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F5F0;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px 0 rgba(52, 98, 63, 0.07);
  margin-bottom: 20px;
  color: var(--text-main);
  font-style: italic;
  font-size: 1.05rem;
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #fffbe8;
  box-shadow: 0 4px 16px 0 rgba(52, 98, 63, 0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--muted-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), background var(--transition);
}
.feature-grid > div:hover {
  background: #fffbe8;
  box-shadow: 0 4px 16px 0 rgba(52, 98, 63, 0.13);
}
.feature-grid span {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

/* --- GALLERY SLIDER --- */
.gallery-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.gallery-slider > div {
  background: var(--muted-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 12px 12px 12px;
  flex: 1 1 220px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow var(--transition), background var(--transition);
}
.gallery-slider > div:hover {
  background: #fffbe8;
  box-shadow: 0 4px 16px 0 rgba(52, 98, 63, 0.13);
}
.gallery-slider img {
  border-radius: var(--radius);
  margin-bottom: 8px;
  box-shadow: 0 1px 6px 0 rgba(52, 98, 63, 0.07);
}

/* --- RECIPE LIST --- */
.recipe-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.recipe-card {
  background: var(--muted-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
  flex: 1 1 260px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), background var(--transition);
}
.recipe-card:hover {
  background: #fffbe8;
  box-shadow: 0 4px 16px 0 rgba(52, 98, 63, 0.13);
}
.recipe-card img {
  border-radius: var(--radius);
  margin-bottom: 8px;
  box-shadow: 0 1px 6px 0 rgba(52, 98, 63, 0.07);
}
.recipe-card span {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 3px 10px;
  margin-top: 6px;
}

/* --- FILTER BAR --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  background: #F7F5F0;
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 20px;
}
.filter-bar input[type="text"] {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  padding: 8px 14px;
  border: 1px solid var(--muted-border);
  border-radius: 8px;
  background: var(--accent);
  color: var(--text-main);
  outline: none;
  transition: border var(--transition);
}
.filter-bar input[type="text"]:focus {
  border: 1.5px solid var(--primary);
}
.filter-categories, .filter-time {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.filter-bar button {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.filter-bar button:hover, .filter-bar button:focus {
  background: var(--primary);
  color: var(--accent);
}

/* --- ARTICLE LIST --- */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.article-list article {
  background: var(--muted-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
  flex: 1 1 260px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), background var(--transition);
}
.article-list article:hover {
  background: #fffbe8;
  box-shadow: 0 4px 16px 0 rgba(52, 98, 63, 0.13);
}

/* --- TEAM PHOTOS --- */
.team-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.team-photos img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 1px 8px 0 rgba(52, 98, 63, 0.10);
}

/* --- VALUE LIST --- */
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.value-list li {
  background: var(--muted-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  font-family: 'Montserrat', serif;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-list span {
  font-size: 1.5rem;
  color: var(--secondary);
}

/* --- CONTACT INFO --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.contact-note {
  background: #F7F5F0;
  border-radius: var(--radius);
  padding: 16px 14px;
  font-size: 1rem;
  color: var(--text-muted);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: var(--muted-bg);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 40px 0 0 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 24px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--accent);
  text-decoration: none;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  font-size: 0.98rem;
  color: var(--accent);
  font-family: 'Roboto', serif;
  line-height: 1.6;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #fffbe8;
  color: var(--text-main);
  box-shadow: 0 -2px 16px 0 rgba(52, 98, 63, 0.10);
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  border-top: 1px solid var(--muted-border);
  animation: cookieBannerIn 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px 0 rgba(52, 98, 63, 0.07);
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .reject {
  background: #E5E1D8;
  color: var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--primary);
  color: var(--accent);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 400;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,44,44,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px 0 rgba(52, 98, 63, 0.18);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(40px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  color: var(--text-main);
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  background: #E5E1D8;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  margin-left: 8px;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
}
.cookie-modal .cookie-toggle input:checked + span {
  left: 19px;
  background: var(--secondary);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .accept, .cookie-modal .reject {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .accept {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .reject {
  background: #E5E1D8;
  color: var(--primary);
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: var(--primary);
  color: var(--accent);
}

/* --- THANK YOU PAGE --- */
.thank-you {
  text-align: center;
  padding: 60px 0;
}

/* --- GENERAL BUTTONS --- */
button, .btn {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 4px 0 rgba(52, 98, 63, 0.07);
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--primary);
  color: var(--accent);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .gallery-slider, .recipe-list, .article-list, .value-list, .team-photos {
    gap: 16px;
  }
  .feature-grid > div, .gallery-slider > div, .recipe-card, .article-list article, .value-list li {
    min-width: 160px;
    flex: 1 1 160px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    height: 64px;
  }
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .feature-grid, .gallery-slider, .recipe-list, .article-list, .value-list, .team-photos {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .gallery-slider > div, .recipe-card, .article-list article, .value-list li {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding-bottom: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    min-width: 0;
    width: 95vw;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  header img {
    height: 36px;
  }
  .cookie-modal {
    padding: 10px 2vw 10px 2vw;
  }
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }

/* --- A11Y FOCUS --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* --- PREVENT OVERLAPPING --- */
.card, .feature-grid > div, .gallery-slider > div, .recipe-card, .article-list article, .testimonial-card, .value-list li {
  margin-bottom: 20px;
}

/* --- Z-INDEX STACKING --- */
header { z-index: 100; }
.mobile-menu { z-index: 200; }
.mobile-menu-toggle { z-index: 201; }
.cookie-banner { z-index: 300; }
.cookie-modal-overlay { z-index: 400; }

/* --- END --- */
