/* =====================
   Fellfreunde Hamburg | style.css
   Warm & Friendly, Responsive, Modern UI
   ===================== */

/* =============== 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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F0EC;
  color: #375259;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  /* fallback for older browsers */
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #375259;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B8724B;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1em;
  padding-left: 0;
}

/* =============== BRAND FONTS ================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #375259;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, .text-section {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #375259;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* =============== CONTAINERS & WRAPPERS ================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =============== SPACING & FLEXBOX PATTERNS ================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(55, 82, 89, 0.08);
  padding: 32px 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(183, 114, 75, 0.12);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 28px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px 0 rgba(55, 82, 89, 0.07);
  border-left: 6px solid #B8D8C0;
  transition: box-shadow 0.23s;
  max-width: 650px;
}
.testimonial-card p {
  color: #375259;
  font-size: 1.13rem;
}
.testimonial-card strong {
  color: #B8724B;
  font-weight: 700;
}
.testimonials .testimonial-card:not(:last-child) {
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============== HEADER & NAVIGATION ================ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(55, 82, 89, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header a img {
  height: 42px;
  width: auto;
  border-radius: 12px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #375259;
  padding: 8px 0;
  border-radius: 7px;
  transition: background 0.16s, color 0.18s;
}
header nav a.active,
header nav a:hover,
header nav a:focus {
  background: #B8D8C0;
  color: #B8724B;
}
.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #B8724B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  box-shadow: 0 2px 12px 0 rgba(183, 114, 75, 0.13);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.2s, transform 0.12s;
  text-align: center;
}
.button-primary:hover, .button-primary:focus {
  background: #A35B34;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(183, 114, 75, 0.17);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #B8724B;
  cursor: pointer;
  z-index: 100;
  padding: 3px 12px;
  border-radius: 50%;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFECE2;
}

/* =============== MOBILE MENU ================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(55,82,89, 0.95);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.73,.2,.34,1.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 36px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  align-self: flex-end;
  z-index: 1340;
  transition: color 0.15s;
  border-radius: 50%;
  padding: 3px 11px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #B8D8C0;
  background: rgba(184,216,192,0.20);
}
.mobile-nav {
  width: 100%;
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  padding: 12px 24px 12px 0;
  border-radius: 14px;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B8724B;
  color: #fff;
}
@media (max-width: 1023px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============== HERO & CTA ================ */
.hero {
  background: #B8D8C0;
  border-radius: 0 0 48px 48px;
  padding: 58px 0 56px 0;
  min-height: 350px;
  box-shadow: 0 8px 36px 0 rgba(184, 216, 192, 0.19);
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hero h1 {
  color: #375259;
  font-size: 2.7rem;
}
.hero p {
  color: #375259;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.cta {
  background: #B8D8C0;
  border-radius: 40px;
  padding: 46px 0 36px 0;
  text-align: center;
  margin-top: 52px;
  margin-bottom: 0;
  box-shadow: 0 8px 24px 0 rgba(184,216,192,0.09);
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}
.cta h2 {
  font-size: 2rem;
  color: #375259;
}
.cta p a {
  color: #B8724B;
  font-weight: 600;
  word-break: break-all;
}

/* =============== FEATURE & LIST SECTIONS ================ */
ul {
  list-style: none;
  padding-left: 0;
}
.section ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #375259;
  border-radius: 12px;
  padding: 6px 0;
}
.section ul li img {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  flex-shrink: 0;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  padding-left: 0;
}
.service-list li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(55,82,89,0.09);
  flex: 1 1 296px;
  min-width: 260px;
  max-width: 330px;
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: box-shadow 0.2s;
}
.service-list li:hover, .service-list li:focus {
  box-shadow: 0 8px 28px 0 rgba(183, 114, 75, 0.10);
}
.service-list h3 {
  font-size: 1.18rem;
  color: #375259;
}
.service-list span {
  color: #B8724B;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}

/* =============== TABLES (PRICES) ================ */
table {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 15px 0 rgba(55, 82, 89, 0.07);
  border-collapse: collapse;
}
thead {
  background: #B8D8C0;
}
thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #375259;
  font-size: 1.15rem;
  padding: 15px 10px;
}
tbody td {
  color: #375259;
  font-size: 1.03rem;
  padding: 14px 10px;
  border-top: 1px solid #F5F0EC;
}
tbody tr:nth-child(even) td {
  background: #FAFAF7;
}
tbody tr:hover td {
  background: #B8D8C0;
  color: #375259;
  transition: background 0.18s;
}

/* =============== FOOTER ================ */
footer {
  background: #375259;
  color: #fff;
  padding: 44px 0 32px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 0 40px 0 rgba(55, 82, 89, .09);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 1 1 124px;
}
.footer-logo img {
  width: 64px;
  height: auto;
  border-radius: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 170px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.96;
  border-radius: 7px;
  padding: 6px 0;
  transition: color 0.13s, background 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #B8D8C0;
  background: rgba(184,216,192,0.08);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #F5F0EC;
}
.contact-info img {
  width: 20px;
  height: 20px;
  opacity: 0.90;
}
.contact-info a {
  color: #B8D8C0;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-info a:hover, .contact-info a:focus {
  color: #fff;
}
.hours {
  margin-top: 16px;
  font-size: 1rem;
  color: #B8D8C0;
  font-weight: 500;
}

/* =============== MISC. LAYOUTS ================ */
.text-section {
  padding: 0;
  margin-bottom: 18px;
}
.text-section ul {
  margin-bottom: 0;
}
.next-steps {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 12px 0 rgba(184,216,192,0.10);
  padding: 18px 22px;
  margin: 20px 0 18px 0;
}
.next-steps h3 {
  font-size: 1.08rem;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
}

/* ========== COOKIE CONSENT BANNER & MODAL ============= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #B8724B;
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -4px 24px 0 rgba(55, 82, 89, 0.09);
  padding: 24px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: cookieSlideUp .6s cubic-bezier(.7, .26, .26, 1);  
}
@keyframes cookieSlideUp {
  0% { transform: translateY(80px); opacity: 0.3; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner-text {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 28px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #B8D8C0;
  color: #375259;
  box-shadow: 0 2px 11px 0 rgba(184, 216, 192, 0.09);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #B8724B;
  box-shadow: 0 2px 20px 0 rgba(184, 216, 192, 0.13);
}
.cookie-btn.reject {
  background: #fff;
  color: #B8724B;
  border: 2px solid #B8724B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD7C2;
  color: #375259;
}
.cookie-settings-btn {
  background: #375259;
  color: #B8D8C0;
  border: 2px solid #B8D8C0;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #B8D8C0;
  color: #375259;
}
/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(55, 82, 89, 0.67);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #375259;
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(183, 114, 75, 0.14);
  width: 95vw;
  max-width: 420px;
  padding: 38px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: cookieModalPop .52s cubic-bezier(.85,.08,.24,1.14);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.91); opacity: 0.34; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #B8724B;
  font-size: 1.22rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 7px 0;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #B8D8C0;
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-essential {
  color: #375259;
  font-weight: 600;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #B8724B;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #375259;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1023px) {
  .container {
    max-width: 100vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 850px) {
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .contact-details {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
  .hero {
    border-radius: 0 0 32px 32px;
    padding: 36px 0 38px 0;
    min-height: 210px;
  }
  .cta {
    border-radius: 22px;
    padding: 26px 0 24px 0;
    margin-top: 34px;
  }
  header .container {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.37rem;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section, .contact-details {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .button-primary, .cookie-btn, .cookie-settings-btn {
    padding: 9px 16px;
    font-size: 0.97rem;
  }
  .service-list li {
    padding: 17px 9px;
    font-size: 0.97rem;
  }
}

/* ===================== FLEXBOX OVERRIDES ===================== */
/* All pattern classes already use Flexbox only, gap handles spacing. No grid or columns used. */

/* ===================== UTILITIES ===================== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* =============== MICRO-INTERACTIONS & HOVER STATES =============== */
.card,
.service-list li,
.button-primary,
footer nav a,
.tbody tr {
  transition: box-shadow 0.18s, background 0.15s;
}
.button-primary:active {
  transform: translateY(1px) scale(0.98);
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 12px 24px 0 rgba(183, 114, 75, 0.15);
  border-left: 6px solid #B8724B;
}

/* =============== COLORS & ACCESSIBILITY =============== */
/* Testimonial cards on all backgrounds get #fff base with dark text, solid accent border */
.testimonial-card p, .testimonial-card strong {
  color: #375259;
}

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