/* ========================
  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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.4;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F9F3;
  color: #0A3757;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #46BFB0;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0A3757;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* ========================
  BRAND FONTS & COLORS
=========================== */
:root {
  --primary: #0A3757;
  --secondary: #46BFB0;
  --accent: #F6F9F3;
  --white: #fff;
  --card-bg: #fff;
  --shadow: 0 6px 24px 0 rgba(10, 55, 87, 0.07);
  --danger: #e94646;
  --success: #12bd7e;
  --text-main: #0A3757;
  --text-muted: #436784;
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

/* ========================
  TYPOGRAPHY - MODERN BOLD
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
@media (max-width: 768px){ h1 { font-size: 2.0rem; } }
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}
@media (max-width: 768px){ h2 { font-size: 1.5rem; } }
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  text-transform: none;
}
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul, ol, blockquote { font-size: 1rem; color: var(--text-main); margin-bottom: 14px; }
.subheadline {
  font-size: 1.2rem;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
strong {
  font-weight: 800;
  color: var(--primary);
}
blockquote {
  border-left: 4px solid var(--secondary);
  margin: 18px 0;
  padding-left: 18px;
  font-style: italic;
  color: var(--primary);
  background: #eafdff;
  border-radius: 8px;
}

/* ========================
  LAYOUT CONTAINER CLASSES
=========================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow .2s, transform .18s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(10,55,87,0.13);
  transform: translateY(-3px) scale(1.02);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .content-grid { flex-direction: column; gap: 20px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
  HEADER + MAIN NAVIGATION
=========================== */
header {
  background: var(--white);
  box-shadow: 0 3px 16px rgba(10, 55, 87, 0.08);
  position: sticky;
  top: 0; left: 0; z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding: 14px 0;
}
.main-nav .logo {
  margin-right: 18px;
  display: flex;
  align-items: center;
  height: 42px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 4px;
  border-radius: 4px;
  transition: color 0.16s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus{
  background: var(--secondary);
  color: var(--white);
}
/* Hide mobile toggle on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 14px;
    font-size: 0.95rem;
  }
}
@media (max-width: 900px) {
  .main-nav a { font-size: 0.93rem; }
}
/* On small screens: show burger, hide nav */
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 24px;
    top: 16px;
    font-size: 2.1rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center; justify-content: center;
    z-index: 1051;
    border: 2px solid var(--secondary);
    transition: background 0.18s, box-shadow 0.16s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 1px 8px rgba(70,191,176,0.17);
  }
}

/* ========================
  MOBILE SLIDE MENU
=========================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  z-index: 1050;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.6,0,.4,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 28px;
  top: 22px;
  background: var(--secondary);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 2.2rem;
  border: none;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #22887d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 100px;
  padding: 32px 32px 0 30px;
}
.mobile-nav a {
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.04em;
  padding: 7px 0;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  transition: background 0.19s, color 0.13s, border-bottom 0.14s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
}
@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-close { display: none !important; }
}

/* ========================
  HERO SECTION
=========================== */
.hero {
  background: linear-gradient(90deg, var(--accent) 49%, #ebeeee 100%);
  padding: 56px 0 32px 0;
  margin-bottom: 36px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  text-shadow: 0 5px 22px rgba(70,62,110,0.05);
}
.hero .subheadline {
  color: var(--secondary);
  max-width: 560px;
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 18px 0; }
  .hero h1 { font-size: 1.55rem; }
}

/* ========================
  CTA BUTTONS
=========================== */
.cta.primary, .cta.primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--white) !important;
  background: var(--secondary);
  padding: 15px 36px;
  font-size: 1.16rem;
  border-radius: 42px;
  border: none;
  box-shadow: 0 4px 16px rgba(10,55,87,0.04);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
  transition: background 0.18s, box-shadow 0.17s, transform 0.13s;
  cursor: pointer;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: var(--secondary) !important;
  box-shadow: 0 7px 30px rgba(10,55,87,0.15);
  transform: translateY(-1px) scale(1.03);
}
.cta {
  margin-bottom: 10px;
  min-width: 160px;
}

/* ========================
  FEATURES (CARDS ETC)
=========================== */
.features {
  margin-bottom: 48px;
}
.features h2 {
  margin-bottom: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 22px 22px 22px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.14s;
  position: relative;
  margin-bottom: 20px;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature h3 {
  margin-bottom: 8px;
}
.feature:hover {
  box-shadow: 0 10px 38px rgba(70,191,176,0.14);
  transform: scale(1.03) translateY(-2px);
}
@media (max-width: 1000px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature {
    max-width: 100%;
    min-width: 0;
  }
}

/* List inside feature sections */
.features ul {
  margin: 18px 0 0 0;
  padding-left: 1.4em;
  color: var(--primary);
}
.features ul li::marker {
  color: var(--secondary);
  font-size: 1.2em;
}

/* Included services list/cards */
.included-services h4 {
  margin-bottom: 8px;
  color: var(--secondary);
}
.included-services ul {
  margin-bottom: 0;
}

/* ========================
  TESTIMONIALS
=========================== */
.testimonials {
  background: var(--accent);
  padding: 44px 0 36px 0;
}
.testimonials h2 {
  margin-bottom: 26px;
  color: var(--primary);
}
.testimonial-row,
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  color: #23282e;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(10,55,87,0.07);
  min-width: 260px;
  flex: 1 1 270px;
  max-width: 360px;
  font-size: 1.07rem;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  transition: box-shadow .19s, transform .12s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 32px rgba(10,55,87,0.14);
  transform: translateY(-4px) scale(1.02);
}
.testimonial-card .stars {
  color: var(--secondary);
  font-size: 1.2em;
  letter-spacing: 1.5px;
  margin-top: 0;
}
.testimonial-card p {
  font-style: italic;
  color: #10213a;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 800;
}
@media (max-width: 900px) {
  .testimonial-row {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* ========================
  GENERAL SPACING UTILITIES
=========================== */
.text-section {
  padding: 18px 0;
}
.contact-data {
  list-style: none;
  margin-bottom: 0;
}
.contact-data li {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 1.07em;
}

/* ========================
  CTA FINAL SECTION
=========================== */
.cta {
  text-align: center;
  background: var(--secondary);
  color: var(--white);
  padding: 48px 0 38px 0;
  border-radius: 18px;
  margin-bottom: 48px;
  box-shadow: 0 6px 24px rgba(70,191,176,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.cta h2, .cta p { color: var(--white); }
.cta .cta.primary {
  margin-top: 0;
  background: var(--accent);
  color: var(--primary) !important;
}
.cta .cta.primary:hover, .cta .cta.primary:focus {
  background: var(--white);
  color: var(--secondary) !important;
}
@media (max-width: 768px) {
  .cta { padding: 34px 0 20px 0; }
}

/* ========================
  FOOTER
=========================== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 36px 0 20px 0;
  margin-top: 36px;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.logo-footer img {
  height: 44px;
  width: auto;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: var(--secondary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
.footer-contact {
  margin-bottom: 9px;
  font-size: 0.97em;
  color: var(--accent);
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-bottom {
  opacity: 0.6;
  font-size: 0.9em;
  color: var(--accent);
  margin-top: 7px;
}
@media (max-width: 700px) {
  .footer-row { flex-direction: column; gap: 20px; align-items: flex-start; }
  footer nav { gap: 8px; flex-wrap: wrap; }
}

/* ========================
  COOKIE CONSENT BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(10,55,87,0.10);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.35s cubic-bezier(.6,0,.4,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1em;
  color: var(--primary);
  max-width: 560px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner button {
  min-width: 135px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 32px;
  transition: background 0.16s, color 0.17s, box-shadow 0.15s;
  box-shadow: 0 1px 6px rgba(70,191,176,0.06);
  outline: none;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--success);
  color: var(--white);
}
.cookie-banner .reject {
  background: var(--danger);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #bf2121;
}
.cookie-banner .settings {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--secondary);
  color: var(--white);
}
@media (max-width: 600px) {
  .cookie-banner { padding: 20px 6px 16px 6px; }
  .cookie-banner .cookie-text { font-size: 0.98em; }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-banner button { width: 100%; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(10,55,87,0.61);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieModalIn .32s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieModalIn {
  from { opacity:0; transform: scale(0.93); }
  to { opacity:1; transform: scale(1); }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 19px;
  padding: 36px 30px 20px 30px;
  box-shadow: 0 10px 44px rgba(10,55,87,0.18);
  max-width: 400px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.26rem;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cookie-category label {
  font-weight: 700;
  color: var(--primary);
  font-size: 1em;
}
.cookie-category .toggle {
  width: 46px;
  height: 24px;
  background: #e6f3f1;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  margin-left: 18px;
  box-shadow: 0 1px 6px rgba(10,55,87,0.07);
}
.cookie-category .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 2px;
  right: 2px; bottom: 2px;
  background: #ccebe5;
  transition: .2s;
  border-radius: 12px;
}
.cookie-category .toggle input:checked + .slider {
  background: var(--secondary);
}
.cookie-category .slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 1.2px;
  background-color: var(--white);
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 2px 7px rgba(70,191,176,0.19);
}
.cookie-category .toggle input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: var(--danger);
  color: var(--white);
  border-radius: 50%;
  border: none;
  font-size: 1.3rem;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s;
  outline: none;
  z-index: 10;
}
.cookie-modal .cookie-modal-close:hover {
  background: #a72424;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  min-width: 116px;
  padding: 10px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 29px;
  font-size: 1em;
  background: var(--secondary);
  color: var(--white);
  border: none;
  margin-left: 8px;
  transition: background 0.13s;
}
.cookie-modal .modal-actions button:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-modal .cookie-category.essential label {
  color: var(--primary);
}
.cookie-modal .cookie-category.essential .toggle,
.cookie-modal .cookie-category.essential .toggle input,
.cookie-modal .cookie-category.essential .toggle .slider {
  pointer-events: none;
  filter: grayscale(0.7); opacity: .73;
}

/* ========================
  FORM (kontakt.html info section)
=========================== */
.text-section a {
  color: var(--secondary);
  text-decoration: underline;
}
.text-section a:hover {
  color: var(--primary);
}

/* ========================
  RESPONSIVE BEHAVIOR
=========================== */
@media (max-width: 1000px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
}
@media (max-width: 850px) {
  .footer-row { gap: 12px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1rem; }
  .section, .features, .cta { padding: 16px 5px; }
  .feature, .testimonial-card { padding: 16px 10px; }
}

/* ========================
  ACCESSIBILITY
=========================== */
[tabindex]:focus, button:focus, a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ========================
  MICRO-INTERACTIONS/ANIMATION
=========================== */
.card, .feature, .testimonial-card, .cta.primary {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature:hover, .testimonial-card:hover {
  box-shadow: 0 13px 32px rgba(70,191,176,0.13);
  transform: translateY(-3px) scale(1.02);
}

/* =========================
  MISCELLANEOUS UTILITIES
========================== */
@media (max-width: 520px) {
  .testimonial-card, .feature, .card {
    padding: 10px 4px;
    border-radius: 10px;
  }
  .section, .testimonials, .cta, .features {
    padding: 6px 2px;
    border-radius: 10px;
  }
}

/* Hide scrollbars for mobile menu overlay */
.mobile-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* ========================
  END OF STYLE.CSS
=========================== */
