/* 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, menu, 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;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFF2E3;
  color: #222;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #D24C4C;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.34,1.56,.64,1), border-color 0.2s cubic-bezier(.34,1.56,.64,1);
}
a:hover, a:focus {
  color: #27416B;
  text-decoration: underline;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(210,76,76,0.07),0 1.5px 6px 0 rgba(39,65,107,0.03);
  position: relative;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2.5px 18px 0 rgba(210,76,76,0.10), 0 1px 2px 0 rgba(39, 65, 107, 0.09);
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 16px;
  transition: box-shadow .18s cubic-bezier(.25,.46,.45,.94), transform .12s;
}
.card:hover, .service-item:hover {
  box-shadow: 0 8px 36px 0 rgba(210,76,76,0.16), 0 1.5px 6px 0 rgba(39,65,107,0.05);
  transform: translateY(-3px) 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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF2E3;
  box-shadow: 0 4px 20px 0 rgba(210,76,76,0.05),0 1px 3px 0 rgba(39,65,107,0.04);
  border-left: 5px solid #D24C4C;
  border-radius: 18px;
  margin-bottom: 20px;
  color: #191919;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
ol, ul {
  padding-left: 20px;
}
ul {
  list-style-type: disc;
  margin-bottom: 8px;
}
ol {
  list-style-type: decimal;
}
li:not(:last-child) {
  margin-bottom: 12px;
}
/* === TYPOGRAPHY === */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.7rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #27416B;
  margin-bottom: 16px;
  text-shadow: 1px 2px #FFF2E3, 0 4px 16px #E2868633;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 16px;
  color: #D24C4C;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #27416B;
}
.headline {
  font-size: 1.2rem;
  font-weight: 700;
  color: #D24C4C;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.0rem;
  font-weight: 400;
  color: #27416B;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  opacity: 0.95;
}
p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 8px;
}
strong {
  font-weight: 800;
  color: #D24C4C;
}
/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  border-bottom: 2px solid #FFF2E3;
  box-shadow: 0 2px 14px 0 rgba(210,76,76,0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo-link img {
  height: 48px;
  display: block;
  transition: filter 0.16s cubic-bezier(.12,1.03,.87,.64);
}
.logo-link:hover img {
  filter: drop-shadow(0 0 12px #D24C4CD2);
}
header .container {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  color: #27416B;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 10px;
  transition: transform .14s cubic-bezier(.25,1.7,.38,.92),background .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #FFF2E3;
  color: #D24C4C;
  transform: translateY(-2px) scale(1.06);
}
.mobile-menu-toggle {
  background: #D24C4C;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  transition: box-shadow .18s, background .18s;
  z-index: 60;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E28686;
  box-shadow: 0 4px 12px 0 #E286867c;
}
/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgb(39 65 107 /20%);
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(.86,0,.07,1), opacity .18s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: #D24C4C;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 14px 8px 14px;
  align-self: flex-end;
  margin: 28px 32px 12px auto;
  cursor: pointer;
  transition: background .18s, box-shadow .19s;
  z-index: 120;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E28686;
  box-shadow: 0 0 14px #E2868693;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #27416B;
  padding: 9px 0;
  border-radius: 6px;
  transition: background .15s, color .16s, padding-left .23s cubic-bezier(.42,1.65,.45,.93);
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF2E3;
  color: #D24C4C;
  padding-left: 18px;
}
/* === CTA BUTTONS === */
.cta-button {
  display: inline-block;
  background-color: #D24C4C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.20rem;
  letter-spacing: .04em;
  padding: 15px 38px;
  border-radius: 32px;
  border: none;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 18px 0 #D24C4C1a;
  cursor: pointer;
  transition: background .17s cubic-bezier(.27,1.21,.72,1.01), transform .15s cubic-bezier(.02,.9,.38,.99), box-shadow .16s;
  text-shadow: 1px 1px 0 #D24C4C2a;
}
.cta-button:focus, .cta-button:hover {
  background-color: #E28686;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
  box-shadow: 0 8px 32px 0 #E2868636;
}
/* === CATEGORY LINKS (KATALOG) === */
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 8px;
  margin-bottom: 18px;
}
.category-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #D24C4C;
  background: #FFF2E3;
  padding: 8px 20px;
  border-radius: 13px;
  font-size: 1.06rem;
  border: 2px solid #D24C4C99;
  transition: background .19s, color .17s, border .21s;
}
.category-link:hover, .category-link:focus {
  background: #D24C4C;
  color: #FFF2E3;
  border: 2px solid #E2868696;
  text-decoration: none;
}
/* === SERVICE CARDS === */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.service-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #D24C4C12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 22px 20px 22px;
  width: 100%;
  max-width: 295px;
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .15s;
  border-left: 5px solid #27416B;
  position: relative;
}
.service-item img {
  height: 37px;
  width: 37px;
  margin-bottom: 11px;
}
.service-item h2 {
  font-size: 1.15rem;
  margin-bottom: 7px;
  color: #27416B;
}
.service-item strong {
  color: #D24C4C;
}
/* === FOOTER === */
footer {
  background: #27416B;
  color: #fff;
  padding: 38px 0 22px 0;
  box-shadow: 0 -2px 14px 0 #27416B19;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 5px;
}
.footer-nav a {
  color: #FFF2E3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: .97rem;
  border-radius: 8px;
  padding: 7px 12px;
  transition: background .18s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E28686;
  color: #fff;
}
footer p {
  font-size: .95rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
}
/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #27416B;
  color: #FFF2E3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 22px 22px 28px;
  z-index: 1000;
  box-shadow: 0 -4px 26px 0 #D24C4C32;
  font-size: 1rem;
  animation: cookieBannerIn .5s cubic-bezier(.23,1,.32,1);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #D24C4C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 9px 26px;
  margin-top: 7px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: background .16s, color .12s, transform .13s;
  box-shadow: 0 2px 8px 0 #D24C4C25;
}
.cookie-btn.settings {
  background: #FFF2E3;
  color: #D24C4C;
  border: 2px solid #D24C4C77;
  margin-left: 7px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E28686;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 5px 18px 0 #E28686bb;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #D24C4C;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 425px;
  transform: translate(-50%,-60%) scale(0.9);
  background: #fff;
  color: #27416B;
  border-radius: 20px;
  box-shadow: 0 16px 60px 0 rgba(39,65,107,0.20),0 1.5px 6px 0 rgba(210,76,76,0.10);
  z-index: 1200;
  padding: 36px 24px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn .2s cubic-bezier(.37,1.14,.62,1.06);
}
.cookie-modal.show {
  display: flex;
  animation: cookieModalIn .36s cubic-bezier(.23,1,.32,1);
}
@keyframes cookieModalIn {
  0% { opacity:0; transform: translate(-50%,-70%) scale(.8); }
  100% { opacity:1; transform: translate(-50%,-60%) scale(1); }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  padding: 6px 0px 4px 0px;
}
.cookie-modal-category input[type='checkbox'] {
  accent-color: #D24C4C;
  width: 21px;
  height: 21px;
}
.cookie-modal-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  color: #27416B;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .close {
  position: absolute;
  right: 18px;
  top: 17px;
  background: none;
  border: none;
  color: #D24C4C;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color .15s;
  z-index: 1300;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #E28686;
}
/* === MEDIA QUERIES === */
@media (max-width: 1024px) {
  .container {
    max-width: 93vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  section {
    padding: 30px 7px;
  }
  .service-list {
    gap: 18px;
  }
  .card-container, .content-wrapper, .content-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    max-width: 99vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .text-section, .service-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .service-item {
    max-width: 100%;
    width: 100%;
    font-size: 1rem;
  }
  .category-links {
    flex-wrap: wrap;
    gap: 10px;
  }
  section {
    padding: 25px 7px;
    margin-bottom: 40px;
    border-radius: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .footer-nav {
    gap: 13px;
    flex-wrap: wrap;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 16px 7px 14px 13px;
    gap: 10px;
    font-size: .97rem;
  }
}
@media (max-width: 500px) {
  .logo-link img {
    height: 35px;
  }
  .cta-button {
    width: 100%;
    text-align: center;
    font-size: 1.07rem;
    padding: 12px 7px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  section {
    margin-bottom: 25px;
    border-radius: 8px;
    padding: 13px 3px 12px 3px;
  }
  footer {
    padding: 21px 0 10px 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
}
/* === ANIMATIONS === */
.cta-button, .cookie-btn {
  will-change: transform, background, box-shadow;
}
.cta-button {
  animation: ctabtn-bounceIn .75s cubic-bezier(.16,1.02,.71,1.22);
}
@keyframes ctabtn-bounceIn {
  0% { transform: scale(.7) translateY(32px); opacity: 0; }
  68% { transform: scale(1.09) translateY(-7px); }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
/* === ACCESSIBILTY === */
:focus {
  outline: 2px solid #E28686;
  outline-offset: 1.5px;
}
::-webkit-input-placeholder {color:#D24C4C88;}
::-moz-placeholder {color:#D24C4C88;}
:-ms-input-placeholder {color:#D24C4C88;}
::placeholder {color:#D24C4C88;}
/* === GENERAL UTILITIES === */
.hide-desktop {
  display: none !important;
}
.hide-mobile {
  display: block !important;
}
@media (max-width: 768px) {
  .hide-desktop { display: block !important; }
  .hide-mobile { display: none !important; }
}
/* === BRAND COLOR UTILITIES === */
.bg-primary { background: #27416B !important; color: #FFF2E3 !important; }
.bg-accent { background: #D24C4C !important; color: #fff !important; }
.bg-secondary { background: #FFF2E3 !important; color: #27416B !important; }
.color-accent { color: #D24C4C !important; }
.color-primary { color: #27416B !important; }
.color-secondary { color: #FFF2E3 !important; }
/* OVERRIDES for VIBRANT/ENERGETIC personality */
.cta-button, .category-link, .main-nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cta-button {
  text-transform: uppercase;
  letter-spacing: .07em;
  border: 2px solid #E28686;
}
.cta-button:active {
  box-shadow: 0 2px 12px 0 #D24C4C18;
  background: #E28686;
}
/* Vibrant section separators (optional, purely decorative) */
section:not(:last-child):after {
  content: '';
  display: block;
  width: 90px;
  height: 7px;
  border-radius: 11px;
  background: #E28686;
  margin: 25px auto 0 auto;
  opacity: .18;
}
/* == FORM ELEMENTS (for kontakt page and modals) == */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1.5px solid #E286868c;
  background: #FFF2E3;
  color: #222;
  transition: border .12s;
}
input:focus, select:focus, textarea:focus {
  border-color: #D24C4C;
  outline: none;
}
button, input[type="submit"] {
  cursor: pointer;
}
/* Hide visually for accessibility utilities */
.visually-hidden { 
  position: absolute !important; 
  height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; 
}
