/* ==========================================================
   SchlossReisen - CSS / NATURE ORGANIC STYLE
   Brand: SchlossReisen | Nature-inspired, organic, fairytale
   Author: Professional website developer
   ========================================================== */

/* === CSS 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, 
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 {
  scroll-behavior: smooth;
  background: #F5F6F8;  /* brand accent */
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #34423A; /* deep earth tone */
  background-color: #F5F6F8;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  text-decoration: none;
  color: #577355; /* earthy green */
  transition: color 0.15s ease;
}
a:hover, a:focus {
  color: #B68F4A; /* brand gold accent */
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 6px;
  line-height: 1.6;
}
button {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  color: inherit;
  background: none;
}
:focus {
  outline: 2px solid #8CB568;
  outline-offset: 2px;
}

/* === BRAND TYPOGRAPHY SCALE === */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #2D3A4C;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #50614A;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #5B412B;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #516744;
}
p, .p {
  font-size: 1rem;
  color: #34423A;
  margin-bottom: 10px;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
  color: #3C5537;
}

/* === SECTIONS & CONTAINERS (with flexbox) === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F6F8F3;
  border-radius: 28px;
  box-shadow: 0 2px 14px 0 rgba(119, 105, 67, 0.09);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 18px;
  }
}

/* === HEADER NAVIGATION === */
header {
  background: #FBFAF7;
  box-shadow: 0 2px 20px 0 rgba(127, 130, 97, 0.07);
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.04rem;
  padding: 8px 0;
  color: #2D3A4C;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #DEE4DE;
  color: #426633;
}
@media (max-width: 900px) {
  header nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
}

/* === CTA BUTTON STYLE === */
.cta-button {
  display: inline-block;
  font-family: 'Merriweather', serif;
  font-size: 1.09rem;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(94deg, #87A16F 0%, #B68F4A 100%);
  border-radius: 25px;
  padding: 13px 36px;
  box-shadow: 0 3px 10px rgba(86, 114, 73, 0.14), 0 1.5px 6px rgba(182, 143, 74, 0.06);
  transition: background 0.18s, transform 0.13s, box-shadow 0.18s;
  border: none;
  outline: none;
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(88deg, #6B8F2B 0%, #CAA33D 100%);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 5px 20px 0 rgba(86, 114, 73, 0.17);
}

/* === BURGER / MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: #F7F3E8;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  z-index: 120;
  font-size: 2.2rem;
  color: #426633;
  box-shadow: 0 3px 12px rgba(105, 102, 62, 0.09);
  justify-content: center;
  align-items: center;
  transition: background 0.15s, box-shadow 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #B7D5A0;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F3F8ED;
  box-shadow: 0px 6px 38px 5px rgba(64, 74, 46, 0.28);
  transform: translateX(-110vw);
  transition: transform 0.37s cubic-bezier(.86,.16,.58,1.06);
  z-index: 1111;
  pointer-events: none;
  opacity: 0;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.2rem;
  background: #E6EFDF;
  border-radius: 44px;
  padding: 7px 10px;
  color: #577355;
  box-shadow: 0 2px 7px 1px rgba(87, 115, 85, 0.10);
  z-index: 9002;
  border: none;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B7D5A0;
}
.mobile-nav {
  margin-top: 85px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-left: 36px;
  padding-top: 12px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Merriweather', serif;
  color: #3B4736;
  font-weight: 700;
  padding: 14px 0 9px 0;
  border-radius: 14px;
  text-align: left;
  width: 92vw;
  transition: background 0.14s, color 0.14s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6EFDF;
  color: #4F6031;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* === SECTIONS, CARDS & FLEXBOX LAYOUTS === */
.features-grid, .features, .card-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.features-grid > div, .card, .feature-item {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px 1px rgba(26, 45, 14, 0.09);
  padding: 26px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 220px;
  position: relative;
}
.features-grid > div:hover, .card:hover {
  box-shadow: 0 7px 26px rgba(105, 122, 83, 0.15);
  transform: translateY(-2px) scale(1.015);
  transition: box-shadow 0.15s, transform 0.16s;
}
@media (max-width: 900px) {
  .features-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div, .card {
    min-width: 0;
  }
}
.card {
  margin-bottom: 20px;
  border-radius: 22px;
  background: #FFF;
  box-shadow: 0 2px 12px rgba(86, 114, 73, 0.09);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
/* Organic shape overlay - hint of nature */
.card:before,
.features-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  right: -32px; top: -18px;
  width: 66px; height: 48px;
  background: rgba(179, 207, 164, 0.14);
  border-radius: 42% 60% 52% 67%;
  z-index: 0;
}
.features-grid > div:before {
  left: -28px; right: auto; top: -12px;
}
@media (max-width: 540px) {
  .features-grid > div:before, .card:before {
    display: none;
  }
}

.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 {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FAFDF7;
  border-radius: 18px;
  box-shadow: 0 3px 11px 0 rgba(110, 137, 102, 0.07);
  color: #2D3A4C;
  font-family: 'Merriweather', serif;
  font-size: 1.13rem;
  position: relative;
  min-width: 230px;
  min-height: 80px;
}
.testimonial-card p {
  color: #253513;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #577355;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}
.star-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  margin-top: 5px;
}
.testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  left: -18px; top: -14px;
  width: 46px; height: 46px;
  background: rgba(176, 187, 90, 0.14);
  border-radius: 57% 42% 55% 70%;
  z-index: 0;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    font-size: 1rem;
  }
  .testimonial-card:before {
    display: none;
  }
}

/* === FOOTER === */
footer {
  background: #F4F6EC;
  color: #2D3A4C;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 2px 32px 0 rgba(117, 120, 85, 0.07);
  margin-top: 44px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
  padding-top: 36px;
  padding-bottom: 30px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #50614A;
  font-size: 0.98rem;
  padding: 2px 0;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #BDE3C7;
  color: #2D3A4C;
}
footer img {
  max-width: 82px;
  border-radius: 8px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #33542A;
}
.contact-details img {
  width: 19px;
  height: 19px;
  margin-right: 1px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* === RESPONSIVE GENERAL STYLES === */
@media (max-width: 540px) {
  html { font-size: 96%; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.25rem; }
  h3, .h3 { font-size: 1.07rem; }
  .cta-button { font-size: 0.99rem; padding: 12px 15px; }
  .features-grid > div, .card, .testimonial-card { padding: 14px 10px; border-radius: 12px; }
  .container { padding: 0 7px; }
}

/* === COOKIE BANNER === */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #F9FFF3;
  box-shadow: 0px -2px 20px 0px rgba(119, 105, 67, 0.09);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  z-index: 2000;
  padding: 24px 14px;
  gap: 24px;
  font-size: 1rem;
  color: #3C5B32;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  flex: 2 1 0;
  padding-right: 24px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: #B68F4A;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 18px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(115, 101, 66, 0.12);
  margin-left: 2px;
  transition: background 0.14s, box-shadow 0.15s, color 0.10s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A37723;
  color: #FFFBE6;
}
.cookie-btn.settings {
  background: #85B96E;
  color: #233916;
}
.cookie-btn.settings:hover {
  background: #6A9A4F;
  color: #FFF;
}
.cookie-btn.reject {
  background: #466632;
  color: #fffce8;
}
.cookie-btn.reject:hover {
  background: #7B9347;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 6px 18px 9px;
    font-size: 0.95rem;
  }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-text { padding-right: 0; }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(55,69,44,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #FFF;
  color: #2D3A4C;
  border-radius: 22px;
  padding: 32px 22px 28px 22px;
  box-shadow: 0 8px 38px 0 rgba(187, 160, 95, 0.16);
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.cookie-modal-header h2 {
  font-size: 1.19rem;
  color: #3F6131;
}
.cookie-modal-close {
  background: #E6EFDF;
  border: none;
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 1.15rem;
  color: #659442;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover {
  background: #B7D5A0;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #EEF2E7;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.05rem;
  color: #4F6031;
  font-weight: 600;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #D5E2C5;
  border-radius: 17px;
  border: 1px solid #D0D7C4;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.13s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #B68F4A;
  border-radius: 50%;
  transition: left 0.23s cubic-bezier(.9,.02,.24,1.03), background 0.11s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 22px;
  background: #85B96E;
}
.cookie-category .locked {
  color: #B68F4A;
  font-size: 1.07rem;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal-actions .cookie-btn {
  margin: 0;
}
@media (max-width: 540px) {
  .cookie-modal-dialog { padding: 13px 3px 13px 3px; min-width: 0; }
}

/* === FORMS (for contact, even though not present in code) === */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  font-family: 'Open Sans', sans-serif;
  border-radius: 11px;
  border: 1.5px solid #C7DAD0;
  background: #F6F8F3;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 18px;
  color: #305025;
  transition: border 0.14s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(143, 161, 127, 0.02);
}
input:focus, textarea:focus {
  outline: none;
  border: 1.5px solid #85B96E;
  box-shadow: 0 1px 16px rgba(120, 169, 74, 0.07);
}
label {
  font-family: 'Merriweather', serif;
  font-size: 1.01rem;
  color: #607D4E;
  font-weight: 600;
  margin-bottom: 4px;
}

/* === ORGANIC DETAILS & DECORATIVE ELEMENTS === */
.section {
  /* already styled above, but reinforce for visual break */
  background: #F6F8F3 url('../assets/organic-texture.png') repeat top left;
  background-blend-mode: lighten;
  /* fallback: background: #F6F8F3; */
}
@media (max-width: 540px) {
  .section { background-size: 36px 36px; }
}

/* Subtle organic leaf shadow for some accent cards */
.card:after, .features-grid > div:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 50px; height: 26px;
  background: rgba(133, 185, 110, 0.09);
  border-radius: 64% 43% 48% 60%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .card:after, .features-grid > div:after { display: none; }
}

/* ==== MICRO-INTERACTIONS & ANIMATIONS ==== */
.cta-button,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-btn,
.card, 
.features-grid > div,
.testimonial-card {
  transition: box-shadow 0.16s, background 0.15s, transform 0.15s;
}
.cta-button:active {
  transform: scale(0.975);
}
.card:active, .features-grid > div:active {
  transform: scale(0.985);
}

/* === MISCELLANEOUS HTML ELEMENTS === */
blockquote {
  padding: 16px 18px;
  margin: 18px 0;
  background: #EAEECB;
  border-radius: 11px;
  border-left: 5px solid #B68F4A;
  font-style: italic;
  color: #3B4736;
  font-family: 'Merriweather', serif;
}
hr {
  border: none;
  border-top: 1.5px solid #E1DDC5;
  margin: 28px 0;
}

/* === VISIBILITY HELPERS === */
.hide {
  display: none !important;
}

/* =============== END =============== */
