/* --- Fellfreunde Köln Vibrant Energetic CSS --- */
/* RESET & BASE ----------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222831;
  background-color: #F7EABE;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #5470A9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #57C5B6;
}
ul, ol {
  padding-left: 24px;
}

/* --- FLEXBOX LAYOUT UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(53,82,120,0.09);
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(53,82,120,0.25);
  z-index: 2;
}
.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;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(53,82,120,0.12);
  border-left: 6px solid #A1C298;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(53,82,120,0.15);
  transition: box-shadow 0.18s, border-color 0.2s;
  min-width: 230px;
  margin-bottom: 20px;
}
.feature-item:hover {
  box-shadow: 0 6px 24px 0 rgba(53,82,120,0.20);
  border-color: #57C5B6;
  z-index: 1;
}


/* --- HEADER NAVIGATION & BRANDING --- */
header {
  background: #355278;
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(53,82,120,0.16);
  position: relative;
  z-index: 100;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo-link img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #FFF;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F7EABE;
  border-bottom: 2px solid #F7EABE;
}
.cta-button {
  background: #A1C298;
  color: #355278;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  margin-left: 26px;
  box-shadow: 0 2px 10px 0 rgba(161,194,152,0.12);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
  outline: none;
}
.cta-button:hover,
.cta-button:focus {
  background: #57C5B6;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(161,194,152,0.20);
  transform: scale(1.06);
}
/* Hide mobile menu button by default */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.15rem;
  color: #F7EABE;
  padding: 6px 15px;
  cursor: pointer;
  margin-left: 20px;
  transition: color 0.18s, background 0.22s;
  border-radius: 40px;
  outline: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #A1C298;
  color: #355278;
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #355278;
  z-index: 9990;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8, .085, .22, 1.01);
  display: flex;
  flex-direction: column;
  padding: 42px 28px 28px 28px;
  box-shadow: 2px 0 32px 0 rgba(53,82,120,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #F7EABE;
  margin-bottom: 26px;
  cursor: pointer;
  transition: color 0.15s, background 0.18s;
  border-radius: 40px;
  outline: none;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #A1C298;
  color: #355278;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.24rem;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  padding: 15px 0 15px 9px;
  border-radius: 12px;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A1C298;
  color: #355278;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .cta-button {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- HERO / HEADING / CONTENT BLOCKS --- */
h1, h2, h3, h4, h5, h6 {
  color: #355278;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  text-shadow: 0 1px 0 #F7EABE, 0 2px 6px #A1C29825;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 13px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.20rem;
  letter-spacing: 0.01em;
  color: #57C5B6;
  margin-bottom: 22px;
  font-weight: 600;
}
.text-section {
  margin-bottom: 60px;
  padding: 22px 0;
}
.text-section ul,
.text-section ol {
  margin-top: 12px;
  margin-bottom: 16px;
}
.text-section li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #355278;
  font-weight: 600;
  list-style-type: disc;
}
.text-section li strong {
  font-weight: 800;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item h3 {
  color: #5470A9;
  font-weight: 800;
  margin-bottom: 5px;
}
.feature-item p {
  font-size: 1rem;
}

/* --- SERVICE LIST PAGE --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.service-item {
  background: #fff;
  border-left: 5px solid #57C5B6;
  border-radius: 11px;
  padding: 22px 18px;
  box-shadow: 0 1px 10px 0 rgba(53,82,120,0.10);
  min-width: 240px;
  flex: 1 1 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s;
}
.service-item:hover {
  box-shadow: 0 4px 18px 0 rgba(53,82,120,0.18);
}
.service-item h2 {
  font-size: 1.12rem;
  color: #57C5B6;
  margin-bottom: 3px;
}
.service-item p{
  font-size: 1rem;
  color: #355278;
}


/* --- TABLES --- */
table {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 7px 0 rgba(53,82,120,0.09);
  font-size: 1rem;
}
table tbody tr:nth-child(even) {
  background: #F7EABE88;
}
table td {
  padding: 16px 12px;
  border-bottom: 1px solid #A1C29850;
  color: #355278;
}
table tr:last-child td {
  border-bottom: none;
}

/* --- CONTACT BLOCK --- */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 22px 0 20px 0;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  color: #57C5B6;
  font-weight: 700;
  font-size: 1.08rem;
}
.contact-detail img {
  width: 27px;
  height: 27px;
  filter: drop-shadow(0 1px 1px #35527816);
}
.contact-detail a {
  color: #355278;
  font-weight: 700;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  position: relative;
  background: #fff;
  color: #355278;
  box-shadow: 0 2px 12px 0 rgba(53,82,120,0.13);
  border-radius: 16px;
  border-left: 6px solid #A1C298;
  margin-bottom: 20px;
  padding: 22px 22px 15px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 650px;
  min-width: 0;
  word-break: break-word;
}
.testimonial-card blockquote {
  color: #355278;
  font-size: 1.18rem;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.testimonial-card .testimonial-name {
  font-size: 1rem;
  color: #57C5B6;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}

/* --- FOOTER --- */
footer {
  background: #355278;
  color: #fff;
  padding: 0 0 10px 0;
  box-shadow: 0 -4px 18px 0 rgba(53,82,120,0.12);
  position: relative;
  width: 100%;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 20px 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menu a {
  color: #F7EABE;
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #A1C298;
}
.footer-brand img {
  width: 65px;
  height: auto;
  margin-bottom: 12px;
}
.footer-contact {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 400;
  min-width: 210px;
  margin-bottom: 5px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: bottom;
  margin-right: 6px;
}
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-socials a img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1px 1px #A1C29860);
  transition: filter 0.13s, opacity 0.16s;
}
.footer-socials a:hover img {
  filter: drop-shadow(0 0 8px #F7EABE);
  opacity: 0.8;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #355278;
  color: #FFF;
  padding: 32px 18px 18px 18px;
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 4000;
  box-shadow: 0 -4px 24px 0 rgba(53,82,120,0.20);
  animation: cookieSlideIn 0.4s cubic-bezier(.7,.2,.15,1.01);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  flex-wrap: wrap;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 230px;
  color: #FFF;
  font-size: 1.02rem;
  min-width: 180px;
}
.cookie-banner-buttons {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-banner button {
  border: none;
  border-radius: 14px;
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.13s;
  margin-right: 4px;
  outline: none;
  box-shadow: 0 1px 4px 0 #A1C29830;
}
.cookie-banner .cookie-accept {
  background: #A1C298;
  color: #355278;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: #57C5B6;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #A1C298;
  border: 1.5px solid #A1C298;
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: #F7EABE;
  color: #355278;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #F7EABE;
  border: 1.5px solid #F7EABE;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #A1C298;
  color: #355278;
  border-color: #A1C298;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(53,82,120,0.72);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.35s cubic-bezier(.7,.25,.33,1.05);
}
@keyframes fadeInModal {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  padding: 36px 30px 28px 30px;
  border-radius: 20px;
  max-width: 440px;
  color: #355278;
  box-shadow: 0 6px 32px 0 rgba(53,82,120,0.21);
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: left;
  min-width: 320px;
}
.cookie-modal-title {
  font-size: 1.36rem;
  font-family: 'Nunito','Open Sans',Arial,sans-serif;
  font-weight: 800;
  margin-bottom: 14px;
  color: #355278;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category-label {
  font-size: 1.04rem;
  font-weight: 700;
}
.cookie-category-switch {
  width: 40px;
  height: 20px;
  background: #A1C298;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.22s;
}
.cookie-category-switch input[type="checkbox"] {
  display: none;
}
.cookie-category-switch .cookie-switch-toggle {
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #fff;
  transition: left 0.18s;
}
.cookie-category-switch input[type="checkbox"]:checked + .cookie-switch-toggle {
  left: 22px;
  background: #57C5B6;
}
.cookie-category-switch input[type="checkbox"]:disabled + .cookie-switch-toggle {
  background: #ccc;
}
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .cookie-accept {
  background: #A1C298;
  color: #355278;
}
.cookie-modal .cookie-accept:hover,
.cookie-modal .cookie-accept:focus {
  background: #57C5B6;
  color: #fff;
}
.cookie-modal .cookie-reject {
  background: #fff;
  color: #A1C298;
  border: 1.5px solid #A1C298;
}
.cookie-modal .cookie-reject:hover,
.cookie-modal .cookie-reject:focus {
  background: #F7EABE;
  color: #355278;
}
.cookie-modal .cookie-close {
  background: transparent;
  color: #355278;
  border: 1.5px solid #A1C298;
}
.cookie-modal .cookie-close:hover,
.cookie-modal .cookie-close:focus {
  background: #A1C298;
  color: #fff;
}

/* --- TYPOGRAPHY --- */
body, p, ul, li, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
}
strong, b {
  font-weight: 800;
}

/* --- GENERAL SPACING & CARD RULES --- */
.content-wrapper {
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* --- ANIMATIONS / INTERACTIONS --- */
.card, .feature-item, .service-item, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .feature-item:hover, .service-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(53,82,120,0.18);
  transform: translateY(-4px) scale(1.02);
}
.cta-button:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.97);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
  }
  .footer-container {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .header-container {
    flex-wrap: wrap;
    gap: 16px;
    padding: 13px 0;
  }
  .footer-container {
    flex-wrap: wrap;
    gap: 14px;
  }
  .contact-block {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section, .text-section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 1.62rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 26px 7px 10px 7px;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card, .feature-item, .service-item {
    max-width: 99vw;
  }
  .content-grid, .contact-block {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card {
    padding: 15px 10px 12px 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 23px 9px 9px 9px;
    font-size: 0.95rem;
  }
  .cookie-banner-buttons {
    gap: 8px;
  }
  .cookie-modal {
    padding: 20px 10px 12px 10px;
    min-width: 0;
    max-width: 98vw;
  }
}
@media (max-width: 420px){
  h1 { font-size: 1.23rem; }
  h2 { font-size: 0.99rem; }
  .footer-contact {font-size: 0.9rem;}
}

/* --- MISCELLANEOUS --- */
::-webkit-scrollbar {
  width: 8px;
  background: #F7EABE;
}
::-webkit-scrollbar-thumb {
  background: #A1C298;
  border-radius: 6px;
}
::selection {
  background: #A1C298;
  color: #fff;
}

/* Focus styles for accessibility */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #A1C298;
  outline-offset: 2px;
}

/* --- END OF STYLESHEET --- */
