/* ------------------------------
   Network Masters 2025 – Style
   Author: Pascal Vollrath
--------------------------------*/

/* === Farbpalette ===
   Navy-Blau: #0b1b2b
   Orange: #f28c28
   Weiß: #f4f4f4
   Grau: #d9d9d9
*/

:root {
  --bg-dark: #0b1b2b;
  --accent: #f28c28;
  --text-light: #f4f4f4;
  --text-muted: #d9d9d9;
  --font-head: "Oswald", "Montserrat", sans-serif;
  --font-body: "Inter", "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === Hero Section === */
header {
  text-align: center;
  padding: 60px 20px 60px;
  background: radial-gradient(circle at 50% 20%, #122840 0%, #0b1b2b 80%);
}


header img {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
}

header h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: var(--text-light);
  text-transform: uppercase;
}

header p {
  color: var(--text-muted);
  max-width: 900px;          /* ← vorher 600px */
  margin: 10px auto 0;
  font-size: 1.15rem;        /* etwas größer für bessere Lesbarkeit */
  line-height: 1.5;
}


/* === Formular-Container === */
section.form {
  background: #11233b;
  padding: 40px 20px 80px;
  border-top: 4px solid var(--accent);
}

form {
  background: #0e1d30;
  padding: 25px 30px;
  border-radius: 10px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255,255,255,0.05);
}

form h2 {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-size: 1.8rem;
  text-align: center;
}

/* === Eingabefelder === */
label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--text-light);
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 5px;
  border: 1px solid #243850;
  background: #14283e;
  color: var(--text-light);
  font-size: 15px;
}

input::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* === Checkboxen links vom Text schön ausgerichtet === */
.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent); /* moderne Browser: farbiges Häkchen */
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}


/* === Button === */
button {
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 5px;
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 25px;
  cursor: pointer;
  transition: 0.25s all ease;
}

button:hover {
  background: #ffa94d;
  transform: scale(1.03);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 25px 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b1b2b;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 5px;
  font-weight: 600;
  transition: color 0.25s ease;
}

footer a:hover {
  text-decoration: underline;
  color: #ffa94d;
}


/* === Responsiveness === */
@media (max-width: 600px) {
  header {
    padding: 60px 15px 30px;
  }
  header h1 {
    font-size: 2rem;
  }
  form {
    padding: 20px;
  }
}

/* === SPONSOR SECTION === */
.sponsors {
  background: linear-gradient(180deg, #0b1b2b 0%, #12263c 100%);
  border-top: 3px solid var(--accent);
  padding: 60px 20px 70px;
  text-align: center;
  position: relative;
}

.sponsors-inner {
  max-width: 900px;
  margin: 0 auto;
}

.sponsors h3 {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.sponsors h3::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: var(--accent);
  margin: 8px auto 0;
  border-radius: 2px;
  opacity: 0.6;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.sponsor-logos img {
  height: 70px;
  width: auto;
  filter: brightness(1.2);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sponsor-logos img:hover {
  transform: scale(1.08);
  filter: brightness(1.5) drop-shadow(0 0 10px rgba(242,140,40,0.4));
}

/* Responsive Anpassung */
@media (max-width: 600px) {
  .sponsor-logos {
    flex-direction: column;
    gap: 30px;
  }
  .sponsor-logos img {
    height: 60px;
  }
}
/* === MODAL / LIGHTBOX === */
.modal {
  display: none; /* Standard: versteckt */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.75);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #0e1d30;
  color: var(--text-light);
  margin: 60px auto;
  padding: 30px 40px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  max-width: 700px;
  box-shadow: 0 0 25px rgba(242, 140, 40, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-content h2 {
  color: var(--accent);
  font-family: var(--font-head);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.modal-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.close {
  color: var(--accent);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.close:hover {
  color: #ffa94d;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === CONTENT-BEREICH (Impressum / Datenschutz) === */
section.content {
  background: #11233b;
  padding: 60px 20px 100px;
  border-top: 3px solid var(--accent);
}

.content-inner {
  max-width: 900px;
  margin: auto;
  background: #0e1d30;
  border-radius: 10px;
  padding: 40px 50px;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}

.content-inner h2 {
  color: var(--accent);
  font-family: var(--font-head);
  margin-top: 25px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.content-inner p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* === STATUSFARBEN FÜR RESPONSE-MODAL === */
#response-modal.success .modal-content {
  border-color: #28a745;
  box-shadow: 0 0 25px rgba(40, 167, 69, 0.5);
}
#response-modal.warning .modal-content {
  border-color: #f28c28;
  box-shadow: 0 0 25px rgba(242, 140, 40, 0.5);
}
#response-modal.error .modal-content {
  border-color: #dc3545;
  box-shadow: 0 0 25px rgba(220, 53, 69, 0.5);
}

/* Für bessere Lesbarkeit: Farbton im Text */
#response-modal.success h2 { color: #28a745; }
#response-modal.warning h2 { color: #f28c28; }
#response-modal.error h2 { color: #dc3545; }



