/* VIVENTIS RIPPLE AKADEMIE – STYLE.CSS */
/* 
  -------------- 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%; 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;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #27486d;
  background: #FAFAFD;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: #205081;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B84B;
  text-decoration: underline;
}
img {
  max-width: 100%; height: auto; display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/*
  -------------- BRAND COLORS & FONTS --------------
*/
:root {
  --primary: #205081;
  --secondary: #F2B84B;
  --accent: #E5EAF1;
  --gray-light: #F7F8FA;
  --pastel-blue: #CAE5FF;
  --pastel-mint: #D6F2EA;
  --pastel-lavender: #EBD6F2;
  --pastel-pink: #FBE8EF;
  --pastel-yellow: #FFF9E3;
  --card-shadow: 0 2px 16px 0 rgba(60,80,100,0.12);
  --radius: 18px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #205081;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.13; }
h2 { font-size: 2rem; line-height: 1.22; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p, ul, ol, li {
  font-size: 1.08rem;
  color: #374868;
}
strong { color: #205081; }

/*
  -------------- LAYOUT CONTAINERS --------------
*/
.container {
  width: 90%; max-width: 1140px; margin: 0 auto; padding: 0 10px;
  display: flex; flex-direction: column; gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px; padding: 40px 20px;
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
}
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 36px 0 rgba(60,80,100,.22);
  transform: translateY(-4px) scale(1.016);
}
.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;
  background: #FBE8EF;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 rgba(60,80,100,0.09);
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
}
.testimonial-card blockquote {
  color: #205081;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 0;
  quotes: "\201C" "\201D";
}
.testimonial-card p {
  margin: 0 0 0 15px;
  font-size: 0.98rem;
  color: #205081;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
  background: var(--pastel-blue);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 260px;
  background: var(--pastel-mint);
  border-radius: 14px;
  padding: 28px 22px 18px 22px;
  min-width: 220px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, background 0.3s;
}
.features-grid > div h3 {
  margin-bottom: 8px;
  font-size: 1.20rem;
  color: #205081;
}
.features-grid > div p {
  font-size: 0.97rem;
  color: #3d4c6e;
  opacity: 0.93;
}
.features-grid > div:hover {
  background: var(--pastel-lavender);
  box-shadow: 0 6px 30px 0 rgba(60,80,100,0.15);
}
.features-grid img {
  width: 38px; height: 38px; margin-bottom: 10px;
}

.course-list li {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 16px;
  padding: 18px 16px;
  background: var(--pastel-yellow);
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 1.01rem;
  color: #205081;
}
.course-list li span {
  background: var(--pastel-blue);
  color: #205081;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.96rem;
  margin-left: 8px;
}

/*
  -------------- HEADER & NAVIGATION --------------
*/
header {
  background: linear-gradient(120deg, #CAE5FF 60%, #FBE8EF);
  box-shadow: 0 2px 12px 0 rgba(60,80,100,0.05);
  padding: 0;
  position: relative;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 12px;
}
header img[alt="Viventis Ripple Akademie"] {
  width: 158px;
  height: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #205081;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.18s;
}
nav a:hover, nav a:focus {
  color: #F2B84B;
  border-bottom: 2px solid #F2B84B;
}
.cta-btn {
  background: linear-gradient(90deg, #F2B84B 60%, #ffdf78);
  color: #205081;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.04rem;
  border: none;
  padding: 12px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 10px 0 rgba(242,184,75,0.05);
  cursor: pointer;
  transition: background 0.12s, color 0.18s, box-shadow 0.2s, transform 0.13s;
  margin-left: 20px;
  letter-spacing: 0.01em;
  display: inline-block;
  text-align: center;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #ffefb3 45%, #F2B84B);
  color: #205081; /* still readable */
  box-shadow: 0 4px 24px 0 rgba(242,184,75,0.24);
  transform: translateY(-2px) scale(1.03);
}

/*
  -------------- HERO SECTION --------------
*/
.hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(105deg, #CAE5FF 0%, #FBE8EF 100%);
  border-bottom-left-radius: 64px;
  border-bottom-right-radius: 64px;
  margin-bottom: 44px;
  box-shadow: 0 2px 20px 0 rgba(60,80,100,0.08);
}
.hero .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 18px;
}
.hero h1 {
  color: #205081;
  font-size: 2.4rem;
  text-align: center;
  line-height: 1.15;
  text-shadow: 0 2px 20px #fff2;
}
.hero p {
  color: #205081;
  text-align: center;
  font-size: 1.17rem;
  max-width: 480px;
  margin: 0 auto;
}

/*
  -------------- SECTION & SPACING --------------
*/
section {
  margin-bottom: 50px;
  width: 100%;
}
section:last-of-type {
  margin-bottom: 0;
}
.content-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}
ul, ol {
  margin: 0 0 12px 0;
}
ul li, ol li {
  margin-bottom: 9px;
  line-height: 1.42;
}

.text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
}

/*
  -------------- FORMS & BUTTONS --------------
*/
input, textarea, select {
  background: var(--accent);
  border: 1.5px solid var(--pastel-blue);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #205081;
  width: 100%;
  transition: border 0.2s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #F2B84B;
  box-shadow: 0 0 0 2px #ffebbe8e;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/*
  -------------- FOOTER --------------
*/
footer {
  background: linear-gradient(110deg, #CAE5FF 70%, #FBE8EF 140%);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding: 32px 0 18px 0;
  box-shadow: 0 -2px 12px 0 rgba(60,80,100,0.04);
  margin-top: 40px;
}
.footer-menu {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-menu a {
  color: #205081;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.83;
  padding: 3px 8px;
  transition: color 0.16s, opacity 0.16s;
}
.footer-menu a:hover {
  color: #F2B84B;
  opacity: 1;
}
.legal-info {
  text-align: center;
  color: #5e7298;
  font-size: 0.95rem;
  margin-top: 6px;
  margin-bottom: 2px;
}
.social-links {
  display: flex; flex-wrap: nowrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 8px;
}
.social-links a {
  display: flex; align-items: center;
  background: #fff;
  border-radius: 99px;
  padding: 6px 9px;
  box-shadow: 0 1px 6px 0 rgba(60,80,100,0.08);
  transition: box-shadow 0.16s;
}
.social-links a:hover {
  box-shadow: 0 2px 14px 0 rgba(242,184,75,0.13);
}

/*
  -------------- MOBILE BURGER MENU --------------
*/
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #205081;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2rem;
  border: none;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 18px 0 rgba(242,184,75,0.12);
  transition: background 0.16s, color 0.17s, transform 0.16s;
  position: absolute; right: 18px; top: 18px; z-index: 1002;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #fae4ae;
  color: #27486d;
  transform: scale(1.07);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(106deg, #CAE5FF 65%, #FBE8EF 100%);
  box-shadow: -6px 0 30px 0 rgba(60,80,100,0.13);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.6,0,0.4,1);
  padding-bottom: 60px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFF;
  color: #205081;
  border-radius: 50%;
  width: 42px; height: 42px;
  position: absolute; top: 18px; right: 16px;
  font-size: 1.8rem;
  align-items: center; justify-content: center;
  border: none;
  box-shadow: 0 1px 10px rgba(60,80,100,0.08);
  transition: background 0.14s, color 0.13s, transform 0.15s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #ffefb3;
  color: #205081;
  transform: scale(1.07);
}
.mobile-nav {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  margin-top: 68px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: #205081;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  border-radius: 11px;
  transition: background 0.14s, color 0.14s;
  margin: 0 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B84B;
  color: #205081;
}

/*
  -------------- RESPONSIVE DESIGN -------------
*/
@media (max-width: 1200px) {
  .container { max-width: 980px; }
}
@media (max-width: 980px) {
  .container { max-width: 760px; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 240px; }
}
@media (max-width: 768px) {
  body { font-size: 1rem; }
  .container { width: 98%; padding: 0 6px; }
  .section { padding: 24px 8px; }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div {
    min-width: 0;
    width: 100%;
    padding: 22px 14px 16px 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  header .container { flex-direction: row; }
  nav { display: none; }
  .cta-btn { margin-left: 0; margin-top: 8px; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 540px) {
  .hero h1{ font-size: 1.37rem; }
  .footer-menu { gap: 8px; font-size: 0.91rem; }
  .social-links img { width: 26px;}
  section, .section { padding: 10px 1px; margin-bottom: 28px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 13px; }
}

/*
  -------------- COOKIE CONSENT BANNER --------------
*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2000;
  background: linear-gradient(90deg, #FBE8EF 65%, #CAE5FF 130%);
  color: #205081;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 7vw 22px 7vw;
  box-shadow: 0 -2px 40px 0 rgba(60,80,100,0.16);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 1.05rem;
  gap: 32px;
  animation: banner-slide-up 0.48s ease;
}
@keyframes banner-slide-up {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-banner__btn {
  padding: 7px 19px;
  border-radius: 16px;
  background: #FFF;
  color: #205081;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  border: 1.5px solid #CAE5FF;
  margin-left: 4px;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 6px 0 rgba(60,80,100,0.07);
}
.cookie-banner__btn.accept {
  background: #F2B84B;
  color: #205081;
  border: none;
}
.cookie-banner__btn.reject {
  background: #FFF;
  color: #205081;
  border: 1.5px solid #F2B84B;
}
.cookie-banner__btn.settings {
  background: #CAE5FF;
  color: #205081;
}
.cookie-banner__btn:active,
.cookie-banner__btn:focus {
  box-shadow: 0 2px 10px 0 rgba(60,80,100,0.13);
  outline: none;
}
.cookie-banner__btn:hover {
  filter: brightness(1.07);
  color: #205081;
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 18px 2vw 22px 2vw;
    font-size: 0.97rem;
  }
}

.cookie-modal {
  position: fixed;
  z-index: 2050;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: linear-gradient(110deg, #FBE8EF 60%, #CAE5FF 120%);
  border-radius: 22px;
  box-shadow: 0 6px 44px 0 rgba(60,80,100,0.26);
  padding: 36px 28px 28px 28px;
  min-width: 320px; max-width: 97vw;
  animation: cookie-modal-fadein 0.32s cubic-bezier(0.46,0,0.06,1);
}
@keyframes cookie-modal-fadein {
  0% { opacity: 0; transform: scale(0.93) translate(-50%,-47%); }
  100% { opacity: 1; transform: scale(0.98) translate(-50%,-50%); }
}
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  background: #FFF;
  color: #205081;
  border-radius: 99px;
  width: 37px; height: 37px;
  font-size: 1.34rem;
  display: flex;
  align-items: center; justify-content: center;
  border: none;
  transition: background .12s, color .12s;
}
.cookie-modal__close:active, .cookie-modal__close:focus {
  background: #ffefb3;
  color: #205081;
}
.cookie-modal__title {
  font-size: 1.32rem;
  margin-bottom: 8px;
  color: #205081;
}
.cookie-modal__category {
  display: flex; flex-direction: row;
  align-items: center; gap: 15px; margin: 10px 0px 13px 0px;
  font-size: 1.08rem;
}
.cookie-modal__category input[type=checkbox] {
  accent-color: #F2B84B;
  width: 22px; height: 22px; margin-right: 3px;
  vertical-align: middle;
}
.cookie-modal__switch {
  display: flex; align-items: center; gap: 10px;
}
.cookie-modal__category label {
  color: #205081;
  font-weight: 500;
}
.cookie-modal__desc {
  font-size: 0.99rem;
  color: #27486d;
  margin-bottom: 23px;
}
.cookie-modal__btns {
  display: flex; gap: 16px;
  margin-top: 19px;
}

/*
  -------------- ANIMATIONS --------------
*/
@keyframes fade-in {
  from{opacity:0;} to{opacity:1;}
}

/*
  -------------- MISC --------------
*/
::-webkit-scrollbar { width: 12px; background: #E5EAF1; }
::-webkit-scrollbar-thumb { background: #CAE5FF; border-radius: 11px; }
::-webkit-scrollbar-thumb:hover { background: #F2B84B; }

/* Utility classes (optional, but helpful!) */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; } .mb-3 { margin-bottom: 24px; }

/*
  -------------- HIGH CONTRAST – FOR TESTIMONIALS ETC --------------
*/
.testimonial-card, .testimonial-card * {
  color: #205081 !important;
}

/*
  -------------- Accessibility --------------
*/
:focus {
  outline: 2px solid #F2B84B;
  outline-offset: 2px;
}

/*
  -------------- END OF VIVENTIS RIPPLE AKADEMIE CSS --------------
*/
