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

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.6;
  background: #FFF;
  color: #273D51;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

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

a {
  color: #F5A623;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #dd8b13;
}

ul, ol {
  margin-left: 24px;
}

ul li, ol li {
  margin-bottom: 8px;
}


/* ---- BRAND TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #273D51;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, .price {
  font-size: 16px;
  margin-bottom: 12px;
  color: #273D51;
}
strong {
  font-weight: 600;
  color: #273D51;
}


/* ---- BRAND COLORS as CSS VARIABLES ---- */
:root {
  --primary: #273D51;
  --secondary: #F5A623;
  --accent: #E1E5EA;
  --bg: #FFF8F1;
  --shadow: 0 4px 16px rgba(245, 166, 35, 0.10), 0 1.5px 6px rgba(39,61,81,0.08);
  --radius: 20px;
  --radius-card: 18px;
  --radius-btn: 32px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}


/* ---- Spacing and Layout ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: var(--radius);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  flex: 1 1 280px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0px 6px 32px rgba(245,166,35,.18), 0 1.5px 6px rgba(39,61,81,0.08);
}
.testimonial-card blockquote {
  color: #273D51;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.5;
}
.testimonial-author {
  color: #F5A623;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}
.feature-list li {
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.feature-list img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
}
.feature-list strong {
  color: #F5A623;
} 

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

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.service-card:hover {
  box-shadow: 0px 8px 40px rgba(245,166,35,.20), 0 1.5px 6px rgba(39,61,81,0.10);
  transform: translateY(-6px) scale(1.03);
}
.service-card h3 {
  color: var(--primary);
}
.service-card .price {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---- Navigation ---- */
header {
  background: #fff;
  box-shadow: var(--shadow);
}
.flex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--primary);
  letter-spacing: 0.01em;
  border-radius: 16px;
  padding: 4px 10px;
  transition: background 0.15s, color 0.17s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  outline: none;
  text-align: center;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.15s, color 0.17s, box-shadow 0.21s;
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #e28f18;
  color: #fff;
  box-shadow: 0 8px 32px rgba(245,166,35,0.19);
}
.btn-secondary {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(245,166,35,0.14);
}
.btn-tertiary {
  background: var(--accent);
  color: var(--primary);
  border: none;
}

.mobile-menu-toggle {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  margin-left: 16px;
  transition: background 0.18s;
  z-index: 300;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #dd8b13;
  color: #fff;
}


/* ---- Mobile Navigation ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39, 61, 81, 0.97);
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.80,-0.01,.13,.99);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  align-self: flex-end;
  margin: 24px 28px 0 0;
  z-index: 1100;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  margin: 48px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 76vw;
  max-width: 360px;
  padding: 10px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  border-radius: 14px;
  padding: 12px 9px;
  transition: background 0.17s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: var(--secondary);
}


/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(90deg, #FFF8F1 70%, #E1E5EA 100%);
  border-radius: var(--radius);
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 60px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

/* ---- CTA section ---- */
.cta {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 20px;
  margin-bottom: 60px;
  text-align: center;
}
.cta h2, .cta p {
  color: #fff;
  margin-bottom: 18px;
}

/* ---- Footer ---- */
footer {
  background: #273D51;
  color: #fff;
  margin-top: 60px;
  padding: 36px 0 32px 0;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-flex > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-flex img {
  height: 38px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 0.97rem;
  opacity: 0.93;
  border-radius: 11px;
  padding: 3px 9px;
  margin-bottom: 2px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  background: #fff;
}
footer p {
  color: #fff;
  font-size: 0.97rem;
}


/* ---- Legal / Info Sections ---- */
.legal, .about, .contact, .thankyou {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: var(--radius);
}
.legal h1, .about h1, .contact h1, .thankyou h1 {
  color: var(--primary);
  margin-bottom: 20px;
}
.legal ul, .about ul, .legal ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
.legal li, .about li {
  margin-bottom: 8px;
  color: #273D51;
}


/* ---- Contact Section ---- */
.contact-info {
  margin-bottom: 16px;
}
.info-note {
  background: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  font-size: 1.01rem;
}


/* ---- Kursliste (service-list/table) ---- */
.service-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-list li {
  background: #fff;
  border-radius: 14px;
  padding: 17px 18px;
  box-shadow: var(--shadow);
  color: #273D51;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.service-list .price {
  color: var(--secondary);
  font-weight: 600;
  margin-left: 6px;
}

/* ---- Table Styles ---- */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
  margin-top: 8px;
}
thead {
  background: var(--accent);
}
th, td {
  padding: 13px 14px;
  text-align: left;
  font-size: 1rem;
}
th {
  color: var(--primary);
  letter-spacing: 0.025em;
  font-weight: 700;
}
td {
  color: #273D51;
  border-top: 1px solid #ececec;
}


/* ---- Misc Utility ---- */
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }


/* ---- Cookie Consent Banner ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8f1;
  box-shadow: 0 -4px 24px rgba(39, 61, 81, 0.10);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  z-index: 2010;
  padding: 22px 18px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.22s cubic-bezier(.85,-0.08,.13,1.04), opacity 0.2s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #273D51;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-banner button {
  font-family: var(--font-display);
  border-radius: var(--radius-btn);
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  margin: 0;
  min-width: 128px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.16s, color 0.15s;
}
.cookie-banner .accept-btn {
  background: var(--secondary);
  color: #fff;
  font-weight: bold;
}
.cookie-banner .accept-btn:hover { background: #e08c18; }
.cookie-banner .reject-btn {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-banner .reject-btn:hover {
  background: #ffeabd;
  color: var(--primary);
}
.cookie-banner .settings-btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-banner .settings-btn:hover {
  background: var(--accent);
}

/* ---- Cookie Modal ---- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,61,81, 0.24);
  z-index: 2020;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  padding: 32px 30px 28px 30px;
  border-radius: var(--radius-card);
  box-shadow: 0px 14px 60px 0px rgba(245,166,35,0.12), 0 1.5px 6px rgba(39,61,81,0.08);
  min-width: 288px;
  max-width: 96vw;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.2rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  margin-right: 8px;
  accent-color: var(--secondary);
}
.cookie-modal .category-label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .cookie-close-btn {
  position: absolute;
  right: 18px;
  top: 12px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.45rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .cookie-close-btn:hover {
  color: var(--secondary);
}
.cookie-modal .modal-btn-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}


/* ---- Responsive Design ---- */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .service-cards, .card-container, .content-grid {
    gap: 16px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .content-wrapper {
    gap: 20px;
  }
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta {
    padding: 40px 8px;
    margin-bottom: 45px;
  }
  .container {
    padding: 0 8px;
  }
  .section, .legal, .about, .contact, .thankyou {
    padding: 24px 4px;
    margin-bottom: 40px;
  }
  .hero {
    padding-top: 34px;
    padding-bottom: 36px;
    margin-bottom: 36px;
  }
  .feature-list li, .service-card {
    padding: 16px 11px;
  }
  .service-cards {
    flex-direction: column;
    gap: 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    padding: 13px 8px;
    gap: 11px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 2vw;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 14px 7px;
    font-size: 0.98rem;
  }
}

/* --- Micro-interactions & Animations --- */
.btn-primary, .btn-secondary, .btn-tertiary, .cookie-banner button {
  transition: background 0.16s, color 0.14s, box-shadow 0.16s, transform 0.18s;
}
.btn-primary:active, .btn-secondary:active, .cookie-banner button:active {
  transform: scale(0.95);
}
nav.main-nav a:active, .mobile-nav a:active {
  transform: scale(0.98);
}

/* --- Hide scrollbar for modal overlay (for modern browsers) --- */
.cookie-modal::-webkit-scrollbar {
  width: 0.5em;
  background: var(--accent);
  border-radius: 12px;
}
.cookie-modal::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 12px;
}


/* ---- Utility / Misc ---- */
::-webkit-input-placeholder { color: #adb4bb; }
::-moz-placeholder { color: #adb4bb; }
:-ms-input-placeholder { color: #adb4bb; }
::placeholder { color: #adb4bb; }


/* ---- Print / Accessibility tweaks ---- */
@media print {
  nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body, .container { background: #fff !important; color: #000 !important; }
}
