/* BamPaf · Home CSS
 * Styles für Homepage und Projekt-Index
 * ============================================================ */

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

    :root {
      --black: #0a0a0a;
      --white: #f5f2ee;
      --accent: #ff4d1c;
    }

    body {
      background: var(--black);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
      overflow: hidden;
    }

    /* Background glow */
    body::before {
      content: '';
      position: fixed;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 700px; height: 500px;
      background: radial-gradient(ellipse, rgba(255,77,28,.13) 0%, transparent 70%);
      pointer-events: none;
    }

    /* Grain */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: .03;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 200px;
    }

    .wrap {
      position: relative;
      z-index: 1;
      max-width: 560px;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeUp .9s ease forwards .1s;
    }

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

    .logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 2.2rem;
      letter-spacing: -.04em;
      margin-bottom: 3rem;
    }

    .logo span { color: var(--accent); }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: rgba(255,77,28,.1);
      border: 1px solid rgba(255,77,28,.25);
      color: var(--accent);
      font-size: .75rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: .35rem .9rem;
      border-radius: 2px;
      margin-bottom: 2rem;
    }

    .badge::before {
      content: '';
      width: 6px; height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: blink 1.5s infinite;
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: .15; }
    }

    h1 {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(2.8rem, 8vw, 5rem);
      letter-spacing: -.04em;
      line-height: .95;
      margin-bottom: 1.5rem;
    }

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

    p {
      font-size: 1.05rem;
      line-height: 1.7;
      color: rgba(245,242,238,.55);
      max-width: 420px;
      margin: 0 auto 3rem;
    }

    .features {
      display: flex;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
      margin-bottom: 3.5rem;
    }

    .feature {
      display: flex;
      align-items: center;
      gap: .45rem;
      font-size: .8rem;
      color: rgba(245,242,238,.4);
      letter-spacing: .03em;
    }

    .feature::before {
      content: '✓';
      color: var(--accent);
      font-weight: 700;
    }

    .divider {
      width: 40px;
      height: 1px;
      background: rgba(255,255,255,.1);
      margin: 0 auto 3rem;
    }

    .tagline {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: .85rem;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: rgba(245,242,238,.2);
    }

    .tagline span { color: rgba(255,77,28,.5); }

/* ── Projekt-Index spezifisch ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --black: #0a0a0a;
      --white: #f5f2ee;
      --accent: #ff4d1c;
      --accent2: #ffd600;
      --mid: #1a1a1a;
      --muted: #a0a8b8;
      --card: #141414;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--black);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      overflow-x: hidden;
    }

    /* ── GRAIN OVERLAY ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 9999;
      opacity: .025;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 200px;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.5rem 3rem;
      background: rgba(10,10,10,.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1.4rem;
      letter-spacing: -.02em;
      color: var(--white);
      text-decoration: none;
    }

    .logo span { color: var(--accent); }

    nav ul {
      list-style: none;
      display: flex;
      gap: 2.5rem;
    }

    nav ul a {
      color: rgba(245,242,238,.55);
      text-decoration: none;
      font-size: .9rem;
      letter-spacing: .04em;
      transition: color .2s;
    }
    nav ul a:hover { color: var(--white); }

    .nav-cta {
      background: var(--accent);
      color: var(--white) !important;
      padding: .5rem 1.25rem;
      border-radius: 2px;
      font-weight: 500 !important;
      font-size: .85rem !important;
      letter-spacing: .06em !important;
      transition: background .2s !important;
    }
    .nav-cta:hover { background: #e03b0c !important; color: var(--white) !important; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 8rem 3rem 5rem;
      position: relative;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .hero-bg-circle {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: .18;
    }

    .hero-bg-circle.c1 {
      width: 600px; height: 600px;
      background: var(--accent);
      top: -100px; right: -100px;
      animation: pulse 8s ease-in-out infinite;
    }

    .hero-bg-circle.c2 {
      width: 400px; height: 400px;
      background: var(--accent2);
      bottom: 0; left: 30%;
      opacity: .08;
      animation: pulse 11s ease-in-out infinite reverse;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.12); }
    }

    .hero-left {
      max-width: 620px;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp .9s ease forwards .2s;
    }

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

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: rgba(255,77,28,.12);
      border: 1px solid rgba(255,77,28,.3);
      color: var(--accent);
      font-size: .78rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: .35rem .85rem;
      border-radius: 2px;
      margin-bottom: 2rem;
    }

    .hero-tag::before {
      content: '';
      width: 6px; height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: blink 1.5s infinite;
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: .2; }
    }

    h1 {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(3rem, 5.5vw, 5.2rem);
      line-height: .95;
      letter-spacing: -.04em;
      margin-bottom: 1.5rem;
    }

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

    .hero-sub {
      font-size: 1.1rem;
      line-height: 1.65;
      color: rgba(245,242,238,.6);
      max-width: 460px;
      margin-bottom: 2.5rem;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--white);
      padding: .85rem 2rem;
      border-radius: 2px;
      text-decoration: none;
      font-weight: 500;
      font-size: .95rem;
      letter-spacing: .04em;
      transition: background .2s, transform .15s;
      display: inline-block;
    }
    .btn-primary:hover { background: #e03b0c; transform: translateY(-2px); }

    .btn-ghost {
      color: rgba(245,242,238,.65);
      text-decoration: none;
      font-size: .9rem;
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      transition: color .2s;
    }
    .btn-ghost:hover { color: var(--white); }
    .btn-ghost::after { content: '→'; }

    /* Hero right – Photo mockup */
    .hero-right {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      opacity: 0;
      animation: fadeUp .9s ease forwards .5s;
    }

    .mockup-wrap {
      position: relative;
      width: 340px;
    }

    .mockup-phone {
      width: 220px;
      background: var(--card);
      border-radius: 28px;
      border: 2px solid rgba(255,255,255,.1);
      padding: 1.2rem;
      box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .mockup-screen {
      background: #1e1e1e;
      border-radius: 18px;
      aspect-ratio: 9/16;
      overflow: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      padding: 1.2rem;
    }

    .mockup-photo {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #2a1a0e 0%, #1a0a1e 50%, #0a1a2e 100%);
    }

    .mockup-photo-people {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 70%;
      background: linear-gradient(to top, rgba(255,77,28,.15), transparent);
      display: flex;
      justify-content: center;
      align-items: flex-end;
      gap: .3rem;
      padding-bottom: .5rem;
    }

    .person-silhouette {
      width: 35px;
      background: rgba(255,255,255,.08);
      border-radius: 50px 50px 0 0;
    }
    .p1 { height: 80px; }
    .p2 { height: 95px; }
    .p3 { height: 75px; }

    .flash-overlay {
      position: absolute;
      inset: 0;
      background: white;
      opacity: 0;
      border-radius: 18px;
      animation: flash 4s ease-in-out infinite;
    }

    @keyframes flash {
      0%, 80%, 100% { opacity: 0; }
      82% { opacity: .7; }
      85% { opacity: 0; }
    }

    .mockup-bottom {
      position: relative;
      z-index: 2;
      width: 100%;
    }

    .mockup-qr {
      background: var(--white);
      border-radius: 8px;
      padding: .5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .3rem;
    }

    .qr-grid {
      display: grid;
      grid-template-columns: repeat(5,1fr);
      gap: 2px;
      width: 50px;
    }

    .qr-cell {
      width: 8px; height: 8px;
      border-radius: 1px;
    }

    .qr-cell.on { background: var(--black); }
    .qr-cell.off { background: transparent; }

    .mockup-qr-text {
      font-size: 7px;
      color: var(--black);
      font-family: 'DM Sans', sans-serif;
      font-weight: 500;
      letter-spacing: .05em;
    }

    /* floating badge */
    .badge-float {
      position: absolute;
      background: var(--accent2);
      color: var(--black);
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: .7rem;
      letter-spacing: .06em;
      padding: .4rem .75rem;
      border-radius: 2px;
      white-space: nowrap;
      box-shadow: 0 8px 24px rgba(0,0,0,.4);
    }

    .badge-float.b1 {
      top: 20px; right: -20px;
      animation: float 4s ease-in-out infinite;
    }

    .badge-float.b2 {
      bottom: 60px; left: -30px;
      animation: float 5s ease-in-out infinite reverse;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    /* trust badges */
    .trust-strip {
      display: flex;
      align-items: center;
      gap: 2rem;
      margin-top: 3rem;
      padding-top: 3rem;
      border-top: 1px solid rgba(255,255,255,.07);
      flex-wrap: wrap;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: .5rem;
      color: rgba(245,242,238,.45);
      font-size: .8rem;
      letter-spacing: .04em;
    }

    .trust-icon {
      width: 18px; height: 18px;
      color: var(--accent);
    }

    /* ── SECTIONS COMMON ── */
    section { padding: 7rem 3rem; }

    .section-label {
      font-size: .72rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1rem;
    }

    h2 {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(2rem, 4vw, 3.5rem);
      letter-spacing: -.03em;
      line-height: 1;
      margin-bottom: 1.5rem;
    }

    h2 em { font-style: normal; color: var(--accent); }

    .section-sub {
      font-size: 1.05rem;
      color: rgba(245,242,238,.55);
      max-width: 520px;
      line-height: 1.7;
    }

    /* ── HOW IT WORKS ── */
    #how {
      background: var(--mid);
      border-top: 1px solid rgba(255,255,255,.05);
      border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .how-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      margin-top: 4rem;
    }

    .how-step {
      background: var(--card);
      padding: 2.5rem;
      position: relative;
      overflow: hidden;
      transition: background .3s;
    }

    .how-step:first-child { border-radius: 4px 0 0 4px; }
    .how-step:last-child { border-radius: 0 4px 4px 0; }
    .how-step:hover { background: #1c1c1c; }

    .how-step::before {
      content: attr(data-num);
      position: absolute;
      top: -1rem; right: 1.5rem;
      font-family: 'Syne', sans-serif;
      font-size: 6rem;
      font-weight: 800;
      color: rgba(255,255,255,.03);
      pointer-events: none;
      line-height: 1;
    }

    .step-icon {
      width: 44px; height: 44px;
      background: rgba(255,77,28,.12);
      border: 1px solid rgba(255,77,28,.2);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      font-size: 1.3rem;
    }

    .how-step h3 {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: -.01em;
      margin-bottom: .75rem;
    }

    .how-step p {
      font-size: .9rem;
      line-height: 1.65;
      color: rgba(245,242,238,.5);
    }

    /* ── USPS ── */
    #usps {
      max-width: 1200px;
      margin: 0 auto;
    }

    .usps-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: end;
      margin-bottom: 4rem;
    }

    .usp-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    .usp-card {
      background: var(--card);
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 4px;
      padding: 2rem;
      transition: border-color .3s, transform .3s;
    }

    .usp-card:hover {
      border-color: rgba(255,77,28,.3);
      transform: translateY(-4px);
    }

    .usp-card:first-child {
      grid-column: span 2;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 1.5rem;
      align-items: start;
    }

    .usp-emoji {
      font-size: 1.8rem;
      line-height: 1;
      margin-bottom: 1rem;
    }

    .usp-card h3 {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: -.01em;
      margin-bottom: .5rem;
    }

    .usp-card p {
      font-size: .875rem;
      line-height: 1.6;
      color: rgba(245,242,238,.5);
    }

    /* ── PRICING ── */
    #pricing {
      background: var(--mid);
      border-top: 1px solid rgba(255,255,255,.05);
      border-bottom: 1px solid rgba(255,255,255,.05);
      text-align: center;
    }

    #pricing h2 { margin-bottom: .5rem; }
    #pricing .section-sub { margin: 0 auto 4rem; }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      max-width: 960px;
      margin: 0 auto;
    }

    .price-card {
      background: var(--card);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 4px;
      padding: 2.5rem;
      text-align: left;
      position: relative;
      transition: border-color .3s;
    }

    .price-card.featured {
      border-color: var(--accent);
      background: #1a0c08;
    }

    .price-featured-tag {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: var(--white);
      font-size: .7rem;
      font-weight: 500;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: .25rem .85rem;
      border-radius: 2px;
      white-space: nowrap;
    }

    .price-name {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: .75rem;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: rgba(245,242,238,.6);
    }

    .price-amount {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 3rem;
      letter-spacing: -.04em;
      line-height: 1;
      margin-bottom: .25rem;
    }

    .price-amount sup {
      font-size: 1.2rem;
      font-weight: 700;
      vertical-align: super;
    }

    .price-period {
      font-size: .8rem;
      color: rgba(245,242,238,.4);
      margin-bottom: 2rem;
    }

    .price-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: .65rem;
      margin-bottom: 2rem;
    }

    .price-features li {
      font-size: .875rem;
      color: rgba(245,242,238,.65);
      display: flex;
      align-items: center;
      gap: .6rem;
    }

    .price-features li::before {
      content: '✓';
      color: var(--accent);
      font-weight: 700;
      flex-shrink: 0;
    }

    .btn-price {
      display: block;
      text-align: center;
      padding: .75rem;
      border-radius: 2px;
      text-decoration: none;
      font-size: .875rem;
      font-weight: 500;
      letter-spacing: .04em;
      transition: background .2s;
    }

    .btn-price-ghost {
      border: 1px solid rgba(255,255,255,.15);
      color: rgba(245,242,238,.7);
    }
    .btn-price-ghost:hover { border-color: rgba(255,255,255,.4); color: var(--white); }

    .btn-price-solid {
      background: var(--accent);
      color: var(--white);
    }
    .btn-price-solid:hover { background: #e03b0c; }

    /* ── CTA BAND ── */
    #cta {
      text-align: center;
      padding: 8rem 3rem;
      position: relative;
      overflow: hidden;
    }

    #cta::before {
      content: '';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 700px; height: 500px;
      background: radial-gradient(ellipse, rgba(255,77,28,.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-headline {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2.5rem, 5vw, 5rem);
      font-weight: 800;
      letter-spacing: -.04em;
      line-height: .95;
      margin-bottom: 1.5rem;
    }

    .cta-sub {
      color: rgba(245,242,238,.55);
      font-size: 1.05rem;
      max-width: 420px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid rgba(255,255,255,.06);
      padding: 2.5rem 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: gap;
    }

    .footer-logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1.1rem;
      color: var(--white);
      text-decoration: none;
    }

    .footer-logo span { color: var(--accent); }

    .footer-tagline {
      font-size: .8rem;
      color: rgba(245,242,238,.3);
      letter-spacing: .06em;
    }

    .footer-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .footer-links a {
      font-size: .8rem;
      color: rgba(245,242,238,.35);
      text-decoration: none;
      transition: color .2s;
    }

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

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .7s ease, transform .7s ease;
    }

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

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      #hero { grid-template-columns: 1fr; text-align: center; padding-top: 7rem; }
      .hero-left { max-width: 100%; }
      .hero-sub, .hero-actions { margin-left: auto; margin-right: auto; }
      .hero-actions { justify-content: center; }
      .hero-right { margin-top: 3rem; }
      .how-grid, .pricing-grid { grid-template-columns: 1fr; }
      .usp-card:first-child { grid-column: span 1; grid-template-columns: 1fr; }
      .usps-header { grid-template-columns: 1fr; gap: 1.5rem; }
      nav ul { display: none; }
      nav { padding: 1.25rem 1.5rem; }
      section { padding: 5rem 1.5rem; }
      footer { flex-direction: column; gap: 1.5rem; text-align: center; }
    }
