/* ======================
   Radiance Step Café & Bäckerei CSS
   Minimalist, Brand, Responsive, Flex Only
   ======================= */

/* RESET & BASE ======================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #687052;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #A68863;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, .cta {
  outline: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  background: none;
}

/* FONTS =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: #222;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.12;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.18;
}
.subheadline {
  font-size: 1.1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #687052;
  margin-bottom: 28px;
}

/* CONTAINER & LAYOUT ================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  align-items: flex-start;
}

/* FLEX UTILITY CLASSES =========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(102,112,86,0.04);
  padding: 24px 20px;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(102,112,86,0.11);
}
.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: #F7F4ED;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(166,136,99,.08);
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #222;
}
.testimonial-card img {
  width: 30px;
  height: 30px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #687052;
  margin-left: auto;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVIGATION ============================= */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #687052;
  position: relative;
  padding: 3px 8px;
  transition: color 0.17s;
}
.main-nav a.cta {
  background: #687052;
  color: #fff;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(104,112,82,.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #A68863;
  color: #fff;
  box-shadow: 0 3px 18px rgba(166,136,99,.13);
}
.main-nav a:hover:not(.cta), .main-nav a:focus:not(.cta) {
  color: #A68863;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #687052;
  border: none;
  outline: none;
  margin-left: 20px;
  cursor: pointer;
}

/* MOBILE NAVIGATION ======================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(104, 112, 82, 0.95);
  z-index: 2500;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,.3,0,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  padding: 18px 25px 0 18px;
  align-self: flex-end;
  cursor: pointer;
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 60px;
  align-items: flex-start;
  padding-left: 35px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
  min-width: 100px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A68863;
  color: #fff;
}
.mobile-nav a.cta {
  background: #fff;
  color: #687052;
  padding: 12px 24px;
  border-radius: 24px;
  margin-top: 16px;
  font-size: 1.09rem;
  font-weight: 700;
}
.mobile-nav a.cta:hover {
  background: #A68863;
  color: #fff;
}

/* SECTIONS & COMPONENTS ============================ */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 24px 0;
  width: 100%;
}
.feature-grid > div {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(104,112,82,0.04);
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 230px;
  max-width: 320px;
  transition: box-shadow 0.24s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 18px rgba(104,112,82,.10);
}
.feature-grid img {
  width: 36px;
  height: 36px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #687052;
}
.feature-grid p, .feature-grid h3 {
  font-family: 'Open Sans', Arial, sans-serif;
}
ul li, ol li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  color: #393939;
  margin-bottom: 10px;
  line-height: 1.6;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #A68863;
  opacity: 0.17;
}
ul li strong {
  color: #687052;
}

.cta {
  display: inline-block;
  background: #A68863;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 24px;
  padding: 12px 34px;
  margin-top: 16px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(166,136,99, 0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.23s, transform 0.17s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #687052;
  color: #fff;
  box-shadow: 0 6px 20px rgba(104,112,82, 0.18);
  transform: translateY(-2px) scale(1.015);
}

/* FOOTER =========================== */
footer {
  background: #fff;
  border-top: 1px solid #ececec;
  padding-top: 36px;
  padding-bottom: 20px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
nav.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 9px;
  align-items: center;
}
.footer-nav a {
  color: #687052;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #A68863;
  color: #fff;
}
.brand-contact {
  color: #617052;
  font-size: 0.96rem;
  text-align: center;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* COOKIE CONSENT BANNER & MODAL ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 18px 30px;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(104,112,82,0.14);
  z-index: 3099;
  gap: 20px;
  font-size: 1rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  transition: transform 0.29s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  color: #222;
  flex: 1;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: #A68863;
  color: #fff;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1.5px 8px rgba(166,136,99, 0.08);
  transition: background 0.13s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #687052;
  color: #fff;
}
.cookie-btn.secondary {
  background: #fff;
  color: #A68863;
  border: 2px solid #A68863;
  box-shadow: none;
}
.cookie-btn.secondary:hover {
  background: #A68863;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40,44,33, 0.32);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(104,112,82,0.13);
  max-width: 430px;
  min-width: 260px;
  width: 92vw;
  padding: 35px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-popup-in 0.41s cubic-bezier(.51,.01,.46,1.04);
}
@keyframes cookie-popup-in {
  0% { opacity: 0; transform: scale(.94) translateY(55px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: #687052;
  font-size: 1.23rem;
  margin-bottom: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.03rem;
  color: #222;
  padding: 8px 0;
}
.cookie-cat label {
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F7F4ED;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  box-shadow: 0 1.5px 6px rgba(104,112,82,0.10);
}
.cookie-toggle:checked {
  background: #A68863;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
  box-shadow: 0 1px 6px rgba(104,112,82,0.12);
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-toggle[disabled], .cookie-toggle[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .cookie-btn-group {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  color: #A68863;
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
  z-index: 12;
}

/* RESPONSIVE & MOBILE STYLES ============= */
@media (max-width: 991px) {
  .container {
    max-width: 92vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .feature-grid > div {
    min-width: 140px;
    flex: 1 1 160px;
    padding: 18px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.12rem;
    margin-bottom: 12px;
  }
  .content-wrapper, .text-section {
    gap: 18px;
    padding-left: 1px;
    padding-right: 1px;
  }
  section {
    padding: 24px 0px;
    margin-bottom: 38px;
    gap: 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.9rem;
  }
}
@media (max-width: 620px) {
  .brand-contact, .footer-nav, .container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 3px;
  }
  .feature-grid > div {
    max-width: 100%;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 18px 11px 18px 12px;
  }
  .cookie-actions {
    gap: 10px;
    width: 100%;
  }
  .cookie-modal {
    padding: 19px 12px 14px 12px;
    max-width: 97vw;
  }
}
@media (max-width: 530px) {
  header .container {
    height: 52px;
  }
  .logo img {
    height: 29px;
  }
}
@media (max-width: 460px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.98rem;
  }
  .testimonial-card img {
    width: 24px;
    height: 24px;
  }
}

/* MISC - TRANSITIONS & EFFECTS ============= */
a, button, .cta, .cookie-btn {
  transition: color 0.15s, background 0.14s, box-shadow 0.16s, transform 0.12s;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1px solid #e6e4d8;
  border-radius: 6px;
  background: #faf9f7;
  color: #222;
  margin-bottom: 12px;
  width: 100%;
  outline: none;
  transition: border 0.12s;
}
input:focus, textarea:focus, select:focus {
  border: 1px solid #A68863;
}

::-webkit-input-placeholder { color: #b6af9f; opacity: 1; }
::placeholder { color: #b6af9f; opacity: 1; }

/* Hide scroll for mobile menu */
.mobile-menu.open {
  overflow-y: auto;
}

/* Hide cookie modal on close */
.cookie-modal-overlay:not(.active) {
  display: none !important;
}

/* Misc helpers */
.hide { display: none !important; }
.show { display: block !important; }

/* END */
