/* ============================================
   startup-websites.de — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --navy:        #0f2447;
  --blue:        #1a3f7a;
  --mid:         #2563b8;
  --light-blue:  #5b9bd5;
  --sky:         #d6e8f8;
  --accent:      #3b82f6;
  --accent2:     #0ea5e9;
  --white:       #ffffff;
  --off-white:   #f4f8fd;
  --text:        #1e2d40;
  --text-light:  #4a5d75;
  --border:      #d0e2f4;

  --font-head:   'Outfit', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --shadow-sm: 0 2px 8px rgba(15,36,71,.08);
  --shadow-md: 0 8px 32px rgba(15,36,71,.12);
  --shadow-lg: 0 20px 60px rgba(15,36,71,.16);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- Canvas BG Animation ---- */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Layout ---- */
.wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / Nav ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.4px;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.logo .logo-name { color: var(--navy); }
.logo .logo-tld {
  color: var(--accent2);
  font-size: .72em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

nav a {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
nav a:hover { color: var(--navy); background: var(--sky); }
nav a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--r-sm) !important;
}
.nav-cta:hover { background: var(--blue) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

/* ---- Hero ---- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; }

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

h1 .hl {
  background: linear-gradient(135deg, var(--mid), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(15,36,71,.25);
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,36,71,.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--mid), var(--accent2));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,184,.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,184,.4);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--r-lg); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---- Price Cards Hero ---- */
.hero-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.price-teaser {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: .3s;
  position: relative;
  overflow: hidden;
}
.price-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mid), var(--accent2));
}
.price-teaser:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-teaser.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.price-teaser.featured::before {
  background: linear-gradient(90deg, var(--accent2), #38bdf8);
}
.price-teaser .pages {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mid);
  margin-bottom: 8px;
}
.price-teaser.featured .pages { color: var(--accent2); }
.price-teaser .price-val {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.price-teaser.featured .price-val { color: var(--white); }
.price-teaser .price-once {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: 4px;
}
.price-teaser.featured .price-once { color: rgba(255,255,255,.6); }

/* ---- Sections ---- */
section {
  padding: 80px 0;
}

.section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mid);
  margin-bottom: 12px;
  display: block;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ---- Feature Grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: .3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--light-blue);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--sky);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
}
.trust-item svg { color: var(--accent2); flex-shrink: 0; }

/* ---- CTA Block ---- */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-block h2 { color: var(--white); }
.cta-block p { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--sky);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

/* ---- FAQ ---- */
.faq-list { max-width: 780px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.faq-chevron {
  width: 20px; height: 20px;
  color: var(--mid);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: .93rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Guarantee Seal ---- */
.seal-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 2px solid var(--mid);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  max-width: 540px;
}
.seal-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
}
.seal-box strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.seal-box p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---- Seal-Box Wide (Startseite, volle Breite) ---- */
.seal-box--wide {
  max-width: 100%;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 40%, var(--mid) 100%);
  border: none;
  border-radius: var(--r-xl);
  padding: 40px 48px;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,36,71,.22);
}
.seal-box--wide::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.seal-box--wide::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 20%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(14,165,233,.08);
  pointer-events: none;
}
.seal-box--wide .seal-icon {
  font-size: 3.6rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
}
.seal-box--wide strong {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.seal-box--wide p {
  color: rgba(255,255,255,.8);
  font-size: .98rem;
  line-height: 1.6;
  max-width: 700px;
}

@media (max-width: 700px) {
  .seal-box--wide { padding: 28px 24px; gap: 20px; }
  .seal-box--wide strong { font-size: 1.15rem; }
}

/* ---- Steps / Ablauf ---- */
.steps-list { display: flex; flex-direction: column; gap: 0; max-width: 780px; }
.step {
  display: flex;
  gap: 28px;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(180deg, var(--mid), transparent);
}
.step-num {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.step-body {
  padding-bottom: 40px;
  flex: 1;
}
.step-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 10px;
}
.step-body p {
  font-size: .93rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ---- Packages ---- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pkg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .3s;
  position: relative;
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pkg-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.03);
}
.pkg-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.pkg-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent2);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 12px;
  border-radius: 99px;
}

.pkg-header {
  padding: 36px 32px 28px;
  border-bottom: 1px solid var(--border);
}
.pkg-card.featured .pkg-header { border-color: rgba(255,255,255,.12); }

.pkg-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mid);
  margin-bottom: 12px;
}
.pkg-card.featured .pkg-name { color: var(--accent2); }

.pkg-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.pkg-card.featured .pkg-price { color: var(--white); }

.pkg-price sup { font-size: 1.4rem; vertical-align: super; }
.pkg-once {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 6px;
}
.pkg-card.featured .pkg-once { color: rgba(255,255,255,.55); }
.pkg-sub {
  font-size: .88rem;
  color: var(--text-light);
  margin-top: 4px;
}
.pkg-card.featured .pkg-sub { color: rgba(255,255,255,.6); }

.pkg-features {
  padding: 28px 32px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.4;
}
.pkg-card.featured .pkg-features li { color: rgba(255,255,255,.75); }
.pkg-features li svg {
  width: 16px; height: 16px;
  color: var(--accent2);
  flex-shrink: 0;
  margin-top: 2px;
}

.pkg-footer {
  padding: 0 32px 32px;
}

/* ---- Image Section ---- */
.img-section {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.img-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Footer ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo .logo-name { color: var(--white); }
.footer-brand .logo .logo-tld { color: var(--accent2); }
.footer-brand p {
  font-size: .88rem;
  line-height: 1.6;
  max-width: 220px;
}
footer h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul li a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
footer ul li a:hover { color: var(--white); }
.footer-contact a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; }
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .82rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

/* ---- Misc ---- */
.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

.bg-white-section { background: var(--white); }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* Inline icon helpers */
.icon-check { color: #22c55e; }
.icon-x { color: #ef4444; }

/* ---- Animations on load ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .6s ease forwards;
}
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pkg-card.featured { transform: none; }
  .pkg-card.featured:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-prices { grid-template-columns: 1fr; max-width: 320px; }
}

@media (max-width: 700px) {
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .burger { display: flex; }
  .hero { padding: 60px 0 50px; }
  section { padding: 56px 0; }
  .cta-block { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-items { gap: 24px; }
}