/* ================== 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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure,footer,header,hgroup,menu,nav,section { display: block; }
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F7FA;
  color: #14324A;
  min-height: 100vh;
}
a {
  color: #339984;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #14324A;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
:focus {
  outline: 2px dashed #54d7c2;
  outline-offset: 2px;
}

/* ================== BRAND COLORS & FONTS ================== */
:root {
  --primary: #14324A;
  --secondary: #339984;
  --accent: #F4F7FA;
  --white: #fff;
  --pink: #F6707A;
  --yellow: #FFE066;
  --aqua: #54d7c2;
  --blue: #62A9FF;
  --purple: #B287FC;
  --gray-light: #eaf2f8;
  --bg-gradient: #F4F7FA; /* fallback solid */
  --shadow: 0 8px 24px 0 rgba(40, 87, 144, 0.10);
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;

  animation: slidein 0.7s cubic-bezier(.6,1.4,.6,1) both;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--secondary);
  position: relative;
  z-index: 1;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--primary);
}
p {
  font-size: 1.1rem;
  margin-bottom: 14px;
  line-height: 1.8;
}
strong, b { font-weight: 700; }
.text-section p,
.text-section ul { margin-bottom: 16px; }

/* Playful font for playful_dynamic: headings get Montserrat, body gets Open Sans. */

/* ================== LAYOUT CONTAINERS & FLEXBOX ================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  position: relative;
  transition: transform .18s, box-shadow .18s;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================== HEADER & NAVIGATION ================== */
header {
  background: var(--white);
  box-shadow: 0 4px 18px 0 rgba(20,50,74,0.04);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 10px;
}
.logo { display: flex; align-items: center; height: 54px; }
.logo img { height: 46px; width: auto; }
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color .16s, background .18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--aqua);
  color: var(--white);
}
nav .cta {
  background: var(--secondary);
  color: var(--white)!important;
  border-radius: 99px;
  padding: 9px 22px;
  font-weight: 800;
  margin-left: 16px;
  animation: bounceincall 1.1s cubic-bezier(.61,1.46,.6,1) 1;
}
nav .cta:hover, nav .cta:focus {
  background: var(--pink);
  color: var(--primary)!important;
}

/* ========== MOBILE MENU (Burger + Overlay) ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  transition: background .18s;
  z-index: 30;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pink);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.78, .1, .23, .99);
  z-index: 100;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 28px 28px 24px 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--primary);
  background: var(--gray-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pink);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 14px 8px;
  border-radius: 10px;
  background: var(--aqua);
  color: var(--primary);
  font-weight: 700;
  transition: background .18s, color .18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pink);
  color: var(--white);
}

/* Hide menu/Show toggle on mobile */
@media (max-width: 1023px) {
  nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(116deg, #FFE066 0%, var(--aqua) 76%, #F4F7FA 100%);
  background-size: 200% 100%;
  animation: bgpan 8s linear infinite alternate;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
  padding: 36px 0 36px 0;
}
.hero h1 {
  color: var(--primary);
  text-shadow: 2px 4px 24px #ffed9e36;
  font-size: 2.6rem;
  letter-spacing: .01em;
}
.hero p {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero .cta {
  margin-top: 10px;
}

@keyframes bgpan {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
@keyframes slidein {
  from { opacity: 0; transform: translateY(32px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bounceincall {
  0% { transform: translateY(-28px) scale(.8); opacity: 0.3; }
  62% { transform: translateY(10px) scale(1.04); opacity: 1; }
  92% { transform: translateY(-6px) scale(.99); }
  100% { transform: translateY(0) scale(1);  }
}

/* ================== FEATURE/CARD SECTIONS ================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 8px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 25px 22px 24px 22px;
  min-width: 200px;
  max-width: 306px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  border: 3px solid transparent;
  transition: border-color .19s, box-shadow .2s, transform .18s;
  position: relative;
  overflow: hidden;
}
.feature:hover, .feature:focus-within {
  border-color: var(--pink);
  box-shadow: 0 10px 26px 0 #F6707A16, var(--shadow);
  transform: translateY(-6px) scale(1.02) rotate(-1.2deg);
}
.feature img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  background: var(--yellow);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 3px 10px 0 rgba(254,230,102,0.2);
  transition: transform .16s;
  transition-property: transform, box-shadow;
}
.feature:hover img {
  transform: rotate(-9deg) scale(1.18);
  box-shadow: 0 6px 16px 0 #F6707A10;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
  margin-bottom: 38px;
  list-style: none;
}
.service-list li {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 0;
  min-width: 210px;
  border-left: 8px solid var(--aqua);
  transition: border-color .18s, box-shadow .18s;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.service-list li:hover, .service-list li:focus-within {
  border-left-color: var(--pink);
  box-shadow: 0 8px 22px 0 #54d7c234, var(--shadow);
}
.service-price {
  color: var(--secondary);
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  margin-top: 11px;
  background: var(--accent);
  padding: 3px 14px;
  border-radius: 11px;
  align-self: flex-start;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.article-list li {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 16px;
  border-left: 5px solid var(--yellow);
  transition: border-color .18s, box-shadow .16s;
}
.article-list li:hover {
  border-left-color: var(--aqua);
  box-shadow: 0 8px 22px 0 #62A9FF22, var(--shadow);
}

.team-member-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  font-weight: 600;
}
.team-member-list li {
  border-left: 4px solid var(--secondary);
  background: var(--accent);
  border-radius: 8px;
  padding: 10px 16px;
}

/* ================== TESTIMONIALS ================== */
.testimonials {
  background: var(--aqua);
  border-radius: 32px;
  box-shadow: 0 7px 20px 0 #54d7c239;
  margin-bottom: 60px;
  padding: 48px 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 6px 18px 0 #14324A17, var(--shadow);
  padding: 24px 20px 18px 22px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 270px;
  margin-bottom: 0;
  border-left: 7px solid var(--pink);
  font-size: 1.04rem;
  color: var(--primary);
  transition: box-shadow .16s, border-left-color .18s;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.7;
  position: relative;
}
.testimonial-card blockquote:before {
  content: '“';
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.3rem;
  color: var(--aqua);
  position: absolute;
  left: -18px;
  top: -22px;
  opacity: 0.6;
}
.testimonial-card .testimonial-author {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 0;
}
.testimonial-card:focus-within, .testimonial-card:hover {
  border-left-color: var(--yellow);
  box-shadow: 0 10px 26px 0 #FFE06636, var(--shadow);
  outline: none;
}

/* ================== CTA/SECTION CALLS ================== */
.cta {
  background: var(--pink);
  color: var(--primary) !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 99px;
  padding: 13px 36px;
  font-size: 1.19rem;
  display: inline-block;
  transition: background .18s, color .18s, transform .19s, box-shadow .17s;
  box-shadow: 0 3px 10px 0 #F6707A26;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: #fff!important;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 6px 16px 0 #33998426;
}
.cta.secondary {
  background: var(--secondary);
  color: #fff!important;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--pink);
  color: var(--primary)!important;
}

.section.cta {
  background: var(--yellow);
  border-radius: 28px;
  box-shadow: 0 6px 30px #FFE06618;
}
.section.cta h2 {
  color: var(--primary);
}
.section.cta p {
  color: var(--primary);
}

/* ========== MAP PLACEHOLDER (KONTAKT) ========== */
.map-placeholder {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 32px 0;
  text-align: center;
  font-style: italic;
  color: var(--secondary);
  font-size: 1.04rem;
  margin-bottom: 18px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 0 0;
  border-radius: 48px 48px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 16px;
  padding-bottom: 16px;
}
footer .company-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
footer .company-info img {
  width: 56px;
  margin-bottom: 6px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 12px 0 #fff7;
}
footer .company-info p {
  color: #fff;
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 3px;
}
.footer-menu a {
  color: var(--yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--aqua);
}
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
}
.social-icons img {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 12px 0 #fff7;
  padding: 4px;
  transition: box-shadow .13s, transform .15s;
}
.social-icons img:hover {
  box-shadow: 0 6px 14px #FFE06645;
  transform: scale(1.15) rotate(-4deg);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  .feature-grid,
  .testimonial-list {
    justify-content: center;
  }
}
@media (max-width: 850px) {
  .feature-grid, .testimonial-list {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .section { padding: 30px 8px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .hero { border-radius: 0 0 32px 32px; }
  .hero h1 { font-size: 2.1rem; }
  .feature, .service-list li, .testimonial-card, .article-list li {
    padding: 18px 12px;
    min-width: 0;
    max-width: 100%;
  }
  .content-wrapper {
    gap: 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.15rem; }
  nav .cta, .cta, .cta.secondary {
    font-size: 1rem;
    padding: 11px 16px;
  }
  footer {
    border-radius: 26px 26px 0 0;
  }
}

/* ================== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -3px 18px 0 #14324A1A;
  z-index: 2000;
  padding: 22px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  animation: bannerin 0.53s cubic-bezier(.32,1.2,.3,1) both;
}
@keyframes bannerin {
  from { opacity:0; transform: translateY(44px); }
  to { opacity:1; transform: none; }
}
.cookie-banner .cookie-text {
  max-width: 380px;
  font-size: 1.05rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  background: var(--pink);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  padding: 7px 22px;
  transition: background .17s, color .16s, box-shadow .13s;
  font-size: 1rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--aqua);
  color: #fff;
}
.cookie-banner .settings-btn {
  background: var(--yellow);
  color: var(--primary);
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: var(--blue);
  color: #fff;
}

/* ================== COOKIE CONSENT MODAL ================== */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2100;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,60,85,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .21s cubic-bezier(.41,1.20,.38,1.02);
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  max-width: 350px;
  width: 96vw;
  padding: 34px 18px 22px 18px;
  box-shadow: 0 20px 44px #14324A33, var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: bouncemodal .39s cubic-bezier(.29,1.09,.31,1.02) both;
}
@keyframes bouncemodal {
  0% { transform: scale(.81) translateY(35px); opacity: 0; }
  85% { transform: scale(1.03) translateY(-2px);  opacity:1; }
  100% { transform: scale(1) translateY(0);   }
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.22rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--aqua);
}
.cookie-category .always {
  color: var(--blue);
  font-size: 0.97rem;
  font-weight: 600;
  margin-left: 7px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  font-size: 1.3rem;
  color: var(--primary);
  background: var(--gray-light);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;align-items: center;justify-content: center;
  transition: background .18s, color .18s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--pink);
  color: var(--white);
}

/* ================== MISC & PLAYFUL DECOR ================== */
.section {
  background: var(--accent);
  border-radius: 20px;
}
.text-section {
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--primary);
}
.info {
  background: var(--yellow);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--primary);
  box-shadow: 0 2px 12px #FFE06628;
  margin-bottom: 14px;
}
.company-details {
  font-size: 1.04rem;
  color: var(--primary);
  margin-top: 12px;
  margin-bottom: 10px;
}
.company-info {
  margin-bottom: 20px;
}

/* ================== SCROLLBAR STYLING (optional, playful) ================== */
::-webkit-scrollbar {
  width: 8px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

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

/* ================== END CSS ================== */
