/* ---------------------------------------------------------
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FDF7F3;
  color: #1B2738;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   VARIABLES (FALLBACK FOR LEGACY)
--------------------------------------------------------- */
:root {
  --primary: #19315B;
  --secondary: #36A1AE;
  --accent: #FFFFFF;
  --warm-bg: #FFFCF7;
  --warm-card: #FFF5E5;
  --warm-soft: #FFEDD5;
  --warm-border: #F5D0A9;
  --warm-shadow: 0 4px 16px rgba(221,158,87,0.1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v26/JTUQjIg1_i6t8kCHKm459WxZbvc.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxM.ttf') format('truetype');
}

/* ---------------------------------------------------------
   GENERAL LAYOUT & TYPOGRAPHY
--------------------------------------------------------- */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 16px;
  background: var(--warm-bg);
  color: #1B2738;
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  margin-top: 32px;
  margin-bottom: 32px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--warm-bg);
  border-radius: 28px;
  box-shadow: var(--warm-shadow);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
ul {
  padding-left: 20px;
}
ul > li {
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}
ul > li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  background: var(--secondary);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  margin-left: -20px;
}

/* Hierarchy for CTA buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 13px 32px;
  border-radius: 28px;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(54,161,174,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  border: 2px solid var(--secondary);
  cursor: pointer;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #31929C;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(54,161,174,0.13);
  color: #fff;
}

/* ---------------------------------------------------------
   FLEXBOX LAYOUT PATTERNS - MANDATORY CLASSES
--------------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--warm-card);
  border-radius: 22px;
  box-shadow: var(--warm-shadow);
  padding: 28px;
}
.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: 14px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(25,49,91,0.10);
  font-size: 1.05rem;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  color: #1B2738;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------------------------------
   HEADER & NAVIGATION
--------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(221,158,87,0.04);
  border-radius: 0 0 22px 22px;
  padding: 0;
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
header img {
  height: 52px;
  width: auto;
  margin-right: 26px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: var(--warm-soft);
  color: var(--secondary);
}
header .cta-btn {
  margin-left: 16px;
}

/* Hide mobile menu toggle button by default */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
  box-shadow: 0 2px 8px rgba(54,161,174,0.15);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #31929C;
}

/* ---------------------------------------------------------
   MOBILE NAVIGATION (SLIDE MENU)
--------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(0.75,0,0.25,1);
  box-shadow: 2px 0 16px rgba(29,49,91,0.08);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 28px 0 0;
  font-size: 2rem;
  color: var(--secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--warm-soft);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 18px 34px;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.12rem;
  font-family: var(--font-display);
  color: var(--primary);
  padding: 14px 0;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--warm-soft);
  color: var(--secondary);
}

@media (max-width: 1024px) {
  header nav {
    gap: 12px;
  }
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container,
  footer .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  header nav {
    display: none;
  }
  header .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  main {
    margin-top: 18px;
    margin-bottom: 24px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  h3 { font-size: 1.1rem; }
  section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 16px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px 14px;
    font-size: 0.97rem;
    border-radius: 13px;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.13rem; }
}

/* ---------------------------------------------------------
   FOOTER STYLES
--------------------------------------------------------- */
footer {
  background: #fff;
  box-shadow: 0 -2px 10px rgba(221,158,87,0.08);
  border-radius: 22px 22px 0 0;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  padding-top: 34px;
  padding-bottom: 34px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.94;
  margin-bottom: 7px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
  padding: 4px 10px;
}
footer nav a:hover {
  background: var(--warm-soft);
  color: var(--secondary);
}
footer address {
  font-style: normal;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.8;
}
footer a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.14s;
}
footer a:hover {
  color: #257485;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
    align-items: flex-start;
  }
  footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ---------------------------------------------------------
   CARDS & CONTENT ELEMENTS
--------------------------------------------------------- */
.card {
  margin-bottom: 20px;
  background: var(--warm-card);
  border-radius: 22px;
  box-shadow: var(--warm-shadow);
  padding: 28px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(221,158,87,0.14);
  transform: translateY(-4px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ---------------------------------------------------------
   TESTIMONIALS & QUOTES
--------------------------------------------------------- */
.testimonial-card {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.08rem;
  background: #fff;
  border-left: 5px solid var(--secondary);
  color: #202B38;
  box-shadow: 0 2px 12px rgba(25,49,91,0.10);
  border-radius: 20px;
  margin-bottom: 20px;
  gap: 14px;
  padding: 20px 28px;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #225B67;
}

/* ---------------------------------------------------------
   ICONS IN LISTS (KONTAKT PAGE, ETC.)
--------------------------------------------------------- */
li img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  filter: hue-rotate(-30deg) brightness(1.08) saturate(1.08);
}
li a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.16s;
  word-break: break-word;
}
li a:hover {
  color: #225B67;
}

/* ---------------------------------------------------------
   INTERACTIVE HOVER/FOCUS EFFECTS
--------------------------------------------------------- */
button,
.cta-btn,
.mobile-menu-toggle,
.mobile-menu-close {
  outline: none;
  transition: box-shadow 0.15s, background 0.15s, color 0.18s, transform 0.14s;
}
button:focus-visible,
.cta-btn:focus-visible,
.mobile-menu-toggle:focus-visible, 
.mobile-menu-close:focus-visible {
  box-shadow: 0 0 0 3px #FFD6A1;
}

/* ---------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  min-height: 64px;
  background: #fff9f4;
  color: #31343B;
  box-shadow: 0 -2px 12px rgba(221,158,87,0.09);
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px 15px;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  opacity: 1;
  transition: transform 0.33s cubic-bezier(0.8,0,0.2,1), opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 9px 24px;
  background: var(--secondary);
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(54,161,174,0.08);
  transition: background 0.15s, box-shadow 0.14s;
  cursor: pointer;
}
.cookie-banner .cookie-btn.reject {
  background: #EFE8D9;
  color: #94601A;
  margin-left: 4px;
  border: 1.5px solid #fae3cd;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #f6e2bd;
  color: #ac7d33;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-banner .cookie-btn.settings:hover {
  background: #f9f6ff;
}
.cookie-banner .cookie-btn.accept:hover {
  background: #31929C;
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 4px;
    text-align: center;
  }
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25,49,91,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  width: 90vw;
  max-width: 430px;
  background: #fff;
  padding: 32px 28px 18px 28px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(25,49,91,0.14);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
  margin-right: 8px;
}
.cookie-modal input[type=checkbox], .cookie-modal input[type=radio] {
  accent-color: var(--secondary);
  width: 19px; height: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 92px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--warm-soft);
  color: var(--primary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 16px 6px 8px 10px;
    font-size: 0.98rem;
  }
}

/* ---------------------------------------------------------
   UTILITY CLASSES
--------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.hp-32 { padding-right: 32px; padding-left: 32px; }
.rounded-full { border-radius: 999px; }
.bg-primary { background: var(--primary); color: #fff; }
.bg-secondary { background: var(--secondary); color: #fff; }

/* Decorative/friendly effects */
section {
  border: 1.5px solid var(--warm-border);
  box-shadow: var(--warm-shadow);
}

/* Responsive flex direction for .text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ---------------------------------------------------------
   FORM ELEMENTS - (for future expansion)
--------------------------------------------------------- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 16px;
  border: 1.5px solid #FFEDD5;
  padding: 11px 15px;
  margin-bottom: 13px;
  box-shadow: 0 2px 8px rgba(221,158,87,0.08);
  background: #FFF5E5;
  transition: border-color 0.18s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  background: #fff;
  outline: none;
}

/* Toasts, alerts, info banners */
.info-banner {
  display: flex;
  align-items: center;
  background: #FFF5E5;
  color: var(--primary);
  padding: 14px 22px;
  border-radius: 22px;
  box-shadow: 0 2px 6px rgba(221,158,87,0.05);
  font-size: 1rem;
  gap: 12px;
  margin-bottom: 24px;
}

/* ---------------------------------------------------------
   SCROLLBAR STYLES (Friendly soft)
--------------------------------------------------------- */
body::-webkit-scrollbar { width: 10px; background: #FFE6BA; }
body::-webkit-scrollbar-thumb { background: #FFDDA1; border-radius: 16px; }

/* ---------------------------------------------------------
   SCREENSAVER/LOADING/TRANSITIONS
--------------------------------------------------------- */
.fade-in {
  animation: fadeIn 0.65s cubic-bezier(0.39,0.44,0.21,1) 1;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------------------------------------------------------
   END OF STYLE
--------------------------------------------------------- */
