/* style.css for RhetorikMeister - vibrant energetic, flexbox-only, responsive design */
/* === RESET AND 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, main, 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;
}
html { box-sizing: border-box; }
*,*:before,*:after{ box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9FBFD;
  color: #23395B;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #23395B;
  text-decoration: none;
  transition: color .18s cubic-bezier(0.36,0.66,0.04,1);
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.13;
  color: #23395B;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.7rem;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 2rem;
  color: #F4B942;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  color: #23395B;
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
}
.headline {
  font-size: 1.4rem;
  font-weight: 700;
  color: #23395B;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.subheadline {
  font-size: 1.07rem;
  color: #3B5CB6;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.legal h1, .legal h2 {
  color: #23395B;
  margin-bottom: 12px;
}
strong { font-weight: 700; }
em, i   { font-style: italic; }
small   { font-size: 14px; }
/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(36, 67, 112, 0.07);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo img {height: 38px;}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.main-nav a {
  color: #23395B;
  font-size: 1.11rem;
  letter-spacing: 0.03em;
  position: relative;
  transition: color .18s cubic-bezier(0.36,0.66,0.04,1);
}
.main-nav a:after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: #F4B942;
  border-radius: 2px;
  transition: width .2s;
  position: absolute;
  left: 0; bottom: -3px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.cta-btn {
  background: #F4B942;
  color: #23395B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  outline: none;
  padding: 12px 28px;
  font-size: 1.07rem;
  margin-left: 18px;
  margin-right: 10px;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(244,185,66, .14);
  transition: background .16s, color .16s, box-shadow .18s;
  position: relative;
  z-index: 1;
}
.cta-btn.primary {
  background: #F4B942;
  color: #23395B;
}
.cta-btn.secondary {
  background: #23395B;
  color: #F9FBFD;
  margin-left: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #23395B;
  color: #F4B942;
  box-shadow: 0 6px 24px 0 rgba(67,138,255,.13);
  text-decoration: none;
}
.cta-btn.small {
  padding: 6px 18px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #23395B;
  background: transparent;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  z-index: 30;
  border-radius: 6px;
  transition: background .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4B942;
  color: #23395B;
}
/* === MOBILE MENU === */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #23395B;
  z-index: 120;
  padding: 28px 24px;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.36,.66,.04,1);
  opacity: 0.99;
  box-shadow: 0 0 32px 8px rgba(35,57,91,0.18);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F4B942;
  color: #23395B;
  font-size: 2rem;
  border: none;
  border-radius: 18px;
  width: 44px; height: 44px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff199;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-radius: 6px;
  width: 100%;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4B942;
  color: #23395B;
}
@media (max-width: 1030px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1031px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
/* === HERO / SECTION LAYOUT === */
main { flex: 1; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
.hero {
  background: #23395B;
  color: #F9FBFD;
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: left;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.hero h1, .hero .headline, .hero .subheadline {
  color: #F9FBFD;
}
.hero .cta-btn {
  margin-left: 0;
  margin-top: 16px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 520px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .hero {
    padding: 30px 0 26px 0;
    min-height: 220px;
    text-align: left;
  }
  .hero .content-wrapper { max-width: 100%; }
  section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}
/* === FLEX UTILITIES === */
.features,
.services,
.about-values,
.team,
.text-section,
.module-list,
.usp-grid,
.feature-list,
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.features-grid,
.team-grid,
.services-grid,
.module-list,
.usp-grid,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .features-grid, .services-grid, .team-grid, .module-list, .usp-grid {
    flex-direction: column;
    gap: 24px;
  }
}
/* === CARD STYLES === */
.feature-card, .service-card, .team-card, .usp {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(36, 67, 112, 0.09), 0 2px 5px 0 rgba(244,185,66,.07);
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  flex: 1 1 252px;
  margin-bottom: 20px;
  position: relative;
  border-left: 7px solid #F4B942;
  transition: box-shadow .19s, transform .18s;
}
.feature-card:hover, .service-card:hover, .team-card:hover, .usp:hover {
  box-shadow: 0 10px 32px 0 rgba(44,87,190,0.18),0 6px 18px 0 rgba(244,185,66,.11);
  transform: translateY(-5px) scale(1.025);
}
.feature-card img, .team-card img {
  width: 56px; height: 56px; object-fit: contain;
  margin-bottom: 5px;
}
@media (max-width: 650px) {
  .feature-card,.service-card, .team-card, .usp {
    min-width: 85vw;
    padding: 22px 10px 14px 12px;
  }
}
/* === TESTIMONIAL CARDS === */
.testimonials {
  background: #f4f6fb;
  border-radius: 22px;
  padding: 50px 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(36, 67, 112, 0.09), 0 2px 5px 0 rgba(244,185,66,.07);
  margin-bottom: 20px;
  padding: 24px 20px 18px 20px;
  min-width: 220px;
  max-width: 540px;
  color: #23395B;
  border-left: 6px solid #F4B942;
  transition: box-shadow .18s, transform .15s;
}
.testimonial-card .author {
  font-size: 1rem;
  font-weight: 700;
  color: #3B5CB6;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(244,185,66,0.08),0 8px 10px 0 rgba(59,93,182,.07);
  transform: translateY(-2px) scale(1.013);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: flex-start;
  align-items: stretch;
}
@media (max-width: 650px) {
  .testimonial-slider { flex-direction: column; gap: 16px; }
  .testimonials { padding: 32px 4px; }
}
/* === ABOUT VALUES & USPs === */
.usp-grid {
  gap: 24px;
}
.usp {
  background: #F4B942;
  color: #23395B;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(244,185,66,0.08);
  padding: 22px 16px;
  margin-bottom: 20px;
  transition: background 0.2s;
}
.usp:hover {
  background: #23395B;
  color: #F4B942;
}
.feature-list ul, .services ul, .about-values ul {
  list-style: disc inside;
}
.feature-list ul, .about-values ul, .services ul {
  margin-bottom: 8px;
}
/* === SECTION SPECIFIC === */
.text-section.contact .content-wrapper { gap: 10px; }
.map .content-wrapper { gap: 10px; }
.about-values .content-wrapper, .services .content-wrapper {
  gap: 5px;
  align-items: flex-start;
}
.module-list {
  flex-wrap: wrap;
  gap: 26px;
}
.module-list .service-card { max-width: 380px; }
/* === CALL TO ACTION SECTIONS === */
.call-to-action {
  background: #F4B942;
  border-radius: 26px;
  color: #23395B;
  text-align: left;
  box-shadow: 0 4px 24px 0 rgba(35,57,91,0.07);
  padding: 48px 20px;
  margin-bottom: 44px;
}
.call-to-action h2 {
  color: #23395B;
  margin-bottom: 14px;
}
.call-to-action p {
  font-size: 1.18rem;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .call-to-action { padding: 22px 8px; }
}
/* === THANK YOU PAGE === */
.thank-you-cta {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  margin-bottom: 0;
}
@media (max-width: 650px) {
  .thank-you-cta { flex-direction: column; }
}
/* === FOOTER === */
footer {
  background: #23395B;
  color: #F9FBFD;
  border-top: 9px solid #F4B942;
  margin-top: 64px;
  font-size: 1rem;
  padding: 0;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  padding: 42px 0 12px 0;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width:220px;
  max-width:320px;
}
.footer-brand img { height: 38px; margin-bottom: 4px; }
.footer-brand p { color: #fff; font-size: 1rem; }
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}
.footer-menu a {
  color: #F4B942;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.015em;
  transition: color .18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #fff;
  font-size: 1rem;
  min-width: 200px;
}
.footer-contact a {
  color: #F4B942;
  font-weight: 600;
  transition: color .16s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
}
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 5px;
}
.footer-socials a img {
  height: 24px;
  width: 24px;
  filter: brightness(1.01) saturate(1.8);
  transition: filter .16s;
}
.footer-socials a:hover img, .footer-socials a:focus img {
  filter: brightness(1.25) drop-shadow(0 1px 4px #F4B94233);
}
.footer-note {
  color: #8cbcff;
  font-size: 13px;
  text-align: left;
  margin: 0;
  padding: 0 0 12px 0;
  grid-column: 1/-1;
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 24px;
  }
}
/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2100;
  background: #F4B942;
  color: #23395B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 18px;
  box-shadow: 0 -2px 20px 0 rgba(35,57,91,.08);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 1rem;
  transition: transform .35s cubic-bezier(.36,.66,.04,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 18px;
  border: none;
  background: #23395B;
  color: #F4B942;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  transition: background .15s, color .15s;
  outline: none;
}
.cookie-banner button.secondary {
  background: #fff;
  color: #23395B;
  border: 2px solid #23395B;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #3B5CB6;
  color: #fff;
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(35,57,91, 0.81);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear .22s, opacity .2s;
}
.cookie-modal.active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.cookie-modal-content {
  background: #fff;
  color: #23395B;
  border-radius: 25px;
  box-shadow: 0 8px 72px 0 rgba(35,57,91,0.16);
  max-width: 370px;
  width: 94vw;
  padding: 34px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  align-items: flex-start;
  animation: fadeInModal .31s cubic-bezier(0.36,0.66,0.04,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal-content h2 {
  margin-bottom: 4px;
  font-size: 1.22rem;
  color: #3B5CB6;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #23395B;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: #F4B942;
  margin-right: 2px;
}
.cookie-modal .close {
  position: absolute;
  right: 18px;
  top: 13px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #23395B;
  cursor: pointer;
  transition: color .12s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #F4B942;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-actions button {
  border-radius: 21px;
  padding: 8px 16px;
  font-weight: 700;
}
/* === MISC. === */
::-webkit-scrollbar { width: 7px; background: #f6f6fa; }
::-webkit-scrollbar-thumb { background: #f4b942; border-radius: 12px; }
::-webkit-selection { background: #F4B942; color: #23395B; }
::selection { background: #F4B942; color: #23395B; }
hr {
  border: 0; border-top: 1px solid #e3e8ef; margin: 40px 0; height: 1px; }

/* === RESPONSIVE TYPOGRAPHY & FLEX === */
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 950px) {
  .features-grid, .services-grid, .team-grid, .usp-grid, .module-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 670px) {
  .container {
    padding: 0 4vw;
  }
  .footer-brand img {
    height: 28px;
  }
}
/* === FLEXBOX-ONLY FOR STRUCTURE === */
.section {
  margin-bottom: 60px; padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }

@media (max-width: 768px) {
  .section {margin-bottom: 36px; padding: 24px 7px;}
  .text-image-section { flex-direction: column; align-items: center; gap: 18px; }
  .footer-columns { gap: 12px; }
}

/* === ANIMATIONS & MICROINTERACTIONS === */
.cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal button {
  transition: background .16s, color .16s, box-shadow .13s, transform .12s;
}
.cta-btn:active, .mobile-menu-close:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.98);
}

/* === ACCESSIBILITY === */
:focus {
  outline: 2px solid #F4B942;
  outline-offset: 2px;
  z-index: 2;
}

/* === PRINT MINIMAL === */
@media print { body { background: #fff; color: #000; } }
