/* =============================================
   Die bewegte Stunde – Shared Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-blue:   #5C67D1;
  --brand-purple: #725DA1;
  --brand-violet: #6F59A7;
  --bg-start:     #667eea;
  --bg-mid:       #764ba2;
  --bg-end:       #6B8DD6;
  --accent:       #ff6b35;
  --accent-hover: #ff8555;
  --white:        #ffffff;
  --text-dark:    #2C2F44;
  --glass-bg:     rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.28);
  --glass-shadow: 0 8px 32px rgba(31,38,135,0.18);
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    20px;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  color: var(--white);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- Glassmorphism Utility --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.22));
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  background: rgba(255,255,255,0.08);
}

.desktop-nav a:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.desktop-nav .nav-cta {
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(92,103,209,0.40);
}

.desktop-nav .nav-cta:hover {
  background: #4b56c0;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 0;
  z-index: 601;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  margin: 4px 0;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Slide-in Mobile Nav --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.48);
  z-index: 598;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

.slide-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100dvh;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 600;
  transition: right 0.34s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 40px rgba(92,103,209,0.18);
  display: flex;
  flex-direction: column;
}

.slide-nav.active { right: 0; }

.slide-nav-inner {
  padding: 80px 28px 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(92,103,209,0.10);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 26px;
  color: var(--brand-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.close-btn:hover { background: rgba(92,103,209,0.20); }

.mobile-nav-links {
  list-style: none;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links li { margin: 0; }

.mobile-nav-link {
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(44,47,68,0.07);
  transition: background 0.18s, color 0.18s, padding 0.18s;
}

.mobile-nav-links li:last-child .mobile-nav-link { border-bottom: none; }

.mobile-nav-link:hover {
  background: rgba(92,103,209,0.08);
  color: var(--brand-blue);
  padding-left: 20px;
}

.mobile-nav-cta {
  display: block;
  margin-top: 24px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255,107,53,0.38);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mobile-nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.46);
}

/* Responsive: show hamburger on mobile */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
}

/* =============================================
   MAIN CONTENT – space below fixed header
   ============================================= */
main, .page-main {
  padding-top: 68px;
}

/* =============================================
   HERO (index.html)
   ============================================= */
.hero {
  padding: 80px 24px 72px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.25);
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 680px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.90);
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
}

.trust-item .check {
  font-size: 1.2rem;
  color: #90EE90;
  font-weight: 700;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.22s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,0.38);
  color: #fff;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.36);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,53,0.38);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.46);
}

.btn-blue {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(92,103,209,0.40);
  border: 2px solid rgba(255,255,255,0.20);
}

.btn-blue:hover {
  background: #4b56c0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,103,209,0.50);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.15rem;
  border-radius: 12px;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 72px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-wide {
  padding: 72px 24px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
  letter-spacing: -0.3px;
}

.section-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   COURSE CARDS (index.html)
   ============================================= */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.course-card {
  padding: 30px 28px;
  border-radius: var(--radius-md);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
  color: #fff;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(31,38,135,0.28);
}

.course-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

.course-card p {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-block {
  max-width: 800px;
  margin: 0 auto;
}

.about-card {
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(31,38,135,0.26);
}

.about-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.about-card p {
  color: rgba(255,255,255,0.90);
  font-size: 1rem;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.feature-list li {
  padding: 14px 0 14px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.4rem;
  position: absolute;
  left: 4px;
  top: 10px;
}

.mehr-lesen-btn {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  padding: 80px 24px;
  background: rgba(255,255,255,0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-box {
  border-radius: var(--radius-lg);
  padding: 38px 36px;
}

.contact-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

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

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.92);
  border: 2px solid transparent;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(92,103,209,0.18);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(102,126,234,0.38);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102,126,234,0.48);
}

/* Contact info */
.profile-photo-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.30);
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
  transition: transform 0.3s;
  margin: 0 auto;
}

.profile-photo:hover { transform: scale(1.05); }

.info-card {
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 18px;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  gap: 18px;
}

.info-item:last-child { border-bottom: none; }

.info-icon { font-size: 1.8rem; flex-shrink: 0; }

.info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.70);
  margin-bottom: 3px;
}

.info-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.info-value a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.info-value a:hover { opacity: 0.78; }

.erreichbarkeit {
  border-radius: 12px;
  padding: 22px 24px;
  text-align: center;
}

.erreichbarkeit h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.erreichbarkeit p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 26px 22px; }
}

/* =============================================
   COURSE PAGES
   ============================================= */
.course-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.course-hero-box {
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 28px;
}

.course-hero-box h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.20);
}

.course-hero-box .tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; }

.content-section {
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 24px;
}

.content-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.content-section p {
  color: rgba(255,255,255,0.90);
  line-height: 1.80;
  font-size: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.info-tile {
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.info-tile .tile-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
}

.info-tile .tile-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.goals-section {
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 24px;
}

.goals-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.goals-list {
  list-style: none;
  padding: 0;
}

.goals-list li {
  color: rgba(255,255,255,0.90);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.goals-list li:last-child { border-bottom: none; }

.goals-list li::before {
  content: "✓";
  color: #90EE90;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.cta-box {
  text-align: center;
  margin: 40px 0 20px;
}

@media (max-width: 600px) {
  .course-hero-box { padding: 32px 22px; }
  .content-section, .goals-section { padding: 22px 18px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-dark);
}

.site-footer p { margin-bottom: 8px; font-size: 0.9rem; }
.site-footer p:last-child { margin-bottom: 0; }

.site-footer a {
  color: var(--brand-blue);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.site-footer a:hover { opacity: 0.70; text-decoration: underline; }

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  display: none;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.30);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  padding: 20px 24px;
  color: var(--text-dark);
  text-align: center;
}

#cookie-banner p {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: #444;
}

.cookie-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cb-btn {
  padding: 10px 26px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.cb-accept {
  background: rgba(34,197,94,0.85);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,0.30);
}

.cb-decline {
  background: rgba(239,68,68,0.75);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239,68,68,0.25);
}

.cb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* =============================================
   IMPRESSUM / DATENSCHUTZ (static pages)
   ============================================= */
.static-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.static-box {
  border-radius: var(--radius-lg);
  padding: 40px 42px;
}

.static-box h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.static-box h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.14);
}

.static-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 8px;
}

.static-box p {
  color: rgba(255,255,255,0.88);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.static-box a {
  color: rgba(255,255,255,0.90);
  text-decoration: underline;
  transition: opacity 0.2s;
}
.static-box a:hover { opacity: 0.70; }

.static-box ul, .static-box ol {
  padding-left: 24px;
  color: rgba(255,255,255,0.88);
  font-size: 0.97rem;
  line-height: 1.75;
}

@media (max-width: 600px) {
  .static-box { padding: 28px 20px; }
}
