/* ============================
   Farbvariablen
============================ */
:root {
    --rot-dunkel: #e63946;   /* Dunkelrot */
    --rot-hell:   #e63946;   /* Feuerrot */
    --gold:       #FFD700;   /* Akzentfarbe */
    --weiß:       #ffffff;
    --grau:       #f4f4f4;
    --schwarz:    #222;
}

/* ============================
   Allgemein
============================ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url("bilder/raute.svg") repeat;
    background-size: 120px 120px; /* hier die Größe der Rauten anpassen */
    min-height: 100vh;
}

h1, h2, h3 {
    color: var(--rot-dunkel);
    margin-bottom: 10px;
}

a {
    color: var(--rot-hell);
    text-decoration: none;
}
a:hover {
    color: var(--gold);
}

/* ============================
   Navigation
============================ */
nav {
    background: var(--rot-dunkel);
    color: var(--weiß);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.3rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--weiß);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Burger-Menü Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--weiß);
    cursor: pointer;
}

/* Mobile Menü */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: var(--rot-dunkel);
        padding: 10px;
        border-radius: 8px;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
    }

    .nav-links.active {
        display: flex;
    }
}

/* ============================
   Hero-Bild
============================ */
.hero {
    background: url('titelbild_otti_1920x500.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
	padding-right: 0%;
    color: var(--weiß);
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    background: #e63946;
	opacity: 0.7;
    padding: 15px 25px;
    border-radius: 12px;
	color: white;
}

/* ============================
   Inhalt
============================ */
section {
  position: relative;
  padding: 2rem;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 800px;
}

/* Ecken-Container */
.rand-links, .rand-rechts {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background-size: 40px 80px; /* Höhe = Abstand zwischen Symbolen */
}
.rand-links {
  left: 0;
  background-image: 
    url("bilder/brezel.svg"),
    url("bilder/edelweiss.svg");
  background-repeat: repeat-y;
  background-position: left top, left 40px;
}

.rand-rechts {
  right: 0;
  background-image: 
    url("bilder/edelweiss.svg"),
    url("bilder/brezel.svg");
  background-repeat: repeat-y;
  background-position: right top, right 40px;
}

section.info {
  position: relative;
  padding: 2rem 3.5rem; /* Platz für die Randdeko */
  margin: 2rem auto;
  max-width: 800px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
}
ul {
    padding-left: 20px;
}

/* ============================
   Buttons
============================ */
button, .btn {
    background: var(--rot-hell);
    color: var(--weiß);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover, .btn:hover {
    background: var(--weiß);
}
/* Formular-Container */
.anmeldung {
    margin: 60px auto;
    background: var(--weiß);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    text-align: left;
}

/* Überschrift */
.anmeldung h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--rot-dunkel);
}

/* Formular */
.anmelde-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Labels mit Icons */
.anmelde-form label {
    font-weight: bold;
    color: var(--rot-dunkel);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

/* Eingabefelder */
.anmelde-form input,
.anmelde-form select,
.anmelde-form textarea {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.anmelde-form input:focus,
.anmelde-form select:focus,
.anmelde-form textarea:focus {
    border-color: var(--rot-hell);
    box-shadow: 0 0 6px rgba(200,0,0,0.4);
    outline: none;
}

/* Button */
.anmelde-form button.btn {
    background: var(--rot-hell);
    color: var(--weiß);
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s;
}

.anmelde-form button.btn:hover {
    background: var(--rot-dunkel);
    transform: translateY(-2px);
}

/* =============== RESPONSIVE =============== */

/* Tablet */
@media (max-width: 900px) {
    .anmeldung {
        margin: 40px 30px;
        padding: 25px;
    }

    .anmeldung h2 {
        font-size: 1.6rem;
    }
}

/* Smartphone */
@media (max-width: 600px) {
	.hero {
		height: 300px;
	}
	.hero h1 {
		font-size: 2rem;
	}
    .anmeldung {
        margin: 20px;
        padding: 20px;
    }

    .anmeldung h2 {
        font-size: 1.4rem;
    }

    .anmelde-form {
        gap: 14px;
    }

    .anmelde-form label {
        font-size: 0.95rem;
    }

    .anmelde-form input,
    .anmelde-form select,
    .anmelde-form textarea {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .anmelde-form button.btn {
        font-size: 1rem;
        padding: 12px;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	justify-items: center;
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #000;
	max-width: 200px;
  }

  .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }

  /* Hover Effekt */
  .grid-item:hover img {
    transform: scale(1.1);
  }
/* ============================
   Footer
============================ */
footer {
    text-align: center;
    background: var(--rot-dunkel);
    color: var(--weiß);
    padding: 20px;
    margin-top: 40px;
    border-top: 5px solid var(--gold);
}
