/* ── TOKENS (Farben unverändert) ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #0d47a1;
  --brand-dark: #093170;
  --accent: #ffca28;
  --accent-soft: #ffd54f;
  --text: #333;
  --muted: #666;
  --bg-alt: #f4f6fa;
  --card-bg: #ffffff;
  --border: #e0e4ea;
  --pale: #dce6f7;

  --radius: 20px;
  --radius-sm: 12px;
  --max-width: 1140px;
  --shadow: 0 10px 30px -12px rgba(9, 49, 112, 0.25);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

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

section {
  padding: 112px 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 200;
}

.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ── TYPO HELPERS ── */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow.dark {
  color: var(--brand);
}

.eyebrow.dark::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head.left {
  text-align: left;
  margin: 0;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head .sub {
  color: var(--muted);
  margin-top: 16px;
  font-weight: 500;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 8px 20px -8px rgba(255, 202, 40, 0.7);
}

.btn-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 12px 26px -8px rgba(255, 202, 40, 0.9);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ── NAV ── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px max(24px, calc((100% - var(--max-width)) / 2 + 24px));
  background: rgba(9, 49, 112, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font: 800 1.3rem var(--font-display);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--brand-dark);
  font-weight: 800;
}

.logo-sub {
  font: 500 0.85rem var(--font-body);
  color: var(--pale);
  opacity: 0.8;
}

#nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

#nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background-color 0.2s;
}

#nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

#nav-links a.nav-cta {
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  margin-left: 8px;
}

#nav-links a.nav-cta:hover {
  background: var(--accent-soft);
}

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

#hamburger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

#hamburger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
#hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
  color: #fff;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(255, 202, 40, 0.16), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
}

.formula {
  position: absolute;
  font: 700 1.1rem var(--font-display);
  color: rgba(255, 255, 255, 0.22);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

.f1 { top: 12%; left: 4%; }
.f2 { bottom: 10%; left: 42%; animation-delay: -3s; }
.f3 { top: 8%; right: 6%; animation-delay: -5s; }
.f4 { bottom: 8%; right: 5%; animation-delay: -7s; }

@keyframes float {
  50% { transform: translateY(-14px) rotate(-2deg); }
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
}

#hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  color: #fff;
  margin-bottom: 26px;
}

.hl {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 8px;
  background: var(--accent);
  opacity: 0.35;
  border-radius: 4px;
}

.lead {
  font-size: 1.2rem;
  color: var(--pale);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--pale);
  font-size: 0.95rem;
}

.hero-facts strong {
  display: block;
  color: #fff;
  font: 700 1.25rem var(--font-display);
}

.hero-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}

.photo-frame {
  position: relative;
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  background: var(--pale);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 24px -22px -22px 22px;
  border: 3px solid var(--accent);
  border-radius: 200px 200px var(--radius) var(--radius);
  z-index: -1;
}

.badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--brand-dark);
  animation: float 7s ease-in-out infinite;
}

.badge-num {
  font: 800 1.5rem/1 var(--font-display);
  color: var(--brand);
}

.badge-txt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.badge-a { left: -28px; top: 18%; }
.badge-b { right: -20px; bottom: 12%; animation-delay: -3.5s; }

/* ── ÜBER MICH ── */
#about {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-grid h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.about-text p {
  color: var(--muted);
  font-size: 1.15rem;
}

.about-text p + p {
  margin-top: 20px;
}

.about-text .about-lead {
  font: 700 1.5rem/1.35 var(--font-display);
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}

.about-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
}

.about-stats li {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stats li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.js .about-stats.reveal li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.js .about-stats.reveal.in li {
  opacity: 1;
  transform: none;
}

.js .about-stats.reveal.in li:nth-child(2) { transition-delay: 0.12s; }
.js .about-stats.reveal.in li:nth-child(3) { transition-delay: 0.24s; }

.js .about-stats.reveal.in li:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
}

.about-stats strong {
  display: block;
  font: 800 1.7rem/1.1 var(--font-display);
  color: var(--brand);
  margin-bottom: 6px;
}

.about-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ── KARTEN ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand);
  color: var(--accent);
  font: 800 1.15rem var(--font-display);
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

/* ── PREISE ── */
#pricing {
  padding: 0 0 112px;
}

#services {
  padding-bottom: 96px;
}

.pricing-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(50% 90% at 100% 0%, rgba(255, 202, 40, 0.2), transparent 70%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: var(--shadow);
}

.pricing-box h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}

.pricing-box p:not(.eyebrow) {
  color: var(--pale);
  max-width: 580px;
}

.pricing-box .btn {
  flex-shrink: 0;
}

/* ── STIMMEN ── */
#testimonials {
  background: var(--bg-alt);
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.quote::before {
  content: '„';
  position: absolute;
  top: 6px;
  right: 26px;
  font: 800 6rem/1 var(--font-display);
  color: var(--accent);
  opacity: 0.6;
}

.quote blockquote {
  position: relative;
  font-size: 1.1rem;
  color: var(--text);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font: 700 1rem var(--font-display);
}

/* ── KONTAKT ── */
#contact {
  color: #fff;
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(255, 202, 40, 0.14), transparent 70%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-intro h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}

.contact-intro > p:not(.eyebrow) {
  color: var(--pale);
  font-size: 1.15rem;
  margin-bottom: 32px;
}

#contact-alt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
}

#contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

#contact-form input,
#contact-form textarea {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font: 400 1rem var(--font-body);
  color: var(--text);
  transition: border-color 0.2s, background-color 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

#contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

#contact-form .btn {
  align-self: flex-start;
}

#form-status {
  min-height: 1.4em;
  font-weight: 700;
  font-size: 0.95rem;
}

#form-status.success { color: #2e7d32; }
#form-status.error { color: #c62828; }

/* ── FOOTER ── */
#footer {
  background: var(--brand-dark);
  color: var(--pale);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 700 1.1rem var(--font-display);
}

#footer a {
  color: #fff;
}

#footer .small {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ── SCROLL-REVEAL ── */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .card.reveal.in:hover {
  transform: translateY(-6px);
}

/* Hero-Einstieg */
.hero-text > * {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-text > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3) { animation-delay: 0.16s; }
.hero-text > :nth-child(4) { animation-delay: 0.24s; }
.hero-text > :nth-child(5) { animation-delay: 0.32s; }

.hero-photo {
  animation: rise 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── RESPONSIV ── */
@media (max-width: 900px) {
  section { padding: 80px 0; }

  #hero { padding: 56px 0 88px; }

  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-photo {
    order: -1;
    width: min(100%, 300px);
  }

  .badge-a { left: -16px; }
  .badge-b { right: -12px; }

  .pricing-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
    gap: 32px;
  }

  #pricing { padding-bottom: 80px; }
}

@media (max-width: 820px) {
  #hamburger { display: flex; }

  .logo-sub { display: none; }

  #navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  #navbar nav.open {
    max-height: 480px;
  }

  #nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
  }

  #nav-links a {
    display: block;
    padding: 14px 16px;
  }

  #nav-links a.nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }
}

@media (max-width: 520px) {
  #contact-form { padding: 28px 22px; }
  .hero-actions .btn { width: 100%; }
  .hl { white-space: normal; }
}
