@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue:       #3B82F6;
  --blue-dark:  #1D4ED8;
  --blue-mid:   #2563EB;
  --blue-light: #EFF6FF;
  --blue-pale:  #DBEAFE;
  --sky:        #BAE6FD;
  --white:      #FFFFFF;
  --bg:         #F8FAFF;
  --dark:       #0F172A;
  --dark-soft:  #1E293B;
  --text:       #0F172A;
  --text-soft:  #64748B;
  --border:     #E2E8F0;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --shadow:     0 4px 24px rgba(59,130,246,0.10);
  --shadow-lg:  0 12px 48px rgba(59,130,246,0.18);
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.8rem; border-radius: 100px; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; cursor: pointer; border: none; font-family: var(--font); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.4); }
.btn--ghost { background: transparent; color: var(--text-soft); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── Label ── */
.tag { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: var(--blue-light); padding: 0.3rem 0.9rem; border-radius: 100px; }
.tag--dark { color: var(--sky); background: rgba(255,255,255,0.1); }

/* ── NAV ── */
.nav { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; transition: padding 0.3s, background 0.3s, box-shadow 0.3s; }
.nav.scrolled { background: rgba(255,255,255,0.94); backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--border); padding: 0.9rem 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.04em; color: var(--dark); }
.nav__logo span { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link { font-size: 0.9rem; font-weight: 500; color: var(--text-soft); transition: color 0.2s; }
.nav__link:hover { color: var(--blue); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 4px; transition: all 0.3s; }

/* ── HERO ── */
.hero { padding: 9rem 0 6rem; min-height: 100vh; display: flex; align-items: center; background: #fff; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--blue-light); border: 1px solid var(--blue-pale); border-radius: 100px; padding: 0.4rem 1rem 0.4rem 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--blue-mid); margin-bottom: 1.75rem; }
.hero__dot { width: 7px; height: 7px; background: #22C55E; border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero__title { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 1.5rem; }
.hero__title em { font-style: normal; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__desc { font-size: 1.1rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 2.5rem; max-width: 440px; }
.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.hero__proof-avatars { display: flex; }
.hero__proof-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--sky)); border: 2px solid #fff; margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; color: #fff; }
.hero__proof-avatar:first-child { margin-left: 0; }
.hero__proof-text { font-size: 0.85rem; color: var(--text-soft); }
.hero__proof-text strong { color: var(--text); font-weight: 700; display: block; }

/* Browser Mockup */
.browser { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser__bar { background: var(--bg); padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid var(--border); }
.browser__dots { display: flex; gap: 5px; }
.browser__dot { width: 10px; height: 10px; border-radius: 50%; }
.browser__dot--r { background: #FC8181; }
.browser__dot--y { background: #F6C860; }
.browser__dot--g { background: #68D391; }
.browser__url { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 100px; padding: 0.3rem 0.9rem; font-size: 0.75rem; color: var(--text-soft); }
.browser__content { padding: 1.5rem; }
.browser__site-nav { height: 10px; background: var(--border); border-radius: 4px; margin-bottom: 1.25rem; width: 70%; }
.browser__site-hero { background: linear-gradient(135deg, var(--blue-light), var(--blue-pale)); border-radius: var(--radius); padding: 2rem 1.5rem; margin-bottom: 1rem; }
.browser__site-title { height: 16px; background: var(--blue); border-radius: 4px; width: 60%; margin-bottom: 0.75rem; opacity: 0.7; }
.browser__site-sub { height: 10px; background: var(--border); border-radius: 4px; width: 80%; margin-bottom: 0.5rem; }
.browser__site-sub:last-child { width: 55%; }
.browser__site-btn { display: inline-block; margin-top: 1rem; height: 30px; width: 110px; background: var(--blue); border-radius: 100px; opacity: 0.9; }
.browser__cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.browser__card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem; }
.browser__card-icon { width: 28px; height: 28px; background: var(--blue-light); border-radius: 7px; margin-bottom: 0.6rem; }
.browser__card-line { height: 7px; background: var(--border); border-radius: 3px; width: 80%; margin-bottom: 0.4rem; }
.browser__card-line--sm { width: 55%; }
.browser__float { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.75rem; white-space: nowrap; }
.browser__float--1 { top: -1rem; right: -2rem; }
.browser__float--2 { bottom: -1rem; left: -2rem; }
.browser__float-icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.browser__float-icon--green { background: #DCFCE7; color: #16A34A; }
.browser__float-icon--blue { background: var(--blue-light); color: var(--blue); }
.browser__float-text strong { display: block; font-size: 0.82rem; font-weight: 700; }
.browser__float-text span { font-size: 0.72rem; color: var(--text-soft); }
.browser__wrap { position: relative; }

/* ── MARQUEE ── */
.marquee-section { padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--bg); }
.marquee__track { display: flex; gap: 3rem; animation: marquee 20s linear infinite; width: max-content; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee__item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.marquee__dot { width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }

/* ── SERVICES ── */
.services { padding: 7rem 0; }
.services__top { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.services__top p { color: var(--text-soft); line-height: 1.75; font-size: 1rem; }
.services__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.25rem; }
.svc { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; transition: all 0.3s; position: relative; overflow: hidden; background: var(--white); }
.svc--featured { background: var(--dark); color: #fff; border-color: var(--dark); grid-row: span 2; }
.svc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue-light), transparent); opacity: 0; transition: opacity 0.3s; border-radius: inherit; }
.svc:hover:not(.svc--featured)::after { opacity: 1; }
.svc:hover:not(.svc--featured) { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.svc__icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.75rem; position: relative; z-index: 1; }
.svc--featured .svc__icon { background: rgba(255,255,255,0.1); color: var(--sky); }
.svc:not(.svc--featured) .svc__icon { background: var(--blue-light); color: var(--blue); }
.svc__num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 0.5rem; position: relative; z-index: 1; }
.svc--featured .svc__num { color: rgba(255,255,255,0.4); }
.svc__title { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.svc--featured .svc__title { color: #fff; }
.svc__text { color: var(--text-soft); font-size: 0.95rem; line-height: 1.7; position: relative; z-index: 1; }
.svc--featured .svc__text { color: rgba(255,255,255,0.65); }
.svc__list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; position: relative; z-index: 1; }
.svc__list-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.svc__list-item svg { color: var(--sky); flex-shrink: 0; }
.svc__bg-num { position: absolute; bottom: -1.5rem; right: -0.5rem; font-size: 8rem; font-weight: 900; color: rgba(255,255,255,0.04); line-height: 1; pointer-events: none; }

/* ── PROCESS ── */
.process { padding: 7rem 0; background: var(--dark); color: #fff; }
.process__header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.process__header p { color: rgba(255,255,255,0.55); font-size: 1rem; line-height: 1.75; }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.process__steps::before { content: ''; position: absolute; top: 3rem; left: 16.66%; right: 16.66%; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(59,130,246,0.5), rgba(255,255,255,0)); }
.process__step { padding: 2rem; position: relative; }
.process__step-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.process__step-num { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.4); flex-shrink: 0; position: relative; z-index: 1; background: var(--dark-soft); }
.process__step-num.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 32px rgba(59,130,246,0.5); }
.process__step-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
.process__step-text { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; }

/* ── PORTFOLIO ── */
.portfolio { padding: 7rem 0; background: var(--bg); }
.portfolio__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.portfolio__header p { color: var(--text-soft); max-width: 340px; font-size: 0.95rem; line-height: 1.7; }
.portfolio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.project-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: all 0.3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card__visual { height: 240px; background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-pale) 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 1.5rem; }
.project-card__mockup { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); width: 100%; max-width: 320px; box-shadow: var(--shadow-lg); overflow: hidden; }
.project-card__mockup-bar { background: var(--bg); padding: 0.5rem 0.75rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--border); }
.project-card__mockup-dots { display: flex; gap: 3px; }
.project-card__mockup-dot { width: 7px; height: 7px; border-radius: 50%; }
.project-card__mockup-url { flex: 1; height: 14px; background: var(--border); border-radius: 100px; }
.project-card__mockup-body { padding: 1rem; }
.project-card__mockup-line { height: 8px; background: var(--border); border-radius: 3px; margin-bottom: 0.5rem; }
.project-card__mockup-line--blue { background: var(--blue-pale); width: 60%; }
.project-card__mockup-line--sm { width: 75%; }
.project-card__body { padding: 1.75rem; }
.project-card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.project-card__tag { font-size: 0.72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; }
.project-card__status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: #16A34A; font-weight: 600; }
.project-card__status-dot { width: 6px; height: 6px; background: #22C55E; border-radius: 50%; }
.project-card__title { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.project-card__desc { color: var(--text-soft); font-size: 0.88rem; line-height: 1.65; margin-bottom: 1.25rem; }
.project-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 700; color: var(--blue); transition: gap 0.2s; }
.project-card:hover .project-card__link { gap: 0.7rem; }
.project-card--placeholder { border-style: dashed; }
.project-card--placeholder .project-card__visual { background: var(--bg); }

/* ── PRICING ── */
.pricing { padding: 7rem 0; }
.pricing__header { text-align: center; max-width: 560px; margin: 0 auto 4rem; }
.pricing__header p { color: var(--text-soft); margin-top: 1rem; font-size: 1rem; line-height: 1.7; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.plan { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; transition: all 0.3s; }
.plan--popular { border-color: var(--blue); background: var(--dark); color: #fff; transform: scale(1.03); box-shadow: var(--shadow-lg); }
.plan__badge { display: inline-block; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1.5rem; }
.plan__name { font-size: 0.85rem; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.plan--popular .plan__name { color: rgba(255,255,255,0.5); }
.plan__price { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.25rem; }
.plan--popular .plan__price { color: #fff; }
.plan__period { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 2rem; }
.plan--popular .plan__period { color: rgba(255,255,255,0.5); }
.plan__divider { height: 1px; background: var(--border); margin-bottom: 1.75rem; }
.plan--popular .plan__divider { background: rgba(255,255,255,0.1); }
.plan__features { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2.5rem; }
.plan__feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.plan--popular .plan__feature { color: rgba(255,255,255,0.8); }
.plan__feature svg { flex-shrink: 0; color: var(--blue); }
.plan--popular .plan__feature svg { color: var(--sky); }
.plan .btn { width: 100%; justify-content: center; }

/* ── CONTACT ── */
.contact { padding: 7rem 0; background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.contact__left .section-title { margin-bottom: 1.25rem; }
.contact__left p { color: var(--text-soft); font-size: 1rem; line-height: 1.75; margin-bottom: 2.5rem; }
.contact__facts { display: flex; flex-direction: column; gap: 1rem; }
.contact__fact { display: flex; align-items: center; gap: 1rem; }
.contact__fact-icon { width: 44px; height: 44px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; box-shadow: var(--shadow); }
.contact__fact-text strong { display: block; font-size: 0.9rem; font-weight: 700; }
.contact__fact-text span { font-size: 0.82rem; color: var(--text-soft); }
.contact__form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.75rem; box-shadow: var(--shadow-lg); }
.contact__form-wrap h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; }
.contact__form-wrap p { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { margin-bottom: 1.1rem; }
.form__group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; }
.form__group input, .form__group textarea, .form__group select { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font); font-size: 0.9rem; color: var(--text); background: var(--bg); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form__group input:focus, .form__group textarea:focus, .form__group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); background: var(--white); }
.form__group textarea { min-height: 120px; resize: vertical; }
.form__submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form__success { display: none; text-align: center; padding: 1rem; color: #16A34A; font-weight: 600; background: #F0FDF4; border-radius: var(--radius); margin-top: 1rem; }
.form__success.show { display: block; }

/* ── FOOTER ── */
.footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 4rem 0 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 0.75rem; max-width: 260px; }
.footer__logo { font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: -0.04em; }
.footer__logo span { color: var(--blue); }
.footer__col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a { font-size: 0.88rem; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem; }
.footer__bottom a { transition: color 0.2s; }
.footer__bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Tablet & Mobile (960px) ── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr !important; text-align: center; }
  .hero__desc { margin: 0 auto 2rem; }
  .hero__actions { justify-content: center; }
  .hero__proof { justify-content: center; }
  .browser__wrap { display: none !important; }

  /* Services - alle 1 Spalte */
  .services__top { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .services__grid { grid-template-columns: 1fr !important; }
  .svc--featured { grid-row: span 1 !important; grid-column: span 1 !important; }

  /* Process */
  .process__header { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .process__steps { grid-template-columns: 1fr 1fr !important; }
  .process__steps::before { display: none; }

  /* Portfolio */
  .portfolio__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .portfolio__grid { grid-template-columns: 1fr !important; }

  /* Pricing - kein sticky, kein 2-Spalter */
  .pricing__inner { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .pricing__right { position: static !important; top: auto !important; }
  .pricing__all { grid-template-columns: 1fr 1fr !important; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr !important; gap: 2rem; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr 1fr !important; }

  /* Subpages */
  .subhero__inner { grid-template-columns: 1fr !important; }
  .subhero__graphic { display: none !important; }
  .content-grid { grid-template-columns: 1fr !important; direction: ltr !important; }
  .content-grid--reverse { direction: ltr !important; }

  /* Stat boxes */
  .stat-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-box { min-width: 0; overflow: hidden; padding: 1rem 0.75rem; }

  /* Inline grids auf Unterseiten */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }

  /* Buttons auf Unterseiten */
  .subhero__desc + .btn,
  .content-list + .btn,
  .cta-section .btn { display: flex; width: 100%; justify-content: center; margin: 0.5rem 0; }
  .cta-section { padding: 3rem 1.25rem; }
  .cta-section .btn { max-width: 320px; margin: 0.5rem auto; }

  /* Nav */
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1.5rem 2rem; box-shadow: var(--shadow-lg); gap: 1rem; border-top: 1px solid var(--border); }
  .nav__burger { display: flex; }
  .form__row { grid-template-columns: 1fr !important; }
}

/* ── Mobile (640px) ── */
@media (max-width: 640px) {
  .container { padding: 0 1.1rem; }
  .hero { padding: 7rem 0 3.5rem; }
  .hero__title { font-size: 2.1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .hero__proof { flex-direction: column; align-items: center; gap: 0.5rem; }

  /* Services kompakter */
  .services { padding: 3rem 0; }
  .services__top { margin-bottom: 2rem; }
  .services__grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .svc--featured { grid-column: span 1; }
  .svc { padding: 1.75rem 1.25rem; }
  .svc__icon { width: 44px; height: 44px; margin-bottom: 1rem; }
  .svc__title { font-size: 1.1rem; }
  .svc__text { font-size: 0.88rem; }

  /* Process kompakter */
  .process { padding: 3rem 0; }
  .process__header { margin-bottom: 2.5rem; }
  .process__steps { grid-template-columns: 1fr; }
  .process__step { padding: 1rem 0; }
  .process__step-num { width: 44px; height: 44px; font-size: 0.78rem; }
  .process__step-title { font-size: 1rem; }
  .process__step-text { font-size: 0.85rem; }

  /* Pricing - kein overflow */
  .pricing { padding: 3rem 0; }
  .pricing__inner { gap: 1.5rem; }
  .pricing__all { grid-template-columns: 1fr; gap: 0.6rem; }
  .pricing__item { padding: 0.75rem; gap: 0.6rem; }
  .pricing__item-text strong { font-size: 0.82rem; }
  .pricing__item-text span { font-size: 0.72rem; }
  .pricing__right { padding: 1.75rem 1.25rem; overflow: hidden; }
  .pricing__right h3 { font-size: 1.25rem; }
  .pricing__tiers { gap: 0.5rem; }
  .pricing__tier { flex-direction: column; gap: 0.15rem; padding: 0.85rem 1rem; }
  .pricing__tier-range { font-size: 0.95rem; font-weight: 800; color: var(--sky); }

  /* Marquee overflow fix */
  .marquee-section { overflow: hidden; max-width: 100vw; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .subhero { padding: 7rem 0 3rem; }
  .subhero__title { font-size: 1.75rem; }
  .content-section { padding: 3rem 0; }
  .contact__form-wrap { padding: 1.5rem 1.1rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .stat-box { padding: 0.9rem; }
  .stat-box__num { font-size: 1.5rem; }
  .cta-section { padding: 3rem 0; }
  .contact { padding: 3rem 0; }
  .section-title { font-size: 1.75rem; }
  .section-title br { display: none; }

  /* Portfolio kompakter */
  .portfolio { padding: 2.5rem 0; }
  .portfolio__header { margin-bottom: 1.5rem; }
  .project-card__visual { height: 150px; padding: 1rem; }
  .project-card__body { padding: 1.1rem; }
  .project-card__title { font-size: 1rem; }
  .project-card__desc { font-size: 0.82rem; }

  /* Lücke nach Pricing fixen - sticky entfernen */
  .pricing__right { position: static !important; top: auto !important; }
  .pricing__left > a.btn { margin-top: 1.25rem; display: flex; }

  /* Subpage content */
  .subhero__back { font-size: 0.78rem; }
  .content-grid--reverse { direction: ltr; }

  /* Alle inline grids auf Unterseiten → 1 Spalte */
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }

  /* Stat boxes in dunklen Sektionen */
  .content-section--dark .stat-grid { grid-template-columns: 1fr 1fr; }
  .content-section--dark .stat-box { min-width: 0; overflow: hidden; padding: 1rem 0.75rem; }
  .stat-box__num { font-size: 1.5rem; }
  .stat-box__label { font-size: 0.7rem; }
}

/* ── Topbar ── */
.topbar { background: var(--dark); color: rgba(255,255,255,0.85); padding: 0.6rem 0; font-size: 0.8rem; text-align: center; position: relative; z-index: 1001; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__badge { background: var(--blue); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 100px; letter-spacing: 0.06em; }
.topbar a { color: rgba(255,255,255,0.7); font-weight: 600; transition: color 0.2s; display: inline-flex; align-items: center; gap: 0.3rem; }
.topbar a:hover { color: #fff; }

.svc__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.5rem; font-size: 0.85rem; font-weight: 700; color: var(--sky); transition: gap 0.2s; position: relative; z-index: 1; }
.svc__link:hover { gap: 0.7rem; }
.svc:not(.svc--featured) .svc__link { color: var(--blue); }

/* ── Pricing new ── */
.pricing__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.pricing__left p { color: var(--text-soft); font-size: 1rem; line-height: 1.75; margin: 1rem 0 2.5rem; }
.pricing__all { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 2rem; }
.pricing__item { display: flex; align-items: flex-start; gap: 0.75rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.pricing__item svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.pricing__item-text strong { display: block; font-size: 0.88rem; font-weight: 700; }
.pricing__item-text span { font-size: 0.78rem; color: var(--text-soft); }
.pricing__right { background: var(--dark); border-radius: var(--radius-xl); padding: 2.75rem; color: #fff; position: sticky; top: 7rem; }
.pricing__right h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.pricing__right > p { color: rgba(255,255,255,0.55); font-size: 0.92rem; line-height: 1.7; margin-bottom: 2rem; }
.pricing__tiers { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing__tier { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.pricing__tier-info { flex: 1; }
.pricing__tier-name { font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.85); display: block; }
.pricing__tier-desc { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.pricing__tier-range { font-size: 0.88rem; font-weight: 800; color: var(--sky); white-space: nowrap; }
.pricing__note { font-size: 0.75rem; color: rgba(255,255,255,0.28); text-align: center; margin-top: 1rem; }

/* ── Subpage ── */
.subhero { padding: 9rem 0 5rem; background: #fff; overflow: hidden; }
.subhero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.subhero__back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--text-soft); margin-bottom: 1.5rem; transition: color 0.2s; }
.subhero__back:hover { color: var(--blue); }
.subhero__title { font-size: clamp(2rem,4vw,3rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; margin: 0.75rem 0 1.25rem; }
.subhero__title em { font-style: normal; color: var(--blue); }
.subhero__desc { color: var(--text-soft); font-size: 1rem; line-height: 1.75; margin-bottom: 2rem; }
.subhero__graphic { border-radius: var(--radius-xl); background: var(--bg); border: 1px solid var(--border); padding: 2rem; min-height: 300px; display: flex; align-items: center; justify-content: center; }

/* SEO Graphic */
.seo-results { display: flex; flex-direction: column; gap: 0.6rem; width: 100%; }
.seo-result { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.8rem 1rem; display: flex; align-items: flex-start; gap: 0.75rem; box-shadow: var(--shadow); position: relative; }
.seo-result--top { border-color: var(--blue); box-shadow: 0 4px 20px rgba(59,130,246,0.18); }
.seo-result__rank { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.seo-result--top .seo-result__rank { background: var(--blue); color: #fff; }
.seo-result:not(.seo-result--top) .seo-result__rank { background: var(--bg); color: var(--text-soft); }
.seo-result__url { font-size: 0.65rem; color: #16A34A; font-weight: 600; margin-bottom: 0.15rem; }
.seo-result__title { font-size: 0.78rem; font-weight: 700; color: var(--blue-dark); }
.seo-result__title--gray { color: var(--text-soft); }
.seo-result__badge { position: absolute; top: -8px; right: 8px; background: var(--blue); color: #fff; font-size: 0.6rem; font-weight: 800; padding: 0.1rem 0.45rem; border-radius: 100px; }
.seo-chart { display: flex; align-items: flex-end; gap: 5px; height: 50px; margin-top: 1rem; }
.seo-bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--blue-pale); }
.seo-bar--active { background: var(--blue); }
.seo-trend { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.5rem; font-size: 0.7rem; font-weight: 700; color: #16A34A; }

/* Hosting Graphic */
.hosting-graphic { width: 100%; display: flex; flex-direction: column; gap: 0.65rem; }
.server-row { display: flex; align-items: center; gap: 0.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem; }
.server-row__icon { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.server-row__icon--green { background: #DCFCE7; color: #16A34A; }
.server-row__icon--blue { background: var(--blue-light); color: var(--blue); }
.server-row__icon--yellow { background: #FEF3C7; color: #D97706; }
.server-row__label { flex: 1; font-size: 0.82rem; font-weight: 600; }
.server-row__label span { display: block; font-size: 0.7rem; color: var(--text-soft); font-weight: 400; }
.server-row__value { font-size: 0.8rem; font-weight: 700; color: var(--blue); }
.server-perf { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.server-perf__row { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-soft); font-weight: 600; margin-bottom: 0.4rem; }
.server-perf__bar-wrap { background: var(--bg); border-radius: 100px; height: 7px; margin-bottom: 0.65rem; }
.server-perf__bar { height: 7px; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--blue-dark)); }

/* Design Graphic */
.design-graphic { width: 100%; }
.design-palette { display: flex; gap: 0.5rem; height: 48px; border-radius: var(--radius); overflow: hidden; margin-bottom: 0.75rem; }
.design-swatch { flex: 1; }
.design-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.75rem; }
.design-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem; }
.design-card__bar { height: 7px; border-radius: 4px; margin-bottom: 0.5rem; }
.design-card__line { height: 5px; background: var(--bg); border-radius: 3px; margin-bottom: 0.35rem; }
.design-card__line--sm { width: 60%; }
.design-card__btn { height: 22px; width: 60px; border-radius: 100px; margin-top: 0.5rem; }
.design-typo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem; display: flex; align-items: baseline; gap: 1rem; }

/* Content Sections */
.content-section { padding: 5rem 0; }
.content-section--gray { background: var(--bg); }
.content-section--dark { background: var(--dark); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.content-grid--reverse { direction: rtl; }
.content-grid--reverse > * { direction: ltr; }
.content-text h2 { font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0.75rem 0 1rem; line-height: 1.2; }
.content-text h2 em { font-style: normal; color: var(--blue); }
.content-section--dark .content-text h2 { color: #fff; }
.content-section--dark .content-text h2 em { color: var(--sky); }
.content-text p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.85rem; }
.content-section--dark .content-text p { color: rgba(255,255,255,0.5); }
.content-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.25rem; }
.content-list-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; line-height: 1.5; }
.content-list-item svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.content-section--dark .content-list-item { color: rgba(255,255,255,0.7); }
.content-section--dark .content-list-item svg { color: var(--sky); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.stat-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.stat-box__num { font-size: 2rem; font-weight: 900; color: var(--sky); line-height: 1; display: block; }
.stat-box__label { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.25rem; }
.cta-section { padding: 5rem 0; text-align: center; background: linear-gradient(135deg, var(--blue-light), var(--blue-pale)); }
.cta-section h2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1; }
.cta-section h2 em { font-style: normal; color: var(--blue-dark); }
.cta-section p { color: var(--text-soft); max-width: 480px; margin: 0 auto 2.5rem; font-size: 0.97rem; line-height: 1.7; }

