/* === 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #EFE6DD;
  color: #143642;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #EB5E28;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #d64a13;
  text-decoration: underline;
}
ul, ol {
  list-style: inside disc;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ===== BRAND COLOR VARIABLES (fallbacks for older browsers) ===== */
:root {
  --primary: #143642;
  --secondary: #EB5E28;
  --accent: #EFE6DD;
  --neutral: #FFFFFF;
  --neutral-dark: #232323;
  --neutral-light: #F8F4EE;
  --shadow: 0 4px 24px rgba(20, 54, 66, 0.08);
  --shadow-card: 0 2px 12px rgba(20,54,66,0.07);
  --radius: 18px;
}

/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #143642;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  color: #374651;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

.hero-subtext {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #EB5E28;
  letter-spacing: 0.2px;
}
.hero-desc {
  font-size: 1rem;
  margin-bottom: 24px;
  color: #143642;
}

@media (min-width: 768px) {
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.5rem; }
  .hero-desc { font-size: 1.1rem; }
}

/* ====== CONTAINER, SECTIONS, LAYOUT ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > div {
  background: var(--accent);
  border-radius: var(--radius);
  flex: 1 1 250px;
  min-width: 230px;
  padding: 28px 22px 22px 22px;
  box-shadow: var(--shadow-card);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 8px 32px rgba(235,94,40,0.14);
  transform: translateY(-4px) scale(1.015);
}
.features-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  background: var(--neutral);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(235,94,40,0.11);
  padding: 7px;
  display: inline-block;
}

ul {
  margin-bottom: 18px;
}
ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}
ul li span {
  color: #EB5E28;
  font-weight: 600;
  font-size: 0.97em;
}

@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 24px 5px;
    margin-bottom: 36px;
  }
  .features-grid {
    gap: 18px;
  }
}

/* ================= CARDS, TESTIMONIALS, FLEX LAYOUTS ================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(20,54,66,0.14);
  transform: translateY(-6px) scale(1.012);
}
.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) {
  .content-grid {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF9F4;
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(235,94,40,0.10);
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.16s, transform 0.16s;
}
.testimonial-card p {
  color: #2F2C28;
  flex: 2;
}
.testimonial-card > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 120px;
  align-items: flex-end;
}
.testimonial-card span {
  color: #EB5E28;
  font-size: 1.15em;
  font-weight: 700;
}

.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 38px rgba(20,54,66,0.15);
  transform: translateY(-3px) scale(1.01);
}

/* Ensuring spacing between cards */
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 24px;
}

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

.text-section {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 10px;
  margin-bottom: 18px;
}

/* ======================== HEADER & NAVIGATION ======================== */
header {
  background: var(--neutral);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding-bottom: 8px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
}
header img[alt="FuturistWave Küche"] {
  height: 48px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  border-radius: 8px;
  padding: 7px 10px;
  transition: background 0.15s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #EB5E28;
  color: #fff;
}
.cta-btn {
  background-color: #EB5E28;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 40px;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px rgba(235,94,40,0.09);
  border: none;
  outline: none;
  display: inline-block;
  margin-left: 11px;
  letter-spacing: 0.5px;
  transition: background 0.13s, color 0.17s, box-shadow 0.18s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #143642;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(20,54,66,0.14);
}

@media (max-width: 950px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px 0;
    min-height: 50px;
  }
  header nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  .cta-btn {
    margin-left: 0;
  }
}

/* ======= MOBILE MENU ======= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 29px;
  background: #EB5E28;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 8002;
  box-shadow: 0 2px 8px rgba(20,54,66,0.11);
  transition: background 0.14s;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #143642;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9000;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.61,0.17,0.45,0.98);
  box-shadow: 0 6px 32px rgba(20,54,66,0.18);
  padding: 20px 28px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.42,0.15,0.2,1);
}
.mobile-menu-close {
  position: absolute;
  right: 21px;
  top: 26px;
  background: #EB5E28;
  color: #fff;
  font-size: 1.78rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 9400;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #143642;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 85px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #143642;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.1s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #EB5E28;
  color: #fff;
}

@media (max-width: 860px) {
  header nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 861px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Overlay background fade for mobile menu (no grid) */
.mobile-menu::before {
  content: '';
  display: block;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 54, 66, 0.12);
  left: 0; top: 0;
  z-index: 9001;
  pointer-events: none;
}


/* ====================== FOOTER ====================== */
footer {
  background: var(--accent);
  padding: 38px 0 22px 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 7px;
}
footer nav a {
  color: #143642;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background 0.16s, color 0.15s;
}
footer nav a:hover {
  background: #EB5E28;
  color: #fff;
}
.footer-contact,
.footer-legal,
.footer-social {
  margin-bottom: 8px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #3C3733;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  border-radius: 4px;
  background: #fff;
  padding: 2.5px;
  box-shadow: 0 1px 5px rgba(20,54,66,0.09);
}
.footer-legal {
  font-size: 0.97rem;
  color: #888;
  margin-bottom: 12px;
}
.footer-legal a {
  color: #EB5E28;
  font-weight: 600;
}
.footer-legal a:hover {
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(20,54,66,0.10);
  width: 36px;
  height: 36px;
  transition: box-shadow 0.13s, background 0.13s;
}
.footer-social a:hover {
  background: #EB5E28;
  box-shadow: 0 6px 14px rgba(235,94,40,0.12);
}
.footer-social img {
  width: 21px;
  height: 21px;
}
footer p {
  margin-top: 6px;
  font-size: 0.97rem;
  color: #666;
}

/* ===================== COOKIE CONSENT BANNER & MODAL ===================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF4EC;
  color: #143642;
  box-shadow: 0 -4px 32px rgba(20,54,66,0.10), 0 1px 3px rgba(20,54,66,0.04);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  z-index: 9999;
  padding: 18px 18px 19px 18px;
  font-size: 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  animation: cookie-banner-appear 0.55s cubic-bezier(.45,.01,.25,1.01);
}
@keyframes cookie-banner-appear {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0 0 0 0;
  flex: 4 1 65%;
  color: #143642;
  font-size: 1rem;
  line-height: 1.6;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: #EB5E28;
  color: #fff;
  padding: 10px 17px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background 0.17s, color 0.13s, box-shadow 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #143642;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #EB5E28;
  border: 2px solid #EB5E28;
  box-shadow: none;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #EB5E28;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
    gap: 14px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .cookie-btn { width: 100%; }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(20,54,66,0.27);
  box-shadow: 0 4px 32px rgba(20,54,66,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.3s cubic-bezier(.42,.44,.44,1.01);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF4EC;
  border-radius: var(--radius);
  max-width: 410px;
  width: 96vw;
  padding: 32px 28px 25px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: 0 4px 36px rgba(20,54,66,0.19);
  animation: cookie-modal-popin 0.36s cubic-bezier(.53,.11,.54,1.01);
}
@keyframes cookie-modal-popin {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 12px;
  background: none;
  font-size: 2rem;
  color: #EB5E28;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.11s;
}
.cookie-modal-close:active, .cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EB5E28;
  color: #FFF4EC;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: #143642;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 10px 0;
}
.cookie-category .cat-label {
  font-size: 1.07em;
  color: #333;
  font-weight: 500;
}
.cat-toggle {
  margin-left: auto;
  background: #EFE6DD;
  border-radius: 18px;
  border: 1px solid #D2C7BC;
  width: 46px; height: 27px;
  position: relative;
  cursor: pointer;
}
.cat-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cat-toggle .slider {
  position: absolute;
  top: 3px; left: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #D4CFC7;
  transition: 0.24s;
}
.cat-toggle input:checked + .slider {
  background: #EB5E28;
  left: 21px;
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  color: #6a5e54;
}
.cookie-modal .cookie-category[aria-disabled="true"] .cat-toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .cookie-category[aria-disabled="true"] .cat-label::after {
  content: ' (immer aktiv)';
  color: #EB5E28;
  font-size: 0.88em;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-actions .cookie-btn { min-width: 110px; font-size: 1em; }
@media (max-width: 500px) {
  .cookie-modal { padding: 17px 6vw; }
  .cookie-modal-actions { flex-direction: column; gap:10px; }
}

/* ======= FORM ELEMENTS (for future forms on Kontakt) ======= */
input, textarea, select {
  background: #fff;
  border: 2px solid #D6D1CA;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 1rem;
  color: #143642;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.15s, box-shadow 0.15s;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border:2px solid #EB5E28;
  box-shadow: 0 2px 8px rgba(235,94,40,0.11);
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #143642;
  font-size: 1.04rem;
}

/* ================== MICRO-INTERACTIONS & MISC STYLES ================== */
::selection { background: #F1BFA1; color: #143642; }
::-webkit-scrollbar {
  width: 11px;
  background: #EFE6DD;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #E2DCD5;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EB5E28;
}

/* =============== UTILITY AND SPACING CLASSES for FLEX LAYOUTS =============== */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.m-auto { margin-left:auto !important; margin-right:auto !important; }
.text-center { text-align: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* ================== END ================== */
