/* ============================================================
   RectoMocco Sportclubs – industrial_modern Style CSS
   Author: Senior CSS Dev (2024)
   ============================================================ */

/* --- 0. RESET & BASE TYPOGRAPHY -------------------------------------- */

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #23272c;
  color: #f3f3f3;
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  background-color: #23272c;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
main {
  flex: 1;
}
a {
  color: #4db749;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #EAEAEA;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
  margin: 16px 0;
}
dd, dl {
  margin: 0 0 16px 0;
}
hr {
  border: none;
  border-top: 1px solid #2d3137;
  margin: 32px 0;
}

/* --- 1. TYPOGRAPHY & HEADINGS -------------------------------------- */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  color: #F9F9F9;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.16;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #e6e8eb;
  font-weight: 700;
  letter-spacing: -0.8px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #B7BDC6;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #85A7C2;
  margin-bottom: 8px;
  font-weight: 600;
}
strong {
  font-weight: 700;
}
p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #f3f3f3;
}
small, .small-print {
  font-size: 0.89rem;
  color: #B7BDC6;
}

/* ========================== 2. LAYOUT WRAPPER ======================= */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========================== 3. HEADER & NAVIGATION ================== */
header {
  background: #191b20;
  box-shadow: 0 2px 8px rgba(14,17,23,0.19);
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
header img {
  height: 42px;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #B7BDC6;
  padding: 9px 15px;
  border-radius: 5px;
  transition: color 0.14s, background 0.17s;
  position: relative;
}
.main-nav a:not(.cta-primary):hover,
.main-nav a:not(.cta-primary):focus {
  color: #F9F9F9;
  background: #23272c;
}
.cta-primary {
  color: #fff !important;
  background: linear-gradient(90deg,#2e3842 50%, #4DB749 100%);
  background-color: #4DB749;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 12px 26px;
  margin-left: 14px;
  transition: background .2s, box-shadow .2s, color .2s;
  box-shadow: 0 4px 16px 0 rgba(77,183,73,0.07);
  text-shadow: 1px 1px 0 rgba(0,0,0,.09);
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #2e3842;
  color: #4db749 !important;
  box-shadow: 0 0 0 2px #4db749;
  text-decoration: none;
}

/* ======================= 4. MOBILE MENU / HAMBURGER ================ */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 2rem;
  color: #4db749;
  cursor: pointer;
  margin-left: 10px;
  align-items: center;
  z-index: 1102;
  transition: color .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #23272c;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1101;
  padding: 46px 20px 0 20px;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.8,.1,.2,1);
  box-shadow: 12px 0 32px 0 rgba(25,27,32,0.19);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 2rem;
  color: #B7BDC6;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1103;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #4db749;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 56px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  background: transparent;
  transition: background .19s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2e3842;
  color: #4db749;
}

@media (min-width: 941px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 940px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* ====================== 5. HERO SECTION =========================== */
.hero {
  background: #16191d url('../assets/bg-industrial-dark.jpg') center top/cover no-repeat;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid #4db749;
  box-shadow: 0 8px 32px 0 rgba(14,19,27,0.13);
  position: relative;
}
.hero .container {
  justify-content: center;
  align-items: flex-start;
  min-height: 320px;
}
.hero .content-wrapper {
  max-width: 560px;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #F9F9F9;
  font-size: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 1px 2px 10px rgba(25,27,32,0.25);
}
.hero p {
  color: #B7BDC6;
  font-size: 1.15rem;
}

/* ====================== 6. FLEXBOX SECTIONS & CARDS ================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #20242a;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(25,27,32,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #23272c;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(22,25,29,0.13);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid #373b40;
  min-width: 250px;
  max-width: 370px;
  transition: box-shadow .19s, border .19s, background .19s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(77,183,73,0.12);
  border: 1.5px solid #4db749;
  background: #232e23;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* --- Content layouts --- */
.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;
  background: #F9F9F9;
  color: #1e232a;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(106,112,120,0.11);
  min-width: 220px;
  max-width: 480px;
  border-left: 5px solid #4db749;
}
.testimonial-card p {
  color: #23272c;
  font-size: 1.1rem;
}
.testimonial-card span {
  display: block;
  color: #546173;
  font-size: .96rem;
  font-weight: 600;
  margin-top: 5px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #212226;
  padding: 24px 16px;
  border-radius: 11px;
  box-shadow: 0 1.5px 12px 0 rgba(18,24,30,.07);
  min-width: 210px;
  margin-bottom: 18px;
}

/* --- Features section / Icons grid (index) --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature {
  background: #20242a;
  border-radius: 13px;
  border: 1px solid #2c323a;
  box-shadow: 0 3px 18px 0 rgba(30,38,44,0.09);
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 170px;
  max-width: 280px;
  transition: box-shadow .16s, border .15s;
}
.feature img {
  width: 42px !important;
  height: 42px !important;
  margin-bottom: 10px;
}
.feature:hover, .feature:focus-within {
  border: 1px solid #4db749;
  box-shadow: 0 8px 18px 0 rgba(77,183,73,0.10);
}

/* --- USP and highlight lists --- */
.usp-list, .service-highlights, .benefit-points, .process-steps, .milestones, .brand-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 16px 0;
  list-style: none;
}
.usp-list li, .service-highlights li, .benefit-points li, .process-steps li, .milestones li, .brand-values li {
  color: #B7BDC6;
  font-size: 1.05rem;
  padding-left: 28px;
  position: relative;
  margin-bottom: 0;
}
.usp-list li::before, .service-highlights li::before, .benefit-points li::before, .process-steps li::before, .milestones li::before, .brand-values li::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #4db749;
  box-shadow: 0 1px 5px 0 rgba(77,183,73,.14);
}

/* --- FAQ, TIMELINE, SUPPORT --- */
.faq-block, .faq-list, .timeline, .support-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.faq-block > div, .faq-list > div {
  flex: 1 1 180px;
  min-width: 170px;
  background: #23272c;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 1.5px 8px 0 rgba(88,125,143,0.06);
  color: #f1f3f5;
}
.timeline {
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  background: #23272c;
  border-radius: 13px;
  padding: 22px 16px;
}
.timeline h3 {
  margin-bottom: 8px;
  color: #b7bdc6;
}
.timeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline ul li {
  position: relative;
  padding-left: 20px;
  color: #B7BDC6;
}
.timeline ul li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 7px;
  width: 10px; height: 10px;
  background: #4db749;
  border-radius: 50%;
}
.brand-values li {
  color: #60B381;
}

/* --- CONTACT & MAP --- */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-details li {
  color: #b7bdc6;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details img {
  width: 23px;
  height: 23px;
}
.map-embed {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #16191d;
  border-radius: 15px;
  margin-top: 18px;
  min-height: 180px;
}

/* --- SERVICE & LOCATION LISTS (sportplaetze-clubs) --- */
.service-list, .locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.service-list > div, .locations-list > div {
  background: #23272c;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(22,25,29,0.08);
  padding: 25px 16px;
  min-width: 210px;
  max-width: 340px;
}

.angebot-list, .memberships {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 16px 0;
  list-style: none;
}
.angebot-list li, .memberships li {
  color: #B7BDC6;
  padding-left: 22px;
  position: relative;
}
.angebot-list li:before, .memberships li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: #4db749;
}

/* --- THANK YOU PAGE --- */
.thank-you-message {
  background: #20242a;
  border: 1.5px solid #4db749;
  border-radius: 13px;
  box-shadow: 0 4px 24px 0 rgba(77,183,73,0.07);
  padding: 38px 20px;
  font-size: 1.17rem;
  color: #4db749;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin: 20px 0;
}

/* ======================== 7. BUTTONS & INTERACTIVE ================== */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: #4db749;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 12px 22px;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(77,183,73,0.10);
  transition: background .18s, color .18s, box-shadow .18s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #232e23;
  color: #4db749;
  box-shadow: 0 0 0 2px #4db749;
}

/* ========================= 8. FOOTER ============================= */
footer {
  background: #16191d;
  color: #e3e6ec;
  padding: 32px 0 24px 0;
  margin-top: 30px;
  border-top: 2.5px solid #373b40;
  box-shadow: 0 -2px 16px 0 rgba(20,20,22,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 7px;
}
.footer-links a {
  color: #b7bdc6;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.015em;
  font-weight: 600;
  transition: color .17s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #4db749;
}
.social-links {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  filter: grayscale(35%) brightness(96%) contrast(108%);
  transition: filter .17s;
}
.social-links a:hover img {
  filter: none;
}
.small-print {
  color: #72839a;
  font-size: .9rem;
}

/* ================== 9. COOKIE CONSENT BANNER & MODAL ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #23272c;
  color: #f9f9f9;
  z-index: 1300;
  box-shadow: 0 -2px 18px 0 rgba(25,27,32,0.17);
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-top: 3px solid #4db749;
  animation: cookieSlideUp .5s cubic-bezier(0,1,.57,1.35);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .banner-text {
  flex: 1 1 220px;
}
.cookie-banner .banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn, .cookie-banner button, .cookie-banner .button {
  background: #202f23;
  color: #4db749;
  border: 1.5px solid #4db749;
  border-radius: 11px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background .17s, color .17s, border .17s;
  cursor: pointer;
  margin-left: 0;
}
.cookie-banner .cookie-btn.cookie-accept {
  background: #4db749;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #4db749;
  color: #fff;
  border: 1.5px solid #232f23;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: transparent;
  color: #b7bdc6;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,35,39,0.81);
  z-index: 1400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.7,0,.62,1.2);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  width: 100%;
  max-width: 410px;
  background: #23272c;
  padding: 30px 24px 28px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -3px 38px 0 rgba(30,44,51,.24);
  margin-bottom: 0;
  color: #f9f9f9;
  animation: modalSlideIn .5s cubic-bezier(.6,.03,.42,1.24);
}
@keyframes modalSlideIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.28rem;
  color: #4db749;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: .01em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-preference-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #20242a;
  border-radius: 9px;
  padding: 10px 13px;
  margin-bottom: 13px;
  font-size: .98rem;
}
.cookie-preference-category .toggle {
  min-width: 38px; height: 21px;
  border-radius: 11px;
  background: #474b4f;
  position: relative;
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 1.5px solid #373b40;
}
.cookie-preference-category .toggle input {
  display: none;
}
.cookie-preference-category .slider {
  position: absolute;
  left: 3px; top: 2.5px;
  width: 16px; height: 16px;
  background: #b7bdc6;
  border-radius: 50%;
  transition: left .2s, background .18s;
}
.cookie-preference-category .toggle input:checked + .slider {
  left: 19px;
  background: #4db749;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  align-items: center;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 25px; top: 17px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #b7bdc6;
  cursor: pointer;
  z-index: 1410;
  transition: color .17s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #4db749;
}

/* ==================== 10. RESPONSIVE DESIGN ========================= */
@media (max-width: 1200px) {
  .container { max-width: 998px; }
}
@media (max-width: 990px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .features-grid, .card-container, .service-list, .locations-list, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 8px; }
  .section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
  .hero {
    min-height: 210px;
  }
  .hero h1 { font-size: 1.3rem; }
  .hero .content-wrapper { max-width: 100%; }

  .footer-links { gap: 14px; }
  .social-links { gap: 12px; }
}
@media (max-width: 550px) {
  .container { padding: 0 3px; }
  .section { padding: 19px 2px; }
  .hero { min-height: 120px; }
  .footer-links { gap: 6px; }
}

/* ===================== 11. HELPER/UTILITY SPACING =================== */
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }
.mt-28 { margin-top: 28px; }
.mb-28 { margin-bottom: 28px; }
.pb-10  { padding-bottom: 10px; }

/* ====================== 12. SCROLLBAR & APPEARANCE ====== */
body::-webkit-scrollbar {
  width: 10px;
  background: #191b20;
}
body::-webkit-scrollbar-thumb {
  background: #232e23;
  border-radius: 6px;
}

/* ===================== 13. INDUSTRIAL METALLIC EFFECTS =============== */
.card, .feature, .testimonial-card, .thank-you-message, .service-list > div, .locations-list > div {
  border-left: 5px solid #2e3842;
  box-shadow: 0 1.5px 16px 0 rgba(72,83,92,0.12), inset 1.5px 0 0 #4db749;
  position: relative;
  transition: border .18s, box-shadow .15s;
}
.card:hover, .feature:hover, .testimonial-card:hover, .service-list > div:hover, .locations-list > div:hover {
  border-left: 5px solid #4db749;
  box-shadow: 0 5px 20px 0 rgba(77,183,73,0.20), 0 1.5px 14px 0 rgba(72,83,92,0.14);
}

/* ===================== 14. FOCUS / ACCESSIBILITY ===================== */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid #4db749;
  outline-offset: 2px;
}
.cookie-btn:focus, .cookie-modal-close:focus {
  outline: 2px solid #F9F9F9;
  outline-offset: 2px;
}

/* ===================== 15. FONT IMPORTS ============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
