/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, 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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F9FA;
  color: #264653;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E9C46A;
}
ul, ol {
  padding-left: 22px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #264653;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  color: #264653;
  background: #F8F9FA;
  border-left: 4px solid #E9C46A;
  padding: 12px 18px;
  margin-bottom: 8px;
}
footer {
  background: #264653;
  color: #fff;
  padding-top: 32px;
  padding-bottom: 16px;
}

/* --- FONT IMPORT (GOOGLE) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');

/* --- FLEXBOX CONTAINERS & GRID-LIKE STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(102deg, #F8F9FA 80%, #E9C46A 100%);
  border-radius: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.06);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(38,70,83,0.14);
  transform: translateY(-4px) scale(1.02);
}
.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: #264653;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.07);
  margin-bottom: 20px;
  font-size: 1.1em;
  margin-top: 20px;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 4px solid #E9C46A;
  margin: 0 0 6px 0;
  padding: 0 0 0 18px;
  color: #264653;
}
.testimonial-card footer {
  color: #E9C46A;
  font-style: normal;
  font-size: 0.98em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NAVIGATION --- */
header {
  background: linear-gradient(92deg, #264653 80%, #E9C46A 130%);
  padding-bottom: 0;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px rgba(38,70,83,0.04);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 14px 0;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E9C46A;
  color: #264653;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  background: #fff;
  border-radius: 12px;
  padding: 3px 5px;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: #E9C46A;
  color: #264653;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin: 6px 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 502;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #264653;
  color: #E9C46A;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,70,83,0.96);
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: flex-start;
  transition: transform 0.38s cubic-bezier(.68,-0.35,.46,1.35);
  z-index: 500;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: #E9C46A;
  color: #264653;
  border: none;
  border-radius: 12px;
  font-size: 2.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  position: absolute;
  top: 16px;
  right: 24px;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 2px 12px rgba(38,70,83,0.03);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #264653;
  color: #E9C46A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 80px;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 11px 20px 11px 0;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9C46A;
  color: #264653;
}

/* Show/hide nav on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none!important;
  }
}

/* --- CTA BUTTONS --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 24px;
  padding: 13px 30px;
  min-width: 150px;
  box-shadow: 0 2px 9px rgba(38,70,83,0.09);
  border: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.24s, color 0.24s, box-shadow 0.24s, transform 0.2s;
}
.cta.primary {
  background: #264653;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #E9C46A;
  color: #264653;
  box-shadow: 0 8px 25px 0 rgba(233,196,106,0.18);
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  background: #E9C46A;
  color: #264653;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #264653;
  color: #E9C46A;
  box-shadow: 0 8px 25px 0 rgba(38,70,83,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* --- LISTS & ICONS --- */
ul li, ol li {
  margin-bottom: 13px;
  font-size: 1rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img, ol li img {
  height: 26px;
  width: auto;
  margin-right: 7px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #E9C46A;
  padding: 2px;
}

/* --- FOOTER --- */
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 10px;
  transition: background 0.22s, color 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E9C46A;
  color: #264653;
}
.footer-contact {
  margin-top:22px;
  font-size: 0.98em;
  color: #f8f9fa;
  line-height: 1.5;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  margin-right: 6px;
  vertical-align: middle;
  background: #fff;
  border-radius: 6px;
  padding: 2px 3px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 34px;
  justify-content: space-between;
  padding-bottom: 10px;
}
footer img[alt="KüchenGenie"] {
  width: 49px;
  height: auto;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 18px;
  padding: 3px 8px;
}

/* --- SPACING, SECTIONS, AND BREATHING ROOM --- */
main > section {
  margin-bottom: 60px;
}
main > section:last-child {
  margin-bottom: 0;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    display: none !important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fff;
  color: #264653;
  border-top: 3px solid #E9C46A;
  box-shadow: 0 -2px 22px rgba(38,70,83,0.10);
  padding: 22px 18px 17px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: slideUpCookieBanner 0.7s cubic-bezier(.4,.72,.1,1);
}
@keyframes slideUpCookieBanner {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  padding: 10px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept-all {
  background: #264653;
  color: #fff;
}
.cookie-banner .accept-all:hover,
.cookie-banner .accept-all:focus {
  background: #E9C46A;
  color: #264653;
}
.cookie-banner .reject-all {
  background: #E9C46A;
  color: #264653;
}
.cookie-banner .reject-all:hover,
.cookie-banner .reject-all:focus {
  background: #264653;
  color: #E9C46A;
}
.cookie-banner .settings-btn {
  background: #fff;
  border: 2px solid #E9C46A;
  color: #264653;
}
.cookie-banner .settings-btn:hover,
.cookie-banner .settings-btn:focus {
  background: #264653;
  color: #fff;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1250;
  left: 0; top:0; right:0; bottom:0;
  background: rgba(38,70,83,0.89);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.35s cubic-bezier(.44,.97,.4,1.1);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #264653;
  border-radius: 22px;
  box-shadow: 0 4px 38px rgba(38,70,83,0.19);
  padding: 32px 24px;
  width: 95vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: scaleInCookieModal 0.32s cubic-bezier(.5,1.24,.71,1.3);
}
@keyframes scaleInCookieModal {
  from { transform: scale(0.92); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal h3 {
  color: #264653;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
  font-size: 1.23rem;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  justify-content: space-between;
}
.cookie-category label {
  font-size: 1rem;
  color: #264653;
  font-weight: 500;
  flex: 1;
}
.cookie-switch {
  /* custom switch style */
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E9C46A;
  border-radius: 26px;
  transition: background 0.24s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #264653;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}

.cookie-modal .close-modal-btn {
  position: absolute;
  right: 19px;
  top: 16px;
  background: #E9C46A;
  color: #264653;
  border: none;
  border-radius: 11px;
  padding: 3px 11px;
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  z-index: 10;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .close-modal-btn:hover,
.cookie-modal .close-modal-btn:focus {
  background: #264653;
  color: #E9C46A;
}

.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 15px;
  background: #E9C46A;
  color: #264653;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  font-weight: 700;
}
.cookie-modal .modal-actions button:hover,
.cookie-modal .modal-actions button:focus {
  background: #264653;
  color: #E9C46A;
}

/* --- TYPOGRAPHY & VISUAL HIERARCHY --- */
::-webkit-input-placeholder { color: #8A94A6; }
:-moz-placeholder { color: #8A94A6; opacity: 1; }
::-moz-placeholder { color: #8A94A6; opacity: 1; }
:-ms-input-placeholder { color: #8A94A6; }
::placeholder { color: #8A94A6; }

/* --- GLOBAL SHADOWS & RADIUS --- */
* {
  box-sizing: inherit;
}
:focus {
  outline: 2px solid #E9C46A;
  outline-offset: 2px;
}

/* --- ANIMATIONS FOR MICROINTERACTIONS --- */
.card, .testimonial-card, .cta, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: box-shadow 0.2s, transform 0.16s, background 0.18s, color 0.17s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(38,70,83,0.15);
  transform: translateY(-3px) scale(1.03);
}

/* --- SCROLLBAR --- */
body::-webkit-scrollbar {
  width: 10px;
  background: #E9C46A;
}
body::-webkit-scrollbar-thumb {
  background: #264653;
  border-radius: 8px;
}

/* --- MOBILE SPACING ADJUSTMENTS --- */
@media (max-width: 520px) {
  .section, main > section {
    padding-left: 6px;
    padding-right: 6px;
  }
  .cookie-modal {
    padding: 18px 5px 18px 8px;
    max-width: 99vw;
  }
  .testimonial-card {
    padding: 12px 7px;
    font-size: 0.99em;
  }
}

/* --- GRADIENT SPLASHES ON HEADINGS --- */
h1, h2 {
  background: linear-gradient(93deg, #264653 65%, #E9C46A 105%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #264653;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

/* --- MISC --- */
[hidden] { display: none !important; }

/* Accessibility: Ensure contrast for testimonial cards on all backgrounds */
@media (prefers-color-scheme: dark) {
  .testimonial-card, .card {
    background: #fff;
    color: #264653;
  }
}
