/* ========================================
   DEFCON3 — UMZ Brand Design (ht.umz.app)
   KI Development Team Coaching
   2026-03-17 — Redesign nach ht.umz.app
   ======================================== */

:root {
  /* Brand */
  --brand-primary: #1D6795;
  --brand-primary-hover: #164e6f;

  /* Functional Colors */
  --color-blue: #2563eb;
  --color-green: #22c55e;
  --color-orange: #f97316;
  --color-red: #ef4444;

  /* Gradient Stops */
  --gradient-1: #fff7ed;
  --gradient-2: #fefce8;
  --gradient-3: #f0fdf4;
  --gradient-4: #ecfdf5;
  --gradient-5: #eff6ff;
  --gradient-6: #f0f9ff;
  --gradient-7: #fafafa;

  /* Text */
  --text-heading: #111827;
  --text-body: #4b5563;
  --text-subtle: #6b7280;

  /* Backgrounds */
  --bg-card: #ffffff;
  --bg-footer: #f9fafb;
  --bg-highlight-from: #eff6ff;
  --bg-highlight-to: #dbeafe;

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

  /* Shadows */
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Font */
  --font-primary: Arial, Helvetica, sans-serif;
}

/* ========================================
   Animated Gradient Background
   ======================================== */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-gradient {
  background: linear-gradient(135deg,
    var(--gradient-1), var(--gradient-2), var(--gradient-3),
    var(--gradient-4), var(--gradient-5), var(--gradient-6), var(--gradient-7));
  background-size: 400% 400%;
  animation: gradientShift 45s ease infinite;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}

/* ========================================
   Layout — Centered Container (NOT full width!)
   ======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section { padding: 5rem 0; }

/* ========================================
   Header (Sticky, Frosted Glass)
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img { height: 36px; width: auto; }

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
}

.nav-list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: var(--text-body);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-link:hover { background: var(--bg-highlight-from); color: var(--brand-primary); }

.nav-link-cta {
  background: var(--brand-primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
}
.nav-link-cta:hover { background: var(--brand-primary-hover); }

/* ========================================
   Main Content
   ======================================== */
#main-content { padding-top: 70px; }

/* ========================================
   Hero — White Card on Gradient
   ======================================== */
.hero {
  padding: 4rem 0 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
}

.hero-headline {
  font-size: 2.25rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.highlight { color: var(--brand-primary); }

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-image {
  max-width: 300px;
  margin: 0 auto;
}

.hero-image img {
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 3rem;
  }
  .hero-headline { font-size: 3rem; }
  .hero-image { max-width: 350px; }
}

@media (min-width: 1024px) {
  .hero-headline { font-size: 3.5rem; }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-primary-hover);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text-heading);
  border: 2px solid #d1d5db;
}
.btn-secondary:hover { background: #f9fafb; }

.btn-white {
  background: #fff;
  color: var(--brand-primary);
  font-weight: 700;
}
.btn-white:hover { background: #f1f5f9; color: var(--brand-primary); }

.btn-large { padding: 1rem 2.5rem; font-size: 1.15rem; }

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.card-xl {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .card-xl { padding: 3rem; }
}

/* ========================================
   Grids
   ======================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   Problem Cards
   ======================================== */
.problem-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--brand-primary);
  transition: all 0.2s;
}
.problem-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.problem-card-red { border-left-color: var(--color-red); }
.problem-card-yellow { border-left-color: var(--color-orange); }
.problem-card-blue { border-left-color: var(--color-blue); }

.problem-card .emoji { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.problem-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text-heading); }
.problem-card p { color: var(--text-body); font-size: 0.95rem; margin: 0; }

/* ========================================
   Feature Cards
   ======================================== */
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }

.feature-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }

.feature-icon.violet { background: #ede9fe; color: #7c3aed; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.yellow { background: #fef9c3; color: #ca8a04; }
.feature-icon.blue { background: #dbeafe; color: var(--color-blue); }

.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-body); font-size: 0.95rem; margin: 0; }

/* ========================================
   Program Section — Highlight BG
   ======================================== */
.section-bg-beige {
  max-width: 1280px;
  background: linear-gradient(to right, var(--bg-highlight-from), var(--bg-highlight-to));
  border-radius: var(--radius-lg);
  margin: 0 auto;
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section-bg-beige {
  max-width: 1280px; margin: 0 auto; padding: 5rem 2rem; }
}

.program-timeline {
  max-width: 900px;
  margin: 2rem auto 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 24px; top: 52px; bottom: -28px;
  width: 3px;
  background: #d1d5db;
}

.timeline-marker {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.25rem;
  flex-shrink: 0; z-index: 1;
  box-shadow: var(--shadow-lg);
}

.timeline-content { flex: 1; padding-top: 0.25rem; }
.timeline-title { color: var(--brand-primary); margin-bottom: 0.5rem; font-size: 1.25rem; }
.timeline-content p { color: var(--text-body); margin: 0; }

.program-investment {
  text-align: center;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.investment-label {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-subtle); font-weight: 600;
  margin-bottom: 0.25rem;
}

.investment-amount {
  font-size: 3rem; font-weight: 700; color: var(--brand-primary);
  margin: 0.5rem 0;
}

.investment-details { color: var(--text-body); font-size: 1rem; margin-bottom: 0; }

/* ========================================
   About Section
   ======================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-content { grid-template-columns: 280px 1fr; }
}

.about-image { max-width: 280px; margin: 0 auto; }

.about-photo {
  width: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}

.about-tagline {
  font-size: 1.2rem; font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.about-credentials, .about-approach { margin-bottom: 1.5rem; }
.about-credentials h3, .about-approach h3 {
  color: var(--brand-primary); margin-bottom: 0.75rem; font-size: 1.15rem;
}

.credentials-list { list-style: none; padding: 0; }
.credentials-list li {
  padding-left: 1.75rem; position: relative;
  margin-bottom: 0.5rem; line-height: 1.6;
}
.credentials-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--color-green); font-weight: 700; font-size: 1.15rem;
}

.highlight-box {
  background: var(--bg-highlight-from);
  padding: 1.25rem;
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
  max-width: 900px;
  margin: 2rem auto 0;
}

.faq-item {
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%; background: var(--bg-card); border: none;
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem; font-weight: 700; color: var(--text-heading);
  cursor: pointer; text-align: left;
  font-family: var(--font-primary);
  transition: background 0.2s;
}
.faq-question:hover { background: #f9fafb; }

.faq-icon { font-size: 1.5rem; color: var(--brand-primary); transition: transform 0.3s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--text-body); line-height: 1.7; }

/* ========================================
   CTA Section — Petrol Gradient
   ======================================== */
.cta {
  max-width: 1280px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 2rem auto;
}

@media (min-width: 768px) { .cta {
  max-width: 1280px; margin: 3rem auto; } }

.cta-content { max-width: 700px; margin: 0 auto; }
.cta-title { color: #fff; margin-bottom: 1rem; font-size: 2rem; }
.cta-text { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.95; color: #fff; }
.cta-contact { margin-top: 1.5rem; opacity: 0.8; font-size: 0.95rem; color: #fff; }

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
}

.footer-content {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}

.footer-copyright {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-subtle); font-size: 0.9rem;
}

.footer-nav { display: flex; gap: 1.5rem; }
.footer-link { color: var(--text-subtle); font-size: 0.9rem; }
.footer-link:hover { color: var(--brand-primary); }

/* ========================================
   Section Intro & Utilities
   ======================================== */
.section-intro {
  font-size: 1.15rem; color: var(--text-subtle);
  margin-bottom: 2rem; max-width: 700px;
}

.text-center { text-align: center; }
.text-center .section-intro, .section-intro.text-center { margin-left: auto; margin-right: auto; }
.text-subtle { color: var(--text-subtle); }
.mt-md { margin-top: 1.5rem; }

h2 { font-size: 2rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { h2 { font-size: 2.5rem; } }

/* ========================================
   Fade-In Animation
   ======================================== */
.section-fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section-fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ========================================
   Skip Link
   ======================================== */
.skip-link {
  position: absolute; top: -60px; left: 0;
  background: var(--brand-primary); color: #fff;
  padding: 0.75rem 1.5rem; z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; color: #fff; }

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========================================
   Print
   ======================================== */
@media print {
  .header, .footer, .cta {
  max-width: 1280px; display: none; }
  body { font-size: 12pt; color: #000; }
  .section { page-break-inside: avoid; }
  .animated-gradient { background: #fff !important; animation: none !important; }
}

/* ========================================
   Hero Stats
   ======================================== */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* ========================================
   Agent Cards
   ======================================== */
.agent-card {
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-primary);
  font-size: 0.95rem;
  color: var(--text-body);
}

.agent-card strong {
  color: var(--brand-primary);
}

.agenten-image {
  text-align: center;
  margin-top: 1.5rem;
}

/* ========================================
   ROI Cards
   ======================================== */
.roi-card {
  background: var(--bg-highlight-from);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.roi-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.roi-label {
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.roi-card p {
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin: 0;
}
