/* ==========================================================================
   CSS RESET & BASE 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;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: #232946;
  color: #FDF6ED;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border: none;
}

ul, ol {
  list-style: none;
}
a {
  color: #8DC63F;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #a2ff86;
  outline: none;
}

/* ==========================================================================
   VARIABLES (fallbacks provided)
   ========================================================================== */
:root {
  --brand-primary: #2C3E50;
  --brand-secondary: #8DC63F;
  --brand-accent: #FDF6ED;
  --bg-gradient: linear-gradient(120deg, #212852 0%, #354856 100%);
  --neon-green: #8fff48;
  --neon-blue: #00e6ff;
  --neon-pink: #ec48f8;
  --card-bg: #222a38;
  --elevate: 0 4px 32px 0 rgba(16,38,49,0.18);
  --radius: 18px;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #e5fdef;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote, address {
  color: #FDF6ED;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { color: #fff; font-weight: 700; }
blockquote {
  border-left: 4px solid var(--neon-blue);
  padding-left: 15px;
  color: #fff;
  font-style: italic;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1056px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(105deg, rgba(44,62,80,0.85) 75%, #22323d 100%);
  border-radius: var(--radius);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--elevate);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 360px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 36px 0 #4effc8a0;
  transform: translateY(-2px) 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FDF6ED;
  color: #1e2936;
  border-radius: 16px;
  margin-bottom: 26px;
  box-shadow: 0 2px 22px 0 rgba(49, 216, 211, 0.08);
  border: 1px solid #e6e6e6;
}
.testimonial-card blockquote {
  color: #1e2936;
  border-color: var(--brand-secondary);
}
.testimonial-card strong {
  color: var(--brand-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.short-descriptions {
  margin: 18px 0 0 0;
  color: #86fff8;
}

.value-list, .feature-grid, .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.value-list > div,
.feature-grid > div,
.course-list > div {
  background: linear-gradient(140deg, #22323d 90%, #00e6ff22 100%);
  border-radius: 12px;
  box-shadow: var(--elevate);
  padding: 22px 16px 18px 16px;
  flex: 1 1 260px;
  max-width: 330px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border var(--transition);
}
.value-list > div:hover,
.feature-grid > div:hover,
.course-list > div:hover {
  box-shadow: 0 2px 38px 0 var(--neon-blue);
  border: 1px solid var(--neon-green);
}

.cta-section {
  margin-top: 28px;
}

.team-profiles {
  margin-top: 23px;
  padding-left: 0;
}
.team-profiles ul {
  margin-top: 10px;
  padding-left: 15px;
}
.team-profiles h3 {
  font-size: 1.09rem;
  color: var(--brand-secondary);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
footer {
  padding: 48px 0 18px 0;
  background: #161b25;
  border-top: 3px solid var(--brand-secondary);
  color: #eee;
}
footer address {
  font-size: .98rem;
  color: #aaa;
  margin-top: 10px;
}

.map-location, .opening-hours, .contact-info, .callout-box {
  background: #22323d;
  border-radius: 11px;
  padding: 13px 16px;
  margin-top: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1.5px 10px 0 #37ffc320;
  color: #e8fdf4;
}
.callout-box {
  border: 2px solid var(--neon-pink);
  color: #fff1fa;
}

.cta {
  background: var(--bg-gradient);
  border-radius: 0 0 40px 40px;
  padding: 54px 20px 56px 20px;
}
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 120px 0;
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 8px;
  }
  .content-grid, .card-container, .value-list, .feature-grid, .course-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .footer-nav {
    gap: 14px;
    font-size: .97em;
  }
  .thank-you {
    padding: 52px 0 60px 0;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION (DESKTOP & MOBILE)
   ========================================================================== */
header {
  background: #232946;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 12px 32px;
  box-shadow: 0 2px 20px 0 #33fce63a;
  position: relative;
  z-index: 50;
}
header img {
  height: 44px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #b6f1e9;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.07rem;
  letter-spacing: .03em;
  padding: 6px 12px;
  transition: background var(--transition), color var(--transition);
  border-radius: 7px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--neon-green);
  background: #141b23;
}
.cta-btn {
  background: linear-gradient(105deg, var(--brand-secondary) 80%, var(--neon-blue) 100%);
  color: #10181d !important;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: .02em;
  padding: 9px 30px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 22px 0 #6effa833;
  margin-left: 36px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
  text-transform: uppercase;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(105deg, #9aff57 60%, var(--neon-pink) 120%);
  color: #17150f !important;
  box-shadow: 0 4px 39px 0 var(--neon-pink);
  transform: scale(1.04);
}

/* Hide mobile burger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */
@media (max-width: 1024px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 13px 10px 13px;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 15px;
  }
  .mobile-menu-toggle {
    position: fixed;
    top: 19px;
    right: 21px;
    z-index: 101;
    font-size: 2.25rem;
    background: none;
    border: none;
    color: #a7fffa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: color var(--transition);
    outline: none;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    color: var(--neon-green);
    background: #1e2b33;
    border-radius: 11px;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(28, 44, 64, 0.98);
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.43,0,.23,1);
  z-index: 121;
  display: flex;
  flex-direction: column;
  padding-top: 58px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 22px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--neon-blue);
  cursor: pointer;
  z-index: 999;
  line-height: 1;
  border-radius: 8px;
  padding: 2px 8px;
  transition: color 0.13s, background 0.13s;
  outline: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--neon-green);
  background: #171a25;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 28px;
  margin-left: 42px;
  font-size: 1.15rem;
}
.mobile-nav a {
  color: #e0fff7;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .035em;
  padding: 7px 0;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-bottom var(--transition);
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-pink);
  border-bottom: 1.5px solid var(--neon-pink);
  background: none;
}

@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
  background: linear-gradient(120deg, #2C3E50 60%, #008fe9 100%);
  color: #FDF6ED;
  padding: 88px 0 78px 0;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
  box-shadow: 0 4px 56px 0 rgba(52, 255, 201, 0.13);
  min-height: 350px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: left;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 650px;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  text-shadow: 0 2px 16px #37ffc3a4;
}
.hero p {
  color: #e4ffe5;
  font-size: 1.25rem;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .hero {
    padding: 54px 0 34px 0;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    margin-bottom: 38px;
    min-height: unset;
  }
  .hero .content-wrapper {
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
  }
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
button::-moz-focus-inner {
  border:0;
}

a.cta-btn, button.cta-btn {
  display:inline-block;
}

.cta-btn:active {
  transform: scale(.97);
}
button[disabled], .cta-btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* List & icon tweaks */
li img, p img {
  vertical-align: middle;
  margin-right: 9px;
  height: 1.3em;
  display: inline-block;
}

/* ==========================================================================
   FORMS (if present on kontakt.html)
   ========================================================================== */
input, textarea, select {
  background: #22323d;
  color: #fff;
  border: 1.5px solid #3ca0a0;
  border-radius: 9px;
  font-size: 1em;
  padding: 11px 14px;
  margin-bottom: 18px;
  outline: none;
  width: 100%;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 5px var(--neon-blue);
}
label {
  font-weight: 600;
  color: #f8f8fa;
  margin-bottom: 6px;
  display: block;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  background: linear-gradient(90deg, #262b39 0%, #36445e 100%);
  padding: 40px 0 44px 0;
  border-radius: 32px;
}
.testimonials .testimonial-card {
  background: #FDF6ED;
  color: #1e2936;
  border: 2px solid #d2ffe5;
  box-shadow: 0 3px 22px 0 #1de6af39;
  margin-bottom: 20px;
}
.testimonials .testimonial-card strong {
  color: #2C3E50;
}
.testimonials .testimonial-card blockquote {
  color: #232946;
}
.testimonials .testimonial-card img {
  height: 1.3em;
  margin-bottom: -2px;
  margin-right: 2px;
}
@media (max-width: 600px) {
  .testimonials,.section {
    padding: 16px 4px 18px 4px;
    border-radius: 12px;
  }
}

/* ==========================================================================
   MISC CLASSES & HELPERS
   ========================================================================== */
.text-section, .faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-list h2 {
  font-size: 1.19rem;
  color: #a5fdd5;
  margin: 20px 0 6px 0;
}
.faq-list p {
  font-size: 1.01rem;
  margin-bottom: 14px;
}
.contact-prompt {
  margin: 34px 0 0 0;
}
.contact-prompt .cta-btn {
  margin-top: 14px;
}
.opening-hours, .map-location, .contact-info {
  font-size: 1.05rem;
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1999;
  background: linear-gradient(90deg, #232946 60%, #276061 105%);
  color: #FDF6ED;
  padding: 26px 16px 20px 16px;
  box-shadow: 0 -2px 22px 0 #0eedbd86;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 1.08rem;
}
.cookie-banner__message {
  flex: 2 1 180px;
  min-width: 180px;
}
.cookie-banner__actions {
  flex: 1 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  background: var(--brand-secondary);
  color: #181f25;
  border: none;
  border-radius: 19px;
  font-size: 1.01rem;
  padding: 8px 22px;
  margin: 0;
  font-weight: 700;
  box-shadow: 0 1.5px 8px 0px #6aff8660;
  transition: background var(--transition), color var(--transition), transform 0.16s;
  cursor: pointer;
}
.cookie-btn--reject {
  background: #ff3864;
  color: #fff;
}
.cookie-btn--settings {
  background: #2C3E50;
  color: #8DC63F;
  border: 1.5px solid #8DC63F;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #141b23;
  color: var(--neon-green);
  transform: scale(1.03);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 6px 14px 6px;
    font-size: .97rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 16, 18, 0.67);
  z-index: 2222;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s cubic-bezier(.44,0,.23,1), visibility 0s .24s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.22s cubic-bezier(.44,0,.23,1);
}
.cookie-modal {
  background: #1c2432;
  border-radius: 19px;
  box-shadow: 0 12px 44px 0 #11f1dd3b;
  padding: 38px 24px 31px 24px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 95vh;
  color: #e6f2fe;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 10000;
  animation: cookie-modal-in .42s cubic-bezier(.66,.06,.34,.96);
}
@keyframes cookie-modal-in {
  from { transform: scale(.93) translateY(40px); opacity: .6; }
  to { transform: scale(1) translateY(0px); opacity: 1; }
}

.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #a0fff2;
  cursor: pointer;
  outline: none;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--neon-blue);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 10px 0;
}
.cookie-category {
  background: #232940;
  border-radius: 10px;
  padding: 18px 18px 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #1ecdbe44;
}
.cookie-category-title {
  font-weight: 700;
  color: #8DC63F;
  font-size: 1.07rem;
}
.cookie-category-desc {
  font-size: .97em;
  color: #e4fff8;
  margin-bottom: 3px;
}
.toggle-switch {
  display: flex;
  align-items: center;
  margin-top: 4px;
}
.toggle-switch input[type='checkbox'] {
  display: none;
}
.toggle-slider {
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  position: relative;
  transition: background 0.2s;
  margin-right: 11px;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--brand-secondary);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: var(--neon-green);
}
.toggle-switch label {
  margin-left: 8px;
  font-size: .97em;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 120px;
}

/* ==========================================================================
   UTILITY
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #21315a;
}
::-webkit-scrollbar-thumb {
  background: #5addd3;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #191e2a;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 14px 6px;
    min-width: unset;
    font-size: .95em;
  }
}

/* ==========================================================================
   END OF CSS
   ========================================================================== */