/* RESET & BASE ================================ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #25405C;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #61A570;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.64,.09,.08,1);
  font-weight: bold;
}
a:hover, a:focus {
  color: #F3EBDD;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: #25405C;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  font-size: 1.07rem;
}
strong {
  font-weight: 700;
}

/* CONTAINERS ============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(37, 64, 92, 0.07);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 32px;
    border-radius: 18px;
  }
}

/* HEADER & NAVIGATION ===================== */
header {
  background: #25405C;
  color: #fff;
  width: 100%;
  position: relative;
  z-index: 11;
  box-shadow: 0 3px 18px rgba(37, 64, 92, 0.13);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
  position: relative;
}
.logo img {
  max-height: 44px;
  width: auto;
  margin-right: 16px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: #F3EBDD;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #61A570;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 32px;
  background: #61A570;
  color: #25405C;
  box-shadow: 0 2px 12px rgba(97, 165, 112, 0.10);
  letter-spacing: 0.03em;
  transition: background .16s, color .16s, box-shadow .18s, transform .16s;
  margin-left: 18px;
  border: none;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: #25405C;
  color: #F3EBDD;
  box-shadow: 0 4px 16px rgba(37, 64, 92, 0.18);
  transform: translateY(-2px) scale(1.03);
}
.cta.primary {
  background: #F3EBDD;
  color: #25405C;
  border: 2px solid #61A570;
  box-shadow: 0 3px 16px rgba(243,235,221,0.09);
}
.cta.primary:hover, .cta.primary:focus {
  background: #61A570;
  color: #fff;
  border-color: #25405C;
}

/* Hamburger (Mobile menu toggle) */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  color: #F3EBDD;
  border: none;
  cursor: pointer;
  padding: 4px 16px;
  border-radius: 8px;
  transition: background .13s, color .13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #61A570;
  color: #25405C;
}

/* MOBILE MENU ============================ */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #25405C;
  color: #F3EBDD;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px 32px 32px;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,0,.18,.98);
  box-shadow: 0 8px 80px rgba(37, 64, 92, 0.25);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #F3EBDD;
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color .13s, background .13s;
  border-radius: 8px;
  padding: 3px 16px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #61A570;
  background: #F3EBDD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: #F3EBDD;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.38rem;
  padding: 15px 0;
  border-radius: 6px;
  transition: background .13s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #61A570;
  color: #25405C;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 12px;
  }
  .cta {
    margin-left: 10px;
  }
}
@media (max-width: 930px) {
  .main-nav {
    gap: 6px;
  }
}
/* Hide desktop nav and show hamburger on mobile */
@media (max-width: 900px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* HERO SECTION =========================== */
.hero {
  background: linear-gradient(120deg, #25405C 62%, #61A570 100%);
  border-bottom-left-radius: 54px;
  border-bottom-right-radius: 54px;
  color: #F3EBDD;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
  box-shadow: 0 6px 24px rgba(37,64,92,0.13);
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 16px;
}
.hero h1, .hero p {
  color: #F3EBDD;
}
.hero .cta {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .hero {
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    min-height: 180px;
    margin-bottom: 18px;
  }
}
@media (max-width: 768px) {
  .hero {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-height: 120px;
  }
  .hero .container {
    min-height: 130px;
  }
}

/* FLEX LAYOUT COMPONENTS ================= */
/* feature-grid = used for card/feature rows */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  width: 100%;
}
.feature-grid > div {
  background: #fff;
  box-shadow: 0 2.5px 18px rgba(97,165,112,0.08), 0 1px 6px rgba(37, 64, 92, 0.07);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 235px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.13s, transform 0.13s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 5px 32px rgba(97,165,112,0.23);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    padding: 18px 12px;
    border-radius: 15px;
    margin-bottom: 16px;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    margin-bottom: 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2.5px 16px rgba(37,64,92,0.09);
  background: #fff;
  padding: 22px 18px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F3EBDD;
  color: #25405C;
  border-radius: 20px;
  box-shadow: 0 1.5px 14px rgba(97, 165, 112, 0.11);
  margin-bottom: 20px;
  margin-top: 0;
  transition: box-shadow .12s, transform .13s;
  min-width: 210px;
  flex: 1 1 210px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 26px rgba(97,165,112,0.19);
  transform: translateY(-4px) scale(1.02);
}
.testimonial-card span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #25405C;
}
.testimonial-card.featured-story {
  background: #61A570;
  color: #fff;
  box-shadow: 0 3px 24px rgba(37,64,92,0.19);
}
.testimonial-card.featured-story span,
.testimonial-card.featured-story h3 {
  color: #fff;
}
@media (max-width: 900px) {
  .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 16px 8px;
  }
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 900px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    gap: 10px;
  }
}

/* BLOG STYLES ============================= */
.blog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.blog-list li {
  background: #F3EBDD;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 8px rgba(97,165,112,0.12);
  margin-bottom: 0;
}
.highlighted-post {
  background: #61A570;
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 16px rgba(37,64,92,0.12);
  margin-top: 14px;
}
.highlighted-post h3 {
  color: #fff !important;
}

/* MAP SECTION ============================= */
.map-section {
  background: #F3EBDD;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  color: #25405C;
}

/* FOOTER ================================ */
footer {
  background: #25405C;
  color: #F3EBDD;
  width: 100%;
  margin-top: 56px;
  padding: 0;
  position: relative;
  font-size: 1.0rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #F3EBDD;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1.09rem;
  transition: color .12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #61A570;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-size: 0.99rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  display: inline-block;
  object-fit: contain;
  margin-right: 2px;
}
footer p {
  color: #F3EBDD;
  font-size: 0.95rem;
  margin-top: 8px;
}
@media (max-width: 768px) {
  footer .container {
    padding: 18px 8px;
    font-size: 0.95rem;
    gap: 12px;
  }
  .footer-contact {
    gap: 10px;
  }
  .footer-nav {
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.97rem;
  }
}

/* BUTTONS & INTERACTIVES =================== */
button {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: bold;
  border-radius: 20px;
  padding: 10px 24px;
  background: #61A570;
  color: #F3EBDD;
  cursor: pointer;
  border: none;
  transition: background .13s, color .13s, box-shadow .13s, transform .13s;
}
button:hover, button:focus {
  background: #25405C;
  color: #F3EBDD;
  box-shadow: 0 3px 19px rgba(97, 165, 112, 0.23);
  transform: translateY(-2px) scale(1.03);
}

/* FORMS (Kontakt, Cookie Modal) =========== */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #61A570;
  font-size: 1.04rem;
  background: #fff;
  color: #25405C;
  margin-bottom: 10px;
  outline: none;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #25405C;
}
label {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
  color: #25405C;
}

/* COOKIE CONSENT BANNER ==================*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #25405C;
  color: #F3EBDD;
  z-index: 998;
  padding: 24px 20px 22px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  box-shadow: 0 -3px 30px rgba(37,64,92,0.22);
  font-size: 1.01rem;
  flex-wrap: wrap;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.68,.02,.14,1.01), opacity 0.25s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-banner-text {
  flex: 2 1 240px;
  margin-bottom: 10px;
}
.cookie-banner .cookie-banner-buttons {
  flex: 1 1 220px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #61A570;
  color: #25405C;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  padding: 10px 22px;
  font-weight: 700;
  border-radius: 24px;
  transition: background .12s, color .12s, transform .12s;
  border: 2px solid transparent;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F3EBDD;
  color: #25405C;
  border-color: #61A570;
  transform: translateY(-2px) scale(1.02);
}
.cookie-banner .settings {
  background: #F3EBDD;
  color: #25405C;
  border: 2px solid #61A570;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 15px 6px 22px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-banner-buttons {
    gap: 8px;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL DIALOG ===================== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(37,64,92,0.82);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInBg .32s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #25405C;
  border-radius: 22px;
  max-width: 420px;
  width: 97vw;
  padding: 36px 32px 24px 32px;
  box-shadow: 0 7px 56px rgba(37,64,92,0.20);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUp .36s cubic-bezier(.59,.05,.19,1.01);
}
@keyframes slideUp {
  from {
    transform: translateY(150px) scale(.91);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #F3EBDD;
  color: #25405C;
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 11px;
  font-size: 1.05rem;
}
.cookie-modal .toggle-label {
  font-weight: bold;
  letter-spacing: .01em;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 42px;
  height: 22px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ced5dc;
  border-radius: 22px;
  transition: background .18s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: #61A570;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .close-modal {
  font-size: 1.7rem;
  color: #25405C;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 18px; top: 14px;
  padding: 3px 14px;
  border-radius: 8px;
  transition: background .10s, color .10s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #61A570;
  color: #fff;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  padding: 10px 18px;
}
@media (max-width: 550px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 20px 8px 16px 8px;
    border-radius: 13px;
  }
}

/* SPACING utilities ========================== */
.mb-0 { margin-bottom: 0!important; }
.mb-1 { margin-bottom: 6px!important; }
.mb-2 { margin-bottom: 12px!important; }
.mb-3 { margin-bottom: 20px!important; }
.mb-4 { margin-bottom: 32px!important; }
.mt-2 { margin-top: 12px!important; }
.mt-3 { margin-top: 20px!important; }
.pt-1 { padding-top: 7px!important; }
.pt-2 { padding-top: 18px!important; }

/* UTILITIES ======================== */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* RESPONSIVE TYPOGRAPHY AND LAYOUT */
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 400px) {
  html { font-size: 13.5px; }
}

/* GEOMETRIC SHAPES DECORATIVE (optional layer for brand feel) */
.section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  right: 0; bottom: 0;
  width: 120px; height: 120px;
  background: rgba(97,165,112,0.09);
  border-top-left-radius: 100vw;
  border-bottom-right-radius: 24px;
  pointer-events: none;
}
.section {
  position: relative;
  overflow: hidden;
}
.section > * {
  z-index: 1;
  position: relative;
}
@media (max-width: 600px) {
  .section::after {
    width: 58px; height: 58px;
    border-top-left-radius: 32px;
  }
}

/* ACCESSIBILITY & CONTRAST for testimonials/reviews
   Ensures text is always dark on light bg or white on colored bg */
.testimonial-card {
  background: #F3EBDD;
  color: #25405C;
}
.testimonial-card.featured-story {
  background: #61A570;
  color: #fff;
}

/* HOVER EFFECTS ============================ */
section a.cta,.cta.primary {
  transition: background .16s, color .16s, box-shadow .16s, transform .14s;
  will-change: background, color, transform;
}
section a.cta:hover, section a.cta:focus {
  background: #25405C;
  color: #F3EBDD !important;
  box-shadow: 0 4px 24px rgba(37,64,92,0.18);
  transform: translateY(-3px) scale(1.04);
}

/* TYPOGRAPHY HIERARCHY =================== */
.text-section ul, .text-section ol {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.text-section li {
  margin-bottom: 5px;
}
.text-section h3 {
  margin-top: 15px;
  color: #61A570;
  font-size: 1.13rem;
}
.feature-grid h3, .card h3, .testimonial-card h3 {
  color: #25405C;
  font-size: 1.11rem;
  margin-bottom: 4px;
}

/* SELECTION */
::selection {
  background: #61A570;
  color: #fff;
}

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