:root {
  --orange: #FF8A00;
  --blue: #0077B6;
  --light: #FFF7ED;
  --dark: #1F2933;
  --gray: #4B5563;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= HEADER ================= */

header {
  background: white;
  border-bottom: 2px solid var(--light);
}

.nav {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--orange);
}

nav a {
  margin-left: 1.5rem;
  font-weight: 600;
}

/* ================= HERO ================= */

.hero {
  background: var(--light);
  padding: 4rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  font-weight: 700;
}

/* ================= SECTIONS ================= */

.section {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1rem;
}

/* ================= FEATURES ================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.feature {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--light);
}

/* ================= VIDEOS ================= */

iframe {
  width: 100%;
  border-radius: 8px;
}

#videos-grid {
  text-align: center;
}

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

.grid-container .video img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  transition: transform 0.3s;
  cursor: pointer;
}

.grid-container .video img:hover {
  transform: scale(1.05);
}

/* ================= VISION ================= */

.vision {
  text-align: center;
  background: var(--light);
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.vision h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--orange);
}

.vision p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--dark);
}

/* ================= LOGO SVG ================= */

.logo svg {
  width: 300px;
  height: auto;
}

header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .logo svg {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ================= LEGAL PAGES ================= */

main.legal {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  line-height: 1.7;
  font-size: 1.05rem;
  text-align: left;
}

main.legal h1 {
  margin-bottom: 2rem;
}

main.legal h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

main.legal p {
  margin-bottom: 1.2rem;
}

/* ================= FOOTER ================= */

footer {
  background-color: #f8f8f8;
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
  border: none;
}

footer .footer-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

footer .footer-links {
  margin-bottom: 10px;
}

footer .footer-links a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: var(--orange);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
/* Blog-Artikel Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  justify-items: center;
}

.blog-post img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.blog-post img:hover {
  transform: scale(1.05);
}

.blog-post h2 {
  font-size: 1.3rem;
  margin: 0.8rem 0 0.5rem 0;
  color: var(--orange);
  text-align: center;
}

.blog-post p {
  font-size: 1rem;
  text-align: center;
  color: var(--dark);
}

.blog-post img {
  width: 100%;
  height: 200px;           /* feste Höhe */
  object-fit: cover;       /* Bild füllt die Box und wird nicht verzerrt */
  border-radius: 8px;
  transition: transform 0.3s;
}
.blog-post img:hover {
  transform: scale(1.05);
}
.youtube-video {
  display: inline-block;
  text-align: center;
  margin: 10px;
}

.youtube-video img {
  width: 300px;       /* oder max-width: 100% für responsive */
  height: auto;
  border-radius: 8px; /* optional, sieht moderner aus */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.youtube-video img:hover {
  transform: scale(1.05); /* kleiner Zoom auf Hover */
}

.video-title {
  margin-top: 5px;
  font-weight: 500;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff; /* wichtig, sonst scheint Content durch */
}
.logo a {
  text-decoration: none;
  display: inline-block;
}
html {
  scroll-padding-top: 120px; /* Höhe deines Headers */
}
