/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-family: Roboto, Arial, sans-serif;
  background: #181d23;
}
body {
  min-height: 100vh;
  font-family: Roboto, Arial, sans-serif;
  color: #e5e8eb;
  background: #181d23;
  line-height: 1.7;
}
:root {
  --primary: #003366;
  --secondary: #D9E021;
  --accent: #FFFFFF;
  --bg: #181d23;
  --surface: #232933;
  --metal: #75808f;
  --muted: #57606f;
  --border: #363e47;
  --testimonial-bg: #f8f8f8;
  --testimonial-text: #121314;
  --shadow: 0 4px 16px 0 rgba(20, 20, 25, 0.18);
  --radius: 10px;
  --section-pad: 40px 20px;
  --gap: 20px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}
@media (max-width: 480px) {
  html { font-size: 15px; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.015em;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 { font-size: 1.2rem; }

p {
  color: #e0e3e7;
  font-size: 1.07rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
strong { color: var(--secondary); font-weight: bold; }
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.16s cubic-bezier(.4,1.7,.7,.7);
}
a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: #9faa42;
  text-decoration: underline;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* Layout Containers */
.container {
  margin: 0 auto;
  max-width: 1050px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  flex: 1 1 280px;
  min-width: 260px;
  background: var(--bg);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--accent);
  transition: box-shadow 0.16s, transform 0.21s;
  position: relative;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(30, 38, 59, 0.15);
  transform: translateY(-6px) scale(1.01);
}

.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;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(18,19,20,0.14);
  font-size: 1.07rem;
  font-family: var(--font-body);
  border-left: 5px solid var(--secondary);
}
.testimonial-card p {
  color: var(--testimonial-text);
  font-size: 1.11rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #687081;
  font-size: 0.97rem;
  font-weight: 600;
  align-self: flex-end;
}

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

.text-section {
  background: none;
  color: var(--accent);
  border-radius: var(--radius);
  padding: 0 0 5px 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* HEADER */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: var(--primary);
  padding: 20px 0 20px 0;
  position: relative;
  z-index: 100;
  box-shadow: 0px 3px 18px 0 rgba(7,10,18,.08);
}
header img[alt*="Logo"] {
  height: 48px;
  margin-right: 28px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
header nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.11rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a.active {
  background: var(--secondary);
  color: var(--primary);
}
.cta-button {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 13px 32px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  letter-spacing: 0.02em;
  border-radius: 28px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 2px 10px rgba(54,62,71,0.10);
  transition: background 0.21s, color 0.14s, transform 0.19s, box-shadow 0.21s;
  margin-left: 30px;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: #bfc900;
  color: #0a182b;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(220,220,0,0.13);
  outline: none;
}

@media (max-width: 900px) {
  header nav, .cta-button {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 24px;
    top: 24px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 2.0rem;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    box-shadow: 0 2px 7px rgba(54,62,71,0.12);
    z-index: 1202;
    cursor: pointer;
    transition: background 0.18s,color 0.14s;
  }
  .mobile-menu-toggle:active {
    background: #bfc900;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,29,35,0.98);
  z-index: 1300;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.55,1.8,.32,1);
  box-shadow: 2px 0 24px 0 rgba(0,7,17,.16);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: var(--secondary);
  padding: 12px 22px 8px 0;
  cursor: pointer;
  margin-top: 15px;
  margin-right: 14px;
  transition: color 0.16s;
}
.mobile-menu-close:focus, 
.mobile-menu-close:hover {
  color: #fff000;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100vw;
  align-items: flex-start;
  padding: 32px 30px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--secondary);
  letter-spacing: 0.025em;
  font-weight: 700;
  background: none;
  padding: 8px 0;
  border-radius: 3px;
  transition: color 0.13s, background 0.13s;
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
  }
}

/* MAIN & SECTIONS */
main {
  margin: 0 auto;
  width: 100%;
  padding-top: 32px;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
@media (max-width:600px) {
  section, .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
}


/* COURSE ICONS, IMAGE ICONS */
ul li img {
  vertical-align: middle;
  margin-right: 11px;
  height: 23px;
  width: 23px;
  filter: grayscale(40%) brightness(1.1) drop-shadow(1px 2px 1px #12181f44);
}

/* TABLES (Trainingszeiten) */
table {
  border-collapse: collapse;
  width: 100%;
  background: #23282d;
  margin-bottom: 24px;
  border-radius: 7px;
  overflow: hidden;
  font-size: 1rem;
}
thead {
  background: var(--primary);
  color: var(--secondary);
  font-weight: bold;
  font-family: var(--font-display);
}
thead th,
tbody td {
  border: 1px solid var(--border);
  padding: 8px 12px;
}
tbody tr:nth-child(even) {
  background: #262f37;
}
tbody tr:nth-child(odd) {
  background: #202730;
}
tbody td, thead th {
  text-align: left;
}

/* FOOTER */
footer {
  background: #131820;
  color: #e1e7ef;
  padding: 32px 0 20px 0;
  font-family: var(--font-body);
  width: 100%;
  box-shadow: 0 -3px 14px 0 rgba(0,0,0,0.09);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  justify-content: center;
  font-size: .98rem;
}
.footer-nav a {
  color: var(--secondary);
  text-decoration: underline;
  margin: 0 2px;
  font-weight: 600;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: center;
  font-size: .98rem;
  margin-top: 6px;
  color: #D7DFEB;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 5px;
}

@media (max-width:600px){
  .footer-nav,.footer-contact { flex-direction: column; gap: 4px;}
}

/* BUTTONS & INTERACTIONS */
button, .cta-button, .cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  outline: none;
  transition: background 0.15s, color 0.13s, box-shadow 0.17s;
}
button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Cookie Consent Banner */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  width: 100%;
  background: #212733;
  color: var(--accent);
  padding: 22px 16px 22px 16px;
  box-shadow: 0 -5px 34px 0 rgba(20,22,32,0.20);
  gap: 16px;
  transition: transform 0.3s cubic-bezier(.6,1.5,.2,1);
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  text-align: center;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 7px;
  background: var(--surface);
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.19s, color 0.16s;
  margin: 0 3px;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-btn.accept:hover {
  background: #DCE46A;
}
.cookie-btn.reject {
  background: transparent;
  color: #fff;
  border-color: var(--secondary);
}
.cookie-btn.reject:hover {
  background: #394355;
}
.cookie-btn.settings {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-btn.settings:hover {
  background: #425276;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,29,35,0.88);
  z-index: 2052;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .28s;
}
.cookie-modal {
  background: #212733;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px 0 rgba(20,22,32,.20);
  max-width: 480px;
  min-width: 260px;
  width: 93vw;
  padding: 34px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #232933;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-category label {
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-category .description {
  color: #cecece;
  font-size: .98rem;
  margin-top: 2px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover {
  color: var(--accent);
}

@media (max-width:600px) {
  .cookie-modal { padding: 22px 9px 17px 13px; }
}

/* Misc & Utilities */
::-webkit-scrollbar {
  width: 9px;
  background: #202530;
}
::-webkit-scrollbar-thumb {
  background: #2c3643;
  border-radius: 8px;
}
::-webkit-input-placeholder { color: #c1cad8aa; }
::-moz-placeholder { color: #c1cad8aa; }
:-ms-input-placeholder { color: #c1cad8aa; }
::placeholder { color: #c1cad8aa; }

/* Decorative Metallic line for 'industrial' accent */
.section::before, .content-wrapper::before {
  content: '';
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #75808f 5%, #b0b7be 70%, #75808f 100%);
  margin-bottom: 16px;
}
.text-section > h1::before, .text-section > h2::before {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 1.5px;
  background: linear-gradient(90deg, #b0b7be 0%, #75808f 100%);
  margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  html { font-size: 16px; }
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 15px 0 12px 0;
  }
  header img[alt*="Logo"] {
    height: 40px;
    margin-bottom: 9px;
  }
  main { padding-top: 17px; }
}
@media (max-width: 500px) {
  h1 { font-size: 2.06rem; }
  h2 { font-size: 1.32rem; }
  .container { padding: 0 2px; }
}

/* THANK YOU PAGE SPECIAL SECTION CENTER */
@media (max-width:600px) {
  .container[style*="min-height"] {
    min-height: 53vh !important;
    padding: 0;
  }
}

/* Accessibility Contrast Tweaks for Testimonials */
.testimonial-card {
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
}
.testimonial-card p,
.testimonial-card span {
  color: var(--testimonial-text);
}

/* END */