/* RESET & BASE STYLES */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #0C2028;
  color: #F5F7FA;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: linear-gradient(132deg, #16697A 0%, #0C2028 100%);
  min-height: 100vh;
  font-size: 16px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #82C0CC;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #F5F7FA;
}
ul, ol {
  padding-left: 26px;
}
strong, b {
  font-weight: 700;
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F5F7FA;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.2rem;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #CFE4EA;
  font-size: 1rem;
  margin-bottom: 10px;
}
blockquote {
  border-left: 3px solid #82C0CC;
  padding-left: 16px;
  margin-bottom: 20px;
  color: #F5F7FA;
  font-style: italic;
  background: rgba(22,105,122,0.12);
  border-radius: 8px;
}
span {
  color: #C0E5EB;
}


/* CONTAINERS */
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(12,32,40,0.94);
  border-radius: 20px;
  box-shadow: 0 8px 56px 0 rgba(22,105,122,0.13);
  position: relative;
}


/* FLEX PATTERNS (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 280px;
  background: #153B43;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(22,105,122,0.16);
  padding: 32px 24px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 #82C0CC;
  transform: translateY(-2px) scale(1.025);
}
.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: #F5F7FA;
  color: #153B43;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(22,105,122,0.11);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 220px;
}
.testimonial-card p {
  color: #153B43;
  font-size: 1.05em;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #16697A;
  font-size: 0.98em;
  margin-left: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HOMEPAGE FEATURE GRID */
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 200px;
  background: rgba(130,192,204,0.09);
  border-radius: 14px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1.5px 10px 0 rgba(130,192,204,0.07);
  transition: box-shadow 0.2s, border 0.2s;
  border: 1.8px solid transparent;
}
.feature-grid > div:hover {
  border: 1.8px solid #82C0CC;
  box-shadow: 0 5px 25px 0 #16697A44;
  background: rgba(130,192,204,0.15);
}
.feature-grid img {
  margin-bottom: 14px;
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 4px #82C0CC80);
}


/* HEADER NAVIGATION */
header {
  width: 100%;
  background: #0C2028;
  box-shadow: 0 4px 40px 0 rgba(22, 105, 122, 0.09);
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 16px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08em;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.16s,color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #16697A;
  color: #82C0CC;
}
.cta-primary {
  background: linear-gradient(90deg,#16697A 0%,#82C0CC 100%);
  color: #0C2028;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.02em;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 30px;
  letter-spacing: 0.03em;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 24px 0 #16697A66;
  text-shadow: 0 1.5px 7px #82C0CC40;
  margin-left: 10px;
  transition: background 0.25s, box-shadow 0.2s, color 0.18s, transform 0.15s;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #82C0CC;
  color: #16697A;
  box-shadow: 0 6px 32px 0 #16697A99;
  transform: translateY(-2px) scale(1.045);
}


/* MOBILE MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F5F7FA;
  margin-left: 16px;
  cursor: pointer;
  display: none;
  z-index: 1201;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: #82C0CC;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(22, 105, 122, 0.98);
  z-index: 1200;
  transform: translateX(-105%);
  transition: transform 0.38s cubic-bezier(.69,-0.33,.52,1.8);
  display: flex;
  flex-direction: column;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F5F7FA;
  font-size: 2.2rem;
  margin: 0 24px 0 auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #82C0CC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 50px 0 0 40px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28em;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: color 0.24s, border 0.2s;
}
.mobile-nav a:hover {
  color: #82C0CC;
  border-bottom: 2px solid #82C0CC;
}

@media (max-width: 1023px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}


/* FOOTER */
footer {
  padding: 0;
  background: #153B43;
  border-top: 3.5px solid #16697A;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 30px 0;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #CFE4EA;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #82C0CC;
  text-decoration: underline;
}
.contact-info {
  font-size: 0.97em;
  color: #CFE4EA;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 320px;
}
.contact-info img {
  height: 20px;
  width: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  background: #16697A;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  transition: background 0.17s, transform 0.2s;
}
.social-links a:hover {
  background: #82C0CC;
  transform: scale(1.12);
}
.social-links img {
  height: 24px;
  width: 24px;
  filter: drop-shadow(0 2px 2px #82C0CC50);
}

@media (max-width: 768px) {
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}


/* ADDRESS BLOCKS (Kontakt) */
.address-block, .phone-email, .hours {
  background: rgba(130,192,204, 0.09);
  color: #F5F7FA;
  padding: 12px 18px;
  border-radius: 11px;
  margin-bottom: 16px;
  font-size: 1.06em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hours {
  font-weight: 600;
  color: #CFE4EA;
}


/* BUTTONS */
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
}
button {
  background: #16697A;
  color: #F5F7FA;
  border: none;
  border-radius: 27px;
  font-size: 1.08em;
  padding: 10px 28px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 3px 8px 0 #16697A22;
  transition: background 0.17s, color 0.16s, transform 0.13s;
}
button:hover, button:focus {
  background: #82C0CC;
  color: #16697A;
  transform: translateY(-1.5px) scale(1.04);
}


/* CARDS & FEATURES */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}


/* FORMS */
input, textarea, select {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1.5px solid #82C0CC;
  background: #153B43;
  color: #F5F7FA;
  font-size: 1em;
  transition: border-color 0.18s;
  font-family: 'Open Sans', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  border-color: #16697A;
  outline: none;
  background: #1d5062;
}


/* ANIMATION & MICRO-INTERACTIONS */
.card, .feature-grid > div, .cta-primary, button, .social-links a {
  transition: box-shadow .24s, border .18s, background .18s, color .18s, transform .18s;
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  background: linear-gradient(90deg,#153B43 0%,#16697A 100%);
  color: #F5F7FA;
  width: 100vw;
  min-height: 50px;
  box-shadow: 0 -3px 20px 0 #16697A60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 26px 22px 16px;
  animation: slideUp 0.5s ease;
}
.cookie-banner strong {
  color: #82C0CC;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: #82C0CC;
  color: #0C2028;
  border: 0;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  margin-left: 6px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #16697A;
  color: #F5F7FA;
}
.cookie-btn.settings {
  background: none;
  color: #82C0CC;
  border: 2px solid #82C0CC;
  font-weight: 600;
}
.cookie-btn.settings:hover {
  background: #82C0CC;
  color: #0C2028;
}

@keyframes slideUp {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}


/* COOKIE PREFERENCE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right:0;
  bottom:0;
  z-index: 3000;
  background: rgba(17,39,48,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #153B43;
  color: #F5F7FA;
  border-radius: 19px;
  max-width: 94vw;
  min-width: 290px;
  width: 410px;
  padding: 32px 28px 26px 28px;
  box-shadow: 0 7px 48px 0 #16697A99;
  display: flex;
  flex-direction: column;
  gap: 27px;
  position: relative;
  animation: slideDown 0.4s;
}
@keyframes slideDown {
  from { transform: translateY(-40px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-modal h3 {
  color: #82C0CC;
  font-size: 1.15rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 1em;
  color: #CFE4EA;
}
.cookie-category input[type='checkbox'] {
  accent-color: #16697A;
  transform: scale(1.22);
  margin-right: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #82C0CC;
  font-size: 1.8rem;
  position: absolute;
  right: 14px;
  top: 8px;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #F5F7FA;
}

.cookie-category input[disabled] {
  opacity: .55;
  pointer-events: none;
}

/* GENRES & BADGES */
.icon-award {
  color: #FFD700; /* gold */
  margin-right: 6px;
}

/* RESPONSIVE QUERIES */
@media (max-width: 1100px) {
  .container {
    padding: 0 6vw;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 17px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid > div, .card {
    min-width: 220px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .section {
    padding: 26px 8px !important;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    margin-bottom: 32px;
  }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.15rem; }
}
@media (max-width: 540px) {
  .cookie-modal {
    width: 97vw;
    padding: 18px 6vw 16px 6vw;
  }
}

/* UTILITIES */
.mt-24 { margin-top: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* Z-INDEX HIERARCHY */
header { z-index: 1000; }
.mobile-menu, .mobile-menu-toggle { z-index: 1200; }
.cookie-banner { z-index: 2100; }
.cookie-modal-overlay { z-index: 3000; }

/* FIXED SPACING BETWEEN CARDS & SECTIONS */
.card, .testimonial-card, .feature-grid > div, .section {
  margin-bottom: 20px;
}
/* Avoid overlapping on extra small screens */
@media (max-width: 500px) {
  .testimonial-card, .card, .feature-grid > div {
    padding: 14px 7px;
    min-width: 0;
  }
}
