:root {
  --reddy-rot: #cf1e0e;
  --reddy-blau: #022a60;
  --bg-blau: #d9e1f9;
  --bg-white: #ffffff;
  --muted: #6b7280;
  --max-width: 1200px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--reddy-blau);
  background: var(--bg-white);
}

/* HEADER */
header {
  background: linear-gradient(180deg, var(--bg-blau), transparent 50%);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  position: relative;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img.logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-white);
}

.brand-name {
  font-weight: 800;
  color: var(--reddy-blau);
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  max-height: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

nav ul.open {
  max-height: 500px;
  padding: 16px 20px;
}

nav a {
  color: var(--reddy-blau);
  text-decoration: none;
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: var(--reddy-blau);
}

@media (min-width: 701px) {
  nav ul {
    display: flex !important;
    position: static;
    max-height: none;
    background: none;
    box-shadow: none;
  }
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 44px 24px;
}

.hero h1 {
  font-size: 38px;
  margin: 0 0 12px;
  color: var(--reddy-blau);
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta {
  padding: 12px 20px;
  background: var(--reddy-rot);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

/* Video */
.video-embed-wrapper {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Kurskarten */
.kurse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.kurs-card {
  background: var(--bg-blau);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.kurs-card:hover {
  transform: translateY(-5px);
}

.kurs-card h3 {
  margin-top: 0;
  color: var(--reddy-blau);
}

.kurs-card p {
  color: var(--muted);
  line-height: 1.5;
}

.kurs-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  table-layout: fixed;
}

th, td {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  text-align: left;
  word-wrap: break-word;
}

th {
  background: var(--bg-blau);
  font-weight: 700;
  color: var(--reddy-blau);
}

tr:nth-child(even) {
  background: #f9fafb;
}

/* Über uns */
.about {
  background: var(--bg-blau);
  border-radius: 12px;
  padding: 40px 20px;
  margin: 60px 0;
  text-align: center;
}

.about h2 {
  color: var(--reddy-blau);
  margin-bottom: 16px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.6;
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.contact-info {
  padding: 20px;
}

.contact-info p {
  margin: 8px 0;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Footer */
footer {
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-blau);
  text-align: center;
}

footer a {
  color: var(--reddy-blau);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 44px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta {
    padding: 10px 16px;
    font-size: 14px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    padding: 12px 20px;
    justify-content: space-between;
  }

  nav ul li a {
    display: block;
    padding: 12px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 0;
  }
  
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-blau);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 600;
  color: var(--reddy-blau);
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--reddy-rot);
  box-shadow: 0 0 0 2px rgba(207, 30, 14, 0.2);
}

.contact-grid {
  align-items: flex-start;
  margin-top: 40px;
  margin-bottom: 60px;
}

.contact-info h2,
.contact-form h2 {
  margin-top: 0;
}

/* Callout-Sektion mit Bild */
.contact-callout {
  background: var(--bg-blau);
  padding: 60px 20px;
  border-radius: 12px;
  margin: 80px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.contact-callout-inner {
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.callout-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.callout-text {
  max-width: 600px;
  text-align:center;
}

.callout-text h2 {
  color: var(--reddy-blau);
  font-size: 28px;
  margin-bottom: 12px;
}

.callout-text p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 18px;
}

.callout-text .cta {
  background: var(--reddy-rot);
  color: #fff;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.callout-text .cta:hover {
  background: #b41a0c;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 700px) {
  .contact-callout-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .callout-image {
    width: 110px;
    height: 110px;
  }

  .callout-text h2 {
    font-size: 22px;
  }

  .callout-text p {
    font-size: 16px;
  }
}
