/* RESET & BASE TYPOGRAPHY */
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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F3F0;
  color: #1E2235;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #87602B;
  transition: color .2s;
  text-decoration: none;
}
a:hover, a:focus {
  color: #A97A4C;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
ul:last-child, ol:last-child { margin-bottom: 0; }
img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

/* FONT FAMILIES */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: #1E2235;
  letter-spacing: .01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.23;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #493f2c;
}
.subtitle {
  font-size: 1.32rem;
  color: #87602B;
  font-weight: 500;
  margin-bottom: 26px;
}
strong, b {
  color: #87602B;
  font-weight: 600;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* HEADER */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 14px rgba(168, 122, 76, 0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 102;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 20px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  height: 53px;
}
.logo img {
  height: 40px;
  width: auto;
  border-radius: 10px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-right: 24px;
}
.main-nav a {
  color: #1E2235;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 7px 0;
  border-radius: 8px;
  transition: background .17s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #87602B;
  background: #F5F3F0;
}
.cta-btn {
  background: #A97A4C;
  color: #FFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: .01em;
  border: none;
  border-radius: 24px;
  padding: 11px 30px;
  box-shadow: 0 3px 13px 0 rgba(168,122,76,0.11);
  margin-left: 8px;
  transition: background .22s, box-shadow .22s, transform .10s;
  cursor: pointer;
  outline: none;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #87602B;
  color: #FFF;
  box-shadow: 0 2px 7px 0 rgba(168,122,76,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: #F5F3F0;
  color: #A97A4C;
  border: none;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 7px rgba(168,122,76,0.09);
  cursor: pointer;
  margin-left: 16px;
  transition: background .21s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E3DACF;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,243,240,0.99);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.68,.04,.33,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #A97A4C;
  font-size: 2.1rem;
  padding: 14px;
  margin: 18px 0 12px 22px;
  align-self: flex-start;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E3DACF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 24px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #1E2235;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 11px 0 11px 6px;
  min-width: 180px;
  display: block;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3DACF;
  color: #87602B;
}

/* MAIN LAYOUT SECTIONS */
main {
  margin-top: 0;
  padding-bottom: 48px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 28px;
  box-shadow: none;
}

/* FLEX LAYOUTS - MANDATORY PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgba(168,122,76,0.06);
  padding: 26px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 250px;
  flex: 1 1 260px;
}
.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: #FFF;
  border-radius: 17px;
  box-shadow: 0 7px 28px 0 rgba(168,122,76,0.07);
  margin-bottom: 22px;
  flex-direction: column;
  max-width: 600px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Features Grid (used for Index/Leistungen, etc.) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 3px 14px 0 rgba(168,122,76,0.08);
  padding: 22px 22px 15px 22px;
  flex: 1 1 215px;
  min-width: 210px;
  max-width: 265px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .22s, transform .13s;
}
.features-grid > div:hover {
  box-shadow: 0 10px 32px 0 rgba(168,122,76,0.13);
  transform: translateY(-2px) scale(1.025);
}
.features-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 9px;
  border-radius: 11px;
  background: #F5F3F0;
  object-fit: contain;
}

/* Testimonials */
.testimonial-card p {
  font-size: 1.09rem;
  color: #1E2235;
  margin-bottom: 8px;
  line-height: 1.33;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #87602B;
  font-weight: 500;
}
.stars {
  font-size: 1.25em;
  color: #A97A4C;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 10px;
  margin-bottom: 12px;
}

/* Price & Offer Info */
.price-info {
  font-size: 1.05em;
  background: #F5F3F0;
  color: #A97A4C;
  border-radius: 8px;
  font-weight: 500;
  padding: 10px 15px;
  margin: 18px 0 0 0;
  display: inline-block;
}

/* Lists in Cards */
li {
  margin-bottom: 8px;
  font-size: 0.98rem;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* MAP HINT (Kontakt) */
.map-hint {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: .99rem;
  color: #A97A4C;
  background: #FCF6EC;
  border-left: 6px solid #A97A4C;
  padding: 13px 15px;
  border-radius: 10px;
}

/* FOOTER */
footer {
  background: #F5F3F0;
  border-top: 1px solid #E3DACF;
  padding: 36px 0 20px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
footer img {
  height: 42px;
  width: auto;
  margin-right: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.footer-nav a {
  color: #A97A4C;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 7px;
  transition: color .18s, background .17s;
  padding: 3px 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E3DACF;
  color: #1E2235;
}
.footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
  color: #493f2c;
  font-size: .98rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 275px;
  line-height: 1.36;
}
.footer-contact a {
  color: #87602B;
  word-break: break-all;
}

/* BUTTONS GENERIC (ALSO COOKIE) */
button, .btn {
  font-family: 'Roboto',Arial,sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 17px;
  padding: 9px 24px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .1s;
  font-weight: 500;
  background: #A97A4C;
  color: #FFF;
  outline: none;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(168,122,76,0.08);
}
button:last-child, .btn:last-child {
  margin-right: 0;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #87602B;
  color: #FFF;
  box-shadow: 0 3px 14px rgba(168,122,76,0.12);
  transform: translateY(-1px) scale(1.03);
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F5F3F0;
  border-top: 1px solid #E3DACF;
  box-shadow: 0 -8px 28px 0 rgba(26,20,6,0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  padding: 22px 16px;
  gap: 20px;
  transition: transform .28s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  color: #493f2c;
  margin-right: 16px;
  font-size: .98rem;
  max-width: 480px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn-accept {
  background: #A97A4C;
  color: #FFF;
}
.cookie-btn-accept:hover,.cookie-btn-accept:focus {
  background: #87602B;
}
.cookie-btn-reject {
  background: #DDC7B2;
  color: #1E2235;
  border: 1.5px solid #A97A4C;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #C5B199;
  color: #1E2235;
}
.cookie-btn-settings {
  background: #F5F3F0;
  color: #A97A4C;
  border: 1.5px solid #A97A4C;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #E3DACF;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top:0; right:0; bottom:0;
  background: rgba(34,29,22, 0.20);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(168,122,76,0.13);
  padding: 36px 32px 32px 32px;
  min-width: 290px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalShow .37s cubic-bezier(.45,.38,.09,.91);
}
@keyframes modalShow {
  from { opacity: 0; transform: translateY(27px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.29rem;
  margin-bottom: 10px;
  color: #A97A4C;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-modal .category label {
  font-size: 1rem;
  color: #493f2c;
  min-width: 160px;
  font-weight: 500;
}
.cookie-modal .category input[type=checkbox],
.cookie-modal .category input[type=radio] {
  accent-color: #A97A4C;
  margin-right: 8px;
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1px solid #A97A4C;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #87602B;
  cursor: pointer;
  padding: 6px 13px;
  border-radius: 50%;
  transition: background .14s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #F5F3F0;
}

/* Animations */
.card, .features-grid > div, .testimonial-card {
  transition: box-shadow .21s, transform .15s;
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(168,122,76,0.14);
  transform: translateY(-2px) scale(1.02);
}

/* Responsive Design / Mobile-First */
@media (max-width: 1199px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 970px) {
  header .container, .container, footer .container {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .content-wrapper {
    max-width: 95vw;
  }
  footer .container {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 54px;
  }
  .logo img {
    height: 33px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  section, .section {
    padding: 28px 5vw;
  }
  .features-grid {
    flex-direction: column;
  }
  .card-container {
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 16px 10px;
  }
  .footer-contact {
    max-width: none;
  }
}

/* Extra Small Devices */
@media (max-width: 420px) {
  .cta-btn {
    padding: 9px 16px;
    font-size: 0.96rem;
  }
  .footer-nav a {
    font-size: .93rem;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
}

/* Z-Index & Shadows (for banners/menus) */
.mobile-menu {
  box-shadow: 0px 5px 24px 3px rgba(168,122,76,0.12);
}

/* Scrollbar Styling (optional, for desktop) */
@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 10px; background: #E3DACF;
  }
  ::-webkit-scrollbar-thumb {
    background: #A97A4C; border-radius: 14px;
  }
}

/* Accessibility: Focus visible */
:focus-visible {
  outline: 2.5px solid #A97A4C;
  outline-offset: 2.5px;
}

/* Selection Color */
::selection {
  background: #E3DACF;
  color: #1E2235;
}

/* Hide visually only (for cookie modal close btn) */
.sr-only {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
}
