/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fcf2e9;
  color: #232019;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button {
  font-family: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
}
:focus-visible {
  outline: 2px dashed #F2A007;
  outline-offset: 2px;
}

/* VINTAGE RETRO COLOR PALETTE */
:root {
  --primary: #225e37;
  --vintage-moss: #6B7451;
  --secondary: #B0C4AB;
  --retro-canvas: #fcf2e9;
  --retro-orange: #F2A007;
  --retro-rust: #C27800;
  --retro-shadow: rgba(34, 94, 55, 0.09);
  --retro-border: #D7C6AF;
  --heading-font: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  --body-font: 'Open Sans', Arial, Helvetica, sans-serif;
  --danger: #CA4232;
  --success: #2E8836;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--primary);
  letter-spacing: 0.5px;
  font-weight: bold;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-shadow: 1px 2px 0 #e7b67b26;
}
h2 {
  font-size: 2rem;
  line-height: 1.22;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 10px;
}
.subheadline {
  color: var(--retro-rust);
  font-style: italic;
  font-size: 1.18rem;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
}
p, li {
  font-size: 1rem;
  color: #41371C;
}
strong {
  font-weight: bold;
}

/* CONTAINER & FLEX LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-canvas);
  border-radius: 18px;
  box-shadow: 2px 10px 44px -14px var(--retro-shadow);
}
.hero-section, .success-section {
  width: 100%;
  background: linear-gradient(180deg, #f6e2bf 0%, #fcf2e9 100%);
  padding: 44px 0 28px 0;
  box-shadow: 0 6px 24px -10px #ebdfd874;
  border-bottom: 5px dotted var(--retro-orange);
}
.cta-section, .success-section {
  background: var(--vintage-moss);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px -12px #70763328;
  padding: 40px 20px;
  margin-bottom: 32px;
  text-align: center;
}
.cta-section h2, .cta-section p {
  color: #fff;
}

/* FLEX SPACING / MANDATORY PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fffbe9;
  box-shadow: 0 2px 16px -2px rgba(34,94,55,.12);
  border: 2px solid var(--retro-border);
  padding: 20px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #fffbe9;
  border-radius: 18px;
  border: 1.5px dashed var(--retro-orange);
  box-shadow: 0 3px 16px rgba(34,94,55,0.11);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px #225e3730;
}
.testimonial-card blockquote {
  font-size: 1.14rem;
  color: #3d2404;
  font-family: 'Montserrat', Georgia, serif;
  font-style: italic;
  margin-bottom: 6px;
  quotes: "\201C""\201D""\2018""\2019";
  position: relative;
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: var(--retro-orange);
  font-size: 2.2em;
  line-height: 0.1em;
  vertical-align: -0.4em;
  margin-right: 5px;
}
.testimonial-card blockquote:after {
  content: close-quote;
  color: var(--retro-orange);
  font-size: 2.2em;
  line-height: 0.1em;
  vertical-align: -0.4em;
  margin-left: 5px;
}
.testimonial-author {
  font-size: 0.98rem;
  font-style: italic;
  color: #6b7451;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* SPECIFIC ELEMENTS (GRID REPLACEMENTS) */
.feature-grid, .values-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.feature-grid > div, .values-grid > div, .service-list > div {
  background: #fffbe9;
  border-radius: 16px;
  border: 2px solid var(--retro-border);
  padding: 18px 16px;
  min-width: 240px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 3px 16px rgba(34,94,55,0.09);
  transition: transform 0.16s, box-shadow 0.18s;
}
.feature-grid > div:hover, .service-list > div:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 5px 24px 0 #C2780022;
  border-color: var(--retro-orange);
}
.feature-grid img, .values-grid img, .service-list img {
  margin-bottom: 12px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f2a00713;
}

/* PRICING */
.kurs-preis {
  font-weight: bold;
  color: var(--retro-orange);
  font-size: 1.13rem;
  font-family: var(--heading-font);
  margin-top: 6px;
  letter-spacing: 0.5px;
  background: #f6e2bf;
  border-radius: 12px;
  padding: 3px 12px;
  margin-left: 2px;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--retro-orange);
  color: #fffbe9;
  font-family: var(--heading-font);
  font-size: 1.13rem;
  border-radius: 30px;
  padding: 12px 34px;
  border: 2.5px solid var(--primary);
  box-shadow: 0 2px 12px #C2780020;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 6px;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.2s, transform 0.15s;
  font-weight: 700;
  line-height: 1.6;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #fffbe9;
  color: var(--retro-orange);
  border-color: var(--retro-orange);
  box-shadow: 0 4px 24px 0 #C2780033;
  transform: translateY(-1px) scale(1.03);
}
.btn-secondary {
  display: inline-block;
  background: #fffbe9;
  color: var(--primary);
  border: 2px solid var(--retro-orange);
  border-radius: 30px;
  padding: 11px 28px;
  margin-top: 6px;
  margin-bottom: 6px;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.15s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--retro-orange);
  border-color: var(--vintage-moss);
  color: #fff;
  transform: scale(1.03);
}

/* HEADER / NAVIGATION */
header {
  background: #f6e2bf;
  box-shadow: 0 6px 38px -12px #ecb8672c;
  padding: 0;
  z-index: 40;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  position: relative;
}
.main-nav > a > img {
  height: 38px;
  width: auto;
  margin-right: 8px;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-left: 12px;
}
.nav-list li a {
  font-family: var(--heading-font);
  padding: 4px 12px;
  border-radius: 10px;
  color: var(--primary);
  font-size: 1rem;
  transition: background 0.16s, color 0.15s;
  position: relative;
}
.nav-list li a:hover,
.nav-list li a:focus {
  background: var(--retro-orange);
  color: #fffbe9;
  outline: none;
}
.main-nav .btn-primary {
  margin-left: 26px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--retro-orange);
  color: #ffffff;
  font-size: 2.15rem;
  border-radius: 12px;
  padding: 4px 16px;
  position: absolute;
  right: 22px;
  top: 14px;
  z-index: 80;
  border: 2px solid var(--primary);
  transition: background 0.15s, color 0.12s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fffbe9;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fcf2e9ee;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  box-shadow: -12px 0 22px #644d2430;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--retro-orange);
  color: #fff;
  font-size: 2.8rem;
  border-radius: 10px;
  margin: 10px 18px 10px 0;
  padding: 4px 16px;
  border: 2px solid var(--primary);
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fcf2e9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 28px 0 0 38px;
  width: 85vw;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 4px;
  border-radius: 8px;
  transition: background 0.14s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-orange);
  color: #fcf2e9;
}

/* FOOTER */
footer {
  background: #ecddb7;
  padding: 36px 0 12px 0;
  margin-top: 48px;
  border-top: 4px dotted var(--retro-orange);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--vintage-moss);
  font-family: var(--heading-font);
  font-size: 1.08rem;
  text-decoration: underline;
  padding: 3px 8px;
  border-radius: 7px;
  transition: background 0.14s, color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--retro-rust);
  background: #f2a00723;
  text-decoration: none;
}
.footer-info {
  text-align: center;
  color: #433b21;
  font-size: 0.96rem;
  line-height: 1.45;
}
.footer-info a {
  color: var(--retro-orange);
  text-decoration: underline;
  transition: color 0.13s;
}
.footer-info a:hover {
  color: var(--primary);
}

/* TEXT SECTIONS */
.text-section {
  background: #fffbe9;
  border-radius: 13px;
  border-left: 4px solid var(--retro-orange);
  box-shadow: 0 2px 8px -2px var(--retro-shadow);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.text-section p, .text-section ul, .text-section ol {
  color: #3d2404;
}
.text-section h3 {
  margin-top: 18px;
}

/* UL/OL Style as vintage bullets */
ul, ol {
  margin-left: 22px;
  margin-bottom: 14px;
}
ul li, ol li {
  padding-left: 0;
  position: relative;
  margin-bottom: 8px;
}
ul li:before {
  content: '\2022';
  color: var(--retro-orange);
  font-size: 1.24em;
  margin-right: 9px;
  vertical-align: middle;
}

/* FORMATTING success-section */
.success-section {
  background: #f2a00722;
  border: 2.5px solid var(--retro-orange);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
    padding: 0 5vw;
  }
}
@media (max-width: 950px) {
  .main-nav .btn-primary {display: none;}
  .nav-list {gap: 14px;}
  .feature-grid > div, .values-grid > div, .service-list > div {
    min-width: 180px;
    padding: 14px 10px;
    font-size: 0.98em;
  }
}
@media (max-width: 768px) {
  html {font-size: 98%;}
  .container {padding: 0 10px;}
  .main-nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 0;
    gap: 5px;
  }
  .nav-list {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .feature-grid, .values-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .values-grid > div, .service-list > div {
    width: 100%;
    min-width: 0;
  }
  .cta-section, .success-section, .section {
    padding: 26px 6px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  h1 {font-size: 1.7rem;}
  h2 {font-size: 1.13rem;}
  h3 {font-size: 1rem;}
  .feature-grid img, .values-grid img, .service-list img {width: 36px;height: 36px;}
  .btn-primary, .btn-secondary {
    padding: 10px 12px;
    font-size: 1rem;
  }
}

/* SMOOTH ANIMATIONS */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.18s, border-color 0.18s, box-shadow 0.2s, transform 0.14s;
}
.feature-grid > div, .values-grid > div, .service-list > div, .testimonial-card {
  transition: transform 0.16s, box-shadow 0.22s, border-color 0.18s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #f0ebdf;
  border-top: 4px dotted var(--retro-orange);
  box-shadow: 0 -2px 16px #5337041a;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 16px 14px 16px;
  text-align: center;
  min-height: 90px;
  gap: 14px;
  font-size: 1.08rem;
  font-family: var(--body-font);
  animation: cookieIn 0.6s cubic-bezier(0.32, 0.95, 0.54, 0.96);
}
@keyframes cookieIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 10px;
  color: #3d2404;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  padding: 7px 23px;
  border-radius: 24px;
  font-size: 0.99rem;
}
.cookie-banner .btn-settings {
  background: #fffbe9;
  color: var(--primary);
  border: 2px dashed var(--retro-orange);
  border-radius: 24px;
  font-size: 0.99rem;
  font-family: var(--heading-font);
  font-weight: 600;
  padding: 7px 18px;
  margin-left: 2px;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus {
  background: var(--retro-orange);
  color: #fffbe9;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 301;
  background: #3d240470;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.cookie-modal {
  background: #fffbe9;
  border-radius: 25px 25px 0 0;
  border: 3px solid var(--retro-orange);
  max-width: 420px;
  width: 90vw;
  padding: 32px 20px 22px 20px;
  margin-bottom: 22px;
  box-shadow: 0 12px 48px #d1b26257;
  animation: modalPop 0.38s cubic-bezier(0.8,0.1,0.36,1);
}
@keyframes modalPop {
  0% { transform: translateY(60px) scale(0.93); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--retro-orange);
  position: absolute;
  right: 34px;
  top: 25px;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 320;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: var(--danger);
}
.cookie-modal h2 {
  color: var(--retro-orange);
  margin-bottom: 13px;
  font-size: 1.33rem;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 20px 0;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--retro-orange);
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.cookie-option label {
  font-size: 1.02rem;
  color: #3d2404;
}
.cookie-option.essential label {
  font-weight: bold;
  color: var(--primary);
}

/* MODAL BUTTONS */
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  width: 100%;
  margin: 8px 0 0 0;
  padding: 10px 0;
  font-size: 1.02rem;
}

/* ACCESSIBILITY & USABILITY */
@media (max-width: 450px) {
  .cookie-modal {
    padding-left: 9px;
    padding-right: 9px;
  }
}

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

/* Miscellaneous: Utility Classes (for spacing & alignment) */
.mb-24 {margin-bottom: 24px !important;}
.mb-32 {margin-bottom: 32px !important;}
.mt-24 {margin-top: 24px !important;}
.mt-32 {margin-top: 32px !important;}
.text-center {text-align: center !important;}
.text-right {text-align: right !important;}
.text-left {text-align: left !important;}

/* Decorative Borders/Patterns for Retro Styling */
.hero-section,
.cta-section,
.success-section {
  border-style: dotted;
  border-width: 0 0 6px 0;
  border-color: var(--retro-orange);
}

.section {
  border: 4px double var(--retro-border);
}

/* Retro Font Touches for h1/h2 */
h1, h2 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 1.5px;
  text-transform: none;
  font-weight: 700;
}
h1 {
  text-shadow: 2px 2px 0 #f2a00715, 0 1.5px 0 #fffbe9;
  font-variation-settings: "wght" 600;
}
h2 {
  text-shadow: 1px 1px 0 #b0c4ab32;
}

/* Classic Shadow & Card Patterns */
.card, .feature-grid > div, .values-grid > div, .service-list > div {
  box-shadow: 0 2px 8px 0 #866f3a1b;
  border-style: solid;
  border-width: 0 0 5px 0;
  border-bottom-color: var(--retro-orange);
}

/* Give cards a subtle retro pattern */
.card, .feature-grid > div, .service-list > div {
  background-image: repeating-linear-gradient(135deg, #fcf2e9 0, #fcf2e9 13px, #f6e2bf 13px, #f6e2bf 26px);
}

/***** END OF STYLES *****/
