
/* === Modernes, responsives, futuristisches CSS für Schwimmschule Schuck === */

/* Grundfarben */
:root {
  --primary: #0077cc;
  --secondary: #00c2cb;
  --dark: #0a0a0a;
  --light: #f4f9ff;
  --text: #1f1f1f;
  --accent: #ff6f61;
  --highlight: #ffd700;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

header {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.logo {
  height: 60px;
}

.hero-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.modern-nav {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.nav-button {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.2s;
}

.nav-button:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

.nav-highlight {
  background-color: var(--highlight);
  color: black;
  font-weight: 700;
  border: 2px solid var(--accent);
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-image: url('images/main.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.about h2, .gallery h2, .form-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.form-section {
  background-color: #ffffff;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin-top: 2rem;
}

form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}

button[type="submit"] {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background-color: var(--accent);
}

footer {
  background-color: var(--dark);
  color: white;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-boxes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-box {
  background-color: #1f1f1f;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: background 0.3s;
}

.footer-box:hover {
  background-color: var(--primary);
}

/* HERO-Abschnitt */
.hero {
  background: linear-gradient(to bottom right, #f8f9fa, #e0e0e0);
  padding: 4rem 1rem;
  text-align: center;
}

/* CTA-Buttons */
a.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  margin: 0.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

a.cta-button:hover {
  transform: scale(1.05);
}

/* Farben gezielt setzen */
.cta-rot {
  background-color: #e63946;
  color: white;
}

.cta-blau {
  background-color: #457b9d;
  color: white;
}

/* Footer sauber zentrieren */
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive Buttons nebeneinander */
@media (max-width: 600px) {
  .gallery-grid .cta-button {
    display: block;
    width: 80%;
    margin: 0.5rem auto;
  }
}

@media (max-width: 600px) {
  /* Diese Regeln gelten NUR auf kleinen Geräten */
}
