/* 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, 
main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: linear-gradient(135deg, #F7F6F2 0%, #E4B363 100%);
  color: #232323;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
html {
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E4B363;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #b88d3e;
}
ul {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: #232323;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
p, li, address, small {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
.subtitle {
  font-size: 1.25rem;
  color: #232323;
  opacity: 0.8;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* CONTAINER UTILITY */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

/* SPACING & SECTION STYLES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.65);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(109, 90, 31, 0.10);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.text-section {
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FLEX UTILITY CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,35,35, 0.07);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 32px 20px;
  flex: 1 1 250px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(228,179,99,0.20);
  transform: translateY(-2px) scale(1.019);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 30px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(35,35,35, 0.08);
  color: #232323;
  max-width: 430px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 26px rgba(228,179,99,0.21);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #E4B363 0%, #F7F6F2 100%);
  color: #232323;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 14px 32px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(228,179,99,0.14);
  margin: 8px 0;
  transition: background 0.3s, box-shadow 0.2s, color 0.2s, transform 0.2s;
  text-align: center;
}
.button-primary:hover, .button-primary:focus {
  background: #E4B363;
  color: #fff;
  box-shadow: 0 4px 20px rgba(228,179,99,0.20);
  transform: translateY(-2px) scale(1.025);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  background: #232323;
  color: #F7F6F2;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 32px;
  padding: 12px 28px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,35,35,0.12);
  margin: 8px 0;
  transition: background 0.2s, box-shadow 0.2s, color 0.18s, transform 0.2s;
  text-align: center;
}
.button-secondary:hover, .button-secondary:focus {
  background: #E4B363;
  color: #232323;
}

/* HEADER / NAVBAR */
header {
  width: 100%;
  background: linear-gradient(90deg, #F7F6F2 80%, #E4B363 100%);
  box-shadow: 0 2px 16px rgba(35,35,35, 0.05);
  padding: 0;
  position: relative;
  z-index: 101;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  justify-content: flex-start;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #232323;
  padding: 8px 16px;
  border-radius: 22px;
  transition: background 0.16s, color 0.18s;
}
header nav a.button-primary {
  margin-left: auto;
}
header nav a:hover, header nav a:focus {
  background: #E4B363;
  color: #fff;
}
header nav a img {
  width: 46px;
  height: auto;
  vertical-align: middle;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 102;
  background: #E4B363;
  color: #232323;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(228,179,99,0.13);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #232323;
  color: #F7F6F2;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 38px 24px 24px;
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.33,1,0.68,1);
  box-shadow: 10px 0 36px -24px #E4B363;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #E4B363;
  color: #232323;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 2px 8px rgba(228,179,99,0.13);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #232323;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 13px 0;
  color: #232323;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E4B363;
  color: #fff;
}

@media (max-width: 1050px) {
  header nav a:not(:first-child) {
    font-size: 0.97rem;
    padding: 8px 10px;
  }
}

@media (max-width: 900px) {
  header nav {
    gap: 14px;
    padding: 12px 0 16px;
  }
  .container {
    padding: 0 6px;
  }
}

@media (max-width: 800px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MAIN SECTION LAYOUTS */
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
}

@media (max-width:600px){
  main > section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}

/* CARD & FEATURE LISTS */
.content-wrapper ul,
.content-grid ul,
.text-section ul {
  list-style: none;
  gap: 20px;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  margin-bottom: 0;
}
.content-wrapper ul li,
.content-grid ul li,
.text-section ul li {
  background: rgba(228,179,99,0.07);
  border-radius: 13px;
  padding: 16px 18px;
  margin-bottom: 10px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  color: #232323;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.18s;
}
.content-wrapper ul li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.content-wrapper ul li strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E4B363;
  font-weight: 600;
}

/* HERO STYLES */
main > section:first-of-type {
  background: linear-gradient(135deg, #F7F6F2 0%, #E4B363 100%);
  box-shadow: 0 6px 48px rgba(228,179,99,0.08);
  border-radius: 0 0 36px 36px;
}
main > section:first-of-type h1 {
  color: #232323;
}
.button-primary, .button-secondary {
  margin-top: 12px;
}

/* CTA */
main section .button-primary {
  margin: 16px 0 0;
}

/* TESTIMONIALS */
.testimonial-card p {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #232323;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #E4B363;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 600;
}

/* FOOTER */
footer {
  width: 100%;
  background: #232323;
  color: #F7F6F2;
  padding: 48px 0 18px;
  margin-top: 54px;
}
footer nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
footer nav a {
  color: #E4B363;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background 0.18s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #E4B363;
  color: #232323;
}
footer address {
  font-size: 0.97rem;
  text-align: center;
  font-style: normal;
  margin-bottom: 6px;
}
footer small {
  display: block;
  text-align: center;
  font-size: 0.90rem;
  color: #b0a97f;
  margin-top: 10px;
}

/* RESPONSIVE FLEX + TEXT-IMAGE SECTIONS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 13px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3010;
  background: linear-gradient(90deg, #F7F6F2 85%, #E4B363 100%);
  box-shadow: 0 -4px 28px rgba(35,35,35,0.11);
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  transition: transform 0.37s cubic-bezier(0.33,1,0.68,1);
}
.cookie-banner p {
  color: #232323;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 0;
}
.cookie-banner .button-primary, .cookie-banner .button-secondary {
  margin: 0 5px 0 0;
  font-size: 1rem;
  padding: 9px 20px;
}
.cookie-banner .button-secondary {
  background: #F7F6F2;
  color: #232323;
  border: 1px solid #E4B363;
  font-weight: 600;
  transition: background 0.19s, color 0.13s;
}
.cookie-banner .button-secondary:hover, .cookie-banner .button-secondary:focus {
  background: #E4B363;
  color: #fff;
}
@media (max-width: 720px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 7px 13px;
    font-size: 1rem;
  }
}
.cookie-banner.hide {
  transform: translateY(120%);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 3100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,35,35, 0.41);
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  animation: fadein 0.27s ease;
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 34px 28px 22px;
  min-width: 312px;
  max-width: 97vw;
  max-height: 94vh;
  box-shadow: 0 4px 36px rgba(35,35,35, 0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: modalin 0.32s cubic-bezier(.17,.67,.83,.67);
}
@keyframes modalin {
  from { transform: scale(0.93) translateY(66px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.17rem;
  color: #232323;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: #232323;
  margin-right: 8px;
  cursor: pointer;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.cookie-modal-content .cookie-category input[type="checkbox"] {
  accent-color: #E4B363;
  margin-right: 6px;
}
.cookie-modal-content .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal-content .cookie-modal-close {
  background: #E4B363;
  color: #232323;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  position: absolute;
  top: 12px;
  right: 14px;
  cursor: pointer;
}
.cookie-modal-content .cookie-modal-close:hover, .cookie-modal-content .cookie-modal-close:focus {
  background: #232323;
  color: #fff;
}

/* SCROLLBAR MODERNIZATION */
body {
  scrollbar-color: #E4B363 #F7F6F2;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
  background: #F7F6F2;
}
::-webkit-scrollbar-thumb {
  background: #E4B363;
  border-radius: 6px;
}

/* MISC SPACING & MODERNITY */
.section + .section {
  margin-top: 18px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 14px;
}
h2 + .content-wrapper,
h2 + .text-section,
h2 + .content-grid {
  margin-top: 17px;
}

/* FORMS (for Kontakt etc.) */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #E4B363;
  background: #fff;
  color: #232323;
  margin-bottom: 12px;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #232323;
  outline: none;
  box-shadow: 0 2px 8px #E4B36330;
}

/* HIGH CONTRAST FOR TESTIMONIALS/REVIEWS */
.testimonial-card {
  background: #fff;
  color: #232323;
}
@media (max-width: 510px){
  .cookie-modal-content { padding: 18px 4px 16px; min-width: 93vw; }
  .section { padding: 18px 6px; }
}
