/* 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;
}
footer p {
  color: white;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F5EEDD;
  color: #225E43;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPE SCALE */
h1, .h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #225E43;
  margin-bottom: 20px;
  text-transform: none;
}
h2, .h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #225E43;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #176280;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
h4, .h4 {
  font-size: 1.05rem;
  font-family: 'Merriweather', Georgia, serif;
  color: #225E43;
  font-weight: 600;
}
p, .subtitle {
  font-size: 1rem;
  color: #225E43;
  margin-bottom: 16px;
}
.subtitle {
  font-size: 1.15rem;
  color: #176280;
  margin-bottom: 24px;
  font-weight: 600;
}
strong {
  font-weight: 700;
  color: #176280;
}
small {
  font-size: 0.9em;
  color: #368BAD;
}

/* CONTAINER & RESPONSIVE LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
/* STRUCTURED SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* NAVIGATION HEADER */
header {
  background: #FFFFFF;
  border-bottom: 4px solid #176280;
  width: 100%;
  position: relative;
  z-index: 10;
  box-shadow: 0 6px 24px -14px rgba(34,94,67,0.10);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #225E43;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 10px 0;
  position: relative;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: #176280;
}
/* ACTIVE NAV ITEM (optional, not present in HTML but design-ready) */
nav a.active {
  color: #368BAD;
  border-bottom: 2.5px solid #368BAD;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #176280;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.16s;
  z-index: 101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #368BAD;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 94, 67, 0.98);
  backdrop-filter: blur(3px);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.7,.3,.1,1.2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 20px 20px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #F5EEDD;
  font-size: 2.2rem;
  cursor: pointer;
  margin-bottom: 30px;
  transition: color 0.24s;
}
.mobile-menu-close:focus {
  outline: 2px solid #F5EEDD;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.mobile-nav a {
  color: #F5EEDD;
  font-size: 1.3rem;
  font-family: 'Merriweather',Georgia,serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 13px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border .25s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D4EDF4;
  border-bottom: 2px solid #368BAD;
}

/* LAYOUT GRIDS AND FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 2px 18px rgba(34,94,67,0.08);
  padding: 24px 20px 18px 20px;
  min-width: 250px;
  transition: box-shadow .22s, transform .16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(54,139,173,0.14);
  transform: translateY(-5px) scale(1.03);
}
.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: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(34,94,67,0.10);
  margin-bottom: 20px;
  color: #225E43;
  flex-direction: row;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #176280;
}
.testimonial-card span {
  font-size: .97rem;
  color: #368BAD;
  margin-left: auto;
  font-family: 'Open Sans', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 16px;
}

/* CTAs & BUTTONS */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 14px 36px;
  font-size: 1.09rem;
  font-family: 'Merriweather',Georgia,serif;
  letter-spacing: 0.04em;
  font-weight: 700;
  background: #368BAD;
  color: #F5EEDD;
  box-shadow: 0 2px 12px rgba(54,139,173,.14);
  border: none;
  outline: none;
  cursor: pointer;
  min-width: 180px;
  margin-top: 6px;
  text-decoration: none;
  transition: background .21s, color .21s, transform .17s, box-shadow .17s;
}
.cta.primary {
  background: #225E43;
  color: #FFFFFF;
}
.cta:hover, .cta:focus, .cta.primary:hover, .cta.primary:focus {
  background: #176280;
  color: #F5EEDD;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 14px rgba(34, 94, 67, 0.17);
  text-decoration: none;
}

.price {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: #225E43;
  background: #F5EEDD;
  border-radius: 8px;
  padding: 3px 12px;
  letter-spacing: 0.03em;
  margin-top: 6px;
  display: inline-block;
}

/* LISTS & PARAGRAPHS */
ul, ol {
  margin-left: 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
li {
  font-size: 1rem;
  color: #225E43;
}

/* FOOTER STYLES */
footer {
  background: #225E43;
  color: #F5EEDD;
  padding: 38px 0 22px 0;
  border-top: 4px solid #176280;
  box-shadow: 0 -4px 28px -10px rgba(34,94,67,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo img {
  width: 62px;
  height: auto;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}
footer nav a {
  color: #F5EEDD;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: #D4EDF4;
}
.text-section p {
  margin-bottom: 6px;
  font-size: .98rem;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #225E43;
  color: #F5EEDD;
  width: 100%;
  box-shadow: 0 -2px 16px rgba(34,94,67,0.18);
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  z-index: 4000;
  animation: cookieSlideIn 0.9s cubic-bezier(.62,-0.01,0,1.1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(200px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #F5EEDD;
  font-size: 1rem;
  margin: 0 15px 0 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: #368BAD;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #176280;
}
.cookie-banner .reject {
  background: #fff;
  color: #225E43;
  border: 2px solid #176280;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F5EEDD;
  color: #176280;
}
.cookie-banner .settings {
  background: transparent;
  color: #F5EEDD;
  border: 2px solid #368BAD;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #368BAD;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -55%) scale(0.98);
  z-index: 4200;
  background: #FFFFFF;
  color: #225E43;
  box-shadow: 0 8px 44px rgba(34,94,67,0.18);
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  max-width: 430px;
  width: 90%;
  animation: modalPopIn 0.36s cubic-bezier(.63,-0.06,0,1.17);
  display: none;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  display: flex;
}
@keyframes modalPopIn {
  from { opacity: 0; transform: translate(-50%, -35%) scale(0.9); }
  to   { opacity: 1; transform: translate(-50%, -55%) scale(0.98); }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: #176280;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.cookie-modal .toggle {
  width: 44px; height: 24px;
  border-radius: 15px;
  background: #D4EDF4;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .17s;
  border: 1.5px solid #368BAD;
}
.cookie-modal .toggle[data-on='true'] {
  background: #368BAD;
}
.cookie-modal .toggle-switch {
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px; left: 1px;
  transition: left .18s;
  box-shadow: 0 2px 7px rgba(34,94,67,.10);
}
.cookie-modal .toggle[data-on='true'] .toggle-switch {
  left: 21px;
}
.cookie-modal .disable {
  opacity: .5;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
  align-items: center;
}
.cookie-modal button {
  padding: 8px 20px;
  border-radius: 10px;
  border: none;
  background: #225E43;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #176280;
}
.cookie-modal .close-modal {
  background: #F5EEDD;
  color: #176280;
  border: 2px solid #176280;
  margin-left: auto;
}
.cookie-modal .close-modal:hover:focus {
  background: #368BAD;
  color: #fff;
}

/* GEOMETRIC STRUCTURED SHAPES */
.card, .testimonial-card, .cookie-modal, .section, section, .footer-logo img, .cta, .cta.primary {
  border-radius: 18px;
}
hr {
  border: none;
  border-top: 2px solid #176280;
  margin: 32px 0;
}

/* FORMS (if any in Kontakt, etc.) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1.5px solid #368BAD;
  background: #fff;
  color: #225E43;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 2px solid #225E43;
}
label {
  font-weight: 600;
  color: #176280;
  margin-bottom: 6px;
  display: block;
}

/* VISUAL HIERARCHY & SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  box-shadow: 0 2px 14px rgba(34,94,67,.06);
  border-radius: 28px 8px 28px 8px;
}

/* MEDIA QUERIES & RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  nav { gap: 14px; }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 6px;
  }
  header .container { flex-direction: row; gap: 8px; }
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section, section {
    padding: 27px 5px;
    margin-bottom: 36px;
    border-radius: 22px 6px 22px 6px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.06rem; }
  .price { font-size: 0.99rem; }
  .cta, .cta.primary {
    font-size: 0.97rem;
    min-width: 140px;
    padding: 10px 19px;
    border-radius: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 13px 10px;
    align-items: flex-start;
    font-size: 0.98rem;
  }
  .testimonial-card span {
    margin-left: 0;
    margin-top: 7px;
  }
  .card {
    min-width: 170px;
    padding: 13px 7px 10px 9px;
  }
  .features, .card-container, .content-grid { gap: 9px; }
  .feature-item { gap: 9px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-logo img { width: 38px; }
  footer .container { gap: 5px; }
  .cookie-banner { flex-direction: column; gap: 12px; padding: 16px 7px 12px 7px; }
  .cookie-modal { padding: 22px 8px 15px 8px; }
}

@media (max-width: 525px) {
  h1 { font-size: 1.26rem; }
  h2 { font-size: 1.03rem; }
  .cta, .cta.primary { padding: 8px 11px; min-width: 100px; font-size: 0.91rem; }
  .footer-logo img { width: 27px; }
  .cookie-modal { max-width: 96vw; }
}

/* UTILITY */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* COLOR INVERT ON SELECTED/FOCUSABLE */
a:focus, button:focus, .cta:focus, input:focus, textarea:focus {
  outline: 2px solid #368BAD;
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS */
.card, .cta, .testimonial-card {
  will-change: transform, box-shadow;
  transition: box-shadow .22s, transform .14s, background .19s;
}
.card:hover, .card:focus-within, .card.selected {
  box-shadow: 0 8px 36px 0 rgba(54,139,173,0.13);
  transform: translateY(-2px) scale(1.015);
  background: #F5EEDD;
}

/* GEOMETRIC STRUCTURE DECORATIVE SHAPES */
.section, section {
  border-top: 8px solid #368BAD;
  border-bottom: 6px solid #225E43;
  border-left: 0;
  border-right: 0;
}
@media (max-width: 768px) {
  .section, section {
    border-top-width: 5px;
    border-bottom-width: 3px;
  }
}

/* HIDE SCROLLBAR (optional) ON MOBILE MENU */
.mobile-menu {
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* SELECTED STATE FOR LIST/CTA - ready for js handling */
li.selected, .cta.selected {
  background: #368BAD;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
}

/* ADD ACCESSIBLE FOCUS FOR ALL BUTTONS */
button:focus-visible {
  outline: 2px solid #176280;
  outline-offset: 1px;
}

/* LOADING ANIMATION SKELETON (ready for js usage) */
.skeleton {
  background: #e6edea;
  border-radius: 12px;
  min-width: 80px;
  min-height: 1.1em;
  animation: skeletonPulse 1.5s infinite alternate;
}
@keyframes skeletonPulse {
  from { opacity: 0.7; }
  to   { opacity: 1.0; }
}

/* END OF STYLE */
