/* RESET & BASE TYPOGRAPHY: Scandinavian Clean Reset */
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;
  vertical-align: baseline;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  background: #F3F6F4;
  color: #23435C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main {
  flex: 1 0 auto;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: #23435C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #98B89B;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}
strong, b {
  font-weight: 600;
}
th, td {
  padding: 8px;
  border-bottom: 1px solid #e1e4e2;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 600;
  color: #23435C;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #23435C;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #23435C;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
p, li {
  font-size: 1rem;
  color: #23435C;
}

/* CONTAINER SYSTEM */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* SECTION SPACING - MANDATORY */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 12px;
}

/* CARD & GRID PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 24px 0 rgba(35,67,92,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 260px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(35,67,92,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;
}

.testimonial-card {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(35,67,92,0.10);
  margin-bottom: 20px;
  font-size: 1.05rem;
  transition: box-shadow 0.18s, transform 0.28s;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #23435C;
  letter-spacing: 0.05em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 18px 0 rgba(35,67,92,0.17);
  transform: translateY(-2px);
}

/* FEATURES (index, geheime-routen) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 0 220px;
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 2px 14px 0 rgba(35,67,92,0.09);
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 5px 25px 0 rgba(35,67,92,0.13);
  transform: translateY(-2px);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.difficulty {
  font-size: 0.98rem;
  color: #98B89B;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: block;
}

/* STORY + FACT HIGHLIGHTS */
.story-snippet {
  background: #E8EFEA;
  padding: 18px 20px;
  border-radius: 10px;
  color: #23435C;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* SAFETY BOXES (tipps-ratgeber) */
.safety-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.safety-boxes > div {
  background: #FFF;
  border-radius: 9px;
  box-shadow: 0 0px 12px 0 rgba(35,67,92,0.09);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
  max-width: 320px;
}
.safety-boxes img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* SOCIAL ICONS */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #E8EFEA;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
  transition: background 0.18s;
}
.social-links a:hover, .social-links a:focus {
  background: #98B89B;
}
.social-links img {
  width: 20px;
  height: 20px;
  filter: grayscale(40%) contrast(0.8);
}

/* CALL-TO-ACTION BUTTONS */
.cta-btn {
  background: #23435C;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.16s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 3px 18px 0 rgba(35,67,92,0.10);
  display: inline-block;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #98B89B;
  color: #23435C;
  box-shadow: 0 6px 24px 0 rgba(35,67,92,0.18);
  transform: translateY(-2px);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 16px 0 rgba(35,67,92,0.07);
  border-bottom: 1px solid #e1e4e2;
  z-index: 50;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 0px;
  min-height: 78px;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 24px;
}
nav a {
  color: #23435C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 6px;
  padding: 8px 14px;
  transition: background 0.15s, color 0.16s;
}
nav a:hover, nav a.active {
  background: #98B89B;
  color: #fff;
}
nav a:focus {
  outline: 2px solid #98B89B;
}

header .cta-btn {
  margin-left: auto;
  margin-top: 0;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 102;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #23435C;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-toggle:hover {
  color: #98B89B;
}

/* MOBILE NAV OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,67,92,0.88);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.6,0,0.4,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 24px 8px 8px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  z-index: 2010;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px 0 0 16px;
  margin-top: 28px;
  padding: 32px 38px 32px 32px;
  box-shadow: -4px 0 24px 0 rgba(35,67,92,0.16);
}
.mobile-nav a {
  color: #23435C;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #98B89B;
  color: #fff;
}
.mobile-nav a:focus {
  outline: 2px solid #98B89B;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  border-top: 2px solid #98B89B;
  box-shadow: 0 -3px 16px 0 rgba(35,67,92,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 24px;
  transition: transform 0.36s cubic-bezier(0.6,0,0.4,1), opacity 0.28s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner__text {
  color: #23435C;
  font-size: 1rem;
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn, .cookie-btn-accent, .cookie-btn-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.16s;
}
.cookie-btn-accent {
  background: #23435C;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(35,67,92,0.09);
}
.cookie-btn-accent:hover, .cookie-btn-accent:focus {
  background: #98B89B;
  color: #23435C;
}
.cookie-btn {
  background: #98B89B;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #23435C;
  color: #fff;
}
.cookie-btn-link {
  background: transparent;
  color: #23435C;
  text-decoration: underline;
  padding: 10px 12px;
}
.cookie-btn-link:hover, .cookie-btn-link:focus {
  color: #98B89B;
  text-decoration: underline;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10010;
  left:0; top:0; right:0; bottom:0;
  background: rgba(35,67,92,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.31s;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 36px 0 rgba(35,67,92,0.18);
  max-width: 460px;
  width: 95%;
  padding: 38px 36px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 10011;
  animation: modalPopIn 0.35s cubic-bezier(0.8,0,0.45,1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: #23435C;
  font-size: 1.32rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F3F6F4;
  border-radius: 8px;
  padding: 11px 18px;
}
.cookie-toggle {
  width: 34px;
  height: 20px;
  background: #e1e4e2;
  border-radius: 12px;
  position: relative;
  margin-left: auto;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle.checked {
  background: #98B89B;
}
.cookie-toggle .switch {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.21s;
}
.cookie-toggle.checked .switch {
  left: 16px;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #23435C;
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #98B89B;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #e1e4e2;
  box-shadow: 0 -2px 18px 0 rgba(35,67,92,0.06);
  margin-top: 60px;
  padding: 36px 0 14px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  gap: 10px;
  margin: 0 0 5px 0;
  flex-wrap: wrap;
  font-size: 1rem;
}
footer nav a {
  color: #23435C;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 4px 8px;
  border-radius: 5px;
}
footer nav a:hover, footer nav a:focus {
  background: #98B89B;
  color: #fff;
}
footer .text-section {
  color: #23435C;
  font-size: .97rem;
  opacity: 0.9;
}

/* FORM ELEMENTS & INPUTS (for kontakt.html extensions) */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #e1e4e2;
  border-radius: 8px;
  background: #fff;
  color: #23435C;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #98B89B;
  box-shadow: 0 1px 6px 0 rgba(152,184,155,0.09);
}
label {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* GENERIC UTILITIES */
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.text-section {
  margin-bottom: 12px;
  font-size: 1.07rem;
}

/* RESPONSIVE DESIGN: MOBILE-FIRST ADJUSTMENTS */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  nav {
    gap: 15px;
  }
  .feature-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 100vw; padding: 0 6px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.35rem; }
  .section {
    padding: 18px 3vw;
    margin-bottom: 32px;
  }
  .content-grid, .card-container, .feature-grid, .safety-boxes, .story-snippet {
    flex-direction: column;
    gap: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 56px;
  }
  nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .feature-grid > div, .card, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 10px;
  }
  .cookie-modal {
    padding: 22px 8vw 18px 8vw;
    min-width: 0;
  }
  .mobile-nav {
    padding: 18px 10vw 18px 4vw;
    border-radius: 0;
    margin-top: 18px;
  }
  .mobile-menu-close {
    margin: 14px 10px 8px 8px;
    font-size: 2rem;
  }
}

/* SPECIAL: Ensure dropdowns, modals, and banners above everything */
.mobile-menu, .cookie-banner, .cookie-modal-backdrop {
  z-index: 9999 !important;
}

/* FOCUS STYLE: for accessibility */
:focus {
  outline: 2px dotted #98B89B;
  outline-offset: 2px;
}

/* REMOVE UNWANTED BLUE OUTLINE FOR BUTTONS ON CLICK */
button:focus:not(:focus-visible) {
  outline: none;
}

/* Scandinavian accent: functional, subtle shadow, natural tone, soft rounded corners everywhere */
/* END OF STYLE SHEET */
