/* ===== 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;
}
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F2F2F2;
  color: #232930;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #205295;
  text-decoration: none;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: #F9C846;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e6ea;
}
th {
  background: #e9ecef;
  font-family: 'Montserrat', Arial, sans-serif;
}
/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1a2233;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.13rem; }
}

p, address, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #232930;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #205295;
}
blockquote {
  border-left: 4px solid #205295;
  background: #f7fafd;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 0 0 12px 0;
  font-style: italic;
  color: #222c38;
}

/* ======= CONTAINER AND SECTION LAYOUT ======= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(34,41,48,0.08);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section { padding: 30px 8px; margin-bottom: 36px; }
  .content-wrapper { gap: 16px; }
}

/* ======= HEADER & NAVIGATION ======= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(18,26,50,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header > a img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #233558;
  font-weight: 500;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.14s, color 0.14s;
}
header nav a.active, header nav a:hover, header nav a:focus {
  background: #e3edfa;
  color: #205295;
}
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #205295;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 11px 34px;
  box-shadow: 0 2px 10px rgba(32,82,149,0.09);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.16s;
  text-decoration: none;
  margin-left: 18px;
}
.primary-btn:hover, .primary-btn:focus {
  background: #183660;
  color: #F9C846;
  box-shadow: 0 6px 20px rgba(32,82,149,0.12);
  outline: none;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #205295;
  padding: 5px 10px;
  transition: color 0.2s;
  z-index: 301;
}
.mobile-menu-toggle:focus {
  color: #F9C846;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 300;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 8px 0 32px rgba(34, 41, 48, 0.11);
  transition: transform 0.36s cubic-bezier(.85,.03,.13,1.02);
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #205295;
  margin-left: auto;
  margin-bottom: 12px;
  padding: 5px 13px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F9C846;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 14px;
  align-items: flex-start;
  padding-left: 18px;
}
.mobile-nav a {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233558;
  padding: 10px 9px 10px 0;
  width: 100%;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  margin-right: 10px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #205295;
  background: #f2f8fd;
}

@media (max-width: 1024px) {
  header nav { display: none; }
  .primary-btn { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
}

@media (max-width: 768px) {
  header { flex-direction: row; padding: 8px 0; }
  header > a img { height: 36px; }
}

/* ======= MAIN AND FLEX LAYOUTS ======= */
/* --- Card Container & Card --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  flex: 1 1 290px;
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(32, 82, 149, 0.08);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32, 82, 149, 0.13);
  transform: translateY(-4px) scale(1.012);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

/* Feature Grid (used on Start) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: #f7fafc;
  border-radius: 12px;
  padding: 22px 18px;
  flex: 1 1 250px;
  min-width: 220px;
  box-shadow: 0 0 0.5px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-grid > div img {
  margin-bottom: 12px;
  height: 38px;
  width: 38px;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 22px rgba(32,82,149,0.10);
  transform: translateY(-3px) scale(1.015);
}
@media (max-width: 800px) {
  .feature-grid { flex-direction: column; gap: 16px; }
}

/* --- Testimonials --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FAFDFF;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(32,82,149,0.06);
  padding: 20px;
  margin-bottom: 20px;
  min-height: 80px;
  font-size: 1rem;
  color: #1a2233;
  transition: box-shadow 0.19s;
}
.testimonial-card blockquote {
  border: none;
  background: none;
  color: #1a2233;
  padding: 0;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #205295;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
@media (max-width: 640px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }
}

/* --- FAQ Accordion Styling --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion h3 {
  font-size: 1.13rem;
  font-weight: 600;
  cursor: pointer;
  background: #F2F2F2;
  border-radius: 7px;
  padding: 10px 16px;
  color: #205295;
  transition: background 0.14s, color 0.15s;
}
.faq-accordion h3:hover {
  background: #e3edfa;
  color: #183660;
}
.faq-accordion div {
  background: #fff;
  padding: 10px 18px 12px 24px;
  border-radius: 6px;
  color: #232930;
  font-size: 1rem;
  display: block;
}

/* --- Curriculum Table / Pricing Table Styling --- */
.curriculum-table, .pricing-table {
  margin-top: 12px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(32,82,149,0.06);
  overflow: hidden;
}
.curriculum-table th, .pricing-table th {
  background: #e9ecef;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.curriculum-table td, .pricing-table td {
  color: #233558;
  background: #fff;
  font-size: 0.97rem;
}
@media (max-width: 600px) {
  .curriculum-table, .pricing-table, .curriculum-table tr, .curriculum-table td, .curriculum-table th,
  .pricing-table tr, .pricing-table td, .pricing-table th { display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .curriculum-table tr, .pricing-table tr { margin-bottom: 18px; }
}

/* --- Course Cards on Kurseseite --- */
.course-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px;
}
.course-cards > div {
  background: #f8f9fb;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(32,82,149,0.06);
  padding: 22px 20px;
  flex: 1 1 250px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.15s, transform 0.14s;
}
.course-cards > div:hover {
  box-shadow: 0 6px 24px rgba(32,82,149,0.11);
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 800px) {
  .course-cards { flex-direction: column; gap: 12px; }
}

/* ======= BUTTONS ======= */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 10px 24px;
  background: #205295;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 11px rgba(32,82,149,0.08);
  transition: background 0.15s;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="submit"]:hover {
  background: #183660;
  color: #F9C846;
  outline: none;
}
.secondary-btn {
  background: #F9C846;
  color: #205295;
  font-weight: 700;
  box-shadow: 0 1px 7px rgba(249,200,70,0.05);
  transition: background 0.14s, color 0.14s;
}
.secondary-btn:hover, .secondary-btn:focus {
  background: #eab700;
  color: #184066;
}
.ghost-btn {
  background: transparent;
  border: 2px solid #205295;
  color: #205295;
  font-weight: 600;
  transition: background 0.13s, color 0.13s, border-color 0.13s;
}
.ghost-btn:hover, .ghost-btn:focus {
  background: #e3edfa;
  color: #183660;
  border-color: #F9C846;
}

/* ======= FOOTER ======= */
footer {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  margin-top: 60px;
  padding: 36px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer img {
  height: 44px;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: #205295;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: underline dotted;
  transition: color 0.16s;
  border-radius: 3px;
  padding: 3px 6px;
}
footer nav a:hover, footer nav a:focus {
  color: #F9C846;
  background: #f6f8fa;
}
footer address {
  font-style: normal;
  font-size: 0.99rem;
  color: #555d6b;
  text-align: center;
}
@media (max-width: 600px) {
  footer { padding: 24px 0 18px 0; gap: 12px; }
  footer img { height: 36px; }
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1.5px solid #eaeaea;
  box-shadow: 0 0 24px 0 rgba(20,34,60,0.07);
  z-index: 1004;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 10px 20px 10px;
  font-size: 1rem;
  animation: cookiebanner-in 0.49s cubic-bezier(.54,.35,.48,1.12);
}
.cookie-consent-banner p {
  color: #232930;
  font-size: 1rem;
  margin: 0;
  text-align: center;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  align-items: center;
  justify-content: center;
}
.cookie-consent-banner button {
  font-size: 0.98rem;
  border-radius: 6px;
  padding: 9px 22px;
}
.cookie-consent-banner .settings-btn {
  background: #f7f4e3;
  color: #205295;
  border: 1.5px solid #F9C846;
}
.cookie-consent-banner .settings-btn:hover {
  background: #fffbe1;
  color: #184066;
}
/* Animation */
@keyframes cookiebanner-in {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 41, 51, 0.23);
  z-index: 1007;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.34s cubic-bezier(.63,.17,.41,1.11);
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 48px rgba(32,82,149,0.11);
  padding: 36px 28px 26px 28px;
  max-width: 430px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  animation: cookieModalSlideIn 0.3s cubic-bezier(.54,.35,.48,1.12);
  position: relative;
}
@keyframes cookieModalSlideIn {
  from { transform: scale(0.97) translateY(42px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #205295;
  margin-bottom: 12px;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  right: 14px;
  top: 13px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #205295;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 9px 0 9px 6px;
}
.cookie-category label {
  font-size: 1rem;
  color: #232930;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #205295;
  width: 18px;
  height: 18px;
}
.cookie-category .essential {
  font-weight: 600;
  color: #205295;
}
.cookie-modal .cookie-btns {
  margin: 0; gap: 14px;
  align-items: stretch;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 16px 10px 12px 10px; }
}

/* Hide cookie modal by default */
.cookie-modal-overlay.hidden, .cookie-consent-banner.hidden { display: none !important; }

/* ====== ACCESSIBILITY FOCUS OUTLINING ====== */
a:focus, button:focus, input:focus {
  outline: 2px solid #F9C846;
  outline-offset: 2px;
}

/* ======= MISCELLANEOUS ======= */
::-webkit-scrollbar {
  width: 10px;
  background: #edeef1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e3edfa;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d0e1f4;
}

/* ========= RESPONSIVE BUTTONS AND LAYOUTS ========= */
@media (max-width: 480px) {
  .primary-btn, .secondary-btn, button, input[type="button"], input[type="submit"] {
    width: 100%;
    padding: 11px 0;
    margin-left: 0;
    font-size: 1rem;
  }
  .cookie-consent-banner {
    font-size: 0.98rem;
    padding: 19px 2px 15px 2px;
  }
}

/* ========= NATURAL, SCANDINAVIAN-INSPIRED DETAILS ========= */
.section,
.card,
.feature-grid > div,
.course-cards > div,
.testimonial-card,
footer {
  /* Light shadow, natural feel */
  box-shadow: 0 2px 12px rgba(163,176,188, 0.09);
}
.section {
  /* Soft white with touch of grey for organic feel */
  background: #fff;
  border-radius: 18px;
}

/* Small decorative accent bar for section headings */
h2, h1 {
  position: relative;
  padding-left: 0.6em;
}
h2:before, h1:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 26px;
  margin-right: 18px;
  border-radius: 4px;
  background: #F9C846;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 480px) {
  h2:before, h1:before { height: 20px; }
}

/* Icon style for natural/Scandinavian motif */
.text-section img {
  vertical-align: middle;
  margin-right: 8px;
  height: 20px;
  width: 20px;
  opacity: 0.72;
}

/* === End of Scandinavian Clean Styling === */
