@import url("https://fonts.googleapis.com/css?family=Montserrat&display=swap");

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  overflow-x: hidden;
  max-width: 100vw;
}

.blacktext {
  color: black;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(34, 34, 34, 0.2);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 35px;
  right: 50px;
  z-index: 1100;
}

nav {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.header-address {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.header-address i {
  color: #d12c2c;
}

.header-address a {
  text-decoration: none;
  color: inherit;
}
/* ver. 1.1 */

/* ver. 1.1 */

.club-info {
  background: rgba(255, 255, 255, 0.05);

  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.club-info h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 16px;
  justify-content: center;
}

.location i {
  color: #d12c2c;
}

.location a {
  color: #12197e;
  text-decoration: none;
  font-weight: bold;
}

.location a:hover {
  text-decoration: underline;
}

.parking-link {
  display: flex;
  margin: 0 auto;
  background: none;
  border: none;
  color: #d12c2c;
  font-size: 14px;

  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 20px;
}

.parking-link:hover {
  text-decoration: none;
}

.schedule h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.schedule ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.schedule li {
  margin-bottom: 5px;
}

@media (max-width: 600px) {
  .club-info {
    padding: 20px 10px;
  }

  .club-info h2 {
    font-size: 20px;
  }

  .location {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .location a {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .header-address {
    justify-content: center;
    font-size: 15px;
  }

  .logo-container {
    text-align: center;
  }
}

#about {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;

  width: 100%;
  height: 100vh;
  position: relative;
}

#about::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../images/desktop-image.jpg") no-repeat center center/cover;
  z-index: -1;
}

#about .content {
  max-width: 40%;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  color: #f1c32a;
  /* color: #D4AF37; */
  border-radius: 10px;
  margin-right: 10px;
}

#about .content h1 {
  font-size: 2rem;
}

#about .content p {
  font-size: 1.4rem;
}

.section {
  padding: 20px 20px;
  text-align: center;

  position: relative;
  z-index: 2;
}

.bgw {
  background-color: white;
}

.bggr {
  background-color: #ebebeb;
}

h2 {
  font-size: 1.8rem;
}

.coach-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.coach-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 500px;
  text-align: center;
  transition: transform 0.3s;
}

.coach-card:hover {
  transform: translateY(-5px);
}

.coach-photo {
  width: 100%;
  height: 700px;
  object-fit: cover;
  background-color: #ddd;
}

.coach-info {
  padding: 20px;
}

.coach-name {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

.coach-description {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.partnerlist {
  display: flex;
  justify-content: space-around;
}
.forder {
  width: 30%;
}

.forder img {
  width: 100%;
}

.fleks {
  max-width: 800px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.tekste {
  vertical-align: middle;
  font-size: 1.6rem;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.flex_item {
  flex: 1;
  max-width: 50%;
  text-align: center;
}

.foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#WerdenPartner {
  text-align: right;
}

#news {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: left;
}

.news-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.news-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.news-content {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

.news-carousel {
  margin: 20px auto;

  border-radius: 8px;

  width: 600px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
}

.news-carousel img.active {
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
}

.carousel-images {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-image {
  transition: opacity 0.5s;

  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
}

.news-image.active {
  display: block;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.news-text {
  position: relative;
}

.full-text {
  display: none;
}
.short-text {
  display: block;
}
.toggle-text {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 14px;
}

.toggle-text:hover {
  text-decoration: underline;
}

.datencontainer {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* === Cookie Modal Overlay (desktop + mobile) === */

/* #cookie-banner {
  position: fixed;
  inset: 0; 
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, 0.6); 
  backdrop-filter: saturate(120%) blur(2px);
} */

/* #cookie-banner .cookie-banner__content {
  width: min(720px, 92vw);
  max-height: min(80vh, 1000px);
  overflow: auto;
  border-radius: 18px;
  background: #0b1220; 
  color: #e5e7eb; 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(148, 163, 184, 0.15); 
  padding: 20px 22px;
} */

/* #cookie-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: #ffffff;
}
#cookie-banner p {
  margin: 8px 0 14px;
  line-height: 1.5;
  color: #cbd5e1;
}
#cookie-banner a {
  color: #93c5fd;
  text-decoration: underline;
} */

/* .cookie-cats {
  display: grid;
  gap: 10px;
  margin: 12px 0 6px;
}
.cookie-cats label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  border: 1px solid #334155;
  padding: 10px 12px;
  border-radius: 10px;
} */

/* .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.btn {
  padding: 0.65rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  background: #e5e7eb;
  color: #0b1220;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease,
    border-color 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: #1d4ed8;
  color: #fff;
}
.btn--primary:hover {
  background: #1e40af;
}

.btn--ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: #475569;
} */

/* .cookie-settings {
  margin-top: 10px;
  padding: 12px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
} */

/* .cookie-preferences {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 9998;
  background: #0b1220;
  color: #fff;
  border: 1px solid #334155;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
} */

/* @media (max-width: 520px) {
  #cookie-banner .cookie-banner__content {
    width: 94vw;
    padding: 16px;
    border-radius: 14px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
} */

/* html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
}

#cookie-preferences {
  all: unset; 
  cursor: pointer;
  color: #93c5fd; 
  font-size: 0.95rem;
  text-decoration: underline;
  transition: color 0.2s ease;
  margin-left: 0.5rem; 
}

#cookie-preferences:hover {
  color: #60a5fa; 
}

#cookie-preferences:focus {
  outline: none;
  text-decoration: underline;
  color: #bfdbfe;
} */

@media (max-width: 768px) {
  #about::before {
    background: url("../images/mobile-image.jpg") no-repeat center center/cover;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    left: 0;
    right: 0;
  }

  body {
    font-size: 16px;
  }

  #about .content h2 {
    font-size: 1.8rem;
  }

  #about .content p {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background: rgba(34, 34, 34, 0.4);
    position: absolute;
    top: 60px;
    width: 100%;
    padding: 10px 0;
    left: 0;
  }

  .nav-list.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
  }
  .section {
    padding: 10px 0px;
    text-align: center;
  }
  #about {
    justify-content: center;
    text-align: center;
  }

  #about .content {
    max-width: 90%;
    margin: 0px;
  }

  h2 {
    font-size: 1.4rem;
  }

  .news-carousel {
    margin: 10px auto;

    width: 100%;
    height: 400px;
  }

  .partnerlist {
    flex-direction: column;
    justify-content: center;
  }
  .forder {
    width: 80%;
    margin: 0 auto;
  }

  .forder img {
    width: 100%;
  }

  .hide {
    display: none;
  }

  .fleks {
    display: flex;
    flex-direction: column;
  }

  .flex_item {
    max-width: 90%;
  }

  .tekste {
    vertical-align: middle;
    font-size: 1.2rem;
    width: 80%;
    margin: 0 auto;
  }
  .datencontainer {
    width: 90%;
    margin: 0 auto;
  }
}

@media (prefers-color-scheme: dark) {
  #about::before {
    background: url("../images/mobile-image.jpg") no-repeat center center/cover;
    filter: brightness(1.1);
  }

  #about .content {
    background: rgba(0, 0, 0, 0.6);
  }
}

/* === Footer modern === */
.footer {
  background: #0b1220;
  color: #e2e8f0;
  padding: 20px 20px 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer__inner {
  max-width: 900px;
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

.footer__col {
  min-width: 180px;
  flex: 1 1 200px;
}

.footer__col h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #f8fafc;
  font-weight: 600;
}

.footer__col p {
  margin: 0;
  line-height: 1.6;
}

.footer__col a,
#cookie-preferences {
  color: #93c5fd;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  transition: color 0.2s ease;
}

.footer__col a:hover,
#cookie-preferences:hover {
  color: #60a5fa;
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer__logo {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
  opacity: 0.85;
}

/* === Mobile layout === */
@media (max-width: 700px) {
  .footer__inner {
    gap: 30px;
    justify-content: center;
    text-align: center;
  }
  .footer__col {
    flex: 1 1 100%;
  }
  .footer__col h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .footer__bottom {
    font-size: 0.85rem;
  }
}
