/* ----------------------------------
CSS RESET & BASE 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,
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; }
input, button, select, textarea { font-family: inherit; }
img, video { max-width: 100%; height: auto; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; background: #F6F6F6; }
a { color: inherit; text-decoration: none; transition: color .2s; cursor: pointer; }
button { background: none; border: none; font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ----------------------------------
BRAND COLORS & FONTS
---------------------------------- */
:root {
  --primary: #365574;
  --primary-contrast: #fff;
  --secondary: #B7CDBE;
  --accent: #F6F6F6;
  --brand-yellow: #FFD600;
  --brand-pink: #FF80AB;
  --brand-orange: #FFAB40;
  --brand-green: #98C379;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', 'Comic Sans MS', Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 4px 16px 0 rgba(54,85,116,0.06), 0 1.5px 6px 0 rgba(255,128,171,0.06);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

body {
  font-family: var(--font-body);
  background: var(--accent);
  color: var(--primary);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.3rem; line-height: 1.23; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }
}

p, ul, ol, li, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #244257;
}

strong { color: var(--brand-pink); font-weight: 700; }

/* ----------------------------------
LAYOUT CONTAINERS & FLEX SPACING
---------------------------------- */
.container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { padding: 28px 5px; margin-bottom: 28px; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.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;
    gap: 18px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.67,2,.23,.82), box-shadow .22s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-2deg);
  box-shadow: 0 8px 36px rgba(54,85,116,0.11), 0 2px 10px rgba(255,128,171,0.13);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}

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

/* ----------------------------------
PLAYFUL DYNAMIC VISUALS
---------------------------------- */
.hero {
  background: var(--brand-yellow);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 32px 0 rgba(255,171,64,0.13), 0 2px 8px 0 rgba(54,85,116,0.09);
  margin-bottom: 38px;
  min-height: 290px;
  display: flex;
  align-items: center;
  animation: playfulGrow 1.2s cubic-bezier(.2,1.9,.34,1) 1;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.8rem;
  font-weight: 900;
  text-shadow: 1px 1px 0 #fff, 3px 3px 12px #B7CDBE88;
}
.hero .cta-primary {
  margin-top: 22px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 170px;
    border-radius: 0 0 25px 25px;
  }
  .hero h1 { font-size: 1.4rem; }
}

@keyframes playfulGrow {
  0% { opacity: 0; transform: scale(.91) skewY(2deg); }
  80% { opacity: 1; transform: scale(1.013) skewY(-1deg); }
  100% { opacity: 1; transform: scale(1) skewY(0deg); }
}

.feature-grid > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(255,128,171,0.045), 0 1.5px 6px 0 rgba(54,85,116,0.06);
  padding: 24px 18px 20px 18px;
  min-width: 210px;
  max-width: 320px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .23s, transform .23s cubic-bezier(.62,.12,.19,1), background .2s;
  margin-bottom: 20px;
  position: relative;
  border-top: 4px solid var(--brand-pink);
  z-index: 1;
  outline: 2px solid rgba(255,214,0,0.07);
}
.feature-grid > div:hover {
  box-shadow: 0 10px 30px 0 rgba(255,128,171,0.19), 0 4px 16px 0 rgba(54,85,116,0.12);
  transform: scale(1.035) rotate(-2deg);
  background: var(--secondary);
}
.feature-grid img {
  margin-bottom: 8px;
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px #FFAB4080);
}

/* ----------------------------------
BUTTONS & CTA
---------------------------------- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(52,85,160,0.065);
  cursor: pointer;
  outline: none;
  border: none;
  transition: background .24s, color .21s, box-shadow .24s, transform .16s;
  margin: 12px 0;
  letter-spacing: 1.5px;
  background: var(--brand-pink);
  color: #fff;
  position: relative;
}
.cta-primary:after {
  content: '👉';
  display: inline-block;
  margin-left: 10px;
  animation: wiggle .44s infinite alternate cubic-bezier(.82,-0.01,.47,1.66);
}
@keyframes wiggle {
  0% { transform: rotate(-11deg) scale(1.00); }
  100% { transform: rotate(6deg) scale(1.1); }
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-yellow);
  color: var(--primary);
  box-shadow: 0 7px 30px rgba(59,85,180,0.13);
  transform: scale(1.035);
}
.cta-secondary {
  background: var(--brand-yellow);
  color: var(--primary);
  font-weight: 800;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-pink);
  color: #fff;
  transform: scale(1.055) rotate(-3deg);
}

/* ----------------------------------
NAVIGATION
---------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(54,85,116,0.08);
  position: relative;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 1180px) {
  .main-nav { gap: 11px; padding-left: 14px; padding-right: 14px; }
}
.main-nav > a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 8px 16px;
  border-radius: 14px;
  position: relative;
  transition: background .13s, color .18s;
  line-height: 1.6;
}
.main-nav > a.cta-primary {
  background: var(--brand-pink);
  color: #fff;
  margin-left: auto;
  font-size: 1.16rem;
}
.main-nav > a.cta-primary:hover {
  background: var(--brand-yellow);
  color: var(--primary);
}
.main-nav > a:hover:not(.cta-primary) {
  background: var(--secondary);
  color: var(--brand-pink);
}
.main-nav > a img {
  height: 38px;
  margin-right: 9px;
  vertical-align: middle;
}

/* Responsive nav */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 1201;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 2rem;
  background: var(--brand-pink);
  color: #fff;
  transition: background .18s, transform .17s;
  border: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--brand-yellow);
  color: var(--primary);
}
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  background: #fff;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  min-width: 240px;
  width: 98vw;
  z-index: 1202;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.65,1.1,.53,1.15);
  will-change: transform;
  padding-top: 34px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 16px;
  top: 18px;
  font-size: 2.2rem;
  color: var(--brand-pink);
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  transition: background .17s;
  border: none;
  z-index: 1222;
}
.mobile-menu-close:hover {
  background: var(--brand-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--primary);
  padding: 12px 14px;
  border-radius: 9px;
  margin-bottom: 4px;
  transition: background .15s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-pink);
}
@media (max-width: 980px) {
  .mobile-menu { display: flex; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* ----------------------------------
FOOTER
---------------------------------- */
footer {
  margin-top: 44px;
  width: 100%;
  background: #fff;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 3px 22px 0 rgba(59,127,180,.11) inset;
  padding: 32px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--brand-pink);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 7px;
  padding: 8px 12px;
  transition: background .18s, color .15s;
}
.footer-nav a:hover { background: var(--secondary); color: var(--primary); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  color: var(--primary);
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(54,85,116,0.04);
  margin-bottom: 3px;
}
.footer-contact img {
  height: 20px;
}
@media (max-width: 640px) {
  footer, .footer-contact, .footer-nav {
    flex-direction: column;
    gap: 10px;
    border-radius: 16px 16px 0 0;
  }
}

/* ----------------------------------
TESTIMONIAL CARD
---------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(57,122,190,.08);
  border-radius: 20px;
  padding: 20px 24px 18px 24px;
  margin-bottom: 20px;
  border: 2px dotted var(--brand-green);
  font-family: var(--font-body);
  position: relative;
  overflow: visible;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #25313C;
  text-align: center;
  line-height: 1.4;
  font-family: var(--font-body);
}
.testimonial-card span {
  color: #486984;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 3px;
}
.star-rating img {
  width: 23px;
  height: 23px;
  filter: drop-shadow(0 1.5px 8px #FFD60090);
}

/* ----------------------------------
FORMS & CONTACT INFO (kontakt.html)
---------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.map-placeholder {
  background: var(--brand-yellow);
  border-radius: 12px;
  padding: 19px 18px;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
}
.map-placeholder img {
  width: 32px;
}
@media (max-width: 680px) {
  .map-placeholder { padding: 11px 8px; }
}

/* ----------------------------------
LISTS AND TEXTUAL ELEMENTS
---------------------------------- */
ul, ol {
  margin-bottom: 16px;
  padding-left: 1.2em;
  color: #345574;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 11px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}
ul li::before {
  content: '•';
  color: var(--brand-pink);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.17em;
  position: absolute;
  left: -1.2em;
}
ol li::before {
  display: none; /* Numbers handled by browser */
}
.text-section h2, .text-section h3 {
  margin-top: 17px;
  color: var(--brand-orange);
}

/* ----------------------------------
UTILITY CLASSES & MISCELLANEOUS
---------------------------------- */
img {
  display: block;
  max-width: 100%;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-12 { gap: 12px !important; }
@media (max-width: 900px) {
  .container { padding-left: 7px; padding-right: 7px; }
}

/* ----------------------------------
COOKIE CONSENT BANNER
---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffbe7;
  border-top: 3px solid var(--brand-yellow);
  box-shadow: 0 -2px 24px 0 rgba(255,171,64,0.14);
  padding: 22px 16px 22px 16px;
  z-index: 2600;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  animation: banner-slide-in .55s cubic-bezier(.71,2,.42,1);
}
@keyframes banner-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0%); opacity: 1; }
}
.cookie-banner p {
  text-align: center;
  color: #365574;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.cookie-btn {
  padding: 10px 28px;
  background: var(--brand-pink);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  transition: background .13s, color .13s, transform .11s;
  box-shadow: 0 2px 16px rgba(255,171,64,.09);
  margin-bottom: 2px;
}
.cookie-btn:hover, .cookie-btn:focus { background: var(--brand-yellow); color: var(--primary); }
.cookie-btn.reject { background: #fff; color: var(--brand-pink); border: 2px solid var(--brand-pink); }
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: var(--brand-orange); color: #fff; }
.cookie-btn.settings { background: var(--brand-yellow); color: var(--primary); }
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: var(--brand-pink); color: #fff; }

/* Cookie Preference Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(54,85,116,0.20);
  z-index: 2800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .17s;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border: 3px solid var(--brand-yellow);
  border-radius: 32px;
  box-shadow: 0 8px 40px #FFAB4088;
  min-width: 300px;
  max-width: 95vw;
  padding: 29px 27px;
  color: var(--primary);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 27px;
  animation: modal-in .34s cubic-bezier(.33,2.5,.51,1.02);
}
@keyframes modal-in {
  0% { opacity: 0; transform: scale(.6) translateY(100px); }
  80% { opacity: 0.9; transform: scale(1.07) translateY(-10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  color: var(--brand-pink);
  margin-bottom: 8px;
  font-size: 1.28rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}
.cookie-category {
  background: var(--secondary);
  border-radius: 15px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
}
.cookie-toggle {
  appearance: none;
  width: 28px;
  height: 16px;
  background: var(--brand-yellow);
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .13s;
}
.cookie-toggle:checked {
  background: var(--brand-pink);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: left .14s, background .16s;
}
.cookie-toggle:checked::after {
  left: 14px;
  background: #fff;
}
.cookie-category .label {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.cookie-category .desc {
  color: #6A7782;
  font-size: .92rem;
  margin-left: 8px;
  font-weight: 500;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* ----------------------------------
RESPONSIVE OVERRIDES
---------------------------------- */
@media (max-width: 768px) {
  .hero, .section {
    margin-bottom: 18px;
    border-radius: 0 0 15px 15px;
    padding: 20px 5px;
  }
  .content-wrapper { gap: 14px; }
  .container { max-width: 100vw; padding-left: 4px; padding-right: 4px; }
  .feature-grid > div { min-width: 90vw; max-width: 100vw; }
  .testimonial-card { padding: 13px 7px 13px 7px; border-radius: 11px; }
}

@media (max-width: 500px) {
  header {
    min-height: 56px;
    box-shadow: 0 2px 16px rgba(54,85,116,0.06);
  }
  .footer-contact, .footer-nav { gap: 3px; }
}

/* ----------------------------------
PLAYFUL ANIM DECORATIONS
---------------------------------- */
.feature-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  top: -17px; right: -17px;
  width: 38px; height: 38px;
  background: var(--brand-pink);
  opacity: 0.18;
  border-radius: 19px;
  z-index: 0;
  pointer-events: none;
  animation: floatyUp 2.7s infinite alternate cubic-bezier(.93,.13,.16,1.87);
}
@keyframes floatyUp {
  0% { transform: translateY(7px) scale(0.96) rotate(0deg); }
  100% { transform: translateY(-13px) scale(1.1) rotate(18deg); }
}

/* ----------------------------------
A11Y: High contrast for testimonial cards
---------------------------------- */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #25313C;
  background: #fff;
  font-family: var(--font-body);
}

/* ----------------------------------
ERROR/PASS/INFO COLORS (for later use)
---------------------------------- */
.status-pass { color: var(--brand-green); }
.status-fail { color: #E23D3D; }
.status-info { color: var(--primary); }

/* ----------------------------------
END OF CSS
---------------------------------- */
