/* =========================
   CSS RESET & BASE STYLES
   ========================= */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F5F9FA;
  color: #194E63;
  min-height: 100vh;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
a {
  color: #194E63;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(.69,1.41,.95,1.46);
}
a:hover, a:focus{
  color: #1DB4B4;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
strong {
  font-weight: bold;
}
hr {
  border: none;
  height: 1px;
  background: #C6E4D0;
  margin: 32px 0;
}

/* ======== BRAND FONTS ======== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, .display {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  color: #194E63;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #194E63;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #3083A6;
}
h4 {
  font-size: 1rem;
  color: #1DB4B4;
}

p, li {
  font-size: 1rem;
  color: #194E63;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.125rem;
  color: #3083A6;
  font-weight: 500;
  margin-bottom: 18px;
}

/* ======= LAYOUT CONTAINERS ======= */
.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========= FLEXBOX LAYOUTS ========= */
.feature-grid, .card-container, .content-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 3px 22px 0 rgba(25,78,99,0.10), 0 0 0 1.5px #7ECE90;
  background: #fff;
  padding: 32px 28px;
  min-width: 250px;
  max-width: 380px;
  flex: 1 1 280px;
  transition: box-shadow 0.25s, transform 0.23s;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 6px 28px 2px rgba(25,78,99,0.15), 0 0 0 3px #1DB4B4;
  transform: translateY(-6px) scale(1.02) rotate(-1.5deg);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 20px 24px;
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 rgba(25,78,99,0.13);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 500px;
  border-left: 6px solid #7ECE90;
  transition: box-shadow 0.22s, transform 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px 0 rgba(25,78,99,0.17);
  background: #F5F9FA;
  transform: translateY(-2px) scale(1.01) rotate(0.4deg);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #194E63;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  color: #3083A6;
  font-family: 'Roboto', sans-serif;
}
.testimonial-meta img {
  width: 25px;
  height: 25px;
  vertical-align: middle;
  border-radius: 50%;
  margin-right: 5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 1.5px 8px rgba(122,206,144,0.10);
  padding: 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.23s, transform 0.21s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 4px 18px 0 rgba(30,180,180,0.12);
  background: #F5F9FA;
  transform: translateY(-3px) scale(1.035) rotate(-1deg);
}

@media (max-width: 900px) {
  .feature-grid, .team-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* ======= TEAM GRID ======= */
.team-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 12px;
}
.team-member {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 1.5px 8px rgba(122,206,144,0.12);
  flex: 1 1 230px;
  min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.23s;
}
.team-member:hover {
  box-shadow: 0 5px 22px 0 rgba(25,78,99,0.16);
  background: #E5F8E8;
  transform: translateY(-3px) scale(1.016) rotate(-1.5deg);
}

/* ========= HERO SECTION ========== */
.hero {
  padding: 54px 0 36px 0;
  background: #E2FADF;
  background-image: radial-gradient(circle at 30% 80%, #EFFEFC 0%, #E2FADF 100%);
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 7px solid #7ECE90;
}
.hero h1 {
  font-size: 2.7rem;
  color: #194E63;
  line-height: 1.12;
  margin-bottom: 18px;
  text-shadow: 1.5px 2px 0 #7ECE90;
}
.hero .cta-btn {
  margin-top: 18px;
}

@media (max-width: 600px) {
  .hero {
    padding: 26px 0 16px 0;
    min-height: 180px;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
}

.content-wrapper.cta {
  align-items: center;
  text-align: center;
  background: #E2FADF;
  border-radius: 18px;
  box-shadow: 0 1.5px 10px #7ECE9020;
  padding: 32px 18px;
  margin-bottom: 8px;
}
.content-wrapper.confirmation {
  align-items: center;
  text-align: center;
  background: #EFFFEB;
  border-radius: 18px;
  box-shadow: 0 1.5px 10px #1db4b410;
  padding: 30px 16px;
}

/* ========== HEADER ========= */
header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
  box-shadow: 0 4px 16px #b0ffe71c;
  transition: box-shadow 0.2s;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
}
header img[alt="Futuron Wohlfit"] {
  height: 54px;
  margin-right: 25px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: 28px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #194E63;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a:hover {
  background: #7ECE90;
  color: #fff;
  box-shadow: 0 2px 8px #7ECE9022;
}
.cta-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  background: #7ECE90;
  color: #fff !important;
  border: none;
  border-radius: 16px;
  padding: 14px 30px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 18px #7ECE9026, 0 0 0 #3083A6;
  transition: background 0.16s, box-shadow 0.18s, transform 0.16s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #194E63;
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 5px 24px #1db4b418, 0 0 0 2px #7ECE90;
}

/* ======== MOBILE MENU ========= */
.mobile-menu-toggle {
  display: none;
  background: #7ECE90;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-left: 10px;
  z-index: 102;
  transition: background 0.19s, box-shadow 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #194E63;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF;
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 54px 0;
  box-shadow: 0 0 70px 0 rgba(25,78,99,0.20);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  background: #F24B8B;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 12px 18px;
  border-radius: 10px;
  align-self: flex-end;
  margin: 24px 24px 8px 0;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 10px #F24B8B20;
}
.mobile-menu .mobile-menu-close:hover {
  background: #E91E63;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 24px 32px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #194E63;
  background: none;
  border-radius: 10px;
  padding: 12px 6px 12px 7px;
  width: 100%;
  transition: background 0.21s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #7ECE90;
  color: #fff;
}

@media (max-width: 1024px) {
  header .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== FOOTER ========= */
footer {
  background: #194E63;
  color: #fff;
  padding: 38px 0 22px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex: 1 1 260px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-nav a {
  color: #E2FADF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.93;
  border-radius: 6px;
  padding: 7px 10px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: #7ECE90;
  color: #194E63;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.98rem;
  background-color: #E2FADF;
  color: #fff;
  flex: 1 1 230px;
  min-width: 160px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-nav {
    gap: 18px;
    font-size: 1rem;
    margin-bottom: 5px;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
}

/* ========== FORMS & CONTACT ========= */
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.contact-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EFFFEB;
  border-radius: 13px;
  padding: 10px 16px;
  font-size: 1.04rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 10px #7ece9030;
  margin-bottom: 8px;
}
.contact-field img {
  width: 26px;
  height: 26px;
  margin-right: 6px;
}
@media (max-width: 700px) {
  .contact-details {
    flex-direction: column;
    gap: 14px;
  }
}

/* ========== MISC. SECTIONS ======= */
.user-stories {
  background: #fff6e7;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  color: #194E63;
  box-shadow: 0 0.5px 10px #ffdeae33;
}
ul li, ol li {
  margin-bottom: 12px;
  font-size: 1.02rem;
}

/* ========== COOKIE BANNER ========= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fffbe7;
  color: #194E63;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 18px 18px;
  box-shadow: 0 -4px 18px #f2af291f;
  z-index: 5000;
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
  animation: cookieBannerIn 0.63s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 200px;
  font-size: 1.04rem;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  margin-left: 10px;
  margin-right: 0;
  background: #7ECE90;
  color: #fff;
  transition: background 0.18s, box-shadow 0.16s, color 0.11s;
  box-shadow: 0 1.5px 8px #7ece9021;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #194E63;
  color: #fff;
}
.cookie-btn.reject {
  background: #F24B8B;
}
.cookie-btn.reject:hover {
  background: #E91E63;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%) scale(0.98);
  background: #fff;
  color: #194E63;
  padding: 34px 28px 28px 28px;
  border-radius: 26px;
  box-shadow: 0 0 60px #7ece9036, 0 0 0 1.5px #7ECE90;
  z-index: 6000;
  width: 95%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  animation: cookieModalIn 0.55s cubic-bezier(.72,0,.2,1);
}
@keyframes cookieModalIn {
  from { transform: translate(-50%, 70%) scale(0.92); opacity: 0; }
  to { transform: translate(-50%, 50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 19px;
  color: #194E63;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-family: 'Montserrat', sans-serif;
}
.cookie-category label {
  font-weight: 600;
  color: #3083A6;
}
.cookie-category input[type="checkbox"] {
  accent-color: #1DB4B4;
  width: 1.25em;
  height: 1.25em;
}
.cookie-category.essential label::after {
  content: ' (immer aktiviert)';
  color: #7ECE90;
  font-size: 0.97em;
  font-weight: 500;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin: 0 0 11px 0;
}
.cookie-modal .cookie-btn:last-child{
  margin-bottom: 0;
}

/* ======== RESPONSIVE LAYOUTS ======== */
@media (max-width: 970px){
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 600px){
  .container {
    padding: 0 5px;
  }
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  h3 {
    font-size: 1.07rem;
  }
  .footer-nav {
    font-size: 0.94rem;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}
@media (max-width:440px) {
  .section {
    padding: 18px 3vw;
    margin-bottom: 28px;
  }
  header img[alt="Futuron Wohlfit"] {
    height: 44px;
  }
}

/* ===== PLAYFUL & DYNAMIC EFFECTS ===== */
@keyframes bounce-in {
  0%   { transform: scale(.9); opacity: 0; }
  60%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}
.card, .feature-item, .testimonial-card, .team-member, .contact-field {
  animation: bounce-in 0.85s cubic-bezier(.66,1.12,.66,1.13);
}
.cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-settings-btn {
  transition: background 0.15s, color 0.13s, transform 0.13s, box-shadow 0.19s;
}
a, button, .card, .cta-btn, .feature-item, .testimonial-card, .team-member {
  outline: none;
}

/* ======== FUN ACCENTS ========= */
.feature-item img, .testimonial-meta img, .contact-field img {
  filter: drop-shadow(0 0 2px #7ECE90);
  background: #e8ffd8;
  border-radius: 100%;
  padding: 6px;
}
.feature-item:hover img {
  transform: rotate(-18deg) scale(1.07);
  transition: transform 0.22s cubic-bezier(.6,1.14,.8,1.01);
}
.testimonial-meta img {
  background: #fff7ee;
  filter: drop-shadow(0 0 2.5px #F24B8B55);
}

/* FUNNY DOT PATTERNS FOR HEADERS */
section h2 {
  position: relative;
}
section h2::after {
  content: '';
  display: inline-block;
  width: 34px;
  height: 10px;
  background: repeating-linear-gradient(90deg, #F24B8B 0 8px, #E2FADF 8px 16px);
  border-radius: 4px;
  margin-left: 12px;
  vertical-align: middle;
}

/* ========= UTILITIES ========== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ========= PRINT STYLES ========= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section, .container { box-shadow: none !important; background: #fff !important; padding: 0 !important; }
  body { color: #121212; background: #fff !important; }
}

/* =================== END =================== */
