/* RESET & BASELINE ------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C3E50;
  background: #F9F6F0;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #2C3E50;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.14rem;
  margin-bottom: 12px;
}

/* LAYOUT -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* HEADER & NAVIGATION ------------------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(44,62,80,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 16px;
  height: 70px;
  position: relative;
  z-index: 40;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F9F6F0;
  color: #B9A063;
}
.main-nav .cta-btn {
  background: #2C3E50;
  color: #fff;
  padding: 10px 18px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(44,62,80,0.05);
  transition: background 0.15s, color 0.15s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #B9A063;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #2C3E50;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: 24px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  background: #F9F6F0;
}
/* MOBILE NAVIGATION ------------------------------ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.2,.2,1);
  box-shadow: -4px 0 24px rgba(44,62,80,0.08);
  padding: 30px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #2C3E50;
  background: none;
  border: none;
  margin-bottom: 32px;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #F9F6F0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.09rem;
  color: #2C3E50;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9F6F0;
  color: #B9A063;
}

/* HERO SECTION ------------------------------------ */
.hero {
  background: #F9F6F0;
  border-radius: 16px;
  margin-bottom: 40px;
}
.hero .container {
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero p {
  font-size: 1.16rem;
  margin-bottom: 22px;
  color: #2C3E50;
}

/* CTA BUTTON ------------------------------------- */
.cta-btn {
  background: #B9A063;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 30px;
  border-radius: 24px;
  box-shadow: 0 1px 7px rgba(44,62,80,0.07);
  letter-spacing: 0;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  margin-right: 14px;
  margin-bottom: 10px;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #2C3E50;
  color: #fff;
  box-shadow: 0 4px 18px rgba(44,62,80,0.14);
  text-decoration: none;
}

/* GRID & FLEX PATTERNS ------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(44,62,80,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s, box-shadow 0.16s;
}
.card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 32px rgba(44,62,80,0.10);
}
.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: #fff;
  color: #2C3E50;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.06);
  transition: box-shadow 0.14s, transform 0.14s;
  flex: 1 1 100%;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(44,62,80,0.12);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES GRID ----------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 6px;
}
.feature-grid li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(44,62,80,0.045);
  padding: 20px 24px;
  flex: 1 1 210px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-grid li img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.feature-grid li:hover {
  box-shadow: 0 6px 28px rgba(44,62,80,0.10);
  transform: translateY(-2px) scale(1.02);
}

/* SEARCH BAR (on 'rezepte') ---------------------- */
.search-bar {
  width: 100%;
  max-width: 420px;
  padding: 12px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #EEE;
  box-shadow: 0 1px 8px rgba(44,62,80,0.045);
  font-size: 1.04rem;
  color: #2C3E50;
  transition: border 0.15s, box-shadow 0.15s;
  margin-top: 6px;
}
.search-bar::placeholder {
  color: #ABABAB;
  opacity: 1;
}
.search-bar:focus {
  border: 1.5px solid #B9A063;
  outline: none;
  box-shadow: 0 3px 14px rgba(185,160,99,0.09);
}

/* CONTACT DETAILS (on kontakt) ------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
}

/* FOOTER ------------------------------------------ */
footer {
  background: #fff;
  border-top: 1px solid #F1F1F1;
  padding: 36px 0 32px 0;
  box-shadow: 0 -2px 12px rgba(44,62,80,0.03);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  font-size: 1.01rem;
  color: #2C3E50;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.11s, color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F9F6F0;
  color: #B9A063;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 0.99rem;
  color: #2C3E50;
  margin-top: 0;
}
.footer-contact address {
  font-style: normal;
  margin-bottom: 5px;
}
.footer-contact-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-icons img {
  width: 18px;
}
.footer-hours {
  color: #9B9B9B;
  font-size: 0.96rem;
}

/* LEGAL PAGE SECTIONS (GDPR, Cookie, Datenschutz) */
.legal .content-wrapper, .about .content-wrapper, .contact .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.legal .text-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.06);
  color: #2C3E50;
}

/* MISC SPACERS & SUBTLE DIVIDERS ------------------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.features-note {
  font-size: 0.98rem;
  color: #848484;
  margin-top: 16px;
}

/* TYPOGRAPHY SCALE -------------------------------- */
p, li, cite, address {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2C3E50;
}
blockquote {
  font-size: 1.1rem;
  line-height: 1.5;
  font-style: italic;
  border-left: 3px solid #B9A063;
  padding-left: 16px;
  color: #2C3E50;
  margin-bottom: 10px;
}
cite {
  font-size: 0.98rem;
  color: #9A9663;
  font-style: normal;
  display: block;
  margin-top: 4px;
}

/* ANIMATIONS & HOVERS ---------------------------- */
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.14s;
}
.card:hover, .feature-grid li:hover {
  box-shadow: 0 7px 24px rgba(44,62,80,0.12);
  transform: translateY(-2px) scale(1.02);
}
.cta-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
}
.cta-btn:active {
  background: #a68c4b;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 22px rgba(44,62,80,0.09);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px 14px 18px;
  gap: 16px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  transition: transform 0.24s cubic-bezier(.8,.3,.17,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner-desc {
  color: #2C3E50;
  font-size: 0.99rem;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner-btn {
  border-radius: 18px;
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 600;
  background: #F9F6F0;
  color: #2C3E50;
  border: 1px solid #ECECE6;
  transition: background 0.16s, color 0.13s;
}
.cookie-banner-btn.accept {
  background: #B9A063;
  color: #fff;
  border: none;
}
.cookie-banner-btn.reject {
  background: #F9F6F0;
  color: #2C3E50;
}
.cookie-banner-btn.settings {
  background: #fff;
  color: #B9A063;
}
.cookie-banner-btn:focus,
.cookie-banner-btn:hover {
  background: #2C3E50;
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.22);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(44,62,80,0.16);
  padding: 34px 36px 28px 36px;
  width: 96%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: cookieModalFade 0.38s cubic-bezier(.8,.3,.17,1);
}
@keyframes cookieModalFade {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #eceae4;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-toggle:checked {
  background: #B9A063;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-footer button {
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 22px;
  background: #F9F6F0;
  color: #2C3E50;
  border: 1px solid #ECECE6;
  transition: background 0.15s, color 0.11s;
}
.cookie-modal-footer button.save {
  background: #B9A063;
  color: #fff;
  border: none;
}
.cookie-modal-footer button:focus,
.cookie-modal-footer button:hover {
  background: #2C3E50;
  color: #fff;
}

/* RESPONSIVE DESIGN ------------------------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 14px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid li {
    min-width: 170px;
    padding: 16px 10px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 12px;
  }
  section {
    padding: 36px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding-right: 10px;
    height: auto;
    min-height: 58px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 18px;
  }
  section {
    margin-bottom: 46px;
    padding: 30px 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  .feature-grid li {
    min-width: 0;
    width: 100%;
    padding: 16px 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 18px 9px;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 5px;
  }
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .cta-btn {
    width: 100%;
    padding: 12px 0;
    text-align: center;
    margin-right: 0;
  }
  .testimonial-card, .feature-grid li {
    padding: 12px 6px;
  }
  .cookie-modal-content {
    padding: 22px 8px 18px 10px;
  }
}

/* UTILITIES -------------------------------------- */
.hide { display: none !important; }

/* FOCUS STATE STYLE ------------------------------ */
a:focus, button:focus, input:focus {
  outline: 2px solid #B9A063;
  outline-offset: 2px;
}

/* END CSS ----------------------------------------- */

