/* ---------------------------------------------------
   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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.45;
  background: #22262b;
  color: #f6f0ea;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
a {
  color: #F2B441;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffd984;
}
ul,ol { margin-left: 1.2em; }
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 6px;
}

/* ---------------------------------------------------
   CUSTOM PROPERTIES FOR BRAND COLORS/FONTS
--------------------------------------------------- */
:root {
  --color-primary: #273447;
  --color-secondary: #F2B441;
  --color-accent: #F6F0EA;
  --color-bg: #22262b;
  --color-bg-dark: #1b1e23;
  --color-metal: #909399;
  --color-text-main: #f6f0ea;
  --color-testimonial-bg: #f6f0ea;
  --color-testimonial-text: #31261a;
  --color-cta-hover: #ffd984;
  --shadow-elevated: 0 4px 24px rgba(24,28,32,0.16);
  --shadow-hover: 0 2px 10px rgba(39,52,71,0.12);
  --radius: 14px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ---------------------------------------------------
   LAYOUT CONTAINER & SPACING
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 900px) {
  .section {
    padding: 56px 0;
  }
  .content-wrapper {
    gap: 32px;
  }
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--color-text-main);
}
h1 {
  font-size: 2rem;
  line-height: 1.17;
  margin-bottom: 12px;
  color: var(--color-secondary);
  text-shadow: 0 2px 8px rgba(39,52,71,0.07);
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-left: 5px solid var(--color-secondary);
  padding-left: 10px;
  color: var(--color-accent);
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: var(--color-text-main);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--color-metal);
}
p, li, ul, ol {
  font-family: var(--font-body);
  color: var(--color-text-main);
  font-size: 1rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.13rem;
  color: var(--color-accent);
  font-family: var(--font-body);
  margin-bottom: 18px;
  font-weight: 400;
}
strong, b {
  color: var(--color-secondary);
}

@media (min-width: 650px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  .subheadline { font-size: 1.2rem; }
}

/* ---------------------------------------------------
   HEADER & NAVIGATION STYLING
--------------------------------------------------- */
header {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 5px 24px 0 rgba(39,52,71,0.09);
  position: relative;
  z-index: 12;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 0;
}
header img {
  height: 49px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  padding: 6px 0 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-color 0.19s;
  font-size: 1rem;
  text-shadow: 0 2px 6px rgba(20,22,24,0.13);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
  background: none;
}

/* CTA Button */
.cta.primary, .cta.secondary {
  display: inline-block;
  min-width: 130px;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  transition: background 0.28s, color 0.18s, box-shadow 0.19s;
  border: none;
  outline: none;
  margin-left: 24px;
}
.cta.primary {
  background: var(--color-secondary);
  color: #2b2210;
  border: 2px solid var(--color-secondary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #1d1a16;
  box-shadow: 0 4px 32px 0 rgba(242,180,65,0.13);
}
.cta.secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-secondary);
  color: #231e12;
  box-shadow: 0 4px 24px 0 rgba(242,180,65,0.12);
}

/* Mobile Styles */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 14px;
  padding: 7px;
  border-radius: 7px;
  transition: background 0.15s;
  z-index: 30;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(242,180,65,0.09);
}

@media (min-width: 1020px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Hide main-nav on mobile */
@media (max-width: 1019px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
}

/* ----------------------------------
   MOBILE MENU OVERLAY
---------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  box-shadow: 0 4px 32px rgba(39,52,71,0.22);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.6,0,0.26,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  margin: 22px 0 12px 22px;
  align-self: flex-start;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 18px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(242,180,65,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 40px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  padding: 12px 8px;
  border-bottom: 2px solid transparent;
  border-radius: 7px;
  transition: background 0.18s, color 0.17s, border-color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #293749;
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
@media (max-width: 420px) {
  .mobile-nav {
    margin-left: 20px;
  }
}

/* ---------------------------------------------------
   FLEXBOX Content Patterns & Cards
--------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-dark);
  border: 1.5px solid #34384b;
  box-shadow: var(--shadow-elevated);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 26px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.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: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  border: 1.5px solid #e6e1da;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 7px 32px 0 rgba(30,29,24,0.12);
  padding: 20px 24px;
  min-width: 260px;
  max-width: 420px;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: var(--color-testimonial-text);
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #84703d;
  font-size: 1em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------------------------
   FEATURE GRID & SERVICE LISTS (INDEX, KURSE)
--------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: #232631;
  border: 1.5px solid #393e4c;
  border-radius: var(--radius);
  flex: 1 1 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 180px;
  box-shadow: 0 2px 8px 0 rgba(21,24,27,0.09);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-grid > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 24px 0 rgba(242,180,65,0.10);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  filter: grayscale(36%) contrast(1.1);
}
.feature-grid h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 2px;
}
.feature-grid p {
  color: #c1c8db;
}

.feature-descriptions ul {
  list-style: none;
  padding-left: 0;
  margin-top: 14px;
  margin-bottom: 0;
}
.feature-descriptions li {
  font-size: 1rem;
  background: #293145;
  color: #ffe9c7;
  border-radius: 7px;
  padding: 10px 15px 10px 16px;
  margin-bottom: 10px;
  border-left: 6px solid var(--color-secondary);
  font-family: var(--font-body);
}

.service-list, .schedule-list, .course-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-list > div, .schedule-list > div, .course-cards > div {
  background: var(--color-bg-dark);
  border-radius: var(--radius);
  border: 1.5px solid #363a48;
  padding: 21px 20px 18px 20px;
  box-shadow: var(--shadow-hover);
  min-width: 210px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.19s, border-color 0.19s;
}
.service-list > div:hover, .course-cards > div:hover, .schedule-list > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 10px 40px 0 rgba(242,180,65,0.12);
}
.service-list h3, .course-cards h3 {
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 600;
}
.service-list span, .course-cards strong, .schedule-list span {
  color: #b99d59;
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 7px;
}

/* Testimonial Slider/List */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.rating-summary {
  margin-top: 8px;
  font-size: 1.12rem;
  color: var(--color-accent);
  background: #273447;
  border-radius: 7.5px;
  padding: 9px 20px;
  box-shadow: 0 2px 8px 0 rgba(39,52,71,0.08);
  display: inline-flex;
  align-items: center;
}

/* -----------------------------------------------
   FOOTER
------------------------------------------------- */
footer {
  background: #22262b;
  border-top: 3px solid var(--color-secondary);
  font-family: var(--font-body);
  color: var(--color-accent);
  padding: 0 0 16px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-top: 36px;
  padding-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  color: var(--color-accent);
  font-size: 0.97rem;
}
.footer-contact a {
  color: var(--color-secondary);
  word-break: break-all;
}

@media (max-width: 860px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* -----------------------------------------------
   ABOUT QUALIFICATIONS & CALL TO ACTION
------------------------------------------------- */
.qualifications ul {
  margin: 0 0 0 22px;
  font-size: 1rem;
}
.qualifications li {
  margin-bottom: 4px;
}
.call-to-action {
  margin-top: 18px;
}
.call-to-action .cta {
  margin-left: 0;
}

/* -----------------------------------------------
   CONTACT INFO
------------------------------------------------- */
.contact-info {
  margin-bottom: 14px;
  background: #232631;
  border: 1.5px solid #393e4c;
  border-radius: var(--radius);
  padding: 18px;
  color: var(--color-accent);
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(39,52,71,0.10);
}
.contact-info a { color: var(--color-secondary); }

.public-transport ul {
  list-style: inside disc;
  padding-left: 0;
  font-size: 0.98rem;
}

.map-embed {
  margin-bottom: 8px;
  background: #232631;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.99rem;
  color: #faecc7;
}

/* -----------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------- */
@media (max-width: 900px) {
  .feature-grid, .service-list, .schedule-list, .testimonial-slider, .card-container, .course-cards, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div, .schedule-list > div, .card, .course-cards > div, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 850px) {
  header .container { padding-left: 13px; padding-right: 13px; }
  main .container, footer .container { padding-left: 13px; padding-right: 13px; }
}
@media (max-width: 600px) {
  .content-wrapper {
    gap: 14px;
  }
  .section {
    margin-bottom: 33px;
    padding: 24px 7px;
  }
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1.07rem; }
  .testimonial-card {
    padding: 16px 12px;
    font-size: 1rem;
  }
  .feature-grid, .service-list, .schedule-list, .testimonial-slider, .card-container, .course-cards {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .service-list {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .container { padding-left: 7px; padding-right: 7px; }
}

/* ---------------------------------------------------
   INTERACTIONS, ANIMATIONS, MICRO-EFFECTS
--------------------------------------------------- */
.card, .feature-grid > div, .service-list > div, .course-cards > div {
  transition: box-shadow 0.19s, border-color 0.19s, transform 0.23s;
}
.card:hover, .feature-grid > div:hover, .service-list > div:hover, .course-cards > div:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 9px 38px 0 rgba(242,180,65,0.11);
  border-color: var(--color-secondary);
}
.cta.primary, .cta.secondary {
  position: relative;
  transition: background 0.25s, color 0.22s, box-shadow 0.19s, transform 0.13s;
}
.cta.primary:active, .cta.secondary:active {
  transform: scale(0.95);
}
.mobile-nav a:active {
  background: var(--color-secondary);
  color: #252929;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  border-radius: 7px;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #232631;
  box-shadow: 0 -4px 28px 0 rgba(39,52,71,0.21);
  color: #ffe9aa;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 20px 26px 20px;
  gap: 15px;
  font-size: 1rem;
  animation: slideInBanner 0.55s cubic-bezier(0.7,0,0.3,1);
}
@keyframes slideInBanner {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 0.99rem;
  border-radius: 8px;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  margin: 0;
  outline: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(39,52,71,0.10);
}
.cookie-accept {
  background: var(--color-secondary);
  color: #332711;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #ffd984;
  color: #252929;
}
.cookie-reject {
  background: #303642;
  color: var(--color-accent);
  border: 2px solid var(--color-secondary);
}
.cookie-reject:hover, .cookie-reject:focus {
  border-color: #ffd984;
  color: #ffd167;
}
.cookie-settings {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-secondary);
  color: #22262b;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(21, 23, 27, 0.77);
  animation: modalFadeIn 0.32s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #22262b;
  padding: 36px 30px 32px 30px;
  border-radius: 21px;
  box-shadow: 0 10px 56px 0 rgba(39,52,71,0.14);
  min-width: 300px;
  max-width: 97vw;
  width: 420px;
  color: #f6f0ea;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 21px;
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-size: 2rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #2a2d33;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-size: 1.02rem;
  font-family: var(--font-body);
}
.category-toggle {
  accent-color: var(--color-secondary);
  width: 22px; height: 22px;
}
.category-toggle[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex; flex-direction: row; gap: 12px; justify-content: flex-end;
}

/* ---------------------------------------------------
   MISC UTILS
--------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #232631;
}
::-webkit-scrollbar-thumb {
  background: #393e4c;
  border-radius: 9px;
}

hr {
  border: none;
  border-top: 1.5px solid #343a44;
  margin: 34px 0 25px 0;
}

/* ---------------------------------------------------
   PRINT UTILITY
--------------------------------------------------- */
@media print {
  body, html { background: #fff !important; color: #222 !important; }
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
}
