/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  background: #F9F7F5;
  color: #212821;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, .cta-primary {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: #252B25;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  font-size: 1.0625rem;
  margin-bottom: 16px;
}
strong {
  color: #366046;
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* --- VIBRANT ENERGETIC COLOR SCHEME --- */
:root {
  --primary: #366046;
  --primary-bold: #1D3926;
  --primary-electric: #28B728;
  --secondary: #89A368;
  --accent: #F9F7F5;
  --electric-green: #21E475;
  --electric-yellow: #FFF621;
  --electric-blue: #18A3DC;
  --electric-pink: #FF289B;
  --dark-bg: #23281E;
  --shadow-main: 0 4px 16px 0 rgba(54, 96, 70, 0.06), 0 1.5px 24px 0 rgba(33,146,103, 0.10);
  --section-padding: 40px 20px;
  --section-margin: 60px;
  --card-radius: 20px;
}

/* --- SPACING & SECTION LAYOUTS (MANDATORY) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(33,146,103,0.10);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER/NAV --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(33, 96, 70, 0.05);
  z-index: 20;
  position: relative;
}
header .container {
  padding: 0 16px;
  height: 78px;
  min-height: 78px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  height: 56px;
  margin-right: 18px;
}
.logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 0.5px;
  padding: 4px 2px;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--electric-blue);
}
.cta-primary {
  background: linear-gradient(90deg,var(--electric-green),var(--electric-blue),var(--electric-pink),var(--electric-yellow));
  background-size: 300% 300%;
  color: #fff;
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 1.17rem;
  font-family: 'Lora', serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 16px 0 rgba(33,164,103,0.09);
  text-shadow: 0 1px 2px rgba(0,0,0,0.04);
  border: none;
  outline: none;
  margin-left: 10px;
  transition:
    background-position 0.33s linear,
    filter 0.23s,
    box-shadow 0.25s;
  background-position: 0 50%;
}
.cta-primary:hover, .cta-primary:focus {
  background-position: 100% 50%;
  filter: brightness(1.12) saturate(120%);
  box-shadow: 0 4px 32px 0 rgba(33,164,103,0.16);
  text-decoration: underline;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--electric-green);
  border-radius: 50%;
  color: #222;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: none;
  transition: background 0.17s, color 0.19s;
  z-index: 30;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--electric-pink);
  color: #fff;
}
@media (max-width: 1023px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: #fff;
  box-shadow: -3px 0 22px 2px rgba(33,96,70,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
  opacity: 0;
  gap: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: var(--electric-pink);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(255,40,155,0.1);
  transition: background 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--electric-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2px;
  padding: 36px 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.27rem;
  padding: 18px 0 10px 0;
  border-bottom: 1.5px solid #ececec;
  transition: color 0.17s, background 0.17s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--electric-green);
  background: #f5fff5;
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(91deg, #fff 70%, rgba(56, 243, 112,0.13) 100%), linear-gradient(30deg, var(--accent), var(--electric-green) 45%, var(--electric-pink) 100%);
  background-blend-mode: lighten, normal;
  min-height: 260px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
  padding: 48px 0 28px 0;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.hero-section h1 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1.14;
  color: var(--primary-bold);
  letter-spacing: -0.7px;
}
.hero-section p {
  font-size: 1.18rem;
  color: var(--primary);
  max-width: 600px;
}
.hero-section .cta-primary {
  margin-top: 6px;
}
@media (max-width: 767px) {
  .hero-section {
    min-height: 160px;
    padding: 28px 0 18px 0;
    margin-bottom: 32px;
  }
  .hero-section h1 {
    font-size: 1.7rem;
  }
}

/* --- LISTS & FEATURED UL --- */
ul {
  padding-left: 0;
  margin-bottom: 18px;
}
ul li {
  line-height: 1.7;
  color: #323932;
  font-size: 1.06rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 32px;
}
ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric-green) 45%, var(--electric-blue) 100%);
  opacity: 0.66;
}

ol li {
  font-size: 1.05rem;
  color: var(--primary-bold);
  margin-bottom: 8px;
  padding-left: 0;
  position: relative;
}
ol {
  counter-reset: energetic;
}
ol li::before {
  counter-increment: energetic;
  content: counter(energetic) '. ';
  color: var(--electric-pink);
  font-weight: 700;
  margin-right: 5px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  border-left: 8px solid var(--electric-green);
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(33,146,103,0.09);
  margin-bottom: 24px;
  padding: 22px 24px 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
}
.testimonial-card blockquote {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.21rem;
  line-height: 1.4;
  color: var(--primary-bold);
  margin-bottom: 14px;
  position: relative;
}
.testimonial-card blockquote::before {
  content: '“';
  font-size: 2.6rem;
  color: var(--electric-pink);
  font-family: 'Lora', serif;
  font-weight: 700;
  position: absolute;
  left: -32px;
  top: -32px;
}
.testimonial-card div {
  font-size: 1rem;
  color: var(--electric-blue);
  font-weight: 600;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 16px 12px 12px 16px;
    max-width: 100%;
  }
}

/* --- CARDS / CALL OUTS / SECTION STYLING --- */
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  padding: 32px 20px;
  transition: transform 0.16s, box-shadow 0.18s;
  border: 2px solid transparent;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 7px 32px 2px rgba(38,164,103,0.12);
  border: 2px solid var(--electric-pink);
}

/* --- PRICING / HIGHLIGHT --- */
.pricing-highlights {
  background: linear-gradient(80deg, #fff 76%, var(--electric-yellow) 100%);
  font-size: 1.13rem;
  padding: 18px 20px;
  border-radius: 13px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 20px;
  color: var(--primary-bold);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 32px 0 20px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--electric-yellow);
  font-family: 'Lora', serif;
  font-size: 1.02rem;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--electric-pink);
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
}
footer span {
  color: #fff;
  opacity: 0.9;
}

/* --- ADDRESS MAP SECTION (kontakt.html) --- */
.address-map {
  margin: 18px 0 12px 0;
  font-style: italic;
  font-size: 1rem;
  color: var(--secondary);
  text-shadow: 0 1px 0 #f5fff5;
}

/* --- TYPICAL CONTENT SECTION LAYOUTS --- */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .features {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch;
  }
  .section, section {
    padding: 26px 8px;
    margin-bottom: 30px;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
    max-width: 98vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .feature-item {
    gap: 10px;
  }
}

/* --- BUTTONS, INTERACTIVE ELEM --- */
button, .cta-primary, .footer-nav a {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, filter 0.15s, transform 0.18s;
}
.cta-primary:active {
  transform: scale(0.97);
  filter: brightness(0.93) saturate(150%);
}
.cta-primary:focus {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px;
}
button:active {
  filter: brightness(0.92);
}
/* Ensure minimum tap target */
button, .cta-primary {
  min-width: 44px;
  min-height: 44px;
}

/* --- HEADINGS AND TYPOGRAPHY SCALE --- */
@media (max-width: 600px) {
  h1 {
    font-size: 1.72rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
}

/* --- MICRO-ANIMATIONS --- */
.card, .cta-primary, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.2s, border 0.18s;
  will-change: transform, box-shadow;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 9px 40px 3px rgba(255, 40, 155, 0.13), 0 10px 40px 0 rgba(33,164,103,0.11);
  transform: translateY(-5px) scale(1.025);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #fff;
  color: var(--primary-bold);
  box-shadow: 0 -1px 20px 2px rgba(33,96,70,0.11);
  padding: 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  transition: transform 0.38s, opacity 0.29s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__content {
  max-width: 680px;
  font-size: 1rem;
  color: #23281E;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  background: var(--electric-green);
  color: #23281E;
  border-radius: 24px;
  padding: 9px 22px;
  font-weight: 700;
  font-family: 'Lora', serif;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 12px rgba(33,146,103,0.08);
  margin-left: 0;
  transition: background 0.19s, color 0.15s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--electric-pink);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: var(--electric-yellow);
  color: #23281E;
  border: none;
  border-radius: 24px;
  font-family: 'Lora', serif;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.18s;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--electric-blue);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 15px 7px 23px 7px;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 40, 30, 0.54);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.19s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__box {
  background: #fff;
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: 0 10px 50px 7px rgba(33,146,103,0.12);
  min-width: 320px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal__title {
  font-family: 'Lora', serif;
  font-size: 1.37rem;
  font-weight: 700;
  color: var(--primary-bold);
  margin-bottom: 9px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--electric-pink);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--electric-yellow);
  color: var(--primary-bold);
}
.cookie-modal__category {
  margin: 0 0 13px 0;
  padding: 10px 0;
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-modal__category input[type=checkbox] {
  accent-color: var(--electric-blue);
  width: 18px;
  height: 18px;
}
.cookie-modal__category label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-left: 7px;
}
.cookie-modal__category .category-essential {
  color: var(--primary-bold);
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  flex-direction: row;
  margin-top: 12px;
}
@media (max-width: 500px) {
  .cookie-modal__box {
    padding: 18px 7px 18px 7px;
    min-width: 0;
  }
}

/* --- UTILITY & HELPER CLASSES --- */
.text-center {text-align: center !important;}
.max-w-2xl {max-width: 720px;}
.mb-24 {margin-bottom: 24px !important;}
.gap-24 {gap: 24px !important;}

/* --- PRINT STYLES (optional) --- */
@media print {
  .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header, footer { box-shadow: none !important; }
  body { background: #fff !important; }
}

/* --- ENSURE MINIMUM SPACING BETWEEN CARDS/SECTIONS--- */
.card, .testimonial-card, .section, section {
  margin-bottom: 24px;
}

/* --- Z-INDEX LAYERS & OVERLAP PREVENTION --- */
header { z-index: 20; position: relative; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 200; }
.cookie-modal { z-index: 500; }

/* --- FLEXBOX ONLY FOR ALL LAYOUTS --- */
/* Verifying: no display:grid, grid-*, column-count, column-*, columns, column-width, column-gap used anywhere. Only display:flex layouts with gap used. */
