/* ============================================
   Luan Derksen — chatforcash.de
   Shared stylesheet
   ============================================ */

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

:root {
  --bg: #060606;
  --bg-alt: #0d0d0d;
  --line: #221414;
  --red: #e31c2b;
  --red-bright: #ff3145;
  --red-dark: #6e0a12;
  --text: #f4f4f4;
  --text-muted: #a3a3a3;
  --text-faint: #6b6b6b;
  --gradient-red: linear-gradient(180deg, var(--red-bright) 0%, var(--red-dark) 100%);
  --max-width: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

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

/* ---------- Header ---------- */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 6, 6, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-mini img {
  height: 30px;
  width: auto;
}

nav.main-nav {
  display: flex;
  gap: 32px;
}

nav.main-nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

nav.main-nav a:hover { color: var(--red-bright); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(227, 28, 43, 0.16) 0%, rgba(227, 28, 43, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}

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

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

.hero-inner > * {
  animation: fade-up 1s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.hero-inner .hero-logo { animation-delay: 0.05s; }
.hero-inner .hero-mark { animation-delay: 0.05s; }
.hero-inner .hero-title { animation-delay: 0.16s; }
.hero-inner .hero-line { animation-delay: 0.2s; }
.hero-inner .hero-tagline { animation-delay: 0.28s; }
.hero-inner .btn { animation-delay: 0.4s; }
.hero-inner .rating { animation-delay: 0.5s; }
.hero-inner .badges { animation-delay: 0.6s; }

.hero-inner { position: relative; z-index: 1; }

.hero-logo {
  width: 220px;
  margin: 0 auto 36px;
}

.hero-mark {
  width: 64px;
  margin: 0 auto 26px;
  opacity: 0.95;
}

.hero-title {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 740px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: clamp(14px, 2vw, 17px);
  letter-spacing: 0.03em;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  margin: 22px auto 0;
}

.hero-line {
  width: 46px;
  height: 2px;
  background: var(--gradient-red);
  margin: 28px auto 28px;
}

.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 42px;
  border: 1px solid transparent;
  background: var(--gradient-red);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 10px 34px rgba(227, 28, 43, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(227, 28, 43, 0.42);
}

.btn:active { transform: translateY(-1px); }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Sections ---------- */

section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

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

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 18px;
  display: block;
}

h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.about-text {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  font-weight: 300;
}

.about-text strong {
  color: var(--text);
  font-weight: 500;
}

/* ---------- About grid (photo + text) ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid var(--red);
  z-index: 0;
  border-radius: 2px;
}

.about-photo .frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.about-photo:hover img {
  filter: grayscale(0%) contrast(1.08);
  transform: scale(1.02);
}

.about-copy h2 { margin-bottom: 22px; }

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ---------- Rating & badges ---------- */

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.stars {
  color: var(--red-bright);
  letter-spacing: 2px;
  font-size: 16px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 36px;
}

.badge {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}

/* ---------- Testimonial ---------- */

.testimonial {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}

.testimonial-photo {
  flex: 0 0 210px;
  position: relative;
}

.testimonial-photo::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid var(--red);
  border-radius: 2px;
  z-index: 0;
}

.testimonial-photo .frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.testimonial-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.testimonial-quote { flex: 1 1 420px; }

.testimonial-quote blockquote {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.85;
  margin: 0 0 24px;
  padding-left: 24px;
  border-left: 2px solid var(--red);
}

.testimonial-author {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}

.testimonial-author span {
  display: block;
  color: var(--red-bright);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-top: 5px;
  font-weight: 400;
}

/* ---------- Benefit cards ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  margin-top: 12px;
}

.benefit-card {
  border-top: 2px solid var(--red);
  padding-top: 24px;
}

.benefit-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text);
}

.benefit-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 300;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }
.final-cta .about-text { margin: 0 auto 32px; }

@media (max-width: 820px) {
  .benefit-grid { grid-template-columns: 1fr; gap: 38px; }
  .testimonial { flex-direction: column; text-align: center; }
  .testimonial-quote blockquote {
    border-left: none;
    border-top: 2px solid var(--red);
    padding-left: 0;
    padding-top: 20px;
    text-align: left;
  }
  .badges { gap: 10px; }
}

/* ---------- Photo band (cinematic full-bleed) ---------- */

.photo-band {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.photo-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.1) saturate(1.08);
}

.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.15) 0%, rgba(6, 6, 6, 0.28) 30%, rgba(6, 6, 6, 0.55) 52%, rgba(6, 6, 6, 0.88) 72%, rgba(6, 6, 6, 0.98) 100%);
}

.photo-band-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding-bottom: 84px;
}

.photo-band-content .card {
  display: inline-block;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 40px;
  background: rgba(6, 6, 6, 0.72);
  border: 1px solid rgba(227, 28, 43, 0.22);
  border-radius: 18px;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.photo-band-content .eyebrow { display: block; }

.photo-band-content h2 {
  margin: 0 0 16px;
}

.photo-band-content p {
  margin: 0 auto;
  max-width: 520px;
}

@media (max-width: 640px) {
  .photo-band { min-height: 78vh; }
  .photo-band-content { padding-bottom: 48px; padding-left: 20px; padding-right: 20px; }
  .photo-band-content .card { padding: 26px 24px; }
}

/* ---------- Film grain overlay ---------- */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 999;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ---------- Contact ---------- */

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 8px;
}

.contact-card {
  flex: 1 1 220px;
}

.contact-card .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
  display: block;
}

.contact-card .value {
  font-size: 18px;
  color: var(--text);
  font-weight: 400;
  transition: color 0.2s ease;
}

.contact-card a.value:hover { color: var(--red-bright); }

/* ---------- Footer ---------- */

footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

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

/* ---------- Legal pages ---------- */

.legal-page {
  padding: 160px 0 100px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: clamp(26px, 4vw, 36px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 500;
  margin-bottom: 10px;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-page .back-link:hover { color: var(--red-bright); }

.legal-page h2 {
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0.01em;
  margin-top: 44px;
  color: var(--text);
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
}

.legal-page ul { padding-left: 20px; }

.legal-page a.inline-link {
  color: var(--red-bright);
  text-decoration: underline;
}

.legal-note {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  nav.main-nav { gap: 18px; }
  section { padding: 80px 0; }
  .hero { padding-top: 120px; }
  .hero-logo { width: 170px; }
}

/* ============================================
   Wisch-Animationen — Variante 2: "Diagonal Sweep"
   Schräge Vorhang-Wische + Lichtstreif + Parallax
   ============================================ */

body { overflow-x: hidden; }

/* Button hover sheen (diagonal, faster, brighter) */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-24deg);
  transition: left 0.5s cubic-bezier(0.83, 0, 0.17, 1);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* Masked heading wipe — punchier overshoot */
.wipe-heading { overflow: hidden; }

.wipe-heading-inner {
  display: inline-block;
  transform: translateY(120%) skewY(4deg);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.wipe-heading.visible .wipe-heading-inner,
.reveal.visible .wipe-heading .wipe-heading-inner {
  transform: translateY(0) skewY(0deg);
}

.hero-title.wipe-heading .wipe-heading-inner {
  transform: translateY(120%) skewY(4deg);
  transition: none;
  animation: wipe-in-heading 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.22s;
}

@keyframes wipe-in-heading {
  to { transform: translateY(0) skewY(0deg); }
}

/* Image curtain wipes — diagonal slice */
.wipe-cover {
  position: absolute;
  inset: -5% -20%;
  z-index: 1;
  pointer-events: none;
}

.wipe-cover-top,
.wipe-cover-bottom { display: none; }

.wipe-cover-full {
  background: linear-gradient(100deg, var(--bg) 0%, #3c060a 40%, #5c0d13 55%, var(--bg) 100%);
  transform: translateX(0%) skewX(-16deg);
  transition: transform 0.9s cubic-bezier(0.83, 0, 0.17, 1);
}

.wipe-cover-full.visible { transform: translateX(115%) skewX(-16deg); }

/* Decorative streak sweep, fires once per section — subtle, logo-tone dark red */
.wipe-sweep {
  display: block;
  position: absolute;
  inset: -10% -30%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(100deg,
    transparent 44%,
    rgba(130, 9, 15, 0.4) 49%,
    rgba(178, 22, 30, 0.5) 50%,
    rgba(130, 9, 15, 0.4) 51%,
    transparent 56%);
  transform: translateX(-160%) skewX(-16deg);
  opacity: 0;
}

.wipe-sweep.visible {
  animation: sweep-flash 1s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.55s;
}

@keyframes sweep-flash {
  0% { transform: translateX(-160%) skewX(-16deg); opacity: 0; }
  12% { opacity: 1; }
  55% { opacity: 0.6; }
  100% { transform: translateX(160%) skewX(-16deg); opacity: 0; }
}

/* Subtle continuous parallax handled via inline JS on .photo-band-img */
.photo-band-img { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .wipe-heading-inner,
  .wipe-cover-full,
  .wipe-sweep,
  .hero-title.wipe-heading .wipe-heading-inner {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin-top: 12px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--red-bright);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 640px;
}

/* ---------- Subpage hero (Über mich / Was ist Chat for Cash) ---------- */

.page-hero {
  padding: 168px 0 70px;
  text-align: center;
}

.page-hero .wrap { max-width: 760px; }

.page-hero .eyebrow { text-align: center; }

.page-hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 auto 20px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Story split (image + text) ---------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 64px;
  align-items: center;
}

.story-grid.reverse { grid-template-columns: 1fr minmax(240px, 380px); }
.story-grid.reverse .story-photo { order: 2; }

.story-photo { position: relative; }

.story-photo::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--red);
  z-index: 0;
  border-radius: 2px;
}

.story-photo .frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.story-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.story-copy h2 { margin-bottom: 20px; }

.story-copy .about-text + .about-text { margin-top: 16px; }

@media (max-width: 760px) {
  .story-grid, .story-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .story-grid.reverse .story-photo { order: 0; }
  .story-photo { max-width: 320px; margin: 0 auto; }
}
