/* ====================================================== */
/* CSS RESET & BASELINE NORMALIZATION                     */
/* ====================================================== */
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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F3F5F7;
  color: #233B5B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #233B5B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #76C2B2;
  text-decoration: underline;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
html {
  scroll-behavior: smooth;
}

/* ========================================== */
/* TYPOGRAPHY                                */
/* ========================================== */
h1, .display {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #233B5B;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 16px;
  color: #233B5B;
  line-height: 1.22;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #233B5B;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #233B5B;
}
p, .body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #233B5B;
  margin-bottom: 14px;
}
strong {
  font-weight: 600;
  color: #233B5B;
}
blockquote {
  color: #233B5B;
  font-style: italic;
  background: #F3F5F7;
  border-left: 4px solid #76C2B2;
  padding: 12px 20px 12px 24px;
  margin-bottom: 10px;
}

/* ========================================== */
/* STRUCTURE & LAYOUT                        */
/* ========================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-flex, .footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(35, 59, 91, 0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 10px rgba(35, 59, 91, 0.06);
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 18px rgba(35, 59, 91, 0.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 8px;
}
.content-grid, .features-grid, .offers-list, .target-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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f3f5f7;
  border-radius: 10px;
  padding: 28px 20px;
  box-shadow: 0 2px 8px rgba(35, 59, 91, 0.06);
  min-width: 230px;
  flex: 1 1 240px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 22px rgba(35, 59, 91, 0.10);
}

.offers-list {
  gap: 32px;
}
.offer-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(35, 59, 91, 0.05);
  flex: 1 1 260px;
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.2s;
}
.offer-block:hover {
  box-shadow: 0 6px 18px rgba(35, 59, 91, 0.11);
}

.target-grid {
  gap: 24px;
}
.target-card {
  background: #f3f5f7;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35, 59, 91, 0.07);
  flex: 1 1 220px;
  padding: 20px 18px;
  min-width: 220px;
  transition: box-shadow 0.2s;
}
.target-card:hover {
  box-shadow: 0 4px 14px rgba(35, 59, 91, 0.13);
}

.locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.location-block {
  flex: 1 1 320px;
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(35, 59, 91, 0.05);
  padding: 22px 18px;
  margin-bottom: 20px;
}

.usp-list {
  list-style: disc inside;
  margin-left: 12px;
  font-size: 1.05rem;
  color: #233B5B;
  margin-bottom: 20px;
}

.thank-you,
.confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 44px 20px 32px 20px;
  margin: 40px 0;
  box-shadow: 0 8px 36px rgba(35, 59, 91, 0.065);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
  text-align: center;
}

/* ========================================== */
/* HERO & CTA SECTIONS                       */
/* ========================================== */
.hero {
  background: linear-gradient(97deg, #233B5B 82%, #76C2B2 100%);
  color: #fff;
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
}
.hero h1, .hero h2 {
  color: #fff;
}
.hero p {
  color: #f3f5f7;
}
.cta-section {
  background: #233B5B;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(35,59,91,0.09);
  padding: 40px 0;
  margin-bottom: 60px;
  text-align: center;
}
.cta-section h2,
.cta-section p {
  color: #fff;
}
.cta-section .cta-primary {
  margin-top: 18px;
}

/* ========================================== */
/* NAVIGATION & HEADER                       */
/* ========================================== */
header {
  background: #fff;
  border-bottom: 1px solid #e4e8ee;
  position: relative;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(35, 59, 91, 0.02);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.main-nav a {
  padding: 6px 0;
  color: #233B5B;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #76C2B2;
}
.header-flex a img {
  max-height: 44px;
}
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  background: #76C2B2;
  color: #233B5B;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(118, 194, 178, 0.16);
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  margin-left: 6px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #233B5B;
  color: #fff;
  box-shadow: 0 4px 20px rgba(35, 59, 91, 0.11);
}

/* ========================================== */
/* MOBILE NAVIGATION                         */
/* ========================================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #233B5B;
  cursor: pointer;
  margin-left: auto;
  z-index: 10;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: none;
  color: #76C2B2;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 59, 91, 0.98);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.44s cubic-bezier(.5,.02,.37,1.12);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin: 30px 30px 0 0;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #76C2B2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 36px auto 0 auto;
  width: 90%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 18px 0;
  border-bottom: 1px solid rgba(243,245,247, 0.09);
  transition: color 0.16s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #76C2B2;
  background: rgba(118,194,178,0.07);
}

@media (max-width: 1060px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    gap: 18px;
  }
  .header-flex, .footer-flex {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .features-grid, .content-grid, .card-container, .offers-list, .target-grid, .locations-list {
    flex-direction: column;
    gap: 20px;
  }
  .section, .cta-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* MOBILE NAVIGATION BEHAVIOR */
@media (max-width: 900px) {
  .main-nav,
  .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
    position: absolute;
    top: 22px;
    right: 24px;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================== */
/* FOOTER                                    */
/* ========================================== */
footer {
  background: #233B5B;
  color: #fff;
  padding: 38px 0 18px 0;
  border-top: 5px solid #76C2B2;
}
.footer-flex {
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
}
.footer-logo img {
  max-height: 50px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  transition: opacity 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: #76C2B2;
}
.footer-info {
  line-height: 1.6;
  font-size: 0.98rem;
}
.footer-info img {
  height: 1em;
  margin-right: 7px;
  vertical-align: middle;
}

@media (max-width: 850px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-logo {
    margin-bottom: 10px;
  }
}

/* ========================================== */
/* TESTIMONIAL CARDS                         */
/* ========================================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 18px rgba(35, 59, 91, 0.09);
  padding: 20px 30px;
  min-width: 230px;
  flex: 1 1 330px;
  color: #233B5B;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus {
   box-shadow: 0 7px 24px rgba(35, 59, 91, 0.15);
   transform: translateY(-4px) scale(1.015);
}
.testimonial-meta {
  font-size: 1rem;
  font-style: normal;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #233B5B;
  opacity: 0.75;
}

/* Ensure testimonials have dark text on light bg (for contrast) */
.testimonial-card blockquote,
.testimonial-card * {
  color: #233B5B !important;
}

/* ============================================= */
/* TABLES (Kursplan)                             */
/* ============================================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 12px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(35, 59, 91, 0.03);
  overflow: hidden;
  font-size: 1rem;
}
th, td {
  padding: 16px 12px;
  text-align: left;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #e4e8ee;
}
th {
  background: #233B5B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
}
tr:last-child td {
  border-bottom: none;
}
.last-update-note {
  font-size: 0.96rem;
  color: #233B5B;
  opacity: 0.8;
  margin-top: 12px;
}

/* ========================================== */
/* LISTS                                     */
/* ========================================== */
ol {
  padding-left: 26px;
}
ol li {
  list-style-type: decimal;
}
ul {
  padding-left: 21px;
  list-style-type: disc;
}

/* ========================================== */
/* MICRO-INTERACTIONS                        */
/* ========================================== */
button, .cta-primary {
  transition: background 0.17s, color 0.17s, box-shadow 0.14s, border 0.15s;
}

/* subtle focus style for accessibility */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid #76C2B2;
  outline-offset: 2px;
}

/* ========================================== */
/* COOKIE CONSENT BANNER                     */
/* ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #233B5B;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 24px 16px;
  box-shadow: 0 -3px 24px rgba(35, 59, 91, 0.12);
  gap: 28px;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: banner-slide-up 0.7s cubic-bezier(.25,.93,.44,1.02);
}
@keyframes banner-slide-up {
  0% { transform: translateY(70px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  max-width: 580px;
  line-height: 1.5;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 24px;
  border: none;
  padding: 10px 18px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.15s;
}
.cookie-banner .btn-accept {
  background: #76C2B2;
  color: #233B5B;
  box-shadow: 0 2px 10px rgba(118, 194, 178, 0.17);
}
.cookie-banner .btn-accept:hover {
  background: #9ce0cf;
  color: #233B5B;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #233B5B;
  border: 1px solid #76C2B2;
}
.cookie-banner .btn-reject:hover {
  background: #f3f5f7;
}
.cookie-banner .btn-settings {
  background: none;
  border: 1px solid #fff;
  color: #fff;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #76C2B2;
  color: #233B5B;
  border-color: #76C2B2;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 7px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,59,91,0.52);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.55s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  max-width: 440px;
  width: 90%;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 8px 36px rgba(35, 59, 91, 0.18);
  color: #233B5B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-pop-in 0.6s cubic-bezier(.41,1.37,.62,1);
}
@keyframes modal-pop-in {
  0% { transform: scale(0.82) translateY(50px); opacity: 0; }
  90% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #233B5B;
  cursor: pointer;
  position: absolute;
  top: 14px; right: 20px;
  transition: color 0.17s;
}
.cookie-modal .modal-close:hover {
  color: #76C2B2;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-category label {
  font-weight: 400;
  color: #233B5B;
  font-size: 1rem;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: #76C2B2;
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.cookie-category .essential {
  font-style: italic;
}
.cookie-modal .cookie-save {
  margin-top: 14px;
  background: #76C2B2;
  color: #fff;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 32px;
  cursor: pointer;
  text-align: center;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #233B5B;
  color: #fff;
}

/* ========================================== */
/* RESPONSIVE FLEX         (no grid!)         */
/* ========================================== */
@media (max-width: 768px) {
  .header-flex,
  .footer-flex,
  .testimonials,
  .features-grid,
  .content-grid,
  .card-container,
  .offers-list,
  .target-grid,
  .locations-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .hero {
    padding: 40px 0 26px 0;
  }
  .cta-section {
    padding: 30px 0;
    margin-bottom: 34px;
  }
  .section {
    padding: 25px 6px;
    margin-bottom: 35px;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  th, td {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.99rem;
  }
  .feature, .card, .target-card, .offer-block, .location-block {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
    padding: 18px 10px;
  }
  .testimonial-card {
    flex: 1 1 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .confirmation, .thank-you {
    max-width: 99vw;
    padding: 25px 7px;
  }
  .footer-nav, .footer-info {
    font-size: 0.96rem;
  }
  .main-nav {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .hero {
    padding-top: 22px;
    padding-bottom: 12px;
  }
  .footer-flex, .header-flex {
    gap: 7px;
  }
  .testimonials,
  .features-grid,
  .content-grid,
  .card-container {
    gap: 13px;
  }
}

/* ========================================== */
/* COLOR UTILITY CLASSES                     */
/* ========================================== */
.bg-primary   { background: #233B5B !important; color: #fff; }
.bg-secondary { background: #76C2B2 !important; color: #233B5B; }
.bg-accent    { background: #F3F5F7 !important; color: #233B5B; }
.text-primary { color: #233B5B !important; }
.text-accent  { color: #76C2B2 !important; }

/* ========================================== */
/* MISC UTILS                                */
/* ========================================== */
.privacy-info {
  font-size: 0.97rem;
  color: #233B5B;
  opacity: 0.82;
}
.last-update-note {
  font-size: 0.99rem;
  color: #233B5B;
  opacity: 0.77;
}

/* ========================================== */
/* END OF STYLESHEET                         */
/* ========================================== */
