/* RESET & NORMALIZATION */
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,
main, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FB;
  color: #233D4D;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #E8A735;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #233D4D;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: transparent;
}

/* BRAND COLORS & FONT VARIABLES */
:root {
  --brand-primary: #233D4D;
  --brand-secondary: #E8A735;
  --brand-accent: #F5F7FB;
  --electric1: #00D8C1;
  --electric2: #F2542D;
  --electric3: #31A9DD;
  --electric4: #FFD600;
  --dark-text: #233D4D;
  --light-bg: #FFFFFF;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* GENERAL LAYOUT SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(49, 169, 221, 0.08), 0 1.5px 4px rgba(35,61,77,0.09);
  transition: box-shadow 0.2s;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,216,193, 0.13), 0 2px 8px rgba(233,167,53,0.07);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 275px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px rgba(49,169,221,0.23), 0 2.5px 8px rgba(242,84,45,0.13);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

.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;
    gap: 20px;
    align-items: stretch;
  }
  .container {
    padding: 0 10px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: var(--dark-text);
  border-left: 6px solid var(--electric2);
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(49, 169, 221, 0.07);
  min-width: 250px;
  flex: 1 1 320px;
  position: relative;
  font-size: 1rem;
}
.testimonial-card p {
  font-weight: 500;
}
.testimonial-card strong {
  margin-left: auto;
  font-weight: 700;
  color: var(--electric1);
  font-size: 0.97em;
}

.testimonial-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .testimonial-section .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: var(--brand-primary);
  color: #fff;
  padding: 0;
  min-height: 72px;
  box-shadow: 0 1.5px 8px rgba(35,61,77,0.13);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
header img {
  height: 50px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 700;
}
.main-nav a {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-secondary);
}
.cta-btn {
  background: linear-gradient(90deg, var(--electric1), var(--electric2));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  padding: 13px 32px;
  border-radius: 24px;
  letter-spacing: 0.06em;
  transition: background 0.22s, box-shadow 0.22s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(242,84,45, 0.11), 0 2px 8px rgba(49,169,221, 0.11);
  margin-left: 28px;
  display: inline-block;
  cursor: pointer;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--electric2), var(--electric1));
  color: #fff;
  box-shadow: 0 6px 20px rgba(49,169,221,0.21);
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-left: 14px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--electric2);
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  z-index: 999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,61,77,0.98);
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.7,-0.02,.29,1.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px 28px 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--electric2);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover {
  background: var(--electric1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.24rem;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 2px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--electric3);
  color: var(--brand-secondary);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 950px) {
  .cta-btn { margin-left: 8px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
}
@media (max-width: 800px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle { display: flex; }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(70deg, var(--electric4) 30%, var(--electric1) 100%);
  color: var(--dark-text);
  border-radius: 0 0 36px 36px;
  padding: 56px 0 72px 0;
  min-height: 320px;
  box-shadow: 0 8px 40px rgba(0,216,193,0.11), 0 3.5px 16px rgba(49,169,221,0.09);
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 200px;
  gap: 0;
}
.hero h1 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: 2.4rem;
  font-weight: 800;
  text-shadow: 0 4px 16px rgba(49, 169, 221, 0.09);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.hero p {
  font-family: var(--font-body);
  font-size: 1.18rem;
  color: var(--brand-primary);
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .hero { padding: 36px 0 44px 0; }
  .hero h1 { font-size: 1.65rem; }
  .hero p { font-size: 1.07rem; }
}

/* CONTENT WRAPPER (for main content) */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.text-section {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.07rem;
  line-height: 1.7;
}
.text-section ul, .text-section ol {
  margin-bottom: 14px;
  margin-left: 0;
}
.text-section a {
  color: var(--electric3);
  font-weight: bold;
  text-underline-offset: 2.5px;
}
.text-section a:hover {
  color: var(--electric2);
}

.icon-row {
  display: flex;
  gap: 24px;
  margin: 22px 0 0 0;
  align-items: center;
  flex-wrap: wrap;
}
.icon-row img {
  width: 58px;
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(233,167,53,0.16));
  transition: transform 0.15s;
}
.icon-row img:hover {
  transform: scale(1.10) rotate(-7deg);
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 9px;
}
h2 {
  font-size: 2rem;
  color: var(--electric2);
}
h3 {
  font-size: 1.3rem;
  color: var(--electric3);
}
p, li {
  font-size: 1.07rem;
  line-height: 1.6;
  font-family: var(--font-body);
}
ul li, ol li {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}
strong { font-weight: 800; }

@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.01rem; }
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  gap: 18px;
  margin: 14px 0 0 0;
}
.social-links a {
  color: var(--electric2);
  font-weight: 700;
  transition: color 0.18s;
}
.social-links a:hover { color: var(--brand-primary); }

/* FOOTER */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 38px 0 26px 0;
  box-shadow: 0 -2px 16px rgba(0,216,193,0.09);
  border-radius: 28px 28px 0 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0 0 14px 0;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
footer nav a:hover {
  color: var(--brand-secondary);
}
.footer-contact {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
}
footer img {
  height: 36px;
}
@media (max-width: 820px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  z-index: 1200;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe9;
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px 20px 16px;
  box-shadow: 0 -2px 16px rgba(235,186,64,0.11);
  border-top: 6px solid var(--electric1);
  font-size: 1.06rem;
  animation: cookie-banner-slide-in 0.55s cubic-bezier(.68,-0.04,.27,1.05);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 0;
  min-width: 130px;
  transition: background .17s, color .17s, transform .15s;
  background: var(--electric1);
  color: var(--brand-primary);
}
.cookie-btn.accept {
  background: var(--electric2);
  color: #fff;
}
.cookie-btn.reject {
  background: #FFD600;
  color: var(--brand-primary);
}
.cookie-btn:focus, .cookie-btn:hover, .cookie-settings-btn:focus, .cookie-settings-btn:hover {
  background: var(--electric3);
  color: #fff;
  transform: scale(1.05);
}
@keyframes cookie-banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,61,77,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in 0.33s cubic-bezier(.72,-0.08,.41,1.06);
}
@keyframes cookie-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  border-radius: 20px;
  padding: 36px 26px 26px 26px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(49, 169, 221, 0.13);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-pop-in 0.3s cubic-bezier(.72,-0.08,.41,1.06);
  position: relative;
}
@keyframes cookie-modal-pop-in {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--electric2);
  font-size: 1.28rem;
  margin-bottom: 11px;
  font-weight: 800;
}
.cookie-modal ul {
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--electric2);
  width: 21px; height: 21px;
}
.cookie-modal .category-label {
  font-size: 1.09rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-right: 8px;
}
.cookie-modal .info {
  font-size: .98rem;
  color: var(--brand-primary);
  opacity: .80;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 13px;
  background: var(--brand-secondary);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal .close-modal:hover { background: var(--electric1); }

@media (max-width: 500px) {
  .cookie-modal { min-width: 90vw; padding: 20px 8px; }
}

/* FORMS (generic, for kontakt page) */
input, textarea {
  background: #fff;
  border: 2px solid var(--electric3);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 1.09rem;
  margin-bottom: 12px;
  margin-top: 4px;
  width: 100%;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  border: 2px solid var(--electric2);
}
label { font-weight: 600; }

/* RESPONSIVE SPACING AND UTILITIES */
@media (max-width: 600px) {
  .section {
    padding: 22px 2px;
    margin-bottom: 34px;
    border-radius: 12px;
  }
  .testimonial-card {
    padding: 16px 8px;
    border-radius: 8px;
    font-size: 0.97rem;
  }
  .icon-row { gap: 14px; }
  .text-section { font-size: 0.99rem; }
}

/* COLORFUL, ENERGETIC CHECKMARKS & ICONS IN LISTS */
ul li::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  background: radial-gradient(circle at 65% 45%, var(--electric2), var(--electric4));
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M20.3 6.70998C20.69 7.09998 20.69 7.72998 20.3 8.11998L10.3 18.12C9.91003 18.51 9.28003 18.51 8.89003 18.12L3.70003 12.93C3.31003 12.54 3.31003 11.91 3.70003 11.52C4.09003 11.13 4.72003 11.13 5.11003 11.52L9.59003 16L18.89 6.70998C19.28 6.31998 19.91 6.31998 20.3 6.70998Z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M20.3 6.70998C20.69 7.09998 20.69 7.72998 20.3 8.11998L10.3 18.12C9.91003 18.51 9.28003 18.51 8.89003 18.12L3.70003 12.93C3.31003 12.54 3.31003 11.91 3.70003 11.52C4.09003 11.13 4.72003 11.13 5.11003 11.52L9.59003 16L18.89 6.70998C19.28 6.31998 19.91 6.31998 20.3 6.70998Z"/></svg>');
  vertical-align: middle;
}

/* SEPARATOR LINES */
.separator {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg,var(--brand-secondary) 20%, var(--electric3) 70%,var(--electric2));
  border: none;
  margin: 28px 0;
  border-radius: 3px;
}

/* MICRO-INTERACTIONS/ANIMATIONS */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, transform 0.17s;
}
.cta-btn:active { transform: scale(.97); }

/* HIGH CONTRAST IN TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: var(--dark-text);
}

/* OVERRIDES FOR DARK TEXT IN CARDS/TESTIMONIALS */
.testimonial-card p, .testimonial-card strong {
  color: #233D4D;
}

/* CUSTOM SCROLLBAR FOR DESKTOP */
@media (pointer: fine) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--electric1) #f3f3f3;
  }
  ::-webkit-scrollbar {
    width: 7px;
    background: #f3f3f3;
    border-radius: 8px;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--electric1);
    border-radius: 8px;
  }
}

/* ACCESSIBILITY FOCUS HIGHLIGHTS */
a:focus, button:focus, .cta-btn:focus, .mobile-nav a:focus {
  outline: 2.5px solid var(--electric2);
  outline-offset: 2px;
  background: var(--electric3);
  color: #fff;
}

/* HIDES */
[hidden] { display: none !important; }

/* END */
