/* Reset & Normalize */
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, menu, 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.6; background: #FFFFFF; color: #1A5D38; min-height: 100vh; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* Brand Variables */
:root {
  --tp-primary: #1A5D38;
  --tp-secondary: #F0E4CC;
  --tp-accent: #D1381A;
  --tp-dark: #1A5D38;
  --tp-light: #FFFFFF;
  --tp-gray: #e5e7eb;
  --tp-bg-shape: #E8E3D6;
  --tp-shadow: 0 4px 24px rgba(26,93,56,0.07);
}

/* Typography */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400|Roboto:400,500,700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--tp-light);
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--tp-primary);
}
h1 { font-size: 2.25rem; margin-bottom: 16px; font-weight: 700; }
h2 { font-size: 1.5rem; margin-bottom: 14px; font-weight: 700; }
h3 { font-size: 1.18rem; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
h5 { font-size: 0.93rem; font-weight: 500; margin-bottom: 6px; }
p, ul, ol, li {
  font-size: 1rem;
  color: var(--tp-dark);
}
strong { font-weight: 700; }

/* Container & Section Spacing */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: var(--tp-light);
  border-radius: 20px;
  box-shadow: var(--tp-shadow);
  padding: 36px 22px;
  margin-bottom: 24px;
}

/* Header + Navigation */
header {
  width: 100%;
  background: var(--tp-secondary);
  border-bottom: 2px solid var(--tp-primary);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 10;
}
header .container {
  padding-top: 0;
  padding-bottom: 0;
}
.logo {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 10px;
}
.logo img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0;
}
.main-nav a {
  padding: 8px 18px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, outline 0.2s;
  color: var(--tp-primary);
  position: relative;
}
.main-nav a.cta {
  background: var(--tp-accent);
  color: #fff;
  font-weight: bold;
  border-radius: 24px 6px 24px 6px;
  box-shadow: 0 2px 8px rgba(209,56,26,0.08);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  background: var(--tp-primary);
  color: #fff;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #b32e14;
  color: #fff;
}
header {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0 0 0 0;
  gap: 0;
}
.logo { flex: 0 0 auto; }
.main-nav { flex: 1 1 auto; }

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--tp-accent);
  color: #fff;
  border: none;
  padding: 12px 14px;
  font-size: 1.4rem;
  border-radius: 8px;
  margin-left: auto;
  margin-right: 10px;
  cursor: pointer;
  transition: box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(209,56,26,0.08);
  z-index: 51;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  outline: 2px solid var(--tp-primary);
}

/* Hide nav on mobile, show burger */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  header { flex-direction: row; align-items: center; }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--tp-secondary);
  box-shadow: 0 0 0 100vmax rgba(0,0,0,0.38);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.7,0,0.3,1);
  padding: 0 0 32px 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--tp-accent);
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 20px 26px 14px 0;
  cursor: pointer;
  padding: 4px 8px;
  z-index: 1002;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--tp-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.21rem;
  color: var(--tp-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  width: 100%;
  border-radius: 12px;
  padding: 12px 22px;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a.cta {
  background: var(--tp-accent);
  color: #FFF;
  font-weight: bold;
  border-radius: 30px 8px 30px 8px;
}
.mobile-nav a:not(.cta):hover, .mobile-nav a:not(.cta):focus {
  background: var(--tp-primary);
  color: #fff;
}
.mobile-nav a.cta:hover, .mobile-nav a.cta:focus {
  background: #b32e14;
  color: #fff;
}
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
}
@media (max-width: 992px) {
  .mobile-menu {
    display: flex;
  }
}

/* MAIN: Structure & Cards */
.card-container, .feature-grid, .feature-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--tp-secondary);
  border-radius: 22px 8px 22px 8px;
  box-shadow: var(--tp-shadow);
  padding: 28px 20px;
  flex: 1 1 260px;
  transition: box-shadow 0.21s, transform 0.18s;
  border: 1.5px solid var(--tp-gray);
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(26,93,56,0.17);
  transform: translateY(-4px) scale(1.016);
  z-index: 1;
}

/* Testimonial Card */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 24px;
  background: #fff;
  border: 2px solid var(--tp-primary);
  border-radius: 20px 6px 20px 6px;
  min-width: 260px;
  max-width: 340px;
  box-shadow: 0 2.5px 24px rgba(26, 93, 56, 0.08);
  position: relative;
  margin-bottom: 20px;
  color: #212820;
}
.testimonial-card p {
  font-size: 1.07rem;
  line-height: 1.7;
  color: #222;
  font-style: italic;
}
.testimonial-card span {
  font-weight: 600;
  color: var(--tp-primary);
  font-size: 1rem;
}
.star-rating {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFC700;
  letter-spacing: 0.1em;
  font-size: 1.25rem;
}

/* Feature Cards & Items */
.feature-grid, .feature-list {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-grid > div, .feature-list > div {
  background: var(--tp-light);
  border-radius: 18px 6px 18px 6px;
  box-shadow: 0 1.5px 18px rgba(26,93,56,0.06);
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 300px;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid var(--tp-gray);
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-grid > div img, .feature-list > div img {
  height: 40px; width: 40px; margin-bottom: 16px;
}
.feature-grid > div:hover, .feature-list > div:hover {
  box-shadow: 0 6px 32px rgba(26,93,56,0.16);
  transform: translateY(-3px) scale(1.015);
  border-color: var(--tp-accent);
}
.feature-grid > div h3, .feature-list > div h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  margin-bottom: 8px;
  color: var(--tp-accent);
  font-weight: 700;
}

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

/* CTA & Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tp-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.09rem;
  border: none;
  border-radius: 26px 8px 26px 8px;
  padding: 12px 36px;
  cursor: pointer;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 12px;
  transition: background 0.19s, transform 0.14s, box-shadow 0.19s;
  box-shadow: 0 1.5px 18px rgba(209,56,26,0.10);
}
.cta:hover, .cta:focus {
  background: #B33D1F;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5.5px 32px rgba(209,56,26,0.18);
  outline: 2px solid var(--tp-primary);
}

button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  padding: 10px 26px;
  background: var(--tp-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.12s, outline 0.22s;
  margin-right: 12px;
  margin-bottom: 7px;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--tp-accent);
  color: #fff;
  outline: 2px solid var(--tp-accent);
  box-shadow: 0 4px 18px rgba(209,56,26,0.10);
}

/* Search Bar (Rezepte) */
.search-bar {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--tp-primary);
  background: #f7faf7;
  border-radius: 20px 8px 20px 8px;
  padding: 8px 18px;
  gap: 14px;
  margin: 24px 0 0 0;
  box-shadow: 0 1.5px 16px rgba(26,93,56,0.03);
  max-width: 420px;
}
.search-bar input {
  border: none;
  background: transparent;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  flex: 1 1 auto;
  outline: none;
  color: var(--tp-primary);
  padding: 5px 0;
}
.search-bar input::placeholder {
  color: #95b198;
  font-style: italic;
}
.search-bar img {
  width: 28px;
  height: auto;
  opacity: 0.8;
}

/* Lists, OL/UL, and Text Sections */
ul, ol {
  margin-left: 18px;
  margin-bottom: 14px;
  color: var(--tp-dark);
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 6px;
}
.text-section {
  margin-bottom: 20px;
}

/* Info, tip-, quick-, heritage-notes & highlight-cards */
.quick-tips, .tip-cards, .heritage-notes, .regional-highlights, .tradition-tips {
  margin-top: 28px;
  background: var(--tp-bg-shape);
  border-left: 6px solid var(--tp-accent);
  border-radius: 16px 8px 16px 8px;
  box-shadow: 0 4px 16px rgba(67,56,24,0.06);
  padding: 20px 18px 17px 24px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--tp-primary);
}
.quick-tips ul, .regional-highlights ul, .tip-cards ul{
  margin-left: 0;
  margin-bottom: 0;
  list-style-type: disc;
  padding-inline-start: 22px;
  color: #34534d;
}

/* Footer */
footer {
  background: var(--tp-primary);
  color: #fff;
  padding: 48px 0 0 0;
  margin-top: 60px;
  border-radius: 40px 40px 0 0;
  min-height: 180px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--tp-accent);
  color: #fff;
  outline: none;
}
.footer-contact {
  text-align: center;
  margin-top: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
}
.footer-contact a {
  color: #e2ffea;
  text-decoration: underline;
}

/* Cookie Consent Banner (Fixed) */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffefa;
  color: var(--tp-primary);
  box-shadow: 0 -2px 30px rgba(90,42,5,0.07);
  border-top: 2.5px solid var(--tp-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 20px 26px;
  z-index: 2000;
  gap: 16px;
  animation: cookieBannerIn 0.42s cubic-bezier(0.7,0,0.3,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p {
  font-size: 1.03rem;
  flex: 2 1 300px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner .tp-btn {
  background: var(--tp-primary);
  color: #fff;
  border-radius: 18px 8px 18px 8px;
  border: none;
  padding: 10px 20px;
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.17s, outline 0.17s;
}
.cookie-banner .tp-btn.accept {
  background: var(--tp-accent);
}
.cookie-banner .tp-btn.reject {
  background: #f3aeab;
  color: var(--tp-accent);
}
.cookie-banner .tp-btn.settings {
  background: var(--tp-secondary);
  color: var(--tp-primary);
  border: 2px solid var(--tp-primary);
}
.cookie-banner .tp-btn:hover, .cookie-banner .tp-btn:focus {
  filter: brightness(1.04) contrast(1.07);
  outline: 2px solid var(--tp-accent);
  background: var(--tp-primary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; z-index: 3000; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,93,56,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModal .28s cubic-bezier(0.7,0,0.3,1);
}
@keyframes fadeModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px 12px 24px 12px;
  box-shadow: 0 14px 44px rgba(26,93,56,0.20);
  padding: 40px 34px 32px 34px;
  min-width: 300px;
  max-width: 420px;
  z-index: 3001;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  color: var(--tp-accent);
  margin-bottom: 16px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 15px;
}
.cookie-modal .category input[type="checkbox"] {
  accent-color: var(--tp-primary);
  width: 18px; height: 18px;
}
.cookie-modal .category label {
  font-size: 1.06rem; font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .tp-btn {
  min-width: 98px;
  border-radius: 16px 8px 16px 8px;
  margin-top: 6px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--tp-accent);
  font-size: 2.1rem;
  position: absolute;
  top: 12px;
  right: 24px;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--tp-primary);
}

/* Responsive Flex Patterns */
.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) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    padding: 22px 8px;
    border-radius: 14px;
  }
  .footer-nav { gap: 14px; }
  .feature-grid, .feature-list, .testimonial-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature-grid > div, .feature-list > div, .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Accessibility Focus Styles */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--tp-accent);
  outline-offset: 1px;
}

/* Animations & Micro-interactions */
.card, .feature-grid > div, .feature-list > div, .testimonial-card {
  transition: box-shadow 0.20s cubic-bezier(.68,-0.55,.27,1.55), transform 0.17s cubic-bezier(.68,-0.55,.27,1.55);
}
.cta, button, .cookie-banner .tp-btn, .mobile-menu-toggle {
  transition: background 0.19s, box-shadow 0.19s, color 0.16s, outline 0.17s, transform 0.15s;
}

/* Misc Utility & Geometric Touches */
hr {
  border: none;
  border-top: 2px solid var(--tp-primary);
  margin: 24px 0;
}
.bg-accent {
  background: var(--tp-accent);
  color: #fff;
  padding: 14px 0;
  border-radius: 14px 6px 14px 6px;
}

/* Geometric Decorative Elements */
.geometric-shape {
  position: absolute;
  pointer-events: none;
}

/* --------- Helper Classes --------- */
.flex, .d-flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Spacing Patterns (for mandatory classes) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Spacer for Fixed Cookie Banner (so footer not overlapped) */
body.has-cookie-banner footer {
  margin-bottom: 98px;
}

/* END */
