/* === 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #f7f7f7;
  color: #20544e;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
}

/* === SOFT PASTEL COLOR VARIABLES === */
:root {
  --primary: #175d3e;
  --primary-dark: #124a32;
  --secondary: #d6e53b;
  --accent: #f7f7f7;

  /* Pastel palette from style description */
  --pastel-green: #B6E6DD;
  --pastel-blue: #C6DDFE;
  --pastel-peach: #FFE2CF;
  --pastel-yellow: #FFF8B7;
  --pastel-pink: #F9D3E3;
  --pastel-purple: #E2DAFB;
  --white: #fff;
  --shadow: 0 8px 24px rgba(120, 120, 120, 0.07), 0 1.5px 4px rgba(180,180,180,0.05);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; margin-bottom: 28px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 5px; }

p, ul, ol, dl, li, address, small {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #20544e;
  margin-bottom: 16px;
}
strong { color: var(--primary-dark); font-weight: 600; }
small { font-size: 0.93rem; }

table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
thead {
  background: var(--pastel-green);
}
th, td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid #efefef;
}
th { color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.1rem; }
tr:last-child td { border-bottom: none; }

/*==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px 22px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg,var(--pastel-yellow),var(--accent),var(--pastel-blue),var(--accent));
  background-size: 400% 400%;
  animation: pastel-section-bg 18s ease-in-out infinite;
  border-radius: 32px 32px 36px 36px;
}
@keyframes pastel-section-bg {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
/* == Feature Grid for / == */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.feature_grid li {
  background: var(--pastel-green);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.21s, transform 0.21s;
}
.feature_grid li img {
  width: 34px; height: 34px; margin-bottom: 8px;
}
.feature_grid li:hover {
  box-shadow: 0 6px 30px rgba(60, 180, 140, 0.11);
  transform: translateY(-2px) scale(1.03);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 250px;
  flex: 1 1 270px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}

/* ==== TESTIMONIALS CARDS ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 27px 0 0 0;
  background: var(--pastel-peach);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-height: 85px;
}
.testimonial-card p {
  font-style: italic;
  color: #214e38;
  flex: 1 1 60%;
  margin-bottom: 0;
  font-size: 1.07rem;
}
.testimonial-card div {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  color: #175d3e;
}
.testimonial-card span {
  font-size: 1.2em;
  color: #e7bc6e;
  margin-right: 6px;
}

/* ==== HEADER + NAV ==== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0 18px 0;
  border-bottom: 1.5px solid #e5ebde;
  background: linear-gradient(90deg,var(--pastel-blue), var(--accent), var(--pastel-yellow));
  background-size: 300% 300%;
  animation: pastel-header-bg 14s ease-in-out infinite;
}
@keyframes pastel-header-bg {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
header > a img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-right: 12px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #20544e;
  padding: 8px 13px 8px 13px;
  border-radius: 9px;
  transition: background 0.17s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--pastel-green);
  color: #1c8577;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 13px 28px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px 0 rgba(180,180,180,0.10);
  border: none;
  cursor: pointer;
  margin-left: 9px;
  transition: box-shadow 0.19s, background 0.16s, color 0.13s, transform 0.16s;
  display: inline-block;
  outline: none;
  letter-spacing: .02em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #e5f67e;
  color: var(--primary-dark);
  box-shadow: 0 4px 18px 0 rgba(150,180,150,0.20);
  transform: translateY(-1px) scale(1.04);
}

/* ==== MOBILE MENU BUTTON ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-pink);
  color: var(--primary);
  border: none;
  cursor: pointer;
  font-size: 2.0rem;
  border-radius: 11px;
  padding: 4px 14px;
  transition: background 0.2s;
  z-index: 1202;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--pastel-yellow);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 250, 250, 0.97);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.69,.21,.44,1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 30px 0 23px;
  box-shadow: -10px 0 16px 0 rgba(200, 200, 200, 0.24);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(.66,.16,.44,1.12);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  cursor: pointer;
  background: var(--pastel-yellow);
  color: var(--primary);
  border-radius: 12px;
  border: none;
  padding: 2px 18px 2px 12px;
  margin-bottom: 26px;
  box-shadow: 0 1px 4px 0 rgba(175,175,175,0.14);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--pastel-peach);
  color: #086d57;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: var(--primary);
  background: var(--pastel-green);
  padding: 15px 10px 15px 22px;
  border-radius: 15px;
  transition: background 0.18s, color 0.2s;
  margin-bottom: 4px;
  box-shadow: 0 1.5px 8px 0 rgba(170,180,180,0.07);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-peach);
  color: #126d4a;
}

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(90deg,var(--accent),var(--pastel-blue),var(--pastel-green),var(--accent));
  background-size: 400% 400%;
  animation: pastel-footer-bg 18s ease-in-out infinite;
  padding-top: 35px;
  margin-top: 48px;
}
@keyframes pastel-footer-bg {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0px 16px 28px 16px;
}
.footer-main > a {
  align-self: flex-start;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-main nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  color: #32654e;
  transition: color 0.18s;
  margin-bottom: 4px;
}
.footer-main nav a:hover, .footer-main nav a:focus {
  color: #44a799;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: #374a40;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 6px;
  width: 20px; height: 20px;
}
.footer-contact address {
  font-style: normal;
  margin-bottom: 5px;
}
.footer-bottom {
  text-align: center;
  padding: 13px 0 17px;
  background: transparent;
  font-size: 1rem;
  color: #757982;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--pastel-purple);
  color: #20544e;
  box-shadow: 0 -4px 24px 0 rgba(120,130,150,0.11);
  padding: 20px 10px 13px 10px;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: transform 0.34s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 10px 23px;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
  margin: 0 2px;
  box-shadow: 0 1px 5px 0 rgba(200,200,200,0.09);
}
.cookie-banner .btn-cookie:focus,
.cookie-banner .btn-cookie:hover {
  background: var(--pastel-yellow);
  color: #124a32;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(70,80,100,0.21);
  align-items: center;
  justify-content: center;
  transition: background 0.21s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--pastel-peach);
  color: #20544e;
  border-radius: 18px;
  padding: 38px 28px 30px 28px;
  max-width: 370px;
  width: 96vw;
  box-shadow: 0 10px 60px 0 rgba(170,120,140, 0.09);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: pastel-popup-in 0.29s cubic-bezier(.69,.21,.44,1.08);
}
@keyframes pastel-popup-in {
  0% { transform: scale(0.88) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h4 {
  color: var(--primary);
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1.01rem;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0 0;
}
.cookie-modal .modal-close {
  position: absolute; right: 22px; top: 14px;
  background: var(--pastel-yellow);
  color: #175d3e; border-radius: 14px;
  font-size: 1.24rem;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font-weight: bold;
  transition: background 0.15s, color 0.17s;
}
.cookie-modal .modal-close:focus,
.cookie-modal .modal-close:hover {
  background: var(--pastel-green);
  color: #0A4430;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 9px 19px;
  border-radius: 15px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.17s, color 0.12s;
  cursor: pointer;
}
.cookie-modal .modal-actions button:hover,
.cookie-modal .modal-actions button:focus {
  background: var(--pastel-yellow);
}

.cookie-modal .toggle {
  appearance: none;
  width: 36px; height: 18px;
  background: #d5e9cf;
  border-radius: 12px;
  position: relative;
  outline: none;
  margin-left: 7px;
  transition: background 0.16s;
  vertical-align: middle;
}
.cookie-modal .toggle:checked {
  background: var(--secondary);
}
.cookie-modal .toggle:before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  background: var(--primary);
  border-radius: 50%;
  transition: 0.22s;
}
.cookie-modal .toggle:checked:before {
  left: 20px;
  background: var(--primary-dark);
}

/* ==== GENERAL ELEMENTS & CARDS ==== */
ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
  padding-left: 0px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 0px;
}
ul li strong, ol li strong {
  font-weight: 600;
  color: #184c41;
}
dt {
  font-weight: 600;
  color: var(--primary);
  margin-top: 9px;
}
dd {
  margin-left: 16px;
  margin-bottom: 10px;
}
address {
  font-style: normal;
  color: #42544a;
  margin-bottom: 9px;
}
.map-placeholder {
  background: var(--pastel-blue);
  color: #174b3d;
  border-radius: 19px;
  padding: 36px 10px;
  margin-top: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  text-align: center;
  box-shadow: var(--shadow);
}

/* ==== CONTACT DETAILS CARD (kontakt.html) ==== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 18px 0 0 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  color: #215c4b;
  padding: 13px 0 13px 0;
  transition: background 0.13s;
  border-radius: 10px;
}
.contact-details div img {
  width: 24px; height: 24px;
}

/* ==== BUTTONS & INTERACTIONS ==== */
button, .btn-primary, .btn-cookie {
  transition: background 0.16s, color 0.14s, box-shadow 0.16s, transform 0.13s;
}
button:focus, .btn-primary:focus, .btn-cookie:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ==== Utility spacing / section arrangements (as required) ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* ==== RESPONSIVE (MOBILE-FIRST) ==== */
@media (max-width: 1020px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start; gap: 30px;
  }
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  .feature_grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .header > nav, .footer-main nav {
    font-size: 0.98rem;
  }
  header nav {
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 38px;
    border-radius: 13px 13px 19px 19px;
  }
  .content-wrapper {
    padding: 21px 6px;
    border-radius: 17px;
  }
  .header > a img {
    height: 34px;
  }
}
@media (max-width: 630px) {
  header {
    flex-direction: row;
    gap: 6px;
    padding: 11px 0 11px 0;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    padding: 9px 19px;
    font-size: .98rem;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-wrapper {
    padding: 13px 5px;
  }
  h1 { font-size: 1.5rem; margin-bottom: 17px; }
  h2 { font-size: 1.18rem; margin-bottom: 11px; }
  h3 { font-size: 1.01rem; margin-bottom: 6px; }
}
@media (max-width: 500px) {
  .container {
    padding: 0 2px;
  }
  .footer-main {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* ==== MICRO-ANIMATIONS ==== */
a, .btn-primary, .btn-cookie, .cookie-modal .modal-actions button {
  transition: all 0.15s cubic-bezier(.6,.18,.51,1.12);
}
.feature_grid li, .card, .testimonial-card, .cookie-modal {
  transition: box-shadow 0.17s, background 0.17s, transform 0.12s;
}
.card:hover, .feature_grid li:hover {
  box-shadow: 0 7px 32px 0 rgba(85, 172, 170, 0.18);
  transform: scale(1.02) translateY(-2px);
}

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