/* ================================
   Radiant Peaks Redner Akademie
   VINTAGE RETRO FLEXBOX CSS
   ================================ */

/* === 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,main,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,main,menu,nav,section { display:block; }
body { line-height:1.5; background: #F7F7F8; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; }
strong { font-weight: bold; }
button { font-family: inherit; background: none; border: none; outline:none; cursor: pointer; }

/* === VINTAGE RETRO COLOR PALETTE & FONTS === */
:root {
  --rp-blue: #1A2849;
  --rp-yellow: #D9A638;
  --rp-accent: #F7F7F8;
  --rp-red: #D9594C;
  --rp-green: #81A969;
  --rp-bg-beige: #F6E7CB;
  --rp-bg-cream: #FFEEC8;
  --rp-grey: #774D2A;
  --rp-fade: #E9DFD4;
  --rp-shadow: rgba(32,33,34,0.09);

  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Open+Sans:400,600,700&display=swap');

body {
  background: var(--rp-bg-beige);
  color: var(--rp-blue);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--rp-blue);
  font-weight: 800;
  text-shadow: 1px 2px 0px var(--rp-fade);
  letter-spacing: 0.025em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p, ul, ol { margin-bottom: 14px; }

strong { font-weight: 700; color: var(--rp-grey); }

/* ========================
   CONTAINER & LAYOUT
======================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width:100%;
  margin:0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--rp-bg-cream);
  border-radius: 16px;
  box-shadow: 0 4px 22px var(--rp-shadow), 0 1.5px 0px var(--rp-yellow);
  position: relative;
}

/* ===========================
   HEADER / NAVIGATION
=========================== */
header {
  background: var(--rp-yellow);
  box-shadow: 0 3px 16px var(--rp-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img { height: 52px; width:auto; display:block; filter: sepia(0.13); }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--rp-blue);
  font-size: 1rem;
  padding: 8px 6px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--rp-red);
  border-bottom: 3px solid var(--rp-red);
  background:rgba(255,245,185,0.28);
  border-radius:8px;
}

.cta-primary {
  background: var(--rp-blue);
  color: var(--rp-yellow);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 32px;
  border: 0.18rem solid var(--rp-blue);
  box-shadow: 0 2px 8px var(--rp-shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, border-color 0.14s;
  text-shadow: 1px 1px 0px var(--rp-fade);
  letter-spacing: 0.05em;
  margin-left: 18px;
  margin-top: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--rp-yellow);
  color: var(--rp-blue);
  border-color: var(--rp-yellow);
  box-shadow: 0 2px 18px var(--rp-blue);
  outline: none;
}

/* MOBILE NAV: hide main-nav, show burger */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--rp-blue);
  background: none;
  border: none;
  margin-left:14px;
  line-height:1;
  padding: 0 6px;
  z-index: 1002;
}

/* ===============
   MOBILE MENU
================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--rp-bg-beige);
  box-shadow: 4px 0 44px rgba(30,17,8,0.13);
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.55,.09,.68,.53);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 32px 0;
  visibility: hidden;
  opacity:0;
  pointer-events:none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity:1;
  pointer-events:all;
  transition: transform 0.33s cubic-bezier(0.22,1,0.36,1), opacity 0.14s;
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--rp-red);
  background: none;
  margin: 22px 0 8px 24px;
  align-self: flex-start;
  border: none;
  padding:0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 48px 0 36px;
}
.mobile-nav a {
  font-size: 1.5rem;
  color: var(--rp-blue);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-display);
  border-left: 5px solid transparent;
  transition: background 0.14s, color 0.2s, border-left 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--rp-red);
  background: var(--rp-yellow);
  border-left: 5px solid var(--rp-red);
}

@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 868px) {
  .container { max-width: 99vw; }
  .main-nav { gap: 14px; }
  .cta-primary { font-size: 1rem; padding:10px 16px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .cta-primary { margin-left: 0; order:2; }
  .mobile-menu-toggle {
    display: block;
    background:#FFEEC8;
    border-radius: 8px;
    box-shadow: 0 1px 8px var(--rp-shadow);
    position: relative;
    z-index: 1003;
  }
  header .container {
    padding-top:14px;
    padding-bottom:14px;
  }
  .logo img { height:38px; }
}

/* =====================
   MAIN STRUCTURE
===================== */
main { min-height: 70vh; }
.hero-section, .about-section, .courses-overview-section, .coaching-services-section, .company-workshops-section, .webinar-services-section, .thank-you-section, .contact-section, .legal-section {
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
  background: var(--rp-yellow);
  border-radius: 0 0 40px 0;
  box-shadow: 2px 14px 44px 0 var(--rp-shadow);
}
.hero-section h1, .thank-you-section h1, .about-section h1, .contact-section h1 {
  font-size: 2.2rem;
  color: var(--rp-blue);
  margin-bottom:12px;
  line-height:1.1;
}
.subheadline {
  font-size: 1.2rem;
  font-family: var(--font-body);
  margin-bottom: 32px;
  color: var(--rp-grey);
  background:rgba(255,255,255,0.22);
  line-height:1.45;
  border-radius:8px;
  padding:8px 12px;
  font-weight:600;
  letter-spacing:0.01em;
}
.content-wrapper {
  max-width: 660px;
  margin: 0 auto;
}

@media (max-width: 650px) {
  .hero-section, .about-section, .courses-overview-section, .coaching-services-section,.company-workshops-section, .webinar-services-section, .thank-you-section, .contact-section, .legal-section {
    border-radius: 0 0 26px 0;
    padding: 36px 0 24px 0;
  }
  .content-wrapper { padding:0 6px; }
}

/* === FEATURES SECTION === */
.features-section {
  margin-bottom: 60px;
  padding: 40px 18px;
  background: var(--rp-bg-cream);
  border-radius:24px;
  box-shadow: 0 2px 22px var(--rp-shadow), 0 1.5px 0px var(--rp-yellow);
}
.features-section h2 { color:var(--rp-blue); font-size:1.7rem; }
.features-section ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 8px 0;
}
.features-section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--rp-grey);
  background:rgba(255,245,208,0.44);
  border-radius: 10px;
  padding: 12px 16px 12px 8px;
  box-shadow: 0 2px 5px var(--rp-shadow);
}
.features-section ul li img { width: 32px; height: 32px; }

@media (max-width: 600px) {
  .features-section ul li { flex-direction:column; align-items:flex-start; gap:7px; padding:10px 9px 9px 7px; }
  .features-section ul li img { margin-bottom:4px; }
}

/* === SERVICES / COURSES OVERVIEW === */
.services-section ul, .courses-overview-section .content-wrapper > .course-card {
  display: flex;
  flex-direction: column;
  gap:24px;
}
.services-section ul li, .courses-overview-section .course-card {
  background: var(--rp-fade);
  border-radius: 14px;
  box-shadow: 0 1px 14px var(--rp-shadow);
  padding: 24px 22px 20px 22px;
  margin-bottom:20px;
  position:relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size:1.08rem;
  color:var(--rp-blue);
}
.services-section ul li strong, .courses-overview-section .course-card strong {
  color: var(--rp-red);
  font-size:1.13rem;
}
.courses-overview-section .content-wrapper {
  display: flex;
  flex-direction:column;
  gap:24px;
}

.courses-overview-section .course-card a.cta-primary {
  margin-top: 12px;
  align-self: flex-start;
}

@media (max-width: 600px) {
  .services-section ul li, .courses-overview-section .course-card {
    padding:12px 10px 11px 10px;
  }
}

/* === TESTIMONIALS === */
.testimonials-section {
  margin-bottom:60px;
}
.testimonials-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap:28px;
  margin-top:15px;
}
.testimonials-section h2 {
  color:var(--rp-blue); font-size:1.8rem; margin-bottom:12px;
}
.testimonial-card {
  background: var(--rp-accent);
  color: #2C2933;
  border-radius: 19px;
  box-shadow: 0 3px 12px var(--rp-shadow);
  display: flex;
  flex-direction:column;
  gap:16px;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 22px;
  border-left:8px solid var(--rp-yellow);
}
.testimonial-card p {
  font-style:italic;
  color: var(--rp-grey);
  font-size:1.12rem;
  line-height:1.6;
}
.testimonial-card span {
  font-family: var(--font-body);
  color:var(--rp-blue);
  font-size:1.01rem;
  font-weight:600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: var(--rp-yellow);
  box-shadow:0 6px 26px var(--rp-yellow);
}

/* === CTA SECTION === */
.cta-section {
  margin-bottom: 60px; padding: 42px 18px;
  background: var(--rp-blue);
  border-radius: 0 44px 0 44px;
  box-shadow: 0 2px 18px var(--rp-shadow);
  text-align: center;
}
.cta-section h2 {
  color: var(--rp-yellow);
  font-size: 2rem;
  margin-bottom: 24px;
}
.cta-section .cta-primary {
  background: var(--rp-yellow);
  color: var(--rp-blue);
  border: 2.5px solid var(--rp-yellow);
  font-size:1.2rem;
  box-shadow: 0 4px 20px var(--rp-yellow);
}
.cta-section .cta-primary:hover, .cta-section .cta-primary:focus {
  background: var(--rp-blue);
  color: var(--rp-yellow);
  border-color:var(--rp-blue);
}

@media (max-width:650px){
  .cta-section { border-radius:0 20px 0 20px; padding:22px 5px; }
}

/* === FOOTER === */
footer {
  background: var(--rp-blue);
  color: var(--rp-yellow);
  padding: 42px 0 30px 0;
  box-shadow: 0px -2px 18px var(--rp-shadow);
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap:40px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: var(--rp-yellow);
  font-family: var(--font-display);
  font-weight:700;
  font-size:1rem;
  letter-spacing:0.02em;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--rp-red); }
.footer-contact div {
  margin-bottom: 7px;
  font-size: 1rem;
  color: var(--rp-bg-cream);
}
.footer-contact a {
  color: var(--rp-yellow);
  text-decoration: underline;
}

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

/* === LEGAL + THANK YOU === */
.legal-section, .thank-you-section {
  min-height: 300px;
  margin-bottom:60px;
  background: var(--rp-bg-cream);
  border-radius:16px;
  box-shadow:0 2px 22px var(--rp-shadow);
}
.text-section { margin-bottom:24px; }
.text-section ul, .text-section ol {
  padding-left:18px;
  margin: 12px 0 12px 0;
  display: flex;
  flex-direction:column;
  gap:11px;
}
.text-section li { list-style:disc; margin-left:11px; }

.map-embed-placeholder {
  background: #F7F7F8;
  border: 2px dashed var(--rp-yellow);
  border-radius: 12px;
  text-align:center;
  padding:32px 0;
  margin-top:18px;
  font-family:var(--font-display);
  color:#A39362;
  font-size:1.1rem;
}
.map-placeholder { color:#A39362; }

/* ===============
   CARD & FLEX UTILITIES
================ */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom:18px; }
.card { background: var(--rp-bg-cream); border-radius: 12px; box-shadow: 0 4px 17px var(--rp-shadow); margin-bottom: 20px; position: relative; padding: 24px 18px; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ====================
   RESPONSIVE FLEX ADJUST
==================== */
@media (max-width:900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ================
   BUTTON STYLES
================= */
button, .cta-primary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s, transform 0.18s;
}

/* ================
   BASIC FORMS (Contact)
================= */
input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding:10px 16px;
  border-radius:8px;
  border: 1.5px solid var(--rp-yellow);
  margin-bottom: 16px;
  width:100%;
  background: #FFF9F6;
  color: var(--rp-blue);
}
input:focus, textarea:focus {
  border-color: var(--rp-blue);
  background: #FFF7EA;
  outline: none;
}

/* ===============
   MICRO-INTERACTIONS
================= */
.cta-primary:active, .cta-primary:focus {
  transform: scale(0.98) translateY(2px);
  outline: 2px dashed var(--rp-yellow);
}
.card:hover, .services-section ul li:hover, .course-card:hover {
  box-shadow: 0 8px 28px var(--rp-yellow);
  transform: translateY(-4px) scale(1.015);
  transition: box-shadow .23s, transform .19s;
}

/* ===============
   COOKIE CONSENT BANNER
================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--rp-blue);
  color: var(--rp-yellow);
  box-shadow: 0 -3px 24px var(--rp-shadow);
  padding: 20px 18px 20px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap:20px;
  z-index: 1500;
  font-size: 1rem;
  border-top: 4px solid var(--rp-yellow);
  animation: cookieBannerFadeIn .55s cubic-bezier(.51,.91,.68,.53);
}
@keyframes cookieBannerFadeIn { from { opacity:0; transform:translateY(100%);} to { opacity:1; transform:translateY(0);} }
.cookie-consent-banner .cookie-text {
  flex: 1 1 280px;
  margin-right: 24px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-consent-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 28px;
  padding: 9px 20px;
  border:2px solid var(--rp-yellow);
  margin: 0;
  background: var(--rp-yellow);
  color: var(--rp-blue);
  font-weight: 800;
  transition: background 0.14s, color 0.14s, border-color 0.2s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background:var(--rp-red);
  color:var(--rp-accent);
  border-color:var(--rp-red);
}
.cookie-consent-banner .cookie-settings-btn {
  background:var(--rp-blue);
  color:var(--rp-yellow);
  border:2px solid var(--rp-yellow);
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background:var(--rp-yellow);
  color:var(--rp-blue);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(26,40,73,0.63);
  z-index:1510;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:1;
  animation:fadeIn .26s;
}
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
.cookie-modal {
  background: var(--rp-bg-cream);
  color: var(--rp-blue);
  width: 98vw; max-width: 390px;
  border-radius: 18px;
  box-shadow: 0 8px 44px var(--rp-yellow);
  padding: 30px 24px 26px 24px;
  text-align: left;
  display: flex;
  flex-direction:column;
  gap: 16px;
  animation: popupAppear 0.29s cubic-bezier(.3,1.1,.56,.87);
}
@keyframes popupAppear { from{ transform: scale(.75); opacity:0;} to{ transform: scale(1); opacity:1;} }
.cookie-modal h3 {font-size:1.3rem; margin-bottom: 10px; color:var(--rp-blue);}
.cookie-modal .modal-section {
  display:flex;
  align-items:center;
  gap:8px;
  margin:8px 0 0 0;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.cookie-modal .switch input { opacity:0; width:0; height:0; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top:0; left:0; right:0; bottom:0;
  background:var(--rp-grey);
  border-radius: 28px;
  transition: .2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background:var(--rp-yellow);
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 1px 3px var(--rp-shadow);
}
.cookie-modal .switch input:checked + .slider {
  background:var(--rp-green);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(18px);
  background: var(--rp-blue);
}
.cookie-modal .switch input:disabled + .slider {
  opacity: .45;
}
.cookie-modal .cookie-modal-actions {
  margin-top:16px;
  display: flex;
  flex-wrap: wrap;
  gap:12px;
  justify-content:flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-family: var(--font-display);
  padding:7px 20px;
  border-radius:22px;
  border:2px solid var(--rp-blue);
  background:var(--rp-blue);
  color:var(--rp-yellow);
  font-weight:800;
  transition:background .16s, color .16s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background:var(--rp-yellow);
  color:var(--rp-blue);
  border-color:var(--rp-yellow);
}

/* =============
   UTILITIES
============== */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.rounded { border-radius: 12px; }

/* ===============
   RETRO/VINTAGE DECORATIVE
================= */
/* Subtle background texture (patterned effect) */
body::before {
  content: "";
  position: fixed;
  z-index:0;
  top:0; left:0; width:100vw; height:100vh;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(45deg, #f7dfad 0px, #f7dfad 2px, transparent 2px, transparent 18px), repeating-linear-gradient(-45deg, #ecdcb7 0px, #ecdcb7 2px, transparent 2px, transparent 18px);
}

section::after, header::after {
  content: '';
  position: absolute;
  bottom:0; right:0;
  width: 48px; height: 48px;
  background: url('../assets/deco-corner.svg') no-repeat center center/contain;
  opacity:0.12;
  pointer-events:none;
}

/* --- Vintage font for logo (if needed) --- */
.logo, .logo img {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  letter-spacing:0.17em;
}

/* ============
   SCROLLBAR
============= */
::-webkit-scrollbar { width: 7px; background:var(--rp-bg-beige); }
::-webkit-scrollbar-thumb { background:var(--rp-yellow); border-radius: 7px; }

/* ===============
   PRINT STYLES
================ */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  body, main { background: white !important; color: #111 !important; }
}
