/* ------------------------------------------
   Brisk Courtyard Naturführungen - style.css
   Warm Friendly UI | Mobile Flexbox Only Layout
   Brand: #22543D, #D1E7DD, #F7B32B | Fonts: PT Sans, Roboto
---------------------------------------------*/

/* 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,
b, u, i, center,
dl, dt, dd, menu, 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  background-color: #FFFDF6;
  color: #22543D;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  margin-left: 1.1em;
  padding-left: 1em;
}
a { color: #22543D; text-decoration: underline; transition: color 0.2s; }
a:focus, a:hover { color: #F7B32B; outline: none;}
img { max-width: 100%; height: auto; border-radius: 10px; }
strong { font-weight: bold; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Sans', 'Roboto', Arial, sans-serif;
  color: #2C3E33;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li { font-size: 1rem; }
p { margin-bottom: 16px; }
.text-section ul, .text-section ol { margin-bottom: 16px; }
.text-section ul li, .text-section ol li { margin-bottom: 8px; padding-left: 0; }

/* CONTAINER & LAYOUT --------------------------------*/
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(34, 84, 61, 0.06);
  transition: box-shadow 0.28s cubic-bezier(.4,0,.2,1);
}
@media (max-width: 900px) {
  .section { padding: 32px 8px; }
}
/* GLOBAL FLEX PATTERNS -------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 250px;
  margin-bottom: 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(34,84,61,0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px 20px;
  transition: box-shadow 0.22s, transform 0.23s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(34,84,61,0.11);
  transform: translateY(-4px) scale(1.02);
}
.content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 220px;
  background: #FCF4E2;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(247,179,43,0.07);
  margin-bottom: 20px;
  padding: 20px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.22s;
}
.feature-grid li:hover {
  background: #FFF9E4;
  box-shadow: 0 4px 18px rgba(247,179,43,0.11);
  transform: translateY(-3px);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}
/* TESTIMONIALS --------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(34, 84, 61, 0.13);
  padding: 20px;
  margin-bottom: 20px;
  color: #2C3E33;
  font-size: 1.1rem;
  transition: box-shadow 0.22s, background 0.21s;
  flex-direction: column;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 8px;
  color: #22543D;
}
.testimonial-card span {
  font-size: 1rem;
  color: #744E20;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  background: #FFF9E4;
  box-shadow: 0 4px 28px 0 rgba(247,179,43,0.13);
}

/* BUTTONS -------------------------------------*/
.cta-button, .details-link, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'PT Sans', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.08rem;
  background: #F7B32B;
  color: #22543D;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  box-shadow: 0 3px 16px 0 rgba(247,179,43,0.16);
  cursor: pointer;
  outline: none;
  transition: background 0.2s, transform 0.19s, box-shadow 0.18s, color 0.22s;
  margin-top: 8px;
  text-decoration: none;
  min-width: 140px;
  min-height: 44px;
}
.cta-button:hover,
.cta-button:focus {
  background: #FFD67A;
  color: #22543D;
  box-shadow: 0 2px 28px 0 rgba(247,179,43,0.25);
  transform: scale(1.04);
}
.details-link {
  background: #22543D;
  color: #FFF;
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 26px;
  margin-top: 6px;
}
.details-link:hover,
.details-link:focus {
  background: #1D4635;
  color: #F7B32B;
  box-shadow: 0 2px 22px rgba(34,84,61,0.16);
  transform: scale(1.03);
  text-decoration: underline;
}

/* HEADER --------------------------------------*/
header {
  background-color: #22543D;
  box-shadow: 0 2px 12px 0 rgba(34,84,61,0.13);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo {
  display: flex; align-items: center;
}
.logo img {
  height: 52px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  color: #FFF;
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.13s, color 0.14s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F7B32B;
  color: #22543D;
}

.cta-button {
  margin-left: 28px;
  margin-right: 12px;
}

/* MOBILE MENU ---------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: #F7B32B;
  color: #22543D;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(247,179,43,0.14);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1202;
  margin-left: 10px;
  transition: background 0.18s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD67A;
  color: #1D4635;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #F7B32B;
  box-shadow: -6px 0 32px 0 rgba(247,179,43,0.21);
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 360px;
  height: 100vh;
  padding: 0 0 44px 0;
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.6,0,.4,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #22543D;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 26px 28px 22px 0;
  cursor: pointer;
  padding: 0;
  z-index: 1205;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #744E20;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 26px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'PT Sans', Arial, sans-serif;
  color: #22543D;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  background: #FFF9E4;
  border-radius: 10px;
  padding: 12px 12px 12px 16px;
  margin-bottom: 2px;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D1E7DD;
  color: #22543D;
}

/* Responsive header nav */
@media (max-width: 1000px) {
  header .container { gap: 0; }
  .main-nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .mobile-menu { width: 100vw; max-width: 99vw; }
  .logo img { height: 42px; }
}

/* FOOTER --------------------------------------*/
footer {
  background: #22543D;
  color: #FCF4E2;
  padding: 36px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 36px;
}
.footer-logo img {
  width: 60px;
  height: auto;
  border-radius: 13px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-nav a {
  color: #FFF9E4;
  text-decoration: none;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.19s;
  margin-bottom: 4px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F7B32B;
  text-decoration: underline;
}
.footer-contact {
  font-size: 1rem;
  line-height: 1.33;
}
.footer-contact a {
  color: #F7B32B;
  text-decoration: underline;
  font-weight: 500;
}
.footer-copy {
  width: 100%;
  text-align: center;
  color: #B2C9C0;
  font-size: 0.98rem;
  margin-top: 18px;
}
@media (max-width: 850px) {
  footer .container { flex-direction: column; justify-content: flex-start; gap: 10px; align-items: flex-start; }
}

/* FAQ ACCORDION -------------------------------*/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-accordion h3 {
  cursor: pointer;
  background: #D1E7DD;
  padding: 12px 18px;
  border-radius: 12px;
  transition: background 0.14s;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0px;
  color: #22543D;
  border: none;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  background: #F7B32B;
  color: #22543D;
}
.faq-content {
  background: #FFF9E4;
  padding: 12px 18px 14px 18px;
  border-radius: 10px;
  color: #22543D;
  display: none;
  font-size: 1rem;
}
.faq-accordion .active + .faq-content {
  display: block;
}

/* SECTION & CARD SPACING ----------------------*/
section { margin-bottom: 60px; }
.card, .testimonial-card, .feature-grid li, .section, .content-wrapper { margin-bottom: 20px; }

/* MODAL/BANNER: COOKIE CONSENT ---------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF9E4;
  color: #22543D;
  border-top: 3px solid #D1E7DD;
  box-shadow: 0 -3px 32px 0 rgba(34,84,61,0.15);
  padding: 24px 24px 20px 24px;
  z-index: 1400;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  animation: cookieIn 0.5s cubic-bezier(.37,1.18,.07,1.02);
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p { flex: 1; font-size: 1rem; margin: 0 0 0 0; }
.cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-size: 1rem;
  min-width: 110px;
  padding: 10px 20px;
  border-radius: 22px;
  border: none;
  font-weight: 600;
  box-shadow: 0 1px 9px rgba(247,179,43,0.11);
  background: #F7B32B;
  color: #22543D;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.settings { background: #D1E7DD; color: #22543D; }
.cookie-btn.reject   { background: #FFF; color: #744E20; border: 1.5px solid #D1E7DD; }
.cookie-btn:hover, .cookie-btn:focus { background: #FFD67A; color: #22543D; }
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #F8ECE2; color: #B15E09; }
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 20px 8px 16px 8px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* COOKIE MODAL --------------------------------*/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1450;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34, 84, 61, 0.17);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s ease;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  max-width: 400px;
  width: 95vw;
  padding: 30px 22px 24px 22px;
  box-shadow: 0 2px 32px 0 rgba(34,84,61,0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: modalPop 0.44s cubic-bezier(.33,1.2,.38,.94);
}
@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.96) translateY(24px); } 
  100% { opacity: 1; transform: scale(1.0) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 1.1em;
  color: #22543D;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}
.cookie-category label {
  font-weight: 500;
  color: #2C3E33;
  font-size: 1rem;
}
.cookie-switch {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #D1E7DD;
  outline: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  margin-right: 6px;
}
.cookie-switch:checked {
  background: #F7B32B;
}
.cookie-switch:before {
  content: "";
  display: block;
  width: 20px; height: 20px;
  background: #FFF;
  border-radius: 50%;
  position: absolute; top: 2px; left: 2px;
  transition: left 0.15s;
  box-shadow: 0 .5px 2px rgba(34,84,61,0.09);
}
.cookie-switch:checked:before {
  left: 22px;
}
.cookie-modal .cookie-actions { margin-top: 16px; }
.cookie-modal .cookie-btn { width: 100%; margin-bottom: 7px; }
.cookie-modal .cookie-btn:last-child { margin-bottom: 0; }
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 15px; top: 15px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #22543D;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #F7B32B;
}

/* ELEMENT UTILITIES & EFFECTS ------------------*/
::-webkit-input-placeholder { color: #5F7769; opacity:.9; font-style: italic; }
::-moz-placeholder          { color: #5F7769; opacity:.9; font-style: italic; }
:-ms-input-placeholder      { color: #5F7769; opacity:.9; font-style: italic; }
::placeholder              { color: #5F7769; opacity:.9; font-style: italic; }

hr {
  border: none;
  border-bottom: 1px solid #D1E7DD;
  margin: 30px 0 24px 0;
}

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

/* HERO SECTIONS & VISUALS ---------------------*/
section > .container > .content-wrapper > h1, section > .container > .content-wrapper > h2 {
  margin-bottom: 10px;
}
section {
  background: #FFFDF6;
  border-radius: 18px;
}
section:nth-child(even) {
  background: #FCF4E2;
}

/* RESPONSIVE DESIGN ---------------------------*/
@media (max-width: 650px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .cta-button, .cookie-btn, .details-link { font-size: 0.98rem; padding: 10px 12px; min-width: 112px; }
  .card, .testimonial-card, .feature-grid li {
    padding: 14px 10px 12px 10px;
    min-width: 0;
    font-size: 0.98rem;
  }
  .section { margin-bottom: 36px; padding: 20px 2px; }
  footer .container { padding: 0 4px; }
  .content-wrapper { gap: 12px; }
}
@media (max-width: 480px) {
  .feature-grid, .content-grid, .card-container { flex-direction: column; gap: 13px; }
  .main-nav, footer .container { flex-direction: column; gap: 8px; }
  .feature-grid li { min-width: 0; }
}

/* MICRO-INTERACTIONS & TRANSITIONS ------------*/
button, .cta-button, .details-link, .cookie-btn {
  transition: background 0.22s, color 0.19s, box-shadow 0.18s, transform 0.12s;
}
section, .card, .testimonial-card {
  transition: box-shadow 0.22s, background 0.22s, transform 0.14s;
}

/* ACCESSIBILITY HIGHLIGHTS --------------------*/
:focus {
  outline: 2px solid #F7B32B;
  outline-offset: 2px;
}

/* MISC. CLASSES (used in interior layouts) ----*/
.text-section ul li { position: relative; margin-left: 0.5em; padding-left: 1.2em; }
.text-section ul li:before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #F7B32B;
  font-size: 1em;
  top: 0.1em;
}

/* Hide visually, but keep for accessibility */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* LOADING INDICATOR (optional for js) ---------*/
.loader {
  border: 3px solid #D1E7DD;
  border-radius: 50%;
  border-top: 3px solid #F7B32B;
  width: 36px;
  height: 36px;
  animation: spin 1.1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
