/* Mirage Quest Rezepte Industrial Modern CSS Theme */

/* ------------- CSS RESET & NORMALIZE ------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #181B1F;
  color: #F4F3EE;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #D94F2A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F7E3B5;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* ------------- BRAND FONTS ------------- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #F7E3B5;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

p, li, label, input, select, textarea, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #F4F3EE;
}
strong { color: #F7E3B5; font-weight: 700; }

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

/* Main spacing pattern from Requirements */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232629;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(43, 46, 52, 0.18);
  padding: 28px 22px;
  border: 1px solid #363B3F;
}
.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: #F7E3B5;
  color: #1C1E22;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(40, 45, 55, .12);
  border-left: 5px solid #00523F;
  min-width: 250px;
  max-width: 720px;
}
.testimonial-card p {
  color: #232629;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: #B33817;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------- HEADER & NAVIGATION ------------- */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  width: 100%;
  background: #22262B;
  box-shadow: 0 3px 16px 0 rgba(18,16,11,.15);
  padding: 18px 0 12px 0;
  z-index: 92;
}
header a img {
  height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  color: #F4F3EE;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 8px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #2E3831;
  color: #F7E3B5;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #F7E3B5;
  font-size: 2rem;
  padding: 6px 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.19s;
  display: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #363636;
}

/* ------------- RESPONSIVE NAVIGATION ------------- */
@media (max-width: 1000px) {
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 830px) {
  header a img {
    height: 40px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,38,43,.96);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.2,.2,1);
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F7E3B5;
  font-size: 2.1rem;
  padding: 24px 18px 6px 15px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 12;
  border-radius: 5px;
}
.mobile-menu-close:hover {
  background: #363636;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 12px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  color: #F7E3B5;
  font-size: 1.3rem;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 7px;
  transition: background 0.19s, color 0.19s;
  width: 90%;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 auto;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #2E3831;
  color: #D94F2A;
}

@media (min-width: 831px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ------------- BUTTONS ------------- */
.cta-btn,
.button-grid a {
  display: inline-block;
  padding: 12px 30px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: bold;
  background: #B33817;
  color: #FFF;
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(120,80,30,.09);
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  margin-top: 10px;
  margin-right: 14px;
  transition: background 0.2s, transform 0.2s, color 0.18s;
}
.cta-btn:hover, .cta-btn:focus,
.button-grid a:hover, .button-grid a:focus {
  background: #D94F2A;
  color: #F7E3B5;
  transform: translateY(-2px) scale(1.025);
}
.button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 22px 0;
}
.button-grid a {
  min-width: 200px;
  text-align: center;
}

/* ------------- FORMS & INPUTS ------------- */
label {
  font-weight: 500;
  color: #F7E3B5;
  margin-bottom: 5px;
  display: block;
}
input[type=email],
input[type=text],
input[type=search],
textarea {
  padding: 10px 17px;
  border: 1px solid #424242;
  border-radius: 6px;
  background: #21262C;
  color: #fff;
  font-size: 1rem;
  margin-right: 11px;
  transition: border-color 0.19s;
  outline: none;
  margin-bottom: 15px;
}
input:focus, textarea:focus {
  border-color: #F7E3B5;
}

/* ------------- FEATURES & CARDS ------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 15px;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: #21262C;
  padding: 28px 22px;
  border-radius: 12px;
  flex: 1 1 240px;
  max-width: 350px;
  box-shadow: 0 3px 14px rgba(10,15,20,0.09);
  border: 1px solid #44484C;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  gap: 14px;
  transition: box-shadow 0.2s, border-color 0.18s, transform 0.19s;
}
.feature-grid > div:hover {
  box-shadow: 0 9px 34px rgba(40,45,55,.18);
  border-color: #B33817;
  transform: translateY(-3px) scale(1.018);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  filter: grayscale(0.7) brightness(0.95); /* industrial-metallic accent */
  margin-bottom: 9px;
}
.card {
  box-shadow: 0 3px 16px rgba(0,0,0,.11);
  padding: 28px 17px;
  background: #1C1E22;
  border-radius: 12px;
  border: 1.5px solid #363B3F;
  color: #eee;
}


/* FAQ List on Kontakt */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.faq-list > div {
  background: #22262B;
  border-radius: 9px;
  padding: 24px 16px;
  min-width: 230px;
  flex: 1 1 230px;
  box-shadow: 0 2px 10px rgba(20,18,15,0.07);
  border-left: 5px solid #D94F2A;
}
.faq-list h3 {
  color: #F7E3B5;
  margin-bottom: 7px;
  font-size: 1.14rem;
}


/* Thank You Actions */
.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

/* Kontakt Info */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #F4F3EE;
  background: none;
  font-size: 1.02rem;
}
.contact-info img {
  width: 21px;
  height: 21px;
  opacity: 0.80;
  filter: grayscale(.8) brightness(1.1);
}

/* ------------- FOOTER ------------- */
footer {
  width: 100%;
  background: #232629;
  border-top: 2.5px solid #2A2D2F;
  padding: 28px 0 12px 0;
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 6px;
}
footer nav a {
  color: #F7E3B5;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 4px 7px;
  border-radius: 4px;
}
footer nav a:hover, footer nav a:focus {
  color: #D94F2A;
  background: #181B1F;
}
.contact-footer {
  text-align: center;
  color: #B6B8B9;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

/* ------------- RESPONSIVE DESIGN ------------- */
@media (max-width: 900px) {
  .feature-grid { gap: 18px; }
  .container { max-width: 98vw; }
  .card { max-width: 86vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .section {
    padding: 27px 8px;
    margin-bottom: 38px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 17px;
  }
  .faq-list {
    flex-direction: column;
    gap: 14px;
  }
  .thank-you-actions {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px !important;
    margin-bottom: 13px;
    min-width: 0;
    max-width: 100vw;
  }
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 13px 4px;
  }
}
@media (max-width: 540px) {
  .card { padding: 12px 6px; }
}

/* ------------- COOKIE CONSENT BANNER ------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 9010;
  background: #232629;
  color: #F7E3B5;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  box-shadow: 0 -2px 18px #21252928;
  border-top: 4px solid #D94F2A;
  font-size: 1rem;
  transition: transform .4s cubic-bezier(.7,.2,.2,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  background: #B33817;
  color: #fff;
  border: none;
  padding: 11px 20px;
  font-size: 1rem;
  border-radius: 6px;
  margin-left: 10px;
  cursor: pointer;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.20s, color 0.18s, transform 0.15s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #D94F2A;
  color: #F7E3B5;
  transform: scale(1.035);
}
.cookie-banner .cookie-settings-btn {
  background: #00523F;
  color: #F7E3B5;
  border: none;
  margin-left: 8px;
}
@media (max-width: 760px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    padding: 18px 5px;
    font-size: 0.95rem;
  }
}

/* ----------- COOKIE MODAL ------------- */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 9999;
  background: #22252A;
  color: #F7E3B5;
  border-radius: 21px 21px 0 0;
  width: min(98vw, 420px);
  min-width: 220px;
  box-shadow: 0 0 60px rgba(10,10,8,0.32);
  padding: 35px 22px 26px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.23s cubic-bezier(.7,.2,.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-modal h3 {
  color: #F7E3B5;
  font-size: 1.15rem;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal .cookie-category input[type=checkbox]:disabled {
  opacity: 0.6;
}
.cookie-modal label {
  color: #F7E3B5;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  padding: 10px 18px;
  font-size: 0.99rem;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 20px 6px 13px 6px; }
}

/* ------ Animations ------ */
.mobile-menu,
.cookie-banner,
.cookie-modal {
  will-change: opacity, transform;
}

/* --------- MICRO-INTERACTIONS --------- */
.card, .feature-grid > div, .testimonial-card, .faq-list > div {
  transition: box-shadow 0.2s, border-color 0.16s, transform 0.16s;
}
.card:hover,
.faq-list > div:hover {
  box-shadow: 0 8px 26px rgba(45,51,58,.16);
  border-color: #00523F;
  transform: translateY(-2px) scale(1.011);
}

/* ------------- MISCELLANEOUS ------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #232629;
}
::-webkit-scrollbar-thumb {
  background: #373B3F;
  border-radius: 6px;
}

hr {
  border: 0;
  border-top: 1.2px solid #363B3F;
  margin: 40px 0 30px 0;
}

/* ------------- INDUSTRIAL FEEL ADJUSTMENTS ------------- */
body, .container, .content-wrapper {
  background: #181B1F;
}
h1, h2, h3 {
  letter-spacing: 0.01em;
}
.card, .feature-grid > div, .faq-list > div {
  border-radius: 12px;
  border: 1.5px solid #43484C;
  box-shadow: 0 2px 12px rgba(44, 46, 48, 0.12);
}

/* Add subtle metallic accent with borders */
.feature-grid > div, .testimonial-card, .faq-list > div {
  border-left: 5px solid #B33817;
}

/* Remove border for testimonial cards with custom left bar */
.testimonial-card {
  border-left: 5px solid #00523F;
}

/* ------------- COLOR OVERRIDES FOR DARK MODE ------------- */
input, textarea {
  background: #22262B;
  color: #F4F3EE;
  border-color: #2A2E30;
}
input[type=email]:focus, input[type=text]:focus, textarea:focus {
  border-color: #D94F2A;
}

/* ------------- PRINT FRIENDLY ------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 0; margin-bottom: 32px; }
}

/* ------------- ACCENTUATE LINKS AND BULLETS ------------- */
ul li::marker, ol li::marker {
  color: #D94F2A;
}

/* ------------- REMOVE OUTLINE-BLOCKER ------------- */
:focus {
  outline: 2px solid #D94F2A;
  outline-offset: 2px;
}

/* ------------- ACCESSIBILITY CONTRAST ENFORCEMENT ------------- */
.testimonial-card {
  background: #F7E3B5 !important;
  color: #1C1E22 !important;
}
.testimonial-card p,
.testimonial-card strong {
  color: #232629;
}

/* END Mirage Quest Rezepte Industrial Modern Theme */
