/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  --dark: #1E2A38;
  --gray: #6B7280;
  --white: #FFFFFF;
  --accent: #3A7CA5;
  --accent-hover: #2e6a91;
  --light-bg: #F7F9FC;
  --tinted-bg: #EEF3F8;
  --border: rgba(107, 114, 128, 0.18);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 72px;
  --max-w: 1140px;
  --section-py: clamp(5rem, 10vw, 8rem);

  --radius-sm: 6px;
  --radius-md: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--gray); font-size: 1rem; line-height: 1.78; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(24, 35, 48, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.28);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.nav-logo span {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
  letter-spacing: 0.005em;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

@media (min-width: 768px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(24, 35, 48, 0.98);
  backdrop-filter: blur(16px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}

.mobile-menu a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.mobile-menu a:last-child { border-bottom: none; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 0 7rem;
}

/* Fine dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
  pointer-events: none;
}

/* Radial accent glow */
.hero::after {
  content: '';
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(58, 124, 165, 0.16) 0%, transparent 65%);
  z-index: 0;
  animation: pulse-glow 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Subtle horizontal accent line in hero */
.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.3s forwards;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.55s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin: 0 auto 2.75rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.75s forwards;
  min-height: 2.2em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s ease 0.95s forwards;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(58, 124, 165, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 1.3s forwards;
  z-index: 1;
}

.scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scroll-bob 2.2s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%, 100% { opacity: 0.4; transform: scaleY(1) translateY(0); }
  50% { opacity: 0.8; transform: scaleY(0.85) translateY(4px); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: var(--section-py) 0; }
.section-light { background: var(--white); }
.section-tinted { background: var(--tinted-bg); }
.section-dark { background: var(--dark); }

.section-header { margin-bottom: clamp(3rem, 5vw, 4rem); }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 560px; }

/* ============================================
   SCROLL-REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.04s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.13s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.22s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.31s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.40s; }

/* ============================================
   ÜBER MICH
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 300px 1fr;
    gap: 4.5rem;
  }
}

.about-photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}


.about-text h2 { margin-bottom: 1.25rem; }
.about-text p + p { margin-top: 0.875rem; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  background: var(--tinted-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.01em;
}

/* ============================================
   WARUM AI
   ============================================ */
.motivation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .motivation-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.motivation-text h2 { margin-bottom: 1.25rem; }
.motivation-text p + p { margin-top: 0.875rem; }

/* Pull quote */
.quote-block {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.25rem 2.25rem 2.5rem;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-mark {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}

.quote-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  position: relative;
}

.quote-author {
  font-size: 0.82rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}

/* Vision box */
.vision-box {
  background: var(--dark);
  border-radius: var(--radius-md);
  padding: 1.875rem;
  margin-top: 1.75rem;
}

.vision-box h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.vision-box p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

/* ============================================
   LEISTUNGEN
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.service-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 124, 165, 0.28);
}

.service-icon {
  width: 42px;
  height: 42px;
  background: rgba(58, 124, 165, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 2;
}

.service-card h3 { color: var(--dark); line-height: 1.35; }

.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.service-list-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  margin-bottom: 0 !important;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.service-list li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gray);
  padding-left: 1.1rem;
  position: relative;
}

.service-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.service-result {
  font-size: 0.88rem;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* Warum AI — Lead-Satz */
.motivation-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: -0.5rem;
}

/* Kontakt — Hinweis */
.contact-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
  font-style: italic;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section .section-label { color: rgba(100, 160, 200, 0.85); }
.contact-section h2 { color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.contact-intro p { color: rgba(255,255,255,0.6); }

.contact-channels {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.contact-channel:hover { color: var(--white); }

.contact-channel svg {
  stroke: var(--accent);
  stroke-width: 2;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.825rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.22);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(58, 124, 165, 0.08);
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
  margin-top: 0.375rem;
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-submit svg {
  width: 15px;
  height: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111820;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding: calc(var(--nav-h) + 4rem) 0 6rem;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.625rem;
  color: var(--dark);
}

.legal-page p {
  margin-bottom: 0.875rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-notice {
  background: #FFF9E6;
  border: 1px solid #E8C840;
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.125rem;
  margin-bottom: 2.25rem;
  font-size: 0.85rem;
  color: #7A5C00;
  line-height: 1.55;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
