/* ---------- 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 { box-sizing: border-box; height: 100%; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { min-height: 100vh; font-family: 'Open Sans', Arial, sans-serif; background: #fff; color: #202A34; }
a { color: #19324C; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #C69B6D; outline: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-left: 24px; }

/* ------------- TYPOGRAPHY SCALE -------------- */
h1, .h1 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 2.5rem; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; color: #19324C; }
h2, .h2 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; font-size: 2rem; line-height: 1.2; margin-bottom: 14px; color: #19324C; }
h3, .h3 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 500; font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; color: #19324C; }
h4, .h4 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 500; font-size: 1rem; line-height: 1.3; margin-bottom: 8px; color: #19324C; }
p { margin-bottom: 16px; font-size: 1rem; color: #202A34; }
strong { font-weight: 600; }
small { font-size: 0.85rem; }

/* -------------- LAYOUT BASICS ---------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---------------- HEADER --------------------- */
header {
  background: #E3E7EB;
  border-bottom: 1px solid #d1d8df;
  padding-top: 0;
  position: relative;
  z-index: 110;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #19324C;
  padding: 8px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #C69B6D;
}
.cta-btn {
  background: #19324C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 10px 28px;
  border: none;
  box-shadow: 0 2px 8px rgba(25,50,76, 0.08);
  transition: background .2s, box-shadow .2s, color .2s;
  cursor: pointer;
  margin-left: 24px;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C69B6D;
  color: #19324C;
  box-shadow: 0 4px 16px rgba(198,155,109,0.16);
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  display: none;
  background: #19324C;
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 16px;
  z-index: 150;
  transition: background .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #C69B6D;
  color: #19324C;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #E3E7EB;
  box-shadow: 0 0 34px rgba(25, 50, 76, 0.13);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #19324C;
  padding: 18px 18px 0 24px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #202A34;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 6px;
  margin: 6px 0;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #19324C;
  color: #fff;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }
  .cta-btn {
    padding: 9px 20px;
    margin-left: 12px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    min-height: 64px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .logo img {
    height: 32px;
  }
}

/* ------------- HERO, CTA, SECTION ------------- */
.hero, .cta, .about-preview, .about, .team, .values, .services, .confirmation, .legal, .kontakt, .faq {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(25, 50, 76, 0.04);
  margin-bottom: 36px;
}
.hero .content-wrapper, .cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ------------- FLEX LAYOUT ZONES -------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(25,50,76,0.07);
  padding: 28px 22px;
  flex: 1 1 320px;
  min-width: 260px;
}
.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: #E3E7EB;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0.8px 4px rgba(25,50,76,0.07);
  color: #222;
  max-width: 700px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F8FA;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(25,50,76,0.03);
  padding: 22px 16px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
}
.feature-item:hover,
.service-item:hover {
  box-shadow: 0 4px 18px rgba(25,50,76,0.11);
}

/* --------- FEATURES & SERVICES FLEX ----------- */
.features ul,
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}
.features ul li, .values-grid > div {
  background: #F6F8FA;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(25,50,76,0.045);
  padding: 22px 16px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow .2s;
  min-width: 200px;
}
.features ul li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Services List */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-item {
  background: #F6F8FA;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(25,50,76,0.045);
  padding: 28px 18px 22px;
  flex: 1 1 290px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .2s, border-color .2s;
  border: 1px solid #E3E7EB;
}
.service-item h3, .service-item h2 {
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: #19324C;
}
.service-item span {
  font-size: 1rem;
  color: #C69B6D;
  font-weight: 500;
}
.service-item a {
  color: #19324C;
  border-bottom: 1px solid #C69B6D;
  font-size: 0.99rem;
  margin-top: 8px;
  transition: color .18s, border-color .18s;
}
.service-item a:hover {
  color: #C69B6D;
  border-color: #C69B6D;
}

/* --------------- FOOTER ------------------- */
footer {
  background: #19324C;
  color: #fff;
  padding: 40px 0 24px 0;
  border-top: 6px solid #C69B6D;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #E3E7EB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .16s;
  opacity: 0.88;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #C69B6D;
  opacity: 1;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.97rem;
  opacity: .83;
}
.footer-branding img {
  height: 28px;
}

/* ---------- MISC: LISTS, TABLES ------------ */
ul, ol {
  margin-bottom: 14px;
  padding-left: 20px;
  color: #202A34;
  line-height: 1.7;
}
li {
  margin-bottom: 7px;
}

/* ----------- TESTIMONIALS ------------------ */
.testimonials .testimonial-card {
  background: #F6F8FA;
  color: #222;
  border-left: 6px solid #19324C;
  margin-bottom: 26px;
  padding: 20px 28px;
  gap: 26px;
  flex-direction: row;
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: #19324C;
  font-size: 0.96rem;
}
.testimonial-card p {
  margin-bottom: 0;
  font-style: italic;
  color: #252933;
  flex: 1;
}

/* ----------- FAQ & CONFIRMATION ------------ */
.faq ul,
.confirmation ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.confirmation a.cta-btn {
  margin-top: 16px;
}

/* ----------- LEGAL PAGES ------------------- */
.legal, .legal .content-wrapper {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 10px rgba(25,50,76,0.04);
}
.legal h2 {
  margin-top: 22px;
  margin-bottom: 10px;
}
.legal ul { margin-bottom: 10px; }

/* ----------- CONTACT PAGE ------------------ */
.kontakt .content-wrapper {
  gap: 30px;
  align-items: flex-start;
}
.kontakt .text-section {
  background: #F6F8FA;
  padding: 20px 20px 16px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(25,50,76,0.02);
  margin-bottom: 8px;
}
.kontakt a {
  color: #19324C;
  border-bottom: 1px dotted #C69B6D;
}

/* ------------ MODAL & COOKIE CONSENT --------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #19324C;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 40px 18px 20px;
  min-height: 64px;
  z-index: 3000;
  box-shadow: 0 -2px 10px rgba(25,50,76,0.10);
  font-size: 1rem;
  transition: transform .32s cubic-bezier(0.4,0,0.2,1), opacity .32s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin-right: 8px;
  background: #fff;
  color: #19324C;
  box-shadow: 0 0.6px 3px rgba(25,50,76,0.08);
  transition: background .15s, color .15s, box-shadow .15s;
}
.cookie-banner button.accept {
  background: #C69B6D;
  color: #19324C;
}
.cookie-banner button.reject {
  background: #fff;
  color: #19324C;
  border: 1.5px solid #c8d1db;
}
.cookie-banner button.settings {
  background: #E3E7EB;
  color: #19324C;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #19324C;
  color: #fff;
  box-shadow: 0 2px 7px rgba(25,50,76,0.12);
}
.cookie-banner button.accept:hover {
  background: #19324C;
  color: #fff;
}
.cookie-banner button.reject:hover {
  background: #C69B6D;
  color: #19324C;
}
.cookie-banner button.settings:hover {
  background: #19324C;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  z-index: 4000;
  min-width: 320px;
  max-width: 95vw;
  background: #fff;
  color: #19324C;
  border-radius: 14px;
  box-shadow: 0 5px 64px rgba(25,50,76,0.18), 0 0.6px 4px rgba(25,50,76,0.05);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
  transition: opacity .3s, transform .3s cubic-bezier(.62,.00,.41,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -48%) scale(0.97);
}
.cookie-modal .cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #19324C;
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: 28px;
  padding: 0;
  transition: color .18s;
}
.cookie-modal .close-modal:hover {
  color: #C69B6D;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f3f5f8;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal .category-toggle {
  margin-left: 16px;
}
.cookie-modal .toggle-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 26px;
  background: #E3E7EB;
  border-radius: 18px;
  position: relative;
  transition: background .15s;
}
.cookie-modal .toggle-switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 1.5px 3px rgba(25,50,76,0.09);
  transition: left .18s cubic-bezier(.31,0,.51,1), background .2s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  left: 20px;
  background: #C69B6D;
}
.cookie-modal .category-desc {
  margin-top: 4px;
  font-size: 0.93rem;
  color: #667;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal .cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* SCROLLBAR STYLE for professional look */
body::-webkit-scrollbar { width: 12px; background: #E3E7EB; }
body::-webkit-scrollbar-thumb { background: #B0B8C5; border-radius: 8px; }
body { scrollbar-color: #B0B8C5 #E3E7EB; }

/* ----------- RESPONSIVE --------------------- */
@media (max-width: 1020px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .footer-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .services-list,
  .features ul {
    gap: 14px;
  }
  .service-item,
  .features ul li,
  .values-grid > div {
    min-width: 160px;
    padding: 18px 11px;
  }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 14px; }
  .section, section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .features ul, .values-grid, .services-list, .content-grid {
    gap: 10px;
  }
  .features ul li, .values-grid > div, .service-item {
    min-width: 100px;
    padding: 13px 5px;
  }
  .hero .content-wrapper, .cta .content-wrapper { padding: 0 5px; }
  .hero, .cta, .about-preview, .about, .team, .values, .services, .confirmation, .legal, .kontakt, .faq {
    margin-bottom: 18px;
    border-radius: 8px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-branding {
    gap: 9px;
    font-size: 0.9rem;
  }
}
@media (max-width: 575px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  .hero .content-wrapper,
  .cta .content-wrapper {
    gap: 10px;
    padding: 0;
  }
  .cta-btn, .cookie-banner button {
    padding: 9px 15px;
    font-size: 0.98rem;
  }
  .cookie-banner { padding: 12px 6px; font-size: 0.93rem; min-height: 38px; }
  .cookie-modal { padding: 18px 4px 14px 9px; }
  .mobile-nav a { font-size: 1rem; padding: 11px 16px; }
}

/* ------------- TRANSITIONS & EFFECTS -------------- */
.card, .feature-item, .service-item {
  transition: box-shadow .2s, border-color .2s, transform .13s;
}
.card:hover, .feature-item:hover, .service-item:hover {
  box-shadow: 0 8px 36px rgba(25,50,76,0.16);
  transform: translateY(-2px) scale(1.015);
}
.btn, .cta-btn, .cookie-banner button, .cookie-modal button {
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
}

/* FOCUS VISIBLE (Accessibility) */
a:focus-visible, button:focus-visible {
  outline: 2px dashed #C69B6D;
  outline-offset: 2px;
}

/* ------------- MICRO-INTERACTIONS --------------- */
.cta-btn:active, .cookie-banner button:active {
  filter: brightness(0.92);
}
.service-item a:active { color: #19324C; }

/* ------------- PRINT MINIMALISM --------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #222 !important; background: #fff !important; font-size: 10pt; }
}

/* ------------- PROFESSIONAL PALETTE Fallbacks ------------- */
body, .content-wrapper, .about-preview, .about, .team, .values, .services, .confirmation, .legal, .kontakt, .faq {
  background: #fff;
}

/* ------------- END OF CSS -------------- */
