/* ----------------------------------------------------
   CSS RESET & BASE STYLES
---------------------------------------------------- */
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
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
body{line-height:1}
ol,ul{list-style:none}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block;border:0}
table{border-collapse:collapse;border-spacing:0}
input,button,select,textarea{font:inherit;color:inherit;border:none;background:none;outline:none}

/* ----------------------------------------------------
   CSS CUSTOM PROPERTIES (PASTEL COLOR PALETTE)
---------------------------------------------------- */
:root {
  --primary: #24373D; /* deep blue gray */
  --secondary: #C7D1C4; /* soft sage green */
  --accent: #F6F3F0;  /* light sand - bg */
  --pastel-blue: #dce9ef;
  --pastel-pink: #fcd6db;
  --pastel-mint: #d2f2e6;
  --pastel-yellow: #fff8dc;
  --pastel-lavender: #ece4fa;
  --button-hover: #e8ebe3;
  --danger: #ffb4b0;
  --success: #b6e2d3;
  --shadow: 0 4px 24px rgba(36,55,61,0.07);
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ----------------------------------------------------
   BASE BODY + TYPOGRAPHY
---------------------------------------------------- */
html {
  font-size: 16px;
}
body {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {font-size: 2.25rem; margin-bottom: 24px;}
h2 {font-size: 1.55rem; margin-bottom: 20px;}
h3 {font-size: 1.15rem; font-weight: 600; margin-bottom: 12px;}
h4,h5,h6 {font-size: 1.05rem;}
p,li,table,ul,ol {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding-bottom: 40px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* ----------------------------------------------------
   FLEXBOX-ONLY LAYOUTS
---------------------------------------------------- */
.feature_grid,
.service_cards,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.card-container {
  margin-bottom: 20px;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(36,55,61,0.13);
  transform: translateY(-3px) scale(1.01);
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 260px;
  max-width: 375px;
  margin-bottom: 20px;
  color: var(--primary);
}
.testimonial-card strong {
  color: var(--primary);
}

.testimonial-card p {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1rem;
  margin: 0 0 10px 0;
}
.testimonial-card img {
  margin-top: 6px;
}

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

/* ----------------------------------------------------
   HEADER NAVIGATION & LOGO
---------------------------------------------------- */
header {
  background: var(--accent);
  box-shadow: 0 2px 16px 0 rgba(36,55,61,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  transition: background .13s, color .13s;
  position: relative;
}
header nav a.cta {
  background: var(--pastel-blue);
  color: var(--primary);
  font-weight: 600;
  padding: 9px 20px;
  box-shadow: 0 4px 16px 0 rgba(36,55,61,0.07);
  border-radius: 24px;
  margin-left: 8px;
  letter-spacing: 0.01em;
  font-size: 1.01rem;
}
header nav a.cta:hover {
  background: var(--pastel-pink);
  color: var(--primary);
}
header nav a:hover:not(.cta),
header nav a:focus-visible:not(.cta) {
  background: var(--pastel-mint);
  color: var(--primary);
}
.logo, header img {
  height: 44px;
  width: auto;
  display: block;
  margin-right: 12px;
  border-radius: 12px;
  user-select: none;
}

/* Hamburger menu toggle (MOBILE) */
.mobile-menu-toggle {
  display: block;
  background: var(--pastel-blue);
  border-radius: 7px;
  color: var(--primary);
  font-size: 2rem;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(36,55,61,0.08);
  transition: background .13s;
  display: none;
}
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle:hover {
  background: var(--pastel-mint);
}

/* ----------------------------------------------------
   MOBILE SLIDE MENU
---------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(246,243,240,0.98);
  box-shadow: 0 8px 32px 0 rgba(36,55,61,0.12);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform .31s cubic-bezier(.63,.07,.32,.96);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 22px 0 0;
  background: var(--pastel-blue);
  border-radius: 8px;
  color: var(--primary);
  font-size: 2.2rem;
  padding: 0 10px;
  cursor: pointer;
  transition: background .16s;
  border: none;
}
.mobile-menu-close:focus-visible, .mobile-menu-close:hover {
  background: var(--pastel-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  flex: 1 1 100%;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  border-radius: var(--border-radius-sm);
  padding: 13px 0;
  width: 90vw;
  text-align: center;
  background: none;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  background: var(--pastel-mint);
  color: var(--primary);
}


/* ----------------------------------------------------
   MAIN BUTTONS & CTA
---------------------------------------------------- */
.cta, .btn, .button {
  font-family: var(--font-display);
  background: var(--pastel-mint);
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 2px 18px 0 rgba(36,55,61,0.05);
  transition: background .16s, transform .15s, color .13s;
  display: inline-block;
}
.cta:hover,.btn:hover,.button:hover,.cta:focus-visible,.btn:focus-visible,.button:focus-visible{
  background: var(--pastel-pink);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}


/* ----------------------------------------------------
   CARDS, FEATURES, SERVICE LISTS
---------------------------------------------------- */
.feature_grid > div, .service_cards > div {
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 275px;
  background: var(--pastel-yellow);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 22px 20px;
  text-align: left;
  transition: box-shadow .2s, background .24s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
}
.feature_grid > div:hover,
.service_cards > div:hover {
  background: var(--pastel-blue);
  box-shadow: 0 8px 32px 0 rgba(36,55,61,0.11);
}
.feature_grid img, .service_cards img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
}
.service_cards strong, .feature_grid strong {
  color: var(--primary);
}

/* -----------------------
   PRICING TABLE
------------------------ */
table {
  width: 100%;
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  background: var(--accent);
  box-shadow: 0 2px 10px 0 rgba(36,55,61,0.04);
}
thead {
  background: var(--pastel-lavender);
}
th,td {
  padding: 15px 12px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.03rem;
  color: var(--primary);
  border-bottom: 1px solid #ede9e5;
}
th:first-child, td:first-child {
  border-radius: 8px 0 0 8px;
}
th:last-child, td:last-child {
  border-radius: 0 8px 8px 0;
}
.price-notes {
  font-size: 0.96rem;
  color: #5b6c70;
  background: var(--pastel-yellow);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  margin-top: 10px;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
  background: var(--pastel-blue);
  padding: 40px 0 24px 0;
  width: 100%;
  font-family: var(--font-body);
  box-shadow: 0 -4px 18px 0 rgba(36,55,61,0.03);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1rem;
  color: var(--primary);
}
.footer-brand img {
  width: 66px; height: 66px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 1px 8px 0 rgba(36,55,61,0.07);
}
footer nav, .footer-legal {
  font-size: 0.97rem;
  color: #354a50;
  margin-top: 12px;
}
footer nav a, .footer-legal a {
  color: #354a50;
  text-decoration: none;
  padding: 0 6px;
  border-radius: 4px;
  transition: background .11s;
}
footer nav a:focus-visible, footer nav a:hover, .footer-legal a:hover, .footer-legal a:focus-visible {
  background: var(--pastel-mint);
}

/* ----------------------------------------------------
   LISTS (UL / OL / LI)
---------------------------------------------------- */
ul, ol {
  margin-left: 20px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 1rem;
}
ul li::before, ol li::before {
  display:none;
}

/* ----------------------------------------------------
   FORMS & CONTACT DETAILS (kontakt.html)
---------------------------------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--pastel-yellow);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
}
.contact-details img {
  width: 26px; height: 26px;
  margin-right: 2px;
  opacity: 0.88;
}

/* ----------------------------------------------------
   COOKIES CONSENT BANNER
---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--pastel-lavender);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 18px;
  box-shadow: 0 -6px 18px 0 rgba(36,55,61,0.07);
  font-size: 1rem;
  transition: transform .3s cubic-bezier(.71,0,.36,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-text {
  flex: 1 1 auto;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  font-family: var(--font-body);
  background: var(--pastel-mint);
  color: var(--primary);
  font-weight: 600;
  border-radius: 22px;
  font-size: 1rem;
  padding: 8px 22px;
  margin-left: 1px;
  border: none;
  cursor: pointer;
  transition: background .16s, color .13s;
}
.cookie-btn:hover, .cookie-btn:focus-visible {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--danger);
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus-visible {
  background: #f19ea1;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%);
  background: #fff;
  padding: 32px 24px 24px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 12px 44px 0 rgba(36,55,61,0.13);
  z-index: 10000;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity .2s;
}
.cookie-modal.hide {
  display: none;
}
.cookie-modal h3 {
  font-size: 1.12rem;
  margin-bottom: 5px;
}
.cookie-categories {
  margin: 18px 0 16px 0;
  display: flex;
  flex-direction: column; 
  gap: 16px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.96rem;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--pastel-mint);
}
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: var(--pastel-yellow);
  color: var(--primary);
  border-radius: 8px;
  font-size: 1.5rem;
  border: none;
  padding: 4px 14px 3px 14px;
  margin-top: -19px;
  margin-right: -9px;
  cursor: pointer;
  transition: background .11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus-visible {
  background: var(--pastel-pink);
}

/* ----------------------------------------------------
   ANIMATIONS
---------------------------------------------------- */
@media (prefers-reduced-motion:no-preference) {
  .mobile-menu,
  .cookie-banner {
    transition: transform .31s cubic-bezier(.63,.07,.32,.96), opacity .13s;
  }
  .cta, .btn, .button, .card, .feature_grid > div, .service_cards > div {
    transition: box-shadow .20s, background .20s, transform .17s, color .13s;
  }
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN: Mobile-first
---------------------------------------------------- */
@media (max-width: 991px) {
  header .container {
    flex-direction: row;
    gap: 16px;
  }
  .feature_grid, .service_cards, .content-grid, .testimonial-slider, .testimonial-list, .card-container {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  
  header .container {
    padding: 0 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section, main > section, .feature_grid>div, .service_cards>div {
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-wrapper {
    padding: 0;
  }
  .feature_grid, .service_cards, .testimonial-slider, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature_grid > div, .service_cards > div, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-brand img {
    margin-bottom: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .cookie-modal {
    min-width: unset;
    max-width: 99vw;
    padding: 16px 8px 16px 12px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .section, main > section {
    padding: 20px 2px;
  }
  .testimonial-card, .feature_grid > div, .service_cards > div, .card {
    padding: 15px 8px;
  }
  .contact-details {
    padding: 16px 7px;
  }
}

/* ----------------------------------------------------
   UTILITIES, ACCESSIBILITY
---------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px; width: 1px;
  overflow: hidden;
}
[tabindex]:focus,
button:focus-visible,
a:focus-visible,input:focus-visible {
  outline: 2px solid var(--pastel-pink) !important;
  outline-offset: 1px;
}

/* ----------------------------------------------------
   MISC/ELEMENT ADJUSTMENTS
---------------------------------------------------- */
h1,h2,h3,h4,h5,h6,p,ul,ol,li {
  word-break: break-word;
}
.mark {
  background: var(--pastel-yellow);
  color: var(--primary);
  padding: 2px 5px;
  border-radius: 5px;
}

/* Make sure testimonial text always is readable */
.testimonial-card,
.testimonial-card strong {
  color: var(--primary)!important;
  background: var(--pastel-mint)!important;
}

/* ----------------------------------------------------
   Z-INDEX STACKING
---------------------------------------------------- */
header { z-index: 20; }
.mobile-menu {z-index: 500;}
.cookie-banner {z-index: 9999;}

/* ----------------------------------------------------
   PRINT (Optional: soft bg for print)
---------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  header,footer,.mobile-menu,.cookie-banner,.cookie-modal { display: none !important; }
}
