/* ====== 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  min-height: 100vh;
  background: #F6F3EA;
  color: #1B2631;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ====== FONT IMPORT ====== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* ====== VARIABLES / FALLBACKS ====== */
:root {
  --color-primary: #20567A;
  --color-secondary: #A5D86E;
  --color-accent: #F6F3EA;
  --color-dark: #1B2631;
  --color-light: #FCFDF9;
  --color-grey: #EFF2F5;
  --color-focus: #89B34F;
  --shadow-main: 0 4px 16px rgba(32,86,122,0.08);
  --shadow-card: 0 2px 12px rgba(32,86,122,0.10);
}

/* ====== TYPOGRAPHY ====== */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-dark);
  background: var(--color-accent);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.5rem;
}
.text-section p,
p, li, dl, dd {
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--color-dark);
  font-size: 1.08rem;
}
dt {
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 16px;
}
blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-style: italic;
  padding-left: 24px;
  border-left: 4px solid var(--color-secondary);
  background: var(--color-grey);
  border-radius: 16px;
}
.strong, strong {
  font-weight: 700;
}

/* ====== GEOMETRIC STRUCTURED LAYOUTS ====== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  /* To nest inside flex containers easily */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 32px;
  box-shadow: var(--shadow-main);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32,86,122,0.16);
}
.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;
}

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

.testimonials {
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-grey);
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px rgba(32,86,122,0.07);
  max-width: 600px;
  min-width: 220px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(32,86,122,0.15);
}
.testimonial-card p {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--color-dark);
  margin: 0;
}
.testimonial-card strong {
  font-size: 1.09em;
  color: var(--color-primary);
  letter-spacing: 1px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  color: #FFD600;
  font-size: 1.25em;
  margin-left: 8px;
}

/* ====== BUTTONS & CTAs ====== */
.cta-btn,
button.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  margin-top: 20px;
  border-radius: 32px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(32,86,122,0.13);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
}
.cta-btn.primary:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(32,86,122,0.17);
  outline: none;
  transform: translateY(-2px) scale(1.025);
}

/* ====== NAVIGATION ====== */
header {
  background: var(--color-accent);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(32,86,122,0.07);
  z-index: 90;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 20px 0 16px 0;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.main-nav a {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.17s, background 0.17s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.main-nav img {
  max-height: 44px;
  margin-right: 8px;
}
/* Hide nav on mobile */
@media (max-width: 920px) {
  .main-nav {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  z-index: 101;
  border: 3px solid var(--color-secondary);
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-105vw);
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
  z-index: 250;
  box-shadow: 4px 0 64px rgba(32,86,122, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 36px 24px 36px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.44s cubic-bezier(0.7,0,0.3,1);
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 16px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: 3px solid var(--color-primary);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.24rem;
  padding: 12px 8px 12px 0;
  border-radius: 8px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (max-width: 920px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 921px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ====== HERO SECTION ====== */
.hero {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 44px;
  background: linear-gradient(100deg, var(--color-secondary) 0%, #F6F3EA 100%);
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .container {
  width: 100%;
  padding: 0;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 10px;
  line-height: 1.1;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-dark);
  margin-bottom: 20px;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* ====== FEATURE / SERVICE / LIST CARD STYLES ====== */
.features ul, .services ul, .listing ul, .tips ul, .tips ol {
  padding-left: 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features li, .services li, .listing li, .tips li, .tips ol li {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(32,86,122,0.035);
  gap: 16px;
  letter-spacing: 0.02em;
  font-family: 'Open Sans', Arial, sans-serif;
}
.features li img,
.services li img,
.listing li img {
  width: 28px;
  min-width: 28px;
  height: 28px;
  margin-right: 9px;
}
.features h2, .services h2, .listing h2, .tips h2 {
  margin-bottom: 18px;
  font-size: 2rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

.tips ol {
  padding-left: 24px;
  list-style-type: decimal;
  margin-bottom: 20px;
}
.tips ol li {
  background: var(--color-grey);
  border-left: 5px solid var(--color-primary);
}

.widget {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(32,86,122,0.045);
  font-size: 1.05rem;
}
.widget img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

/* -------- CTA Sections -------- */
.cta {
  display: flex;
  margin-bottom: 60px;
  padding: 35px 16px 40px 16px;
  background: linear-gradient(97deg, var(--color-secondary) 0%, #F9F7EE 100%);
  border-radius: 32px;
  box-shadow: 0 2px 14px rgba(32,86,122,0.11);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta h2 {
  color: var(--color-primary);
  font-size: 2.1rem;
}

/* -------- Legal/Confirmation Section -------- */
.legal, .confirmation, .contact, .about, .team {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 16px rgba(32,86,122,0.05);
}

/* -------- Footer -------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 28px 0;
  margin-top: 30px;
  position: relative;
  z-index: 70;
  box-shadow: 0 -2px 12px rgba(32,86,122,0.06);
}
.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 1.02rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.footer-links a {
  color: #fff;
  opacity: 0.9;
  transition: color 0.14s, opacity 0.2s;
  text-decoration: underline dotted;
}
.footer-links a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  font-size: 1.05rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  margin-right: 6px;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-dark);
  box-shadow: 0 -4px 28px rgba(32,86,122,0.13);
  padding: 28px 20px 20px 20px;
  z-index: 400;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  justify-content: space-between;
  border-top: 6px solid var(--color-secondary);
  font-size: 1rem;
  transition: transform 0.3s;
}
.cookie-banner__text {
  flex: 1 1 250px;
  max-width: 670px;
  font-size: 1.08rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner__button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 22px;
  border-radius: 22px;
  border: none;
  margin-right: 0;
  min-width: 124px;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(32,86,122,0.11);
  transition: background 0.17s, color 0.17s, transform 0.17s;
  cursor: pointer;
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.cookie-banner__button--settings {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-banner__button--settings:hover, .cookie-banner__button--settings:focus {
  background: var(--color-primary);
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,86,122,0.19);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: 26px;
  padding: 44px 32px 32px 32px;
  min-width: 300px;
  max-width: 96vw;
  box-shadow: 0 2px 32px rgba(32,86,122,0.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 1.08rem;
  animation: modalUp 0.41s;
}
@keyframes modalUp {
  0% { transform: translateY(70px) scale(0.91); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal__content h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 14px;
  font-size: 1.4rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-grey);
  border-radius: 16px;
  padding: 14px 18px;
}
.cookie-category__description {
  flex: 1 1 160px;
}
.cookie-category__toggle {
  accent-color: var(--color-secondary);
  width: 22px; height: 22px;
  vertical-align: middle;
}
.cookie-category.--fixed label {
  color: #78914c;
  font-weight: 600;
  cursor: not-allowed;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1060px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 960px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.46rem;
  }
  .hero, .section, .cta, .legal, .confirmation, .contact, .about, .team {
    border-radius: 19px;
    padding: 26px 6px;
    margin-bottom: 38px;
  }
  .features ul, .services ul, .listing ul, .tips ul, .tips ol {
    gap: 10px;
    padding-left: 4px;
  }
  .card {
    padding: 20px 12px;
    min-width: 140px;
  }
  .testimonials, .testimonial-card {
    border-radius: 9px;
    padding: 17px 6px;
  }
  .footer-links, .footer-contact {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .mobile-menu {
    padding: 38px 6vw 20px 6vw;
  }
  .mobile-menu-close {
    width: 44px; height: 44px;
    font-size: 1.6rem;
  }
  .cta-btn, button.cta-btn {
    padding: 13px 14px;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 10px 8px;
    font-size: 0.98rem;
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 4px;
  }
  .hero {
    margin-bottom: 28px;
    padding: 13px 2px;
  }
  .section, .cta, .legal, .confirmation, .contact, .about, .team {
    border-radius: 10px;
    padding: 14px 0px;
    margin-bottom: 28px;
  }
  .testimonials, .testimonial-card {
    border-radius: 4px;
    padding: 8px 2px;
  }
  .footer-links, .footer-contact {
    gap: 7px;
    font-size: 0.9em;
  }
  .mobile-menu {
    padding: 36px 2vw 10px 2vw;
  }
}

.text-image-section {
  flex-direction: column;
  align-items: center;
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}

/* ====== INTERACTIONS & MICRO ANIMATION ====== */
.cta-btn, button.cta-btn, .cookie-banner__button {
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.17s;
}
main a,
footer a {
  transition: color 0.15s, background 0.16s;
}
.features li, .services li, .listing li, .tips ol li, .card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.15s;
}
.features li:hover, .services li:hover, .listing li:hover, .tips ol li:hover {
  box-shadow: 0 3px 18px rgba(32,86,122,0.07);
  transform: translateY(-1px) scale(1.015);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(32,86,122,0.15);
  transform: translateY(-2px) scale(1.015);
}

/* ====== ACCESSIBILITY & MISCELLANEOUS ====== */
a:focus, .cta-btn:focus, button:focus {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #A8A8A8; }
::-moz-placeholder { color: #A8A8A8; }
:-ms-input-placeholder { color: #A8A8A8; }
::placeholder { color: #A8A8A8; }

/* ====== SPACING FOR PAGE SECTIONS ====== */
.section, .features, .services, .tips, .listing, .about, .team, .legal, .confirmation, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ENFORCE GAP/MARGINS BETWEEN CARDS AND ELEMENTS */
.card-container > *, .content-grid > *, .section > *, .features li, .services li, .tips li, .testimonial-card, .card {
  margin-bottom: 20px;
}
.card-container { gap: 24px; }
.content-grid { gap: 20px; }
.feature-item { gap: 15px; }
.testimonial-card { gap: 20px; }
.text-image-section { gap: 30px; }
.section { gap: 20px; }
@media (max-width: 768px) {
  .card-container, .content-grid, .testimonials { gap: 12px; }
}

/* ====== SEARCHBAR WIDGET (aktivitaeten.html) ====== */
.searchbar {
  margin-top: 16px;
  background: var(--color-grey);
  border-radius: 16px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 8px rgba(32,86,122,0.03);
}
.searchbar img { width: 22px; height: 22px; margin-right: 7px; }

/* ====== GEOMETRIC DECORATIVE SHAPES (OPTIONAL) ====== */
.section:before, .hero:before {
  content: "";
  display: none;
}

/* ====== Z-INDEX LAYERING ====== */
header { z-index: 91; }
.mobile-menu { z-index: 250; }
footer { z-index: 70; }
.cookie-banner { z-index: 400; }
.cookie-modal { z-index: 500; }

/* ====== PRINT ====== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .container, .content-wrapper, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}
