/* ---------------------------------------------------
   CSS RESET & BASELINE NORMALIZE
--------------------------------------------------- */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img, picture { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; border: none; background: none; }
button { cursor: pointer; background: none; }
:focus { outline: 2px solid #D1A061; outline-offset: 2px;}

/* ---------------------------------------------------
   CSS VARIABLES (for quick theme ref)
--------------------------------------------------- */
:root {
  --primary: #3A4B36;      /* Brand dark green */
  --secondary: #D1A061;    /* Warm gold */
  --accent: #F7F5EF;       /* Light accent bg */
  --bg: #F7F5EF;           /* General background */
  --white: #fff;
  --black: #222;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(58,75,54,0.10);
  --shadow-hover: 0 4px 20px rgba(58,75,54,0.14);
  --transition: 0.18s cubic-bezier(.4,.22,.11,1);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  flex: 1 0 auto;
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: none;
  line-height: 1.25;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary);
  margin-bottom: 30px;
}
p, .text-section p, .content-wrapper p {
  margin-bottom: 20px;
  font-size: 1rem;
}

ul {
  padding-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Angular (Geometric) Font Style Enhancement */
h1, h2, h3, .decor-tip {
  font-variation-settings: 'wght' 800;
  letter-spacing: .02em;
}

b, strong {
  font-weight: 700;
  color: var(--primary);
}

/* ---------------------------------------------------
   LAYOUT/SECTION SPACING
--------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------------------------------------------------
   HEADER & NAVIGATION
--------------------------------------------------- */
header {
  background: var(--white);
  border-bottom: 3px solid var(--secondary);
  box-shadow: var(--shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 0;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
header a.cta-btn {
  margin-left: 24px;
}

/* Logo Sizing/Alignment */
header img,
footer img {
  height: 48px;
  width: auto;
  display: block;
}

/* ---------------------------------------------------
   CTA BUTTONS & LINKS
--------------------------------------------------- */
.cta-btn, .recipe-cta, .cookie-banner-btn, .cookie-banner-btn-accept, .cookie-banner-btn-reject, .cookie-banner-btn-settings {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--primary);
  border-radius: 22px;
  padding: 13px 36px;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 6px rgba(58,75,54,.11);
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus,
.recipe-cta:hover, .recipe-cta:focus,
.cookie-banner-btn:hover, .cookie-banner-btn:focus,
.cookie-banner-btn-accept:hover,
.cookie-banner-btn-settings:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03) skew(-2deg);
  box-shadow: var(--shadow-hover);
}
.recipe-cta {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.recipe-cta:hover {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

/* ---------------------------------------------------
   FLEX LAYOUTS & CARD / GRID STYLES
--------------------------------------------------- */
.features-grid, .country-grid, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.features-grid > div, .country-grid > div, .tips-grid > div, .recipe-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 26px 26px 26px;
  flex: 1 1 274px;
  min-width: 220px;
  max-width: 300px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 5px solid var(--secondary);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.features-grid > div:hover, .country-grid > div:hover,
.tips-grid > div:hover, .recipe-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.02);
}
.features-grid img, .country-grid img, .tips-grid img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--secondary);
  min-width: 250px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-meta span {
  margin-right: 6px;
}
.testimonial-meta img {
  width: 18px; height: 18px;
}

/* Content Grids, aligning per requirements */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  min-width: 220px;
  flex: 1 1 260px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Special: Deck design for decor/idea/quick tips */
.serving-suggestion, .decor-tip, .quick-tips {
  background: var(--accent);
  border-left: 8px solid var(--secondary);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 1.1rem;
  margin-bottom: 20px;
  margin-top: 12px;
}
.decor-tip { font-family: var(--font-display); font-size: 1.05rem; font-style: normal; font-weight: 700; }

.idea-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

/* Mini Contact layout and map */
.mini-contact, .contact-information, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.mini-contact > div, .footer-contact > div {
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.97rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.location-map {
  margin-top: 18px;
  margin-bottom: 18px;
  min-width: 120px;
  max-width: 290px;
}
.location-map img { width: 100%; }

/* Filter bar & categories menu in rezepte.html */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  box-shadow: var(--shadow);
}
.filter-bar input[type='search'] {
  flex: 1 1 200px;
  border-radius: var(--radius);
  border: 2px solid var(--secondary);
  padding: 9px 14px;
  font-size: 1rem;
  background: var(--white);
  margin-right: 12px;
}
.categories-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.categories-menu a {
  padding: 7px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  background: var(--secondary);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  box-shadow: 0 1px 2px rgba(58,75,54,0.06);
  transition: background var(--transition), color var(--transition);
}
.categories-menu a:hover, .categories-menu a:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* ---------------------------------------------------
   HERO SECTIONS
--------------------------------------------------- */
.hero {
  background: var(--primary);
  color: var(--accent);
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
}
.hero .container {
  padding-top: 46px;
  padding-bottom: 52px;
}
.hero h1 { color: var(--accent); font-size: 2.3rem; }
.hero .subheadline {
  color: var(--accent);
  font-size: 1.18rem;
  font-style: normal;
}
.hero .cta-btn {
  background: var(--secondary);
  color: var(--primary);
  margin-top: 18px;
}
.hero .cta-btn:hover {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--accent);
  border-radius: 28px 28px 0 0;
  margin-top: 60px;
  padding-top: 38px;
  padding-bottom: 22px;
  box-shadow: var(--shadow);
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  background: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-contact > div {
  color: var(--accent);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
}
footer span { opacity: 0.65; font-size: 0.96rem; margin-top: 12px;}

/* ---------------------------------------------------
   MOBILE NAVIGATION (BURGER MENU)
--------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 18px;
  z-index: 1201;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.mobile-menu {
  position: fixed;
  z-index: 2020;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(58,75,54,0.97);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.61,0.15,0.19,0.95);
  box-shadow: 0 0 45px rgba(0,0,0,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  z-index: 2050;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 88px;
  margin-left: 18vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: .01em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  min-width: 190px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 1020px) {
  header nav, header .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }
  header nav, header .cta-btn { display: none; }
  .mobile-menu { font-size: 1.04rem; }
  .mobile-nav { margin-left: 10vw; }
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: var(--accent);
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -2px 14px rgba(58,75,54,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 10vw 24px 8vw;
  animation: cookieSlideUp 0.7s cubic-bezier(0.4,0.2,0.11,1);
  font-size: 1rem;
}
@keyframes cookieSlideUp {
  0% { transform: translateY(65px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  color: var(--primary);
  max-width: 620px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner-btn, .cookie-banner-btn-accept, .cookie-banner-btn-reject, .cookie-banner-btn-settings {
  border-radius: var(--radius-sm);
  padding: 11px 24px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner-btn-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner-btn-reject {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner-btn-settings {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner-btn-accept:hover, .cookie-banner-btn-accept:focus {
  background: var(--primary); color: var(--white);
}
.cookie-banner-btn-reject:hover, .cookie-banner-btn-reject:focus {
  background: var(--secondary); color: var(--white);
}
.cookie-banner-btn-settings:hover, .cookie-banner-btn-settings:focus {
  background: var(--secondary); color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px 4vw; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(58,75,54,0.72);
  z-index: 4200;
  display: flex; align-items: center; justify-content: center;
  animation: cookieModalFadeIn 0.5s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  padding: 38px 32px 26px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 310px;
  max-width: 92vw;
  color: var(--primary);
}
.cookie-modal h2 {
  font-family: var(--font-display);
  margin-bottom: 18px;
  font-size: 1.32rem;
}
.cookie-category {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category label, .cookie-category span {
  font-family: var(--font-body);
}
.cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
  height: 24px;
  position: relative;
}
.toggle-switch input {
  opacity: 0; width: 0; height: 0;
}
.toggle-slider {
  width: 42px; height: 22px;
  background: var(--secondary);
  border-radius: 22px;
  position: relative;
  transition: background var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}
.cookie-modal-actions button {
  padding: 10px 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 1001;
}
.cookie-modal-close:hover { background: var(--primary); color: var(--accent); }

/* ---------------------------------------------------
   RESPONSIVE DESIGN // Mobile-first
--------------------------------------------------- */
@media (max-width: 1050px) {
  .container { padding-left: 4vw; padding-right: 4vw; }
  header .container, footer .container { padding-left: 0; padding-right: 0; }
  .content-wrapper { max-width: 100%; }
  .features-grid > div, .country-grid > div, .tips-grid > div, .recipe-card { min-width: 185px; max-width: 100%; }
}
@media (max-width: 900px) {
  .features-grid, .country-grid, .tips-grid, .testimonial-slider, .footer-contact {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonials .content-wrapper { align-items: center; }
  .features-grid > div, .country-grid > div, .tips-grid > div, .recipe-card, .testimonial-card { width: 100%; min-width: 0; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding-left: 1vw; padding-right: 1vw; }
  .content-wrapper { padding-left: 0; padding-right: 0; }
  .features-grid, .country-grid, .tips-grid, .testimonial-slider, .footer-contact {
    gap: 18px;
  }
  .section { margin-bottom: 38px; padding: 28px 6px; }
  .hero .container { padding-top: 28px; padding-bottom: 36px; }
  .mobile-menu-toggle { display: flex; }
  .content-grid, .text-image-section, .mini-contact {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card { max-width: 98vw; }
  .mini-contact > div, .footer-contact > div { width: 100%; }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.14rem; }
  .section { padding: 18px 3px; }
  .features-grid > div, .country-grid > div, .tips-grid > div, .recipe-card {
    padding: 18px 10px 14px 10px;
  }
  .cookie-banner { padding: 11px 2vw; }
}

/* Smoother transitions/micro-interactions */
.card, .features-grid > div, .recipe-card, .testimonial-card, .decor-tip, .quick-tips {
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition), background var(--transition);
}

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

/* ---------------------------------------------------
   MISC (miscellaneous, fine-tuning)
--------------------------------------------------- */
::-webkit-scrollbar { width: 11px; background: var(--accent); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Geometric accent shapes (only for background/decor) */
.section::after, .hero::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  right: -70px; bottom: -44px;
  width: 114px; height: 114px;
  background: rgba(209,160,97,0.13);
  clip-path: polygon(25% 0%, 100% 30%, 81% 100%, 0% 69%);
  pointer-events: none;
}
@media (max-width: 600px) {
  .section::after, .hero::after { right: -44px; bottom: -24px; width: 64px; height: 64px; }
}
/**** CRITICAL: No CSS grid, no columns, checked everywhere above ****/
