/* --------------------------------------------------------------
   CSS 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, 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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  font-family: inherit;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  min-height: 100%;
  background: #181B1E;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #ececec;
  background: #1B2329;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #F9A825;
  text-decoration: none;
  transition: color 0.2s;
}

/* --------------------------------------------------------------
   BRANDING & INDUSTRIAL MODERN FONTS
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #F9A825;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #E5ECF2;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul, ol {
  padding-left: 20px;
}
strong {
  color: #F9A825;
  font-weight: 700;
}

/* Visual marker for Industrial Modern: UPPERCASE nav, monospaced touch */
nav a {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #e0e0e0;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #212D36;
  color: #F9A825;
}

/* --------------------------------------------------------------
   LAYOUT CONTAINERS
-------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #22272B;
  border: 1.5px solid #313A40;
  box-shadow: 0 2px 16px rgba(20,32,40,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(33,44,55,0.13);
}
.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 distinctness for contrast! */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8f8f7;
  color: #21262b;
  border-radius: 11px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px rgba(36,65,89,0.10);
  border-left: 5px solid #F9A825;
}
.testimonial-card p {
  color: #21262b;
  margin: 0 0 4px 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #6f6f6f;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Cards for recipe, theme, post, etc. */
.recipe-brief, .theme, .feature, .post {
  background: #23292F;
  border: 1px solid #344250;
  border-radius: 11px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(20,32,40,0.04);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.recipe-brief:hover, .theme:hover, .feature:hover, .post:hover {
  border-color: #F9A825;
  box-shadow: 0 4px 24px rgba(33,44,55,0.13);
}

/* --------------------------------------------------------------
   HERO & MAIN SECTIONS
-------------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, #244159 64%, #232B32 100%);
  color: #fff;
  padding: 60px 0 50px 0;
}
.hero h1 {
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  text-shadow: 0 2px 16px #1b2329a0;
}
.hero p {
  color: #e0e0e0;
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 20px;
}
/* ".featured-recipes", ".blog-list", ".themes", etc */
.feature-grid, .theme-grid, .recipe-list, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature, .theme, .recipe-brief, .post {
  flex: 1 1 250px;
  max-width: 330px;
  min-width: 250px;
}
@media (max-width: 900px) {
  .feature, .theme, .recipe-brief, .post {
    min-width: 180px;
    max-width: 100%;
    flex-basis: 100%;
  }
}

/* --------------------------------------------------------------
   BUTTONS & INTERACTIVE ELEMENTS
-------------------------------------------------------------- */
.btn-primary, .btn-secondary, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 30px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(36,65,89,0.13);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  margin: 4px 0 4px 0;
  outline: none;
}
.btn-primary, .cta {
  background: #F9A825;
  color: #23292F;
}
.btn-primary:hover, .cta:hover, .btn-primary:focus, .cta:focus {
  background: #ffb900;
  color: #222;
  box-shadow: 0 4px 24px rgba(249,168,37,0.15);
}
.btn-secondary {
  background: #244159;
  color: #ffffff;
  border: 1.5px solid #F9A825;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #355a7c;
  border-color: #ffb900;
  color: #fff;
}

/* Input/Search (rezepte.html) */
input[type="text"] {
  background: #20262A;
  border: 1.4px solid #344250;
  color: #ececec;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 7px;
  margin-bottom: 12px;
  transition: border 0.22s;
  outline: none;
}
input[type="text"]:focus {
  border: 1.5px solid #F9A825;
  background: #232A31;
}

/* Category Tag */
.category-tag {
  display: inline-block;
  background: #181B1E;
  color: #F9A825;
  border-radius: 17px;
  font-size: 0.92rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 3px 13px 3px 10px;
  margin-top: 7px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Newsletter Section */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #23292F;
  border-radius: 11px;
  padding: 26px 19px;
  box-shadow: 0 1.5px 8px rgba(36,65,89,0.09);
  margin: 0 0 14px 0;
}
.newsletter-signup h2,
.newsletter-signup p {
  color: #fff;
}

/* Accent color in callouts */
.callout, .contact-teaser, .recipe-callout {
  background: #20262B;
  border-left: 5px solid #F9A825;
  border-radius: 11px;
  padding: 32px 24px;
  margin: 24px 0 16px 0;
  color: #fff;
  box-shadow: 0 2px 12px rgba(36,65,89,0.07);
  font-size: 1.08rem;
}

.recipe-callout strong {
  color: #F9A825;
}

/* Accordions, FAQ */
.faq ul, .values ul, .seasonal ul, .filters ul, .legal ul {
  list-style: none;
  padding: 0 0 0 0;
}
.faq li, .values li, .seasonal li, .filters li, .legal li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: #dedede;
}
.faq strong, .values strong {
  color: #F9A825;
}

/* Footer Layout */
footer {
  background: #232B32;
  color: #b0bec8;
  padding: 40px 0 16px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #e0e0e0;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #F9A825;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.99rem;
  color: #b8b8b8;
  margin-bottom: 16px;
}
.footer-note {
  font-size: 0.88rem;
  color: #87929a;
  padding-top: 12px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------
   HEADER AND NAV
-------------------------------------------------------------- */
header {
  background: #181B1E;
  border-bottom: 2px solid #232B32;
  box-shadow: 0 2px 10px rgba(20,32,40,0.08);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  min-height: 70px;
}
header img {
  max-height: 44px;
  margin-right: 16px;
}

.main-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 16px;
}
.cta {
  margin-left: 10px;
}

/* --------------------------------------------------------------
   MOBILE MENU
-------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #F9A825;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 18px;
  padding: 5px 10px;
  transition: background 0.16s, color 0.18s;
  border-radius: 6px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #212D36;
  color: #ffd957;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: #11151A;
  box-shadow: 0 2px 50px rgba(36,65,89,0.14);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.86,.02,.65,1), opacity 0.18s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F9A825;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 24px 28px 16px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff9e1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px 26px;
  width: 100%;
  z-index: 2002;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 6px;
  border-radius: 6px;
  background: none;
  transition: background 0.18s, color 0.18s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22272B;
  color: #F9A825;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 6px;
  }
  .footer-nav {
    gap: 10px;
  }
  .container { max-width: 98vw; }
}

/* Hide main nav + show burger on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-wrap: wrap;
    gap: 14px;
  }
}

/* --------------------------------------------------------------
   RESPONSIVE LAYOUTS (MOBILE-FIRST)
-------------------------------------------------------------- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
  .container { padding: 0 8px; }
  .content-wrapper { gap: 14px; }

  .feature-grid, .theme-grid, .recipe-list, .post-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .hero {
    padding: 30px 0 25px 0;
  }
  .section {
    margin-bottom: 34px;
    padding: 25px 8px;
  }
  .testimonials .content-wrapper {
    gap: 10px;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; }
}

/* --------------------------------------------------------------
   INDUSTRIAL MODERN ACCENTS
-------------------------------------------------------------- */
.card, .card-container, .feature, .theme, .post, .recipe-brief, .newsletter-signup, .callout {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.008em;
}
.card, .feature, .theme, .post, .recipe-brief {
  border-width: 2px;
  border-style: solid;
  border-color: #374357;
  position: relative;
}
.card:after, .feature:after, .theme:after, .post:after, .recipe-brief:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #4b5764 30%, #F9A825 70%);
  opacity: 0.06;
  border-radius: 0 0 9px 9px;
  z-index: 0;
}

/* Metallic accent - subtle border on hover */
.card:hover, .feature:hover, .theme:hover, .post:hover {
  border-color: #F9A825;
  box-shadow: 0 6px 24px rgba(249,168,37,0.11), 0 2px 8px rgba(32,32,32,0.05);
}

/* Shadows & Rounds for modernity */
.card, .feature, .theme, .post, .recipe-brief, .testimonial-card, .newsletter-signup {
  box-shadow: 0 2px 16px rgba(40,50,70,0.08);
  border-radius: 11px;
}

/* --------------------------------------------------------------
   COOKIES BANNER & MODAL
-------------------------------------------------------------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232B32;
  color: #fff1e5;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 23px 12vw 23px 12vw;
  box-shadow: 0 -2px 24px rgba(36,65,89,0.16);
  font-size: 1.03rem;
  opacity: 1;
  transition: opacity 0.25s, transform 0.28s;
  border-top: 3px solid #F9A825;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(86px);
}
#cookie-banner .cookie-message {
  flex: 1 1 350px;
  color: #fff2d3;
  margin-right: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-items: center;
}
#cookie-banner .btn-primary, #cookie-banner .btn-secondary, #cookie-banner .btn-settings {
  min-width: 105px;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}
#cookie-banner .btn-secondary {
  background: #232A31;
  color: #fff;
  border: 1.2px solid #ddd;
}
#cookie-banner .btn-secondary:hover {
  background: #2d3840;
  color: #efe0c0;
}
#cookie-banner .btn-settings {
  background: #1B2329;
  color: #F9A825;
  border: 1.2px solid #F9A825;
  padding: 10px 18px;
}
#cookie-banner .btn-settings:hover {
  background: #F9A825;
  color: #23292F;
}
@media (max-width: 900px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 15px 4vw 15px 4vw;
  }
  #cookie-banner .cookie-message {
    margin: 0 0 8px 0;
  }
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,27,30,0.91);
  z-index: 3002;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.24s;
}
#cookie-modal.open {
  display: flex;
  opacity: 1;
}
#cookie-modal .modal-content {
  background: #181B1E;
  border-radius: 15px;
  box-shadow: 0 8px 64px 2px rgba(33,44,55,0.2);
  padding: 36px 24px 27px 24px;
  min-width: 320px;
  max-width: 95vw;
  color: #fffbe1;
  font-size: 1rem;
  position: relative;
}
#cookie-modal h2 {
  margin-bottom: 12px;
  color: #F9A825;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}
#cookie-modal label {
  font-size: 1rem;
  color: #fff; 
}
#cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #F9A825;
}
#cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 20px;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  background: none;
  border: none;
  color: #eee;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  color: #F9A825;
}
@media (max-width: 540px) {
  #cookie-modal .modal-content {
    padding: 22px 7px 15px 7px;
    min-width: 90vw;
  }
}

/* --------------------------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
-------------------------------------------------------------- */
a, .btn-primary, .btn-secondary, .cta, .card, .feature, .theme, .post, .mobile-menu, .mobile-menu-toggle {
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, border-color 0.18s, opacity 0.18s;
}
input, .newsletter-signup, .testimonial-card, .recipe-brief {
  transition: box-shadow 0.18s, border-color 0.18s;
}

.card:active, .btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* --------------------------------------------------------------
   UTILITY CLASSES & MISC
-------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center; }
.hide { display: none !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }

/* --------------------------------------------------------------
   PRINT STYLE (optional for legal)
-------------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
}

/* --------------------------------------------------------------
   END OF STYLE.CSS
-------------------------------------------------------------- */
