/* --- RESET & BASE --- */
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 {
  scroll-behavior: smooth;
}
body {
  background: #1B232E;
  color: #F6E8B1;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #3FA34D;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F6E8B1;
  outline: none;
}
strong { font-weight: 700; }
ul { list-style: disc inside; }
li { margin-bottom: 8px; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F6E8B1;
}
h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 24px; letter-spacing: 1px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 22px; letter-spacing: .5px; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
p, .text-section {
  font-size: 1rem;
  color: #eaeaea;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}
.text-section {
  background: rgba(35,61,77,0.7);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #F6E8B1;
}
@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.5rem; }
}

/* --- LAYOUT CONTAINERS & SPACING --- */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 980px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #233D4D 80%, #3FA34D 100%);
  border-radius: 26px;
  box-shadow: 0 8px 32px 0 rgba(25, 30, 34, 0.13);
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
    border-radius: 0;
  }
  .container{padding:0 4px;}
}

/* --- FLEXBOX DESIGN SYSTEMS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.features-grid > div {
  flex: 1 1 230px;
  background: #293B4C;
  border-radius: 18px;
  box-shadow: 0 2px 12px 2px rgba(63,163,77,0.09);
  padding: 22px 18px 18px 18px;
  border: 1.5px solid #3FA34D;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  transition: box-shadow .2s, border .2s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 20px 2px rgba(63,163,77,0.20), 0 1.5px 12px rgba(246,232,177,0.09);
  border: 1.5px solid #F6E8B1;
}
@media (max-width: 768px) {
  .features-grid { flex-direction: column; gap: 18px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #283848;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,61,77,0.17);
  padding: 20px 18px;
  flex: 1 1 320px;
  min-width: 200px;
  transition: box-shadow .2s, border .2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #3FA34D44, 0 2px 16px #F6E8B120;
  border-color: #3FA34D;
}
.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;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 30px 0 12px 0;
  background: #F6E8B1;
  color: #233D4D;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 #233D4D11;
  flex-direction: column;
  font-size: 1.08rem;
  font-style: italic;
  position: relative;
  min-width: 230px;
}
.testimonial-card p {
  color: #233D4D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.10rem;
  margin-bottom: 7px;
}
.testimonial-author {
  font-style: normal;
  font-size: 0.97rem;
  color: #3FA34D;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: right;
  align-self: flex-end;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 18px; }
}

/* --- HEADER, NAVIGATION, CTA BUTTON --- */
header {
  width: 100%;
  background: #233D4D;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 9px 18px;
  box-shadow: 0 3px 40px 0 rgba(63,163,77,0.12);
  position: sticky;
  top: 0;
  z-index: 50;
}
header > a img {
  width: 145px;
  height: auto;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 12px;
  flex: 1 1;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F6E8B1;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.01rem;
  letter-spacing: 0.5px;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #3FA34D;
  border-bottom: 2px solid #F6E8B1;
}
.cta-btn-primary {
  background: #3FA34D;
  color: #233D4D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.6px;
  padding: 12px 28px;
  margin-left: 22px;
  border: none;
  border-radius: 100px;
  box-shadow: 0 4px 18px 2px #3FA34D44;
  transition: background .18s, color .18s, box-shadow .22s;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  display: inline-block;
  outline: none;
}
.cta-btn-primary:hover,
.cta-btn-primary:focus {
  background: #F6E8B1;
  color: #233D4D;
  box-shadow: 0 6px 32px 0 #F6E8B177, 0 2px 8px #3FA34D11;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #F6E8B1;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 18px;
  transition: color .2s;
  z-index: 111;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #3FA34D;
}
@media (max-width: 930px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B232Eef;
  backdrop-filter: blur(1.4px);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.86,.07,.63,1.33);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 52px #3FA34D33;
  /* hidden by default, toggle .open with JS */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F6E8B1;
  font-size: 2.3rem;
  padding: 10px 16px 10px 10px;
  align-self: flex-end;
  cursor: pointer;
  margin-top: 9px;
  margin-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding-left: 28px;
}
.mobile-nav a {
  color: #F6E8B1;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.27rem;
  letter-spacing: 0.6px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: color .14s, border .13s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #3FA34D;
  border-bottom: 2px solid #3FA34D;
}
@media (min-width: 931px) {
  .mobile-menu { display: none !important; }
}

/* --- COOKIES BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #233D4D;
  color: #F6E8B1;
  padding: 23px 10px 19px 10px;
  box-shadow: 0 -2px 18px #3FA34D44, 0 1px 12px #1B232E22;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  animation: cookie-slidein 0.57s cubic-bezier(.48,1.71,.23,.92);
}
@keyframes cookie-slidein {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner__message {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #3FA34D;
  color: #1B232E;
  border: none;
  border-radius: 100px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 10px 23px;
  margin: 0 3px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s,color .18s;
  margin-bottom: 6px;
}
.cookie-btn.cookie-btn-preferences {
  background: #F6E8B1;
  color: #233D4D;
  border: 1.5px solid #3FA34D;
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #F6E8B1;
  color: #3FA34D;
  outline: none;
}
.cookie-btn.cookie-btn-preferences:hover {
  background: #3FA34D;
  color: #F6E8B1;
}

.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,61,77,0.92);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fade .37s;
}
@keyframes cookie-modal-fade{
  from{opacity:0;} to{opacity:1;}
}
.cookie-modal {
  background: #1B232E;
  border-radius: 20px;
  max-width: 370px;
  width: 96vw;
  padding: 26px 18px 22px 18px;
  box-shadow: 0 6px 36px #3FA34D29;
  color: #F6E8B1;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal h3 {
  color: #F6E8B1;
  font-size: 1.35rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 14px;
  border-left: 3px solid #3FA34D;
  padding-left: 9px;
}
.cookie-category {
  display: flex;
  flex-direction:row;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 9px 0 6px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: #3FA34D;
  width: 18px;
  height: 18px;
  margin: 0 0 0 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 8px;
  background: none; border: none;
  color: #3FA34D;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 500px) {
  .cookie-modal {max-width: 98vw; padding: 17px 4px;}
  .cookie-modal h3{font-size:1.12rem;}
}

/* ---- TABLE STYLING ---- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #233D4D;
  color: #F6E8B1;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 16px #3FA34D11;
  margin-bottom: 20px;
  font-size: 1rem;
}
thead tr {
  background: #3FA34D;
  color: #233D4D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
th, td {
  padding: 12px 10px;
  text-align: left;
}
thead th {
  font-weight: 700;
  font-size: 1.01rem;
}
tbody tr {
  border-bottom: 1px solid #2a3340;
  transition: background .14s;
}
tbody tr:hover {
  background: #3FA34D22;
}

/* Filter Options in Kursplan */
.filter-options {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #ACE1AF;
  display: flex;
  align-items: center;
  gap: 9px;
}
.filter-options strong {
  color: #3FA34D;
  margin-right: 4px;
}

/* --- FOOTER --- */
footer {
  background: #19222A;
  color: #F6E8B1;
  padding: 35px 12px 14px 12px;
  border-top: 2px solid #3FA34D;
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
footer nav a {
  color: #3FA34D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  text-decoration: underline;
  font-weight: 700;
}
footer nav a:hover {
  color: #F6E8B1;
}
footer address {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-style: normal;
  color: #eaeaea;
  font-size: .99rem;
}
footer img {
  width: 16px;
  margin-right: 7px;
  vertical-align: middle;
}
@media (max-width: 600px) {
  footer { padding: 20px 4px 7px 4px; }
  footer nav { gap: 9px; }
}

/* ---- OTHER COMPONENTS ---- */
ul {padding-left: 20px; margin-bottom: 20px;}
li {margin-bottom: 8px;}
::-webkit-scrollbar {
  width: 10px; background: #233D4D;
}
::-webkit-scrollbar-thumb {
  background: #3FA34D;
  border-radius: 7px;
}
input, button {
  font-family: inherit;
}

/* --- INTERACTIVITY / MICROS --- */
.card, .features-grid > div, .cta-btn-primary, .testimonial-card, .cookie-btn {
  transition: box-shadow .19s, border .15s, background .19s, color .17s;
}
.card:active, .features-grid > div:active, .cta-btn-primary:active, .cookie-btn:active {
  transform: translateY(1.5px) scale(.98);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
  h1{font-size:2.1rem;}
  h2{font-size:1.48rem;}
  h3{font-size:1.13rem;}
  .cta-btn-primary{padding:10px 16px; font-size:1rem; margin-left:8px;}
  header{flex-direction:column;align-items:flex-start;padding:11px 5px 2px 8px;}
  header > a img{margin-bottom:12px;margin-right:0;width:118px;}
  .main-nav{gap:11px;font-size:0.97rem;}
}

/* --- NEON/TECH ACCENTS --- */
.section, .card, .features-grid > div {
  box-shadow: 0 6px 30px 0 #3FA34D22;
  border: 1.5px solid #233D4D;
}
.features-grid > div, .card {
  border-left: 4px solid #3FA34D;
}
.cta-btn-primary, .cookie-btn {
  text-shadow: 0 1.5px 8px #3FA34D88;
  box-shadow: 0 3px 14px #3FA34D55;
}
.cta-btn-primary {
  border: 2px solid #F6E8B1;
}
.cta-btn-primary:focus, .cookie-btn:focus {
  outline: 2.5px solid #F6E8B1;
}
@media (max-width:480px) {
  .testimonial-card {padding: 8px 4px; font-size: 1rem;}
}

/* --- FOR ADDITIONAL UTILITY CLASSES (OPTIONAL) --- */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 20px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 20px !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { justify-content: center; align-items: center; }

/* --- ENSURE NO OVERLAP --- */
.section, .card, .card-container, .testimonial-card, .features-grid > div, .footer, .main-nav, .mobile-nav {
  margin-bottom: 20px;
}
.section:last-child, .card:last-child, .testimonial-card:last-child { margin-bottom: 0; }

/* --- GRADIENT LIGHT BORDERS (DECOR) --- */
.features-grid > div:before, .section:before {
  content: '';
  position: absolute;
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
  display: none;
}

/* --- END CSS --- */
