File size: 5,146 Bytes
43af1ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f63cdfa
43af1ee
 
 
 
 
13b777f
 
43af1ee
 
f63cdfa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43af1ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8c7887d
43af1ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="de">
<head>
  <meta charset="UTF-8">
  <title>Projekt Bayern Bahn</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <style>
    body {
      margin: 0;
      font-family: system-ui, sans-serif;
      background: #0b1020;
      color: #fff;
    }

    /* Navigation */
    .navbar {
      width: 100%;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(10px);
      padding: 12px 20px;
      display: flex;
      gap: 20px;
      border-bottom: 1px solid rgba(5, 255, 5, 0.73);
      z-index: 1000;
    }

    .navbar span {
      color: #3aa6ff;
      text-decoration: none;
      font-weight: 600;
      padding: 6px 10px;
      border-radius: 6px;
      cursor: pointer;
      transition: 0.2s;
    }

    .navbar span:hover {
      background: rgba(58,166,255,0.2);
    }

    .navbar .active {
      background: rgba(58,166,255,0.35);
    }

    /* Sektionen */
    .section {
      display: none;
      padding: 40px 20px;
      max-width: 900px;
      margin: auto;
    }

    .section.active {
      display: block;
    }

    .panel {
      background: rgba(255,255,255,0.05);
      padding: 20px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.1);
    }

    select {
      width: 100%;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(0,0,0,0.4);
      color: #fff;
      margin-bottom: 15px;
    }

    .departure {
      background: rgba(255,255,255,0.08);
      padding: 12px;
      border-radius: 8px;
      margin-top: 8px;
      display: flex;
      justify-content: space-between;
    }

    .line {
      font-weight: bold;
      color: #3aa6ff;
    }

    /* Kontaktformular */
.contact-form {
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form button {
    padding: 10px;
    background: #0078ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form button:hover {
    background: #005fcc;
}

.status {
    margin-top: 10px;
    font-size: 0.9rem;
}

  </style>
</head>
<body>

  <!-- Navigation -->
  <nav class="navbar">
    <span onclick="showSection('home')" class="active">Startseite</span>
    <span onclick="showSection('infos')">Infos</span>
    <span onclick="showSection('login')">Login</span>
    <span onclick="showSection('contact-section')">Kontakt</span>
  </nav>

  <!-- Startseite -->
  <section id="home" class="section active">
    <h1>Willkommen bei RSBtech</h1>
    <p>Welcome to RSBtech</p>
  </section>

  <section id="login" class="section">
    <div class="login-box">
    <h2>Login</h2>

    <button id="roblox-login">Mit Roblox einloggen</button>

    <h3>Oder E-Mail Login</h3>

    <input id="email" type="email" placeholder="E-Mail">
    <input id="password" type="password" placeholder="Passwort">
    <button id="email-login">Login</button>
    <button id="email-register">Registrieren</button>

    <p id="login-status"></p>
</div>

  </section>

  <!-- Infos -->
  <section id="infos" class="section">
    <h1>Was ist Projekt Bayern Bahn?</h1>
    <p>Projekt Bayern Bahn ist ein fiktives Shift-Game in Roblox, welches in Bayern sein Zentrum findet.</p>

    <h2>Wie kann ich das Spiel spielen?</h2>
    <p>Um dem Spiel beitreten zu können, klicke auf den Button "Game".</p>

    <button id="myButton">Gamelink</button>
    <div id="message" style="display: none;">Kein Gamelink aktiv...</div>
  </section>

  <!-- =========================
     SECTION: Kontaktformular
     ========================= -->
<section id="contact-section" class="section">
    <h2>Kontakt</h2>

    <form id="contactForm" action="/send" method="post" enctype="multipart/form-data" class="contact-form">
        <label for="name">Name</label>
        <input type="text" id="name" name="name" required>

        <label for="message">Nachricht</label>
        <textarea id="message" name="message" rows="15" required></textarea>

        <button type="submit">Absenden</button>

        <p id="contactStatus" class="status"></p>
    </form>

</section>



  <section id="credits">
    <p style="text-align: center;"><span style="font-size: 8px;">Webseiten-Ersteller: Eliyas986 | Im Auftrag von Projekt Bayern Bahn 2026</span></p>
  </section>

  <script>
    /* Navigation Logik */
    function showSection(id) {
      document.querySelectorAll('.section').forEach(s => s.classList.remove('active'));
      document.getElementById(id).classList.add('active');

      document.querySelectorAll('.navbar span').forEach(s => s.classList.remove('active'));
      event.target.classList.add('active');
    }

    /* Gamelink Button */
    document.getElementById("myButton").addEventListener("click", function() {
      const msg = document.getElementById("message");
      msg.style.display = "block";
      setTimeout(() => msg.style.display = "none", 3000);
    });
  </script>

</body>
</html>