/* ==== 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,font,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;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}a{text-decoration:none;color:inherit;}

/* ==== CSS VARIABLES FOR BRAND COLORS & FONTS ==== */
:root {
  --brand-primary: #22543D;
  --brand-secondary: #93C47D;
  --brand-accent: #E0F4D9;
  --brand-dark: #14241B;
  --brand-accent-vivid: #31E177;
  --brand-electric-blue: #25C6E0;
  --brand-energetic-orange: #FF9F1C;
  --white: #fff;
  --black: #121212;
  --shadow-lg: 0 8px 32px rgba(34,84,61,0.13), 0 2px 6px rgba(144,237,144,0.09);
  --radius: 18px;
  --radius-sm: 9px;
  --transition: all 0.25s cubic-bezier(.52,.12,.33,1.32);

  --font-display: 'Montserrat', Arial,Helvetica,sans-serif;
  --font-body: 'Roboto', Arial,Helvetica,sans-serif;
}

@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm459WxZC0Q.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2') format('woff2');
}

body {
  background: var(--brand-accent);
  color: var(--brand-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  min-width: 0;
}

.container {
  width: 100%;
  max-width: 1220px;
  padding: 0 24px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ==== TYPOGRAPHY ==== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1{ font-size: 2.5rem; margin-bottom:20px; }
h2{ font-size: 2rem; margin-bottom:20px; }
h3{ font-size:1.3rem; }
h4{ font-size: 1.1rem; }
.subheadline {
  color: var(--brand-electric-blue);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 24px;
}
p,li,address {
  color: var(--brand-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.7;
}
strong {
  color: var(--brand-electric-blue);
  font-weight: 600;
}

/* ==== UTILITY CLASSES ==== */
.mt-32{margin-top:32px;}.mb-32{margin-bottom:32px;} .mt-24{margin-top:24px;}.mb-24{margin-bottom:24px;}
.radius{border-radius:var(--radius);}
.text-center{text-align:center;}
.gap-16{gap:16px;}

/* ==== SECTIONS & LAYOUTS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ==== FLEXBOX LAYOUTS FOR MANDATORY CLASSES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 22px;
  min-width:260px;
  flex:1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 14px 36px 0 rgba(49,225,119,0.14), 0 0px 10px 2px rgba(34,196,224,.07);
}
.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: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px 0 rgba(34,84,61,0.10);
  margin-bottom: 24px;
  border-left: 6px solid var(--brand-energetic-orange);
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(255,159,28,0.13),0 2px 6px rgba(37,198,224,0.12);
}
.testimonial-card p {
  color: var(--brand-dark);
  margin-bottom: 0;
  font-size: 1.08rem;
}
.testimonial-meta {
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width:100%;
  background: var(--brand-primary);
  padding: 0;
  box-shadow: 0 2px 10px rgba(34,84,61,0.07);
  position: relative;
  z-index: 12;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height:80px;
  gap:32px;
}
header img {
  height: 54px;
  min-width:54px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing:0.01em;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-nav a:hover {
  color: var(--brand-energetic-orange);
  background: var(--brand-accent-vivid);
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--brand-energetic-orange) 0, var(--brand-electric-blue) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius);
  padding: 12px 30px;
  box-shadow: 0 2px 16px 0 rgba(49,225,119,0.10);
  margin-left: 26px;
  letter-spacing: .03em;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--brand-electric-blue) 0, var(--brand-energetic-orange) 100%);
  color:var(--brand-primary);
  box-shadow:0 8px 32px 0 rgba(49,225,119,0.13), 0 0px 10px 2px rgba(255,159,28,.11);
  transform: scale(1.06) translateY(-2px);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  position: fixed;
  top: 19px;
  right: 22px;
  z-index: 30;
  width: 46px;
  height: 46px;
  background: linear-gradient(120deg, var(--brand-electric-blue), var(--brand-energetic-orange));
  color: var(--brand-primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px 0 rgba(37,198,224,0.14);
  transition: var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-primary);
  color: var(--white);
  outline: none;
  transform: scale(1.07);
}
.mobile-menu {
  position:fixed;
  top:0; left:0; right:0; bottom:0;
  z-index:120;
  background: rgba(34,84,61,0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-101vw);
  transition: transform 0.38s cubic-bezier(.52,.12,.33,1.32);
  width:100vw;
  height:100vh;
  padding-top:18px;
  opacity:0;
  pointer-events:none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity:1;
  pointer-events:auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  margin-top:12px;
  background: linear-gradient(120deg, var(--brand-electric-blue), var(--brand-energetic-orange));
  border:none;
  border-radius: 50%;
  color: var(--brand-primary);
  width:40px;height:40px;
  font-size:1.45rem;
  cursor:pointer;
  transition:var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--brand-primary);
  color:var(--white);
  outline:none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 90vw;
  align-items: flex-start;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  transition: background .24s, color .24s;
  width:100%;
}
.mobile-nav a:hover {
  background: var(--brand-accent);
  color: var(--brand-energetic-orange);
}

@media (max-width: 1024px) {
  header .container {
    height:auto;
    gap:14px;
  }
  .main-nav { gap: 6px; }
  .cta-btn { margin-left: 0; }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    align-items:flex-start;
    gap:13px;
    height:auto;
  }
  .main-nav { flex-wrap: wrap; gap:5px 12px; }
}
@media (max-width: 820px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    flex-direction:row;
    align-items: center;
    justify-content:space-between;
    height: 72px;
  }
}

/* ==== FOOTER ==== */
footer {
  background: var(--brand-secondary);
  padding: 32px 0;
  box-shadow: 0 -2px 18px 0 rgba(34,84,61,0.04);
  margin-top: 90px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer img {
  height:54px; margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 3px 0;
  border-radius: 7px;
  transition: color 0.2s, background 0.18s;
}
.footer-nav a:hover {
  color: var(--white);
  background:linear-gradient(90deg, var(--brand-energetic-orange), var(--brand-electric-blue));
}
footer address {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--brand-primary);
  margin-top: 9px;
  font-style: normal;
}
footer address a {
  color: var(--brand-primary);
  text-decoration:underline;
  font-weight:500;
  transition: color .21s;
}
footer address a:hover {
  color: var(--brand-energetic-orange);
}

/* ==== FEATURE SECTIONS & CARDS ==== */
.feature-grid {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items:stretch;
}
.feature {
  background: var(--brand-accent);
  border-radius: var(--radius);
  padding: 28px 24px;
  min-width:210px; max-width:330px;
  flex: 1 1 210px; 
  display: flex; flex-direction: column; align-items:center; text-align:center;
  box-shadow: 0 3px 18px 0 rgba(49,225,119,0.11);
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature img {
  width: 48px; height: 48px; margin-bottom: 14px;
}
.feature h3 {
  color: var(--brand-primary);
  font-size: 1.17rem;
  margin-bottom: 10px;
}
.feature p {
  color: var(--brand-dark);
  font-size: 0.97rem;
}
.feature:hover {
  background: var(--brand-accent-vivid);
  box-shadow: 0 6px 24px 0 rgba(37,198,224,0.15);
  transform: scale(1.045) translateY(-2px);
}

/* ==== SERVICE LIST ==== */
.service-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 0;
}
.service-list li {
  background: var(--brand-accent);
  border-radius: var(--radius-sm);
  padding: 17px 18px 17px 18px;
  font-size: 1.09rem;
  font-weight: 500;
  color: var(--brand-dark);
  box-shadow: 0 1px 6px 0 rgba(49,225,119,0.04);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-list .price {
  color: var(--brand-electric-blue);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight:700;
  margin-left: 24px;
}

/* ==== TEXT BLOCKS ==== */
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* ==== Pricing/emphasis ==== */
.price {
  color: var(--brand-energetic-orange);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}

/* ==== OTHERS ==== */
address, .text-section a {
  word-break: break-word;
  text-decoration: underline dotted;
}

/* ==== BUTTON STYLE ==== */
button, .cta-btn, input[type='button'], input[type='submit'] {
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
  outline: none;
  user-select: none;
}
button:focus-visible {
  outline: 2px solid var(--brand-electric-blue);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--brand-primary);
  color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 22px 20px;
  gap: 28px;
  box-shadow: 0 -2px 19px 0 rgba(34,84,61,0.23);
  opacity: 1;
  transition: opacity 0.44s ease, transform 0.44s cubic-bezier(.52,.12,.33,1.32);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner__text {
  font-size: 1rem;
  flex:1;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--white);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  padding: 9px 18px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand-electric-blue);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight:700;
  transition: background .23s, color .13s;
  margin-left: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-energetic-orange);
  color: var(--white);
}
.cookie-btn.reject {
  background: var(--brand-energetic-orange);
  color: var(--white);
}
.cookie-btn.reject:hover {
  background: var(--brand-electric-blue);
  color: var(--brand-primary);
}
.cookie-btn.settings {
  background: var(--brand-accent-vivid);
  color: var(--brand-primary);
  font-weight: 600;
}
.cookie-btn.settings:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* ==== COOKIE CONSENT MODAL ==== */
.cookie-modal-overlay {
  position: fixed; left:0; right:0; top:0; bottom:0; z-index: 11099;
  background: rgba(34,84,61,0.82);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.42s;
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: auto;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 390px;
  width: 94vw;
  padding: 32px 22px 22px 22px;
  box-shadow: 0 10px 32px 0 rgba(37,198,224,0.11);
  display: flex; flex-direction: column; gap: 20px;
  align-items: stretch;
  animation: cookieModalPop .7s ease;
}
@keyframes cookieModalPop {
  from{ transform: translateY(80px) scale(.95); opacity: 0;}
  to{ transform: none; opacity: 1;}
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom:14px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom:9px;
}
.cookie-modal label {
  color: var(--brand-dark);
  font-family: var(--font-body);
  font-size: 0.98rem;
  flex:1;
}
.cookie-switch {
  appearance: none;
  width: 42px; height: 24px;
  background: var(--brand-accent);
  border-radius: 20px;
  position: relative;
  outline:none; cursor:pointer;
  transition: background 0.23s;
}
.cookie-switch:checked {
  background: var(--brand-energetic-orange);
}
.cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  width: 20px; height: 20px;
  left: 2px; top: 2px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgba(34,84,61,0.11);
  transition: left 0.22s;
}
.cookie-switch:checked::before {
  left: 20px;
}
.cookie-modal .cookie-category[data-essential]{opacity:0.7; pointer-events:none;}
.cookie-modal .cookie-modal-actions {
  display:flex; flex-direction:row; gap:13px; margin-top:12px; justify-content: flex-end;
}
.cookie-modal .cookie-btn { width:auto; }

/* ==== MEDIA QUERIES FOR RESPONSIVE DESIGN ==== */
@media (max-width: 1100px) {
  .feature-grid {gap:19px;}
  .container {padding:0 10px;}
}
@media (max-width: 950px) {
  .container { padding: 0 6px; }
}
@media (max-width: 850px) {
  .footer-nav {flex-direction:row; gap:14px;}
  footer .container { flex-direction:column; gap:18px; align-items:center; text-align:center;}
}
@media (max-width:690px) {
  h1{font-size:1.7rem;} h2{font-size:1.24rem;} h3{font-size:1.01rem;}
  header .container {gap:7px;height:auto;}
  .feature-grid {gap:12px;}
}
@media (max-width: 700px) {
  .section {padding:22px 2px;}
  .card {padding:18px 10px;}
  .feature{padding:14px 7px;}
  .testimonial-card {padding:11px 6px;gap:8px;}
}
@media (max-width: 600px) {
  .feature-grid, .content-grid, .card-container {.flex-direction:column; align-items:center;}
  .testimonial-card {flex-direction: column;align-items: flex-start;}
  .card { min-width:0; }
  .feature {min-width:0; max-width:100%; }
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap:12px;
    padding:11px 6px;
    font-size:0.99rem;
  }
  .cookie-banner__actions{
    width:100%; justify-content: flex-end; gap:7px;
  }
}
@media (max-width: 480px) {
  .section{ padding:13px 0 }
  main, .footer, header .container {padding:0 2px;}
  footer address{font-size: 0.92rem;}
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start;gap:15px;}
}

/* ==== MICRO-INTERACTIONS & ANIMATIONS ==== */
a,button,.cta-btn,input[type='button'],input[type='submit'] {
  transition: var(--transition);
}

h1, h2, h3, h4, .cta-btn, .feature {
  animation: fadePop .8s cubic-bezier(.34,1.56,.64,1) 0.03s both;
}
@keyframes fadePop {
  from { opacity: 0;transform: translateY(24px) scale(.96); }
  to { opacity: 1;transform: none; }
}

/* ==== Z-INDEX FIXES ==== */
header, .mobile-menu, .cookie-banner,.cookie-modal-overlay{z-index:999;}

/* ==== VISUAL BOLDNESS FOR VIBRANT ENERGETIC ==== */
.cta-btn, .feature, .card, .testimonial-card {
  font-family: var(--font-display);
  border-width: 0px;
  letter-spacing: 0.01em;
}

/* ==== MINIMUM SPACING ==== */
main > section, .section {
  margin-bottom: 60px !important;
}

/* ==== A11Y FOCUS ==== */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dashed var(--brand-electric-blue);
  outline-offset:2px;
}

/* ==== FORM ELEMENTS (for kontakt/someday forms) ==== */
input,textarea,select {
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  outline:none;
  border: 1.5px solid var(--brand-secondary);
  padding: 9px 12px;
  margin-bottom:12px;
  font-size:1rem;
}
input:focus,textarea:focus,select:focus {
  border-color: var(--brand-electric-blue);
  box-shadow: 0 0 0 1.5px var(--brand-electric-blue);
}

::-webkit-input-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

/* ==== PRINT ==== */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, .mobile-menu-toggle { display: none !important; }
}
