/* =====================================
   CSS RESET & BASE STYLES
===================================== */
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;
}
html { box-sizing: border-box; position: relative; }
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #F7F2EB;
  color: #263644;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #A1804B;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #263644;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #263644;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  color: #344152;
  margin-bottom: 18px;
}
ul, ol {
  padding-left: 28px;
}
strong, b {
  font-weight: 700;
  color: #263644;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(38,54,68,0.08);
}
.container {
  width: 100%;
  max-width: 1030px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
/* =====================
   HEADER & NAVIGATION
======================= */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px 0 rgba(38,54,68,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
}
header img {
  height: 60px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 400;
  color: #263644;
  padding: 8px 3px;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #A1804B;
}
.cta-btn {
  font-family: 'Playfair Display', Georgia, serif;
  padding: 11px 30px;
  background: #A1804B;
  color: #fff;
  font-size: 1.13rem;
  font-weight: 700;
  border-radius: 32px;
  box-shadow: 0 4px 20px 0 rgba(161,128,75, 0.20);
  border: none;
  outline: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  cursor: pointer;
  margin-left: 16px;
  letter-spacing: 0.02em;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #263644;
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(38,54,68,0.10);
  transform: translateY(-2px) scale(1.03);
}
/* =========================
   MOBILE NAVIGATION
=========================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  background: #A1804B;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 12px 14px;
  font-size: 2.1rem;
  z-index: 210;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.13s;
  box-shadow: 0 3px 14px rgba(38,54,68,0.08);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #263644;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #F7F2EB;
  box-shadow: -2px 0 40px 0 rgba(38,54,68,0.21);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  padding: 0 0 24px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 18px 4px auto;
  background: transparent;
  border: none;
  color: #263644;
  font-size: 2.35rem;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 999;
  border-radius: 50%;
  padding: 5px 14px 4px 10px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F0E7D8;
  color: #A1804B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 38px;
  margin-top: 15px;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #263644;
  font-weight: 500;
  padding: 12px 2px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A1804B;
  color: #fff;
}
@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 13px;
    padding-bottom: 7px;
    min-height: 72px;
  }
  header nav {
    gap: 17px;
  }
  .cta-btn {
    padding: 10px 21px;
    font-size: 1.02rem;
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  header nav,.cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ========================
   MAIN LAYOUT & SECTIONS
======================== */
main {
  padding-top: 18px;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 6px 30px 0 rgba(38,54,68,0.08);
  transition: box-shadow 0.18s;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  section {
    padding: 28px 8px;
    border-radius: 0px;
    margin-bottom: 36px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 3px 13px 0 rgba(38,54,68,0.11);
  padding: 28px 22px;
  transition: box-shadow 0.16s, transform 0.1s;
  min-width: 250px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 10px 38px 0 rgba(161,128,75,0.16);
  transform: translateY(-4px) scale(1.025);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.features-grid > div {
  min-width: 230px;
  flex: 1 1 240px;
  background: #f7f2eb;
  border-radius: 16px;
  box-shadow: 0 2px 7px rgba(38,54,68,0.05);
  padding: 25px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.15s, transform 0.1s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 26px 0 rgba(161,128,75,0.13);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   TESTIMONIAL STYLES (Kundenstimmen)
================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F7F2EB;
  color: #263644;
  border-radius: 14px;
  box-shadow: 0 3px 11px 0 rgba(38,54,68,0.08);
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 620px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.5;
  position: relative;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #263644;
}
.testimonial-card span {
  color: #A1804B;
  margin-left: 18px;
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 11px;
  }
}

/* =============================
   FOOTER DESIGN
============================= */
footer {
  margin-top: 60px;
  background: #263644;
  color: #F7F2EB;
  box-shadow: 0 -2px 20px 0 rgba(38,54,68,0.09);
  padding: 44px 0 10px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 33px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 52px;
  filter: brightness(96%) grayscale(22%);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #A1804B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
.brand-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.99rem;
  color: #F7F2EB;
}
.brand-contact img {
  height: 19px;
  width: 19px;
  margin-right: 9px;
  position: relative;
  top: 3px;
  vertical-align: middle;
  opacity: 0.84;
}
.legal-text {
  color: #BFB8AD;
  font-size: 0.88rem;
  margin-top: 8px;
  width: 100%;
  text-align: right;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-left: 10px;
    padding-right: 10px;
  }
  .legal-text {
    text-align: left;
    margin-top: 21px;
  }
}

/* ============================
   COOKIE BANNER & MODAL
============================ */
.cookie-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -3px 28px 0 rgba(38,54,68,0.11);
  padding: 18px 10px 18px 6px;
  z-index: 4200;
  gap: 22px;
  animation: bannerSlideUp 0.48s cubic-bezier(.52,.22,.24,.96) both;
}
@keyframes bannerSlideUp {
  from { transform: translateY(120%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #263644;
  margin: 0 18px 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  outline: none;
  margin: 0;
  transition: background 0.19s, color 0.15s, box-shadow 0.17s;
  font-family: 'Montserat', Arial, sans-serif;
  letter-spacing: 0.012em;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #A1804B;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgb(161,128,75, 0.10);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #263644;
}
.cookie-btn.reject {
  background: #f7f2eb;
  color: #a1804b;
  border: 1px solid #A1804B;
  font-weight: 500;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #263644;
  border-color: #263644;
}
.cookie-settings-btn {
  background: #fff;
  border: 1px solid #263644;
  color: #263644;
  font-weight: 500;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #A1804B;
  color: #fff;
  border-color: #A1804B;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    font-size: 0.97rem;
    padding: 16px 5px 18px 5px;
  }
}
/* Cookie Settings Modal */
.cookie-modal-backdrop {
  display: flex;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(38,54,68,0.38);
  z-index: 4300;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.48s cubic-bezier(.52,.22,.24,.96) both;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 36px 30px 28px 30px;
  min-width: 320px;
  max-width: 390px;
  box-shadow: 0 8px 60px 0 rgba(38,54,68,0.21);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  animation: modalDrop 0.48s cubic-bezier(.52,.22,.24,.96) both;
}
@keyframes modalDrop {
  from { transform: translateY(-40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #263644;
}
.cookie-modal .cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: #263644;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  height: 22px;
  width: 22px;
  accent-color: #A1804B;
  cursor: pointer;
}
.cookie-category .essential {
  color: #A1804B;
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 7px;
}
.cookie-modal .modal-close-btn {
  background: transparent;
  color: #263644;
  font-size: 1.25rem;
  border: none;
  padding: 2px 9px;
  border-radius: 7px;
  position: absolute;
  top: 13px;
  right: 9px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  background: #F7F2EB;
}

/* ==========================
   MISC & UTILITY CLASSES
========================== */
::-webkit-input-placeholder { color: #A1804B; opacity: 0.95; }
::-moz-placeholder { color: #A1804B; opacity: 0.95; }
:-ms-input-placeholder { color: #A1804B; opacity: 0.95; }
::placeholder { color: #A1804B; opacity: 0.95; }

.hr {
  border-bottom: 1px solid #E0D2B8;
  width: 100%;
  margin: 32px 0 24px 0;
}
/* ==============
 * TYPOGRAPHY SCALES
 * =============*/
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.18rem; }
  p, ul, ol, li { font-size: 0.98rem; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.06rem; }
  h3 { font-size: 0.97rem; }
}

/* ==============================
   FORMS (for kontakt.html submission)
============================== */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #A1804B;
  border-radius: 9px;
  font-size: 1rem;
  margin-bottom: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FFF;
  color: #263644;
  transition: border 0.14s, box-shadow 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: none;
  border: 1.5px solid #263644;
  box-shadow: 0 3px 13px 0 rgba(38,54,68,0.10);
}
textarea { resize: vertical; min-height: 90px; }
input[type="submit"], button[type="submit"] {
  font-family: 'Playfair Display', Georgia, serif;
  padding: 12px 35px;
  background: #A1804B;
  color: #fff;
  border: none;
  border-radius: 32px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  letter-spacing: 0.018em;
  transition: background 0.16s, box-shadow 0.13s, transform 0.12s;
  box-shadow: 0 4px 20px 0 rgba(161,128,75,0.15);
}
input[type="submit"]:hover, input[type="submit"]:focus, button[type="submit"]:hover, button[type="submit"]:focus {
  background: #263644;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* ===================================
   TABLES, BLOCKQUOTES, LISTS (Page content)
=================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
th, td {
  padding: 13px 10px;
  border-bottom: 1px solid #E0D2B8;
  text-align: left;
}
blockquote {
  background: #F7F2EB;
  color: #263644;
  border-left: 5px solid #A1804B;
  padding: 14px 25px 12px 19px;
  margin: 28px 0;
  border-radius: 11px;
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
}

/* =====================
   SCROLLBAR (subtle)
===================== */
body::-webkit-scrollbar {
  width: 10px;
  background: #F7F2EB;
}
body::-webkit-scrollbar-thumb {
  background: #E0D2B8;
  border-radius: 10px;
}

/* =============================
   FOCUS STYLES FOR ACCESSIBILITY
============================= */
a:focus, button:focus, input:focus {
  outline: 2px solid #A1804B;
  outline-offset: 2px;
  z-index: 12;
}

/* ==================================
   TRANSITION/MICRO-ANIMATION EFFECTS
================================== */
.card, .features-grid > div, .testimonial-card, .cta-btn, input[type="submit"], .cookie-btn, .cookie-settings-btn {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.14s;
}
section, .testimonial-card {
  will-change: box-shadow, transform;
}

/* =============================
   PRINT STYLES (MINIMAL)
============================= */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, footer { display: none !important; }
  section { background: #FFF !important; box-shadow: none !important; }
}

/* ===================================
   BRAND FONTS LOADING
=================================== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
/* ================================
   END OF CSS
================================ */
