/* elbvibe Hamburg Skyline Design - 2026 */

:root {
  /* Primary Colors — Stripe/Linear/Vercel style */
  --navy: #0F172A;
  --cyan: #14D8F4;
  --blue: #3B82F6;
  --violet: #7C3AED;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --border: #E5E7EB;

  /* Neutrals */
  --gray-100: #F8FAFC;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0F172A;

  /* Gradients */
  --gradient-primary: linear-gradient(90deg, #14D8F4 0%, #3B82F6 50%, #7C3AED 100%);
  --gradient-wave: linear-gradient(135deg, #14D8F4 0%, #3B82F6 50%, #7C3AED 100%);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'IBM Plex Sans', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Spacing (8pt system) */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5rem;
  --spacing-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadow (very soft) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 15px 40px rgba(15, 23, 42, 0.08);

  /* Max width */
  --max-width: 1440px;
  --container-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--navy);
  background: var(--white);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  width: 100%;
}

.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility Classes */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 var(--spacing-lg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  flex-shrink: 0;
  min-width: 160px;
}

.logo-img {
  width: 140px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.header-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: 2px solid transparent;
}

.header-nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.btn-cta-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.btn-cta-header:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.hero-section {
  background: var(--white);
  padding: var(--spacing-xl) 0;
  flex: 0;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: var(--spacing-3xl);
  align-items: center;
  min-height: auto;
  width: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1.5px;
}

.hero-title.hero-gradient {
  background: linear-gradient(90deg, #0099CC 0%, #6C3FB3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-teal {
  color: var(--teal);
}

.hero-gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #000000;
  line-height: 1.7;
  max-width: 500px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.hero-feature .feature-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-block;
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--light-gray);
  color: var(--navy);
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(/assets/images/hero-image.png);
  background-size: 130%;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
}

.hamburg-skyline {
  display: none;
}

.hamburg-skyline-hidden {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hamburg-skyline {
    max-width: 100%;
    height: auto;
  }
}

/* ============================================================================
   USP SECTION (1 Card - 5 Columns, 120px height)
   ============================================================================ */

.usp-section {
  background: var(--white);
  padding: 0;
}

.usp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-height: 120px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
}

.usp-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.usp-item svg {
  width: 40px;
  height: 40px;
  color: var(--cyan);
  flex-shrink: 0;
}

.usp-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.usp-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin: 0;
}

/* Fallback: alte features-section für Responsive */
.features-section {
  background: var(--bg-light);
  padding: var(--spacing-3xl) 0;
  margin-top: 0;
}

/* ============================================================================
   TARGET AUDIENCE SECTION
   ============================================================================ */

.target-section {
  background: var(--white);
  padding: var(--spacing-3xl) 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title .highlight {
  background: linear-gradient(90deg, #0099CC 0%, #6C3FB3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

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

.target-card {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.target-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.target-card .target-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--cyan);
}

.target-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.target-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================================
   COURSES SECTION
   ============================================================================ */

.courses-section {
  background: var(--bg-light);
  padding: var(--spacing-3xl) 0;
  margin-bottom: 0;
}

.courses-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.courses-left {
  display: flex;
  flex-direction: column;
}

.courses-left .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.view-all {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.view-all:hover {
  opacity: 0.8;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.course-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  width: fit-content;
  letter-spacing: 0.5px;
}

.tag-teal {
  background: var(--teal);
  color: var(--white);
}

.tag-purple {
  background: var(--purple);
  color: var(--white);
}

.course-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.course-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.meta-item svg {
  color: var(--teal);
  flex-shrink: 0;
}

.btn-course {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: opacity 0.2s ease;
  align-self: flex-start;
}

.btn-course:hover {
  opacity: 0.9;
}

/* Workshops Promo Box */
.courses-right {
  position: sticky;
  top: 120px;
}

.workshops-promo {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.promo-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.workshops-promo h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.workshops-promo p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-promo {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-promo:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

/* ============================================================================
   COMMUNITY SECTION (Dark Navy to Violet Gradient)
   ============================================================================ */

.community-section {
  background: linear-gradient(135deg, #0F172A 0%, #7C3AED 100%);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 153, 204, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.community-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.community-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.community-icon {
  width: 60px;
  height: 60px;
  color: var(--white);
}

.community-left h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.community-left p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
}

.community-middle h3,
.community-right h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.event-date,
.event-location {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.event-date svg,
.event-location svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-event {
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s ease;
  width: fit-content;
  margin-top: 1rem;
}

.btn-event:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  border-radius: 50%;
  text-decoration: none;
  color: var(--white);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--white);
  color: var(--navy);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================================================
   FOOTER (Dark Navy to Violet Gradient)
   ============================================================================ */

.footer {
  background: #000000;
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--teal);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.logo-img-footer {
  width: 140px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    min-height: auto;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .usp-card {
    grid-template-columns: repeat(3, 1fr);
  }

  .courses-container {
    grid-template-columns: 1fr;
  }

  .courses-right {
    position: static;
  }

  .workshops-promo {
    max-width: 400px;
  }

  .community-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-nav {
    order: 3;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .btn-cta-header {
    order: 2;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .usp-card {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }

  .usp-item {
    gap: var(--spacing-xs);
  }

  .usp-item h3 {
    font-size: 0.9rem;
  }

  .usp-item p {
    font-size: 0.8rem;
  }

  .target-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .course-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .features-section {
    padding: 3rem 0;
  }

  .target-section {
    padding: 3rem 0;
  }

  .courses-section {
    padding: 3rem 0;
  }

  .community-section {
    padding: 3rem 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hamburg-skyline {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .header-nav {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .usp-card {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    min-height: auto;
  }

  .usp-item svg {
    width: 32px;
    height: 32px;
  }

  .usp-item h3 {
    font-size: 0.85rem;
  }

  .usp-item p {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .target-card {
    padding: 1rem;
  }

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

  .course-card {
    padding: 1.5rem;
  }

  .workshops-promo {
    padding: 2rem 1rem;
  }

  .community-container {
    gap: 2rem;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================================
   ANIMATIONS & TRANSITIONS
   ============================================================================ */

@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .hero-left {
    animation: slideInLeft 0.6s ease-out;
  }

  .hero-right {
    animation: slideInRight 0.6s ease-out;
  }

  .feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .feature-card:nth-child(n) {
    animation-delay: calc(0.1s * var(--item-index, 0));
  }

  .course-card {
    animation: fadeInUp 0.6s ease-out forwards;
  }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-gray: #2A2A2A;
    --gray-100: #1F1F1F;
    --gray-200: #3A3A3A;
    --gray-600: #999999;
    --gray-700: #AAAAAA;
    --white: #FFFFFF;
  }

  body {
    background: #1A1A1A;
    color: #FFFFFF;
  }

  .header {
    background: #1A1A1A;
    border-bottom-color: #3A3A3A;
  }

  .header-nav a {
    color: #FFFFFF;
  }

  .hero-title {
    color: #FFFFFF;
  }

  .section-title {
    color: #FFFFFF;
  }

  .feature-card,
  .target-card,
  .course-card {
    background: #2A2A2A;
    border-color: #3A3A3A;
    color: #FFFFFF;
  }

  .feature-card h3,
  .target-card h3,
  .course-card h3 {
    color: #FFFFFF;
  }

}
