/* ===================
   CSS RESET & BASE
=================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #F1ECE7;
  color: #374146;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.3em;
}
a {
  color: #D67B31;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #374146;
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #374146;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

p, ul, ol {
  font-size: 1rem;
  color: #4B565D;
  margin-bottom: 12px;
}
strong { color: #374146; }
.tagline {
  color: #D67B31;
  font-weight: 600;
  font-size: 1.1rem;
}

/* =========================
   LAYOUT & CONTAINERS
========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(214, 123, 49, 0.08);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* =============================
   HEADER & NAVIGATION
============================= */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(214, 123, 49, 0.08);
  border-bottom: 1.5px solid #F1ECE7;
  position: sticky;
  top: 0;
  z-index: 90;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 72px;
}
header img[alt="Gleam Sponge Küche"] {
  height: 47px;
  margin-right: 16px;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 10px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  border-radius: 7px;
  color: #374146;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFECE1;
  color: #D67B31;
  text-decoration: none;
}

.cta.primary {
  background: #D67B31;
  color: #fff;
  padding: 11px 30px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(214, 123, 49, 0.14);
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.24s;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #374146;
  box-shadow: 0 4px 16px rgba(55, 65, 70, 0.18);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #D67B31;
  cursor: pointer;
  margin-left: 18px;
  z-index: 130;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}

/* =====================================
   MOBILE MENU (SLIDE-IN & OVERLAY)
===================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 32px rgba(55,65,70,0.15);
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.8,.1,.1,1), box-shadow 0.2s;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px 24px 18px 24px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 32px rgba(55,65,70,0.18);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #D67B31;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 12px;
  transition: color 0.18s;
  z-index: 121;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #374146;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #374146;
  font-size: 1.16rem;
  padding: 12px 10px;
  border-radius: 9px;
  background: none;
  box-shadow: none;
  transition: background 0.16s, color 0.17s;
  outline: none;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFECE1;
  color: #D67B31;
  text-decoration: none;
}

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

/* ===============
   HERO SECTION
================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 8px;
}

@media (max-width: 540px) {
  .text-section {
    gap: 10px;
    margin-bottom: 10px;
  }
}

/* =====================================
   FLEX LAYOUT UTILITIES (MANDATORY)
===================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature-grid > div {
  background: #fff9f4;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 310px;
  padding: 26px 18px 18px 18px;
  border-radius: 17px;
  box-shadow: 0 2px 10px rgba(214,123,49,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
  transition: box-shadow 0.20s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(214,123,49,0.17);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-list > div {
  background: #fff;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 325px;
  padding: 24px 18px;
  border-radius: 17px;
  box-shadow: 0 2px 10px rgba(214,123,49,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.17s;
}
.service-list > div:hover {
  box-shadow: 0 8px 34px rgba(55,65,70,0.12);
  transform: translateY(-3px) scale(1.012);
}

/* For testimonial cards in / */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px 18px 22px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 7px 28px rgba(214,123,49,0.10);
  margin: 0 0 20px 0;
  min-width: 210px;
  max-width: 500px;
  width: 100%;
  transition: box-shadow 0.22s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 14px 44px rgba(214,123,49,0.15);
  transform: scale(1.016);
}
.testimonial-card p {
  color: #374146;
  font-size: 1.07rem;
  margin-bottom: 0;
}
.testimonial-author {
  color: #D67B31;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
}

.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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff9f4;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(214,123,49,0.07);
  padding: 18px 16px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(214,123,49,0.14);
  transform: translateY(-1px) scale(1.012);
}

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

@media (max-width: 940px) {
  .feature-grid, .service-list, .card-container, .content-grid {
    gap: 16px;
  }
  .feature-grid > div, .service-list > div {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ==================
   BUTTONS & CTA's
================== */
.cta {
  display: inline-block;
  background: #D67B31;
  color: #fff;
  padding: 11px 29px;
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  text-align: center;
  margin-top: 10px;
  box-shadow: 0 2px 14px rgba(214, 123, 49, 0.14);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.19s;
}
.cta:hover, .cta:focus {
  background: #374146;
  color: #fff9f4;
  box-shadow: 0 8px 30px rgba(55,65,70,0.17);
}

button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 10px;
}

/* INFO & PRIVACY BOXES */
.info-box {
  background: #FFECE1;
  color: #374146;
  border-radius: 10px;
  margin: 16px 0 6px 0;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(214,123,49,0.07);
  font-size: 1rem;
}
.info-box.privacy-note {
  font-size: 0.92rem;
  background: #fff5eb;
  color: #7B6A54;
}

/* ==========
   FOOTER
============ */
footer {
  background: #fff;
  border-top: 2px solid #F1ECE7;
  margin-top: 55px;
  padding: 25px 0 10px 0;
  box-shadow: 0 -4px 14px rgba(214,123,49,0.03);
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #D67B31;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #374146;
  text-decoration: underline;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.98rem;
  color: #7B6A54;
}
.contact-details a {
  color: #D67B31;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 6px;
  }
  .contact-details {
    flex-direction: column;
    gap: 6px;
  }
}

/* =============
   COOKIE BANNER
============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #fff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -2px 22px rgba(55,65,70,0.12);
  width: 100vw;
  max-width: 100vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 18px 15px 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.25s, transform 0.32s cubic-bezier(.8,.1,.1,1);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-message {
  flex: 2 1 180px;
  color: #374146;
  font-size: 1rem;
  margin-right: 16px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 17px;
  padding: 11px 20px;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.19s, color 0.15s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: #D67B31;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #374146;
}
.cookie-btn.reject {
  background: #FFECE1;
  color: #D67B31;
  border: 1.5px solid #D67B31;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #D67B31;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff9f4;
  color: #374146;
  border: 1.5px solid #D67B31;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFECE1;
  color: #D67B31;
}

@media (max-width: 550px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 19px 10px 11px 10px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(55,65,70,0.15);
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  padding: 28px 24px 18px 24px;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(214,123,49,0.19);
  min-width: 290px;
  max-width: 97vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cookie-modal-header h2 {
  font-size: 1.25rem;
  color: #D67B31;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #D67B31;
  cursor: pointer;
  border-radius: 50%;
  padding: 0 6px;
  transition: color 0.19s, background 0.13s;
}
.cookie-modal-close:hover {
  color: #374146; background: #FFECE1;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #D67B31;
}
.cookie-category label {
  font-size: 1rem;
  color: #374146;
}
.cookie-category .always-on {
  color: #7B6A54;
  font-size: 0.93rem;
  margin-left: 3px;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 7px;
  justify-content: flex-end;
}
@media (max-width: 540px) {
  .cookie-modal-dialog {
    min-width: 95vw;
    padding: 16px 7px 9px 7px;
  }
  .cookie-modal-header h2 {
    font-size: 1.1rem;
  }
}

/* ============
   MISC UTILITIES
============ */
::selection {
  background: #FFD9BB;
  color: #374146;
}
::-webkit-input-placeholder { color: #B2865C; opacity: 1; }
::-moz-placeholder { color: #B2865C; opacity:1; }
:-ms-input-placeholder { color: #B2865C; }
::placeholder { color: #B2865C; opacity: 1; }

/* ===================
   ACCESSIBLE FOCUS
=================== */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #D67B31;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #ffd9bb7a;
  border-radius: 5px;
}

/* ==============
   FORMS (kontakt)
=============== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #374146;
  background: #fff9f4;
  border-radius: 8px;
  border: 1.5px solid #FFECE1;
  padding: 13px 14px;
  margin-bottom: 15px;
  transition: border 0.15s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #D67B31;
  box-shadow: 0 1px 4px #ffd9bb75;
}

/* ===================
   PRINT STYLES (hide nav)
=================== */
@media print {
  nav, .footer-nav, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  header, footer { box-shadow: none !important; border: none !important; }
  .container { max-width: 100vw !important; }
}

/* END CSS */
