:root {
  --primary: #54B7F5;
  --primaryDark: #3D94D6;
  --dark: #111;
  --light: #f9f9f9;
  --darkFeature: #222330;
  --text: #333;
  --radius: 40px;
  --transition: 0.3s ease;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: white;
    }
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;       /* ganze Fensterhöhe */
  width: 100%;
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  display: flex;
  justify-content: center;   /* vertikal zentriert */
  align-items: center;
}

.hero .content{
    height: 100%;       /* ganze Fensterhöhe */
    width: 100%;
}

.hero .logo {
  width: 150px;
  margin-bottom: 1rem;
}

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

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: white;
  color: var(--primary);
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background var(--transition);
}

.cta-button:hover {
  background: #e4f3fd;
}

/* Sprachwechsel */
.language-switch {
  position: absolute;
  top: 15px;
  right: 20px;
}

.language-switch a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 3rem 1rem;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (prefers-color-scheme: dark) {
    .feature-card {
/*        background-color: var(--dark);*/
        background: var(--darkFeature);
    }
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.coming-soon {
  margin-top: 2rem;
  font-weight: bold;
  color: var(--primary);
}

/* ---------- KONTAKT ---------- */
.contact {
  padding: 3rem 1rem;
  text-align: center;
  background: var(--light);
}

@media (prefers-color-scheme: dark) {
    .contact {
/*        background-color: var(--dark);*/
        background: var(--dark);
    }
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  text-align: left;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: vertical;
}

.contact-form button {
  margin-top: 1rem;
}

.send-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: var(--light);
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background var(--transition);
}

.send-button:hover {
  background: var(--primaryDark);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark);
  color: #ddd;
  text-align: center;
  padding: 2rem 1rem;
}

@media (prefers-color-scheme: dark) {
    footer {
/*        background-color: var(--dark);*/
        background: #000;
    }
}

footer p {
  margin-bottom: 0.5rem;
}

footer nav {
  margin-top: 0.5rem;
}

footer a {
  color: var(--primary);
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color var(--transition);
}

footer a:hover {
  color: white;
}

/* Datenschutz Section */
.privacy {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  line-height: 1.8;
}

@media (prefers-color-scheme: dark) {
    .privacy {
/*        background-color: var(--dark);*/
        background: var(--darkFeature);
    }
}

.privacy h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.privacy p {
  margin-bottom: 1rem;
}

.privacy ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.privacy a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

.privacy a:hover {
  text-decoration: underline;
}

/* Fußnoten-Text */
.footnote {
  font-size: 0.8em;
  color: #555;
  line-height: 1.4;
  margin-top: 1em;
}

/* Fußnoten-Zahl im Text */
sup.footnote-ref {
  font-size: 0.7em;
  vertical-align: super;
  color: #0066cc;
  cursor: pointer;
  text-decoration: none;
}

sup.footnote-ref:hover {
  text-decoration: underline;
}
