/* =====================================================
   CyanoBurst Sportnetz – Minimalist Flexbox CSS
   Author: Professional CSS/UI Designer
   ===================================================== */

/*================== CSS RESET & NORMALIZATION ==================*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: #fff;
  color: #202326;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #164263;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p { margin-top: 0; margin-bottom: 16px; }
ul, ol { margin: 0 0 16px 24px; padding: 0; }
li { margin-bottom: 8px; }
a {
  color: #164263;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #45A3C7;
  text-decoration: underline;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
}
button { cursor: pointer; transition: background 0.18s, color 0.15s, box-shadow 0.15s; }

/* Box model normalization */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*================== FLEXBOX LAYOUTS ==================*/
.content-wrapper,
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card { 
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(16,36,60,0.08);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.14s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(22,66,99,0.12);
  transform: translateY(-2px) scale(1.01);
}

.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: #f8fafb;
  box-shadow: 0 1px 8px rgba(16,36,60,0.06);
  border-radius: 10px;
  flex-direction: column;
  transition: box-shadow 0.13s;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #222;
}
.testimonial-card strong {
  color: #164263;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*================== HEADER & NAVIGATION ==================*/
header {
  background: #fff;
  border-bottom: 1px solid #eaf1f5;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 18px 0;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-weight: 500;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #164263;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background 0.13s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #f0f6fa;
  color: #45A3C7;
}
header .cta-btn {
  background: #164263;
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 28px;
  padding: 10px 26px;
  font-size: 1rem;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(22,66,99,0.08);
  transition: background 0.16s, box-shadow 0.17s, transform 0.11s;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: #45A3C7;
  color: #fff;
  box-shadow: 0 6px 18px rgba(69,163,199,0.10);
  transform: translateY(-1px) scale(1.01);
}

/* Logo */
header img {
  height: 42px;
  min-width: 112px;
}

/*================== CTA PRIMARY BUTTON ==================*/
.cta-primary {
  display: inline-block;
  background: #45A3C7;
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  line-height: 1;
  border-radius: 26px;
  padding: 13px 36px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  transition: background 0.20s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 1px 8px rgba(69,163,199,0.08);
}
.cta-primary:hover, .cta-primary:focus {
  background: #164263;
  color: #fff;
  box-shadow: 0 6px 18px rgba(22,66,99,0.09);
  transform: translateY(-1px) scale(1.015);
}


/*================== CARD, LIST, ICON LISTING ==================*/
.content-wrapper ul, .content-wrapper ol {
  margin-left: 1.2em;
  padding-left: 0;
}
.content-wrapper ul li, .content-wrapper ol li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.content-wrapper ul li img, .content-wrapper ol li img {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 0.15em;
}

/*================== FOOTER ==================*/
footer {
  background: #f9fafc;
  padding: 32px 0 18px;
  border-top: 1px solid #e9f1f4;
  font-size: 0.97rem;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #5c7a91;
  padding: 6px 2px;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #164263;
  text-decoration: underline;
}
footer small {
  color: #8da3b6;
  margin-top: 7px;
}

/*================== FORMS & INPUTS (if needed later) ==================*/
input, textarea, select {
  border: 1px solid #e2eaf1;
  border-radius: 6px;
  background: #fcfeff;
  color: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  width: 100%;
  margin-bottom: 16px;
  transition: border 0.13s;
}
input:focus, textarea:focus {
  border-color: #45A3C7;
}

/*================== MOBILE MAIN NAVIGATION ===================*/
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #164263;
  font-size: 2.1rem;
  border: none;
  padding: 6px 12px 3px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(22,66,99,0.04);
  transition: background 0.13s, box-shadow 0.13s;
  margin-left: 5px;
  z-index: 52;
}
.mobile-menu-toggle:focus { background: #f5f8fa; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 100;
  transform: translateX(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(0.44,0.09,0.52,1), opacity 0.27s;
  box-shadow: 0 2px 22px rgba(22,66,99,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  margin: 18px 22px 12px 0;
  color: #164263;
  border-radius: 7px;
  line-height: 1;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f5f8fa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
  padding: 8px 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #164263;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  padding: 13px 8px;
  border-radius: 5px;
  margin-bottom: 0;
  width: 100%;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #f0f6fa;
  color: #45A3C7;
}


/*================== COOKIE CONSENT BANNER ===================*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fafbfc;
  box-shadow: 0 -2px 12px rgba(22,66,99,0.07);
  color: #164263;
  z-index: 101;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 20px 22px;
  gap: 24px;
  font-size: 1rem;
  animation: cookie-slideup 0.6s;
}
@keyframes cookie-slideup {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  max-width: 700px;
  line-height: 1.5;
  font-size: 1.03rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: #164263;
  padding: 9px 22px;
  border-radius: 24px;
  border: 1px solid #dae4ea;
  margin-right: 3px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.13s, color 0.14s, box-shadow 0.13s;
  box-shadow: 0 1px 3px rgba(22,66,99,0.05);
}
.cookie-btn.accept {
  background: #45A3C7;
  color: #fff;
  border-color: #45A3C7;
}
.cookie-btn.reject {
  background: #fff;
  color: #164263;
}
.cookie-btn.settings {
  background: #FFD947;
  color: #164263;
}
.cookie-btn:focus, .cookie-btn:hover {
  box-shadow: 0 3px 10px rgba(22,66,99,0.08);
  outline: none;
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(22,66,99,0.22);
  z-index: 110;
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.16s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 6px 32px rgba(22,66,99,0.17);
  border-radius: 12px;
  padding: 36px 36px 30px 36px;
  max-width: 440px;
  width: 92vw;
  position: relative;
  color: #164263;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalpop 0.30s cubic-bezier(0.19,0.53,0.33,1.23);
}
@keyframes modalpop {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 9px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  cursor: pointer;
}
.cookie-modal .switch {
  position: relative;
  width: 40px; height: 22px;
  display: inline-block;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6eef4;
  border-radius: 16px;
  transition: background 0.15s;
}
.cookie-modal .switch input:checked + .slider {
  background: #45A3C7;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.14s;
  box-shadow: 0 2px 4px rgba(22,66,99,0.05);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(17px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  min-width: 84px;
}
.cookie-modal .cookie-category-desc {
  font-size: 0.97rem;
  color: #5c7a91;
  margin-left: 54px;
  margin-bottom: 11px;
}
.cookie-modal .cookie-required {
  font-size: 1rem;
  color: #8da3b6;
  margin-left: 13px;
  font-style: italic;
}

/*================== RESPONSIVE DESIGN ===================*/
@media (max-width: 1080px) {
  .container {
    max-width: 930px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.41rem; }
}

@media (max-width: 850px) {
  .container { max-width: 720px; }
  header .container { flex-wrap: wrap; }
  .content-grid, .card-container { gap: 15px; }
  .content-wrapper, .text-section { gap: 12px; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.15rem; }
  .container { max-width: 95vw; }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 11px 8px 11px 0;
  }
  footer {
    padding: 24px 0 16px 0;
    margin-top: 44px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 8px;
  }
  .content-wrapper, .text-section {
    gap: 8px;
    padding: 0;
  }
  .card,
  .testimonial-card {
    padding: 15px 10px;
    font-size: 0.98rem;
  }
  .content-grid, .card-container, .feature-item {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .mobile-menu-close { margin: 12px 13px 10px 0; }
}

@media (max-width: 640px) {
  .container { max-width: 99vw; padding: 0 6px; }
  h1, h2, h3 { margin-bottom: 9px; }
  .cta-btn, .cta-primary { font-size: 1rem; padding: 9px 10vw; }
  .cookie-modal { max-width: 99vw; padding: 28px 5vw 18px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 18px 7px 16px; font-size: 0.96rem; }
}

@media (max-width: 520px) {
  header img { min-width: 88px; height: 33px; }
  .footer .container { flex-direction: column; align-items: stretch; }
  footer nav { gap: 11px; flex-wrap: wrap; }
}

/*================== MOBILE NAVIGATION LAYOUT ===================*/
@media (max-width: 980px) {
  header nav { display: none; }
  header .cta-btn { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}

@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/*================== MISC & SUBTLE ANIMATIONS ==================*/
.card, .testimonial-card, .feature-item, .cookie-banner, .cookie-modal {
  will-change: box-shadow, opacity, transform;
}
.card, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.12s;
}
.cta-btn, .cta-primary, .cookie-btn {
  transition: background 0.16s, color 0.13s, box-shadow 0.13s, transform 0.11s;
}

/*================== A11Y FOCUS & SELECTION ==================*/
a:focus, 
button:focus, 
.cta-btn:focus, 
.cta-primary:focus, 
.cookie-btn:focus, 
.mobile-menu-close:focus {
  outline: 2px solid #FFD947;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #FFD94744;
}
::selection {
  background: #45A3C7;
  color: #fff;
}

/*================== BRAND COLOR HIGHLIGHTS ==================*/
.mark, mark, strong { color: #45A3C7; }

/*================== Z INDEX LAYERS ==================*/
.mobile-menu { z-index: 100; }
.cookie-banner { z-index: 101; }
.cookie-modal-backdrop { z-index: 110; }

/*================== PREVENT OVERLAP: GENERAL SPACING ==================*/
.section + .section, .content-wrapper + .content-wrapper, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 22px;
}
.card, .testimonial-card, .feature-item, .section {
  margin-bottom: 20px;
}

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