/* --- CSS RESET & BASE STYLES --- */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #fff;
  color: #171717;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f8f9fa;
  color: #171717;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, button:focus {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- TYPOGRAPHY --- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.375rem; /* 38px */
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #111;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px #e6e6e6;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.75rem;  /* 28px */
  line-height: 1.25;
  color: #222;
  margin-bottom: 12px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem; /* 20px */
  line-height: 1.3;
  color: #2f2f2f;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 8px;
  color: #333;
}
p, li, ul, ol, table, th, td {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #212121;
}
.subheadline {
  color: #484848;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: .01em;
}
strong, b {
  font-weight: 600;
  color: #171717;
}

/* --- SPACING AND SECTION LAYOUT --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(30,30,30,0.03);
}
section:last-child {
  margin-bottom: 0;
}
.hero {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 32px rgba(0,0,0,0.14);
  border-radius: 0 0 24px 24px;
  margin-bottom: 48px;
}
.hero h1, .hero .subheadline, .hero p {
  color: #fff;
  text-shadow: 0 2px 20px #1515157a;
}

.cta {
  background: #f2f2f2;
  box-shadow: 0 2px 20px rgba(29,29,29,0.1);
  text-align: center;
  margin-bottom: 60px;
  border-radius: 20px;
}

.thank-you {
  background: #f7f7f7;
  text-align: center;
  border-radius: 20px;
}

/* --- FLEX CONTAINERS AND UTILITY CLASSES --- */
.features-grid, .card-container, .testimonial-slider, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid {
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(30,30,30,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(12,12,12,0.12);
  z-index: 1;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fbfbfb;
  border-left: 4px solid #171717;
  box-shadow: 0 2px 12px rgba(33,33,33,0.04);
  padding: 20px 28px 20px 28px;
  border-radius: 15px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(12,12,12,0.10);
  border-left: 4px solid #111;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.usr-list, .news-list, .update-list, .service-list, .event-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0 0;
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(50,50,50,0.03);
  border-bottom: 1.5px solid #ebebeb;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #161616;
  font-weight: 500;
  padding: 6px 10px;
  line-height: 1.2;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #fff;
  background: #1d1d1d;
}
.main-nav .cta-primary {
  background: #000;
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 2px 12px #00000014;
  margin-left: 16px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  border: none;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: #171717;
  color: #fff;
  box-shadow: 0 4px 24px #21212121;
}

/* --- BURGER / MOBILE NAV --- */
.mobile-menu-toggle {
  background: transparent;
  color: #171717;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 6px;
  display: none;
  transition: background 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #eee;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 28px rgba(14,14,14,0.08);
  transform: translateX(110vw);
  transition: transform 0.36s cubic-bezier(.69,-0.01,.9,.41);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  z-index: 9999;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(.61,.01,.94,.33);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #111;
  background: transparent;
  border: none;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px 14px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eee;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin: 30px 0 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  color: #111;
  padding: 14px 0;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f0f0f0;
  color: #1d1d1d;
}

@media (max-width: 1060px) {
  .main-nav a {
    font-size: 0.98rem;
    padding: 6px 8px;
  }
  .container {
    max-width: 980px;
  }
}
@media (max-width: 920px) {
  .main-nav a {
    font-size: .96rem;
  }
  .content-wrapper {
    gap: 16px;
  }
}

@media (max-width: 820px) {
  header .container {
    height: auto;
    padding-top: 8px; padding-bottom:8px;
  }
  section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    gap: 10px;
  }
  h1, .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.17rem; }
  .subheadline { font-size: 1rem; }
}

/* --- FLEXBOX RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .features-grid, .testimonial-slider, .card-container, .content-grid, .card-grid {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .features-grid, .testimonial-slider, .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- BUTTONS & CALL TO ACTIONS --- */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 30px;
  border: none;
  background: #111;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 10px #00000014;
  margin: 14px 0 0 0;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s, transform 0.12s;
  text-align: center;
  text-decoration: none;
}
.cta-secondary {
  background: #fff;
  color: #171717;
  border: 2px solid #222;
}
.cta-primary:hover, .cta-primary:focus,
.cta-secondary:hover, .cta-secondary:focus {
  background: #171717;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 30px #11111122;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #161616;
  color: #fff;
  border: 2px solid #000;
}

/* --- TABLES (Kursplan) --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #f6f6f6;
  border-radius: 14px;
  overflow: hidden;
}
.schedule-table th, .schedule-table td {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 14px 12px;
  border-bottom: 1.5px solid #e4e4e4;
  text-align: left;
  font-size: 1rem;
  color: #171717;
}
.schedule-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  color: #232323;
}
.schedule-table tr:last-child td {
  border-bottom: none;
}

/* --- LISTS, USPs, TIMELINE --- */
.usr-list, .news-list, .update-list, .service-list, .event-list, .usp-list, .timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 0 1.2em;
}
.usr-list li::before,
.usp-list li::before,
.service-list li::before,
.event-list li::before,
.timeline li::before {
  content: '\2022';
  color: #171717;
  font-weight: bold;
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
}
.timeline li strong {
  color: #111;
}

/* --- FOOTER --- */
footer {
  margin-top: 40px;
  background: #f4f4f4;
  border-top: 1.5px solid #ededed;
  padding: 28px 0 14px 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #232323;
  opacity: 0.82;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 0;
  border-radius: 3px;
  transition: background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e9e9e9;
}
.footer-info {
  color: #848484;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.footer-info img {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 2.5px;
}

/* --- MAP PLACEHOLDER --- */
.map-placeholder {
  background: #e8e8e8;
  border-radius: 15px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 18px 0;
}
.map-placeholder img {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 4px #1111;
  width: 56px;
  height: 56px;
}

/* --- MONOCHROME SHADES & ELEGANT ACCENTS --- */
body, section, .card, .testimonial-card, .map-placeholder, footer, .feature {
  background: #fff;
  color: #171717;
}
.hero, .hero * { background: #111; color: #fff; }
.cta { background: #f2f2f2; }
footer, .footer-nav, .footer-info { background: #f4f4f4; color: #232323; }

/* --- SHADOWS & BORDERS --- */
.card, .testimonial-card, section, .map-placeholder {
  box-shadow: 0 2px 16px rgba(30,30,30,0.03);
  border-radius: 16px;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(14,14,14,0.11);
}

/* --- ICONS IN FEATURE BOXES --- */
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  filter: grayscale(1) brightness(0.19) contrast(2.2);
  opacity: 0.82;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-basis: 260px;
  background: #f9f9fa;
  padding: 24px 18px;
  border-radius: 16px;
  box-shadow: 0 1px 8px #1919190d;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.feature:hover {
  box-shadow: 0 8px 24px #19212510, 0 0px 0px #fff;
}

/* --- TESTIMONIALS DISTINCTION --- */
.testimonials {
  background: #fafbfc;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 36px 20px;
}
.testimonial-slider {
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  min-width: 220px;
  max-width: 375px;
  color: #111;
  background: #fff;
  border-left: 4px solid #171717;
}
.testimonial-card p {
  font-size: 1.07rem;
  margin-bottom: 10px;
  color: #202020;
  font-style: italic;
  line-height: 1.55;
}
.testimonial-card strong {
  color: #191919;
  font-weight: 600;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .01em;
}

/* --- MODALS (Cookie Settings) & OVERLAY --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,32,32,0.47);
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  padding: 38px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 48px #11111144;
  min-width: 310px;
  max-width: 98vw;
  color: #171717;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalIn 0.34s cubic-bezier(.67,0,.71,1.4);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 34px; height: 20px; position: relative;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 32px;
  height: 18px;
  background: #ebebeb;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.cookie-toggle span:after {
  content: '';
  display: block;
  width: 15px; height: 15px;
  background: #111;
  position: absolute;
  top: 1.5px; left: 2px;
  border-radius: 50%;
  transition: left .19s, background .19s;
}
.cookie-toggle input:checked + span {
  background: #151515;
}
.cookie-toggle input:checked + span:after {
  left: 15px;
  background: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #171717;
  color: #fff;
  box-shadow: 0 -2px 24px #1d1d1d30;
  border-radius: 20px 20px 0 0;
  padding: 24px 32px 18px 32px;
  width: calc(100% - 42px);
  z-index: 20000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
  animation: bannerSlideIn 0.42s cubic-bezier(.6,-0.14,.29,1.23);
}
@keyframes bannerSlideIn {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.cookie-banner-message {
  font-size: 1.025rem;
  font-family: 'Open Sans', Arial, sans-serif;
  flex: 1 1 0px;
  color: #fff;
  margin-right: 18px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-modal-btn {
  background: #222;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 24px;
  cursor: pointer;
  margin-right: 2px; margin-left: 0;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #fff;
  color: #171717;
  font-weight: bold;
  border: 2px solid #111; 
}
.cookie-btn.reject {
  background: #222;
  color: #fff;
  border: 2px solid #323232;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #555;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #171717;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #111;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #212121;
  color: #fff;
}
@media (max-width: 650px){
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 18px; padding: 18px 12px 14px 12px; width: calc(100% - 16px);}
  .cookie-banner-message { margin-right: 0; }
  .cookie-banner-actions { flex-direction: column; gap: 8px; }
}

/* --- UTILS: MARGINS, GAPS, ETC. --- */
.mt-20 { margin-top: 20px; }
.mb-20, .card { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.gap-20 { gap: 20px; }

/* --- ANIMATIONS & MICRO INTERACTIONS --- */
.card, .feature, .testimonial-card, .cta-primary, .cta-secondary, .cookie-btn, .mobile-nav a {
  transition: box-shadow 0.20s, background 0.18s, color 0.18s, transform 0.09s;
}
.card:active, .feature:active, .testimonial-card:active, .cta-primary:active, .cta-secondary:active {
  transform: scale(.988);
}

/* --- MEDIA QUERIES (ADAPTIVE LAYOUTS) --- */
@media (max-width: 920px) {
  .features-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px){
  .card, .testimonial-card, section, .map-placeholder,
  .cookie-modal, .hero, .cta {
    border-radius: 12px;
  }
  .cookie-banner { border-radius: 10px 10px 0 0; }
}

/* --- HIDING / SHOWING --- */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important;}
  .mobile-menu-toggle { display: none;}
}

/* --- END --- */
