/* RESET & BASE ========================== */
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,
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #f1eadb 0%, #ffffff 100%);
  color: #35463d;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #7a5a22;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #7a5a22;
  outline-offset: 3px;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #35463d;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }

/* LAYOUT CONTAINERS ====================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 26px 0 rgba(53,70,61,0.07);
}
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* BUTTONS ================================ */
.button {
  display: inline-block;
  min-width: 160px;
  background: #7a5a22;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.3s, color 0.2s;
  box-shadow: 0 3px 12px 0 rgba(122,90,34,0.07);
  margin-top: 8px;
  margin-bottom: 8px;
}
.button.primary {
  background: linear-gradient(95deg,#7a5a22 0%, #35463d 80%);
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(53,70,61,0.10);
}
.button.secondary {
  background: #fff;
  border: 2px solid #7a5a22;
  color: #7a5a22;
}
.button:hover, .button:focus {
  background: #9f855c;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(53,70,61,0.14);
}
.button.secondary:hover, .button.secondary:focus {
  background: #7a5a22;
  color: #fff;
}

/* HEADER ================================ */
header {
  background: linear-gradient(90deg, #f1eadb 70%, #9f855c 100%);
  box-shadow: 0 2px 16px 0 rgba(53,70,61,0.03);
  padding: 0;
  position: relative;
  z-index: 15;
}
header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.logo img { height: 36px; width: auto; }
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
}
.main-nav a {
  color: #35463d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7a5a22;
}
.main-nav a:after {
  display: block;
  content: '';
  height: 2px;
  width: 0;
  background: #7a5a22;
  transition: width 0.25s;
  margin-top: 2px;
  border-radius: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 70%;
}
header .button.primary {
  margin-left: auto;
  margin-right: 10px;
  padding: 12px 22px;
}
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: #35463d;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 8px;
  display: none;
  transition: color 0.2s;
  z-index: 1003;
}
.mobile-menu-toggle:hover {
  color: #7a5a22;
}

/* MOBILE NAVIGATION ====================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ece7dd;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #35463d;
  position: absolute;
  top: 18px;
  right: 28px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #7a5a22;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 52px 36px 24px 36px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #35463d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 4px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7a5a22;
  color: #fff;
}

/* HERO =================================== */
.hero {
  background: linear-gradient(110deg,#f1eadb 70%, #9f855c 100%);
  border-radius: 0 0 32px 32px;
  padding: 60px 0 48px 0;
  min-height: 320px;
  margin-bottom: 38px;
  box-shadow: 0 6px 32px 0 rgba(53,70,61,0.11);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 670px;
}
.hero h1 {
  color: #35463d;
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.22rem;
  color: #7a5a22;
  margin-bottom: 10px;
}

/* FEATURE GRID & ITEM =================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 24px;
  margin-bottom: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 225px;
  min-width: 160px;
  max-width: 320px;
  background: #fdfaf4;
  border-radius: 14px;
  box-shadow: 0 2px 13px 0 rgba(53,70,61,0.06);
  padding: 32px 22px 28px 22px;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
}
.feature-item h3 {
  font-size: 1.26rem;
  color: #35463d;
  margin-bottom: 8px;
}
.feature-item p {
  color: #7a5a22;
}

/* USP / SERVICE CARDS =================== */
.usp {
  margin-top: 22px;
}
.usp ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: disc inside;
}

/* CARDS & CONTENT GRIDS ================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f8f6ee;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 3px 20px 0 rgba(53,70,61,0.07);
  padding: 24px;
  position: relative;
  transition: box-shadow 0.24s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(53,70,61,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
}

/* TESTIMONIALS ========================== */
.testimonials {
  margin: 0 0 0 0;
  padding: 60px 0 40px 0;
  background: linear-gradient(100deg,#f1eadb 70%, #9f855c 100%);
  border-radius: 32px 32px 0 0;
}
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  color: #35463d;
  padding: 24px 28px;
  border-radius: 17px;
  margin-bottom: 20px;
  box-shadow: 0 3px 19px 0 rgba(53,70,61,0.09);
  transition: box-shadow 0.2s, transform 0.18s;
  max-width: 520px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(53,70,61,0.14);
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #35463d;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.99rem;
  font-style: italic;
  color: #7a5a22;
}

/* SECTION & CARD SPACING ================ */
section {
  margin-bottom: 60px;
}
section:last-child {
  margin-bottom: 0;
}
.section, .content-wrapper, .text-section, .card, .card-container, .feature-grid {
  margin-bottom: 20px;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 9px;
}
blockquote {
  padding: 16px 30px;
  border-left: 5px solid #9f855c;
  background: #f8f6ee;
  border-radius: 12px;
  font-style: italic;
  color: #7a5a22;
  margin-bottom: 20px;
}

/* TABLE STYLE =========================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 15px 0 rgba(53,70,61,0.08);
}
thead {
  background: #35463d;
  color: #fff;
}
th, td {
  padding: 18px 14px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
}
th {
  font-size: 1.1rem;
}
tr:not(:last-child) {
  border-bottom: 1px solid #e6e2d4;
}
tbody tr:nth-child(odd) {
  background: #f6f4ef;
}

/* CTA SECTIONS ========================== */
.call-to-action {
  background: linear-gradient(100deg,#7a5a22 10%, #f1eadb 100%);
  border-radius: 24px;
  margin-bottom: 58px;
  padding: 32px 0;
  box-shadow: 0 4px 16px rgba(122,90,34,0.14);
}
.call-to-action .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.call-to-action h2 {
  color: #fff;
}
.call-to-action p {
  color: #fff;
}
.call-to-action .button.primary {
  background: #35463d;
  border: none;
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(53,70,61,0.13);
}
.call-to-action .button.primary:hover{
  background: #7a5a22;
}

/* FOOTER ================================ */
footer {
  background: #35463d;
  color: #fff;
  padding: 36px 0 24px 0;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 45px;
  margin-bottom: 10px;
}
.footer-contact {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-nav a {
  color: #f1eadb;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 2px 5px;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #7a5a22;
}

/* FORMS (for potential future contact) === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #d7d2c5;
  padding: 12px 12px;
  margin-top: 6px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7a5a22;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 4px;
}

/* COOKIE CONSENT BANNER ================= */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #f3e7d2;
  color: #35463d;
  box-shadow: 0 -2px 12px 0 rgba(53,70,61,0.14);
  padding: 21px 8px 19px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  z-index: 1400;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-consent.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent button {
  margin-left: 6px;
  margin-right: 6px;
}
.cookie-settings-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(53,70,61,0.36);
  z-index: 1600;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.35s;
}
.cookie-settings-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-settings-content {
  background: #fff;
  color: #35463d;
  border-radius: 18px;
  box-shadow: 0 10px 48px 0 rgba(53,70,61,0.22);
  padding: 38px 28px 32px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalIn 0.32s cubic-bezier(.22,.62,.17,.99);
}
@keyframes modalIn {
  0% { transform: scale(0.88) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-settings-close {
  position: absolute;
  top: 15px;
  right: 26px;
  background: none;
  border: none;
  color: #35463d;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-settings-close:hover {
  color: #7a5a22;
}
.cookie-settings-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7a5a22;
  width: 20px;
  height: 20px;
}
.cookie-category-essential label:after {
  content: ' (immer aktiv)';
  font-size: 0.93em;
  color: #7a5a22;
}
/* Cookie banner buttons */
.cookie-consent .button,
.cookie-settings-modal .button {
  min-width: 120px;
  font-size: 1rem;
  padding: 10px 16px;
  margin-bottom: 0;
}

/* RESPONSIVE DESIGN ===================== */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid { gap: 22px; }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid { gap: 14px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .call-to-action, .testimonials {
    border-radius: 18px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .feature-item {
    min-width: 0;
    max-width: 100%;
    padding: 18px 14px 17px 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card-container { flex-direction: column; }
  .text-section, .content-wrapper { gap: 11px; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 1rem;
    padding: 16px 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero {
    padding: 30px 0 25px 0;
    min-height: 180px;
  }
  .cookie-settings-content{
    min-width: unset;
    padding: 15px 10px 14px 10px;
    border-radius: 10px;
  }
}

/* MICRO-INTERACTIONS =================== */
.button, .mobile-menu-close, .cookie-settings-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.21s, transform 0.18s;
}
.button:active,
.mobile-menu-close:active,
.cookie-settings-close:active {
  transform: scale(0.97);
}
a.button:focus, .button:focus {
  outline: 2px solid #9f855c;
  outline-offset: 2px;
}

/* HIDE JS-ENABLED CLASSES BY DEFAULT === */
.mobile-menu {
  display: flex;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  animation: slideMenuIn 0.32s cubic-bezier(.65,.08,.21,.99);
}
@keyframes slideMenuIn {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* VISUAL HIERARCHY & WHITE SPACE ======== */
.section, .content-wrapper, .feature-item, .card, .testimonial-card, .call-to-action, .testimonials {
  margin-bottom: 20px;
}

/* Z-INDEX FIXES ======================== */
header { z-index: 1000; }
.mobile-menu { z-index: 1200; }
.cookie-consent { z-index: 1400; }
.cookie-settings-modal { z-index: 1600; }

/* END OF CSS */
