/* =============================
   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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;  padding: 0;  border: 0;  font-size: 100%;  font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F5F7FA;
}
ol, ul {
  list-style: none;
}
a { text-decoration: none; color: inherit; transition: color .2s cubic-bezier(.77,.2,.05,1.0); }
img { max-width: 100%; display: block; height: auto; }

/* =============================
   VARIABLE & BRAND COLORS/FONTS
   ============================= */
:root {
  --primary: #22304B;
  --secondary: #51AAB7;
  --accent: #F5F7FA;
  --gray-600: #e3e8ef;
  --gray-700: #ccd7e6;
  --gray-800: #BBC4D2;
  --brand-violett: #7042E5;
  --brand-red: #F14465;
  --brand-yellow: #FFE06B;
  --shadow-card: 0 8px 24px rgba(34,48,75,0.09);
  --radius-section: 42px;
  --radius-card: 22px;
  --radius-btn: 50px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--accent);
  font-size: 16px;
  min-height: 100vh;
}

/* =============================
   CONTAINER, FLEX, WRAPPERS
   ============================= */
.container {
  width: 100%;
  max-width: 1170px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

/* =============================
   HEADER & NAV
   ============================= */
header { background: var(--accent); box-shadow: 0 2px 16px rgba(34,48,75,0.07); }
header .container { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
header img { height: 48px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s,color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.main-nav .btn-primary { margin-left: 18px; }

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--secondary);
  border: none;
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 12px rgba(81,170,183,0.08);
  margin-left: 18px;
  cursor: pointer;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--brand-yellow);
}

/* =============================
   MOBILE NAVIGATION MENU
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--primary);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.45,.32,.27,1.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: transparent;
  color: var(--brand-yellow);
  border: none;
  margin: 22px 0 0 20px;
  align-self: flex-start;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 38px 0 0 20px;
  width: 90vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  background: transparent;
  border-radius: 14px;
  padding: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--brand-yellow);
}

/* =============================
   HERO SECTIONS
   ============================= */
.hero {
  background: linear-gradient(92deg, var(--brand-yellow) 0%, var(--secondary) 100%);
  border-radius: var(--radius-section);
  margin: 40px 0 60px;
  padding: 40px 0 60px 0;
  box-shadow: 0 10px 40px rgba(81,170,183,0.12);
  position: relative;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 26px;
  max-width: 710px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 11px;
  letter-spacing: -.02em;
}
.hero p {
  font-size: 1.32rem;
  color: var(--primary);
}

/* =============================
   SECTIONS & SPACING PATTERNS
   ============================= */
.section, .cookie-policy, .privacy-policy, .dsgvo-info, .terms-of-use, .thankyou, .about-mission, .about-preview, .team, .contact-details, .location {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============================
   FLEX LAYOUTS FOR FEATURES/GRID
   ============================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  min-width: 250px;
  max-width: 370px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  border-left: 6px solid var(--secondary);
}
.feature-item img { height: 40px; }
.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
  letter-spacing: -.01em;
}
.feature-item p {
  margin-bottom: 0;
}

.icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px 14px;
  min-width: 130px;
  min-height: 120px;
  flex: 1 1 120px;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--brand-violett);
  text-align: center;
  gap: 9px;
}
.icon-item img {
  height: 36px;
  width: 36px;
}
.icon-item p { font-weight: 600; color: var(--primary); }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
  flex: 1 1 320px;
  min-width: 250px;
  max-width: 400px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 750px;
}

/* =============================
   TESTIMONIALS
   ============================= */
#testimonials h2 {
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 24px rgba(112,66,229,0.12);
  margin-bottom: 24px;
  border-left: 6px solid var(--brand-violett);
  font-size: 1.08rem;
  min-width: 320px;
  max-width: 650px;
  color: var(--primary);
}
.testimonial-card blockquote {
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.13rem;
  line-height: 1.6;
  margin-right: 10px;
}
.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
  letter-spacing: .01em;
}

/* =============================
   TEAM BIOS
   ============================= */
.team-bio-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.team-bio-cards .text-section {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 20px 20px 24px;
  min-width: 220px;
  max-width: 380px;
  margin-bottom: 20px;
  border-top: 5px solid var(--brand-red);
}
.team-bio-cards h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  color: var(--brand-red);
  margin-bottom: 7px;
}

/* =============================
   CTA BUTTONS
   ============================= */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--primary);
  color: var(--brand-yellow);
  font-weight: 800;
  font-size: 1.09rem;
  letter-spacing: .03em;
  padding: 14px 34px;
  border-radius: var(--radius-btn);
  border: none;
  box-shadow: 0 3px 14px rgba(34,48,75,.13);
  cursor: pointer;
  margin-top: 6px;
  transition: background .22s, color .16s, transform .17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
}

/* =============================
   FORMS (if present)
   ============================= */
input, textarea, select, button {
  font-family: var(--font-body);
  font-size: 1rem;
}
::placeholder {color: var(--gray-800);}

/* =============================
   FEATURE LISTS
   ============================= */
ul, ol {
  padding-left: 26px;
  margin-bottom: 17px;
  color: var(--primary);
}
ul li, ol li {margin-bottom: 8px; font-size: 1.01rem;}
ul li:last-child, ol li:last-child {margin-bottom: 0;}
ul li strong, ol li strong { color: var(--secondary); }

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 52px 0 0 0;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  box-shadow: 0 -6px 28px rgba(34,48,75,.13);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 22px;
}
footer img { height: 56px; margin-bottom: 14px; }
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--brand-yellow);
  font-size: 1rem;
  font-weight: 700;
  transition: color .13s;
  border-radius: 8px;
  padding: 6px 9px;
}
.footer-nav a:hover, .footer-nav a:focus { background: var(--secondary); color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  color: var(--gray-600);
}
.footer-contact div { display: flex; align-items: center; gap: 7px; }
.footer-contact img { height: 17px; width: 17px; margin-right: 5px; }

/* =============================
   SECTIONS HEADLINES
   ============================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.17;
}
h1 { font-size: 2.3rem; font-weight: 900; }
h2 { font-size: 1.5rem; font-weight: 800; }
h3 { font-size: 1.19rem; font-weight: 700; }
h4, h5 { font-size: 1.08rem; font-weight: 700; }

/* =============================
   "CREATIVE ARTISTIC" Details
   ============================= */
h1, h2, h3 {
  letter-spacing: -.7px;
  position: relative;
}
h2::before {
  content: '';
  display: block;
  width: 48px;
  height: 5px;
  background: var(--brand-red);
  border-radius: 44px;
  margin-bottom: 10px;
}

h3::after {
  content: '';
  display: inline-block;
  width: 18px; height: 3px;
  background: var(--brand-violett);
  border-radius: 11px;
  margin-left: 8px;
  vertical-align: middle;
}

.section, .card, .feature-item, .icon-item, .team-bio-cards .text-section {
  box-shadow: 0 4px 26px 0 rgba(112,66,229,0.08), var(--shadow-card);
}
.section { 
  background: #fff;
  border-radius: var(--radius-section);
}

/* =============================
   COLORED CREATIVE ELEMENTS
   ============================= */
.hero::before, .cta::after {
  content: '';
  display: block;
  position: absolute;
  top: -75px; left: -35px;
  width: 170px; height: 170px;
  background: var(--brand-violett);
  opacity: 0.14;
  border-radius: 74px 80px 90px 62px;
  z-index: 0;
}
.cta::after {
  top: unset; left: unset; right: 0; bottom: -40px;
  width: 120px; height: 120px;
  background: var(--brand-red);
  opacity: 0.13;
  border-radius: 80px 64px 100px 82px;
}

/* =============================
   CALL TO ACTION
   ============================= */
.cta {
  background: linear-gradient(95deg, var(--brand-violett) 0%, var(--secondary) 90%);
  color: #fff;
  border-radius: var(--radius-section);
  box-shadow: 0 7px 36px 0 rgba(112,66,229,0.15);
  margin-bottom: 55px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.cta h2 { color: #fff; text-shadow: 0 2px 12px rgba(34,48,75,0.12); }
.cta .btn-primary { background: var(--brand-yellow); color: var(--primary); }
.cta .btn-primary:hover, .cta .btn-primary:focus { background: var(--brand-red); color: #fff; }

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  font-size: 1.06rem;
  box-shadow: 0 -2px 18px rgba(34,48,75,.12);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px;
  animation: fadeInUp .55s cubic-bezier(.45,.32,.27,1.2);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner .cookie-btns {
  display: flex; gap: 16px;
}
.cookie-btn {
  font-family: var(--font-display);
  padding: 10px 26px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  border: none;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(81,170,183,0.09);
  cursor: pointer;
  transition: background .18s, color .14s, transform .10s;
}
.cookie-btn.accept { background: var(--brand-violett); }
.cookie-btn.reject { background: var(--brand-red); }
.cookie-btn.settings { background: var(--secondary); }
.cookie-btn:hover, .cookie-btn:focus { transform: scale(1.04); filter: brightness(1.08); }

/* =============================
   COOKIE MODAL
   ============================= */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,48,75,0.22);
  z-index: 1320;
  display: flex; align-items: center; justify-content: center;
  animation: fadeBgModal .4s cubic-bezier(.45,.32,.27,1.2);
}
@keyframes fadeBgModal {
  from {opacity: 0;} to {opacity:1;}
}
.cookie-modal {
  background: #fff;
  padding: 34px 28px;
  border-radius: 32px;
  box-shadow: 0 12px 64px rgba(112,66,229,0.18);
  width: 95vw; max-width: 395px;
  font-size: 1.08rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInScale .27s cubic-bezier(.45,.32,.27,1.2);
  position: relative;
}
@keyframes fadeInScale {
  from { opacity:0; transform: scale(.84); }
  to   { opacity:1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.19rem;
  color: var(--brand-violett);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex; align-items: center; gap: 18px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-weight: 700;
  color: var(--primary);
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: var(--brand-violett);
  margin-right: 8px;
}
.cookie-modal .cookie-btns { display: flex; gap: 14px; justify-content: flex-end; }
.cookie-modal-close {
  position: absolute; top: 19px; right: 24px;
  background: transparent;
  border: none; font-size: 1.9rem;
  color: var(--brand-red);
  cursor: pointer;
}

/* =============================
   CONTACT INFO SECTIONS
   ============================= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 10px 0;
}
.contact-info div {
  display: flex; align-items: center; gap: 10px;
  color: var(--primary);
}
.contact-info img { height: 18px; }

/* =============================
   THANK YOU SECTION
   ============================= */
.thankyou .text-section { margin-top: 22px; }

/* =============================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ============================= */
@media (max-width: 1020px) {
  .container { max-width: 99vw; }
  .footer-nav { flex-wrap: wrap; }
  .feature-grid, .icons-grid, .team-bio-cards, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 2.1rem; }
  .feature-item, .card { min-width: 180px; }
}
@media (max-width: 768px) {
  header .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-contact { font-size: .92rem; }
  .hero { margin: 28px 0 38px; padding: 28px 0 38px 0; }
  .section, .card, .feature-item, .icon-item, .about-mission, .about-preview, .team {
    padding: 24px 9px;
  }
  .feature-grid, .icons-grid, .team-bio-cards, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-nav { gap: 12px; font-size: .97rem; }
  .footer-contact { gap: 4px; }
  .cta { margin-bottom: 45px; margin-top: 44px; }
}
@media (max-width: 540px) {
  .container { padding: 0 7px; }
  .hero h1 { font-size: 1.14rem; }
  .hero, .section, .about-mission, .about-preview, .team, .cta {
    border-radius: 24px;
    padding: 17px 4px 23px 9px;
    margin-bottom: 28px;
  }
  .footer img { height: 38px; }
  .feature-item, .icon-item, .card { min-width: unset; max-width: 99vw; padding: 14px 8px; }
  .testimonial-card { flex-direction: column; min-width: unset; }
}
@media (max-width: 460px) {
  .cookie-modal { padding: 19px 8px; }
  .cookie-consent-banner { flex-direction: column; gap: 19px; padding: 16px 7px; font-size: .95rem; }
}

/* =============================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================= */
a, .btn-primary, .cookie-btn, .footer-nav a {
  transition: background .17s, color .17s, box-shadow .13s, transform .14s;
}
.feature-item, .icon-item, .testimonial-card, .card, .team-bio-cards .text-section {
  transition: box-shadow .2s, transform .15s;
}
.feature-item:hover, .icon-item:hover, .testimonial-card:hover, .card:hover, .team-bio-cards .text-section:hover {
  box-shadow: 0 11px 36px 0 rgba(86,134,254,0.12), 0 4px 26px 0 rgba(112,66,229,0.13);
  transform: translateY(-2px) scale(1.025) rotate(-1deg);
  z-index: 1;
}

/* =====================
   SCROLLBARS Artistic
   ===================== */
::-webkit-scrollbar { width: 7px; background: var(--gray-700); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 14px; }

/* =============================
   UTILITY CLASSES
   ============================= */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; } .mb-2 { margin-bottom: 20px; }
.pl-2 { padding-left: 20px; } .pr-2 { padding-right: 20px; }
.gap-8 { gap: 8px; } .gap-16 { gap: 16px; }
/* Ensure MIN 20px between all cards/sections */
.section + .section, .section + .cta, .card + .card, .feature-item + .feature-item, .testimonial-card + .testimonial-card, .team-bio-cards .text-section + .text-section { margin-top: 20px; }

/* Hide scrollbar on cookie/modal if needed */
.cookie-modal { scrollbar-width: thin; }

/* =============================
   END OF CSS
   ============================= */
