:root {
  --blue: #0a3d62;
  --white: #ffffff;
  --black: #1a1a1a;
  --grey: #f5f5f5;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--grey);
  color: var(--black);
}

/* Header */
header {
  background: var(--blue);
  color: var(--white);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
}

.logo {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  background: url('images/logo_original.png') center no-repeat;    
  color: var(--white);
  text-align: center;
  font-weight: bold;
  padding: 6rem 1rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  font-weight: bold;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

/* hinten */
.hinten {
  background: url('images/court.png') center/cover no-repeat;    
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem;
  font-weight: bold;
  position: relative;
}

.hinten::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hinten-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hinten h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hinten p {
  font-size: 1.2rem;
}

/* hintenm */
.hintenm {
  background: url('images/meister2.jpg') center/cover no-repeat;    
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem;
  font-weight: bold;
  position: relative;
}

.hintenm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hintenm-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hintenm h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hintenm p {
  font-size: 1.2rem;
}


/* Main grid */
.maingrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  background: var(--white);
}

.maingrid article {
  background: var(--grey);
  border: 2px solid var(--blue);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
}

.btn:hover {
  background: #32cd32;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 1rem 0;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 600px) {
  .footer-flex {
    flex-direction: row;
    justify-content: space-between;
  }
}
