/*
Theme Name: Join Unswiped Custom
Version: 1.1
Author: JDKRUEGER&CO
Description: Professionelles Standalone-Theme für Join Unswiped.
*/

/* ===== VARIABLES ===== */
:root {
  --ju-rose-deep: #8B3A4A;
  --ju-rose: #C75B6F;
  --ju-rose-light: #F4D0D6;
  --ju-gold: #C9A96E;
  --ju-gold-light: #F2E6CC;
  --ju-charcoal: #1E1E1E;
  --ju-graphite: #3A3A3A;
  --ju-ash: #6B6B6B;
  --ju-stone: #9E9E9E;
  --ju-pearl: #F9F6F2;
  --ju-cream: #FDFBF8;
  --ju-white: #FFFFFF;

  --ju-font-display: 'Playfair Display', Georgia, serif;
  --ju-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ju-radius-sm: 0.5rem;
  --ju-radius-md: 1rem;
  --ju-radius-lg: 1.25rem;
  --ju-radius-pill: 999px;

  --ju-shadow-sm: 0 2px 8px rgba(30,30,30,0.06);
  --ju-shadow-md: 0 8px 24px rgba(30,30,30,0.10);
  --ju-shadow-lg: 0 16px 48px rgba(30,30,30,0.14);
  --ju-shadow-gold: 0 8px 24px rgba(201,169,110,0.25);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ju-font-body);
  color: var(--ju-charcoal);
  background: var(--ju-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--ju-font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ju-charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
  font-size: 1rem;
  color: var(--ju-graphite);
}

a {
  color: var(--ju-rose-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ju-rose);
}

/* ===== BUTTONS ===== */
.ju-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 2rem;
  font-family: var(--ju-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--ju-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.ju-btn--primary {
  background: linear-gradient(135deg, var(--ju-rose-deep) 0%, var(--ju-rose) 100%);
  color: var(--ju-white);
  box-shadow: 0 6px 20px rgba(139,58,74,0.28);
}

.ju-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(139,58,74,0.38);
  color: var(--ju-white);
}

.ju-btn--secondary {
  background: transparent;
  color: var(--ju-charcoal);
  border: 1.5px solid var(--ju-charcoal);
}

.ju-btn--secondary:hover {
  background: var(--ju-charcoal);
  color: var(--ju-white);
}

.ju-btn--gold {
  background: linear-gradient(135deg, var(--ju-gold) 0%, #B8945A 100%);
  color: var(--ju-charcoal);
  box-shadow: var(--ju-shadow-gold);
}

.ju-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,169,110,0.32);
  color: var(--ju-charcoal);
}

/* ===== LAYOUT ===== */
.ju-container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.ju-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ju-text-center { text-align: center; }

/* ===== HERO ===== */
.ju-hero {
  position: relative;
  background: linear-gradient(160deg, var(--ju-pearl) 0%, var(--ju-rose-light) 55%, var(--ju-gold-light) 100%);
  padding: 5rem 1.5rem 4.5rem;
  overflow: hidden;
  margin-top: 0;
}

.ju-hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(201,169,110,0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ju-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -12%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(199,91,111,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ju-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ju-hero__eyebrow {
  display: inline-block;
  font-family: var(--ju-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ju-rose-deep);
  background: var(--ju-rose-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--ju-radius-pill);
  margin-bottom: 1.25rem;
}

.ju-hero__title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.ju-hero__title em {
  font-style: italic;
  color: var(--ju-rose-deep);
}

.ju-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ju-ash);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.ju-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== FEATURES ===== */
.ju-features {
  background: var(--ju-white);
}

.ju-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ju-feature-card {
  background: var(--ju-cream);
  border-radius: var(--ju-radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(30,30,30,0.04);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ju-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ju-shadow-md);
}

.ju-feature-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--ju-rose-light) 0%, var(--ju-gold-light) 100%);
  border-radius: var(--ju-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.ju-feature-card__title {
  font-family: var(--ju-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ju-feature-card__text {
  font-size: 0.92rem;
  color: var(--ju-ash);
  line-height: 1.55;
}

/* ===== QUOTE ===== */
.ju-quote {
  background: linear-gradient(160deg, var(--ju-rose-light) 0%, var(--ju-gold-light) 100%);
  padding: 4rem 1.5rem;
}

.ju-quote__text {
  font-family: var(--ju-font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ju-charcoal);
  max-width: 800px;
  margin: 0 auto 1.25rem;
  line-height: 1.4;
  text-align: center;
}

.ju-quote__author {
  font-size: 0.9rem;
  color: var(--ju-ash);
  text-align: center;
}

/* ===== CTA ===== */
.ju-cta {
  background: var(--ju-charcoal);
  color: var(--ju-white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.ju-cta h2 {
  color: var(--ju-white);
  margin-bottom: 0.75rem;
}

.ju-cta p {
  color: var(--ju-stone);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

/* ===== PRICING ===== */
.ju-pricing {
  background: linear-gradient(180deg, var(--ju-pearl) 0%, var(--ju-cream) 100%);
}

.ju-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.ju-pricing-card {
  background: var(--ju-white);
  border-radius: var(--ju-radius-lg);
  padding: 2.5rem 1.75rem;
  border: 1px solid rgba(30,30,30,0.05);
  box-shadow: var(--ju-shadow-sm);
  position: relative;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ju-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ju-shadow-lg);
}

.ju-pricing-card--highlight {
  border: 2px solid var(--ju-gold);
  box-shadow: var(--ju-shadow-gold);
  transform: scale(1.02);
}

.ju-pricing-card--highlight:hover {
  transform: scale(1.02) translateY(-5px);
}

.ju-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ju-gold) 0%, #B8945A 100%);
  color: var(--ju-charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--ju-radius-pill);
  white-space: nowrap;
}

.ju-pricing-card__name {
  font-family: var(--ju-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.ju-pricing-card__price {
  font-family: var(--ju-font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.ju-pricing-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ju-stone);
  font-family: var(--ju-font-body);
}

.ju-pricing-card__sub {
  font-size: 0.85rem;
  color: var(--ju-ash);
  margin-bottom: 1.25rem;
}

.ju-pricing-card__sub strong {
  color: var(--ju-rose-deep);
}

.ju-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}

.ju-pricing-card__features li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  font-size: 0.88rem;
  color: var(--ju-graphite);
  position: relative;
  border-bottom: 1px dashed rgba(30,30,30,0.05);
}

.ju-pricing-card__features li:last-child {
  border-bottom: none;
}

.ju-pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ju-rose);
  font-weight: 700;
}

.ju-pricing-card__legal {
  font-size: 0.72rem;
  color: var(--ju-stone);
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* ===== FAQ ===== */
.ju-faq {
  background: var(--ju-white);
}

.ju-faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.ju-faq-card {
  background: var(--ju-cream);
  border-radius: var(--ju-radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(30,30,30,0.04);
}

.ju-faq-card__num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--ju-rose-deep) 0%, var(--ju-rose) 100%);
  color: var(--ju-white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.ju-faq-card__q {
  font-family: var(--ju-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.ju-faq-card__a {
  font-size: 0.9rem;
  color: var(--ju-ash);
  line-height: 1.55;
}

/* ===== KUENDIGUNG ===== */
.ju-kuendigung-box {
  background: var(--ju-cream);
  border-radius: var(--ju-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(30,30,30,0.05);
}

.ju-kuendigung-box h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.ju-kuendigung-box p {
  color: var(--ju-ash);
  margin-bottom: 1rem;
}

.ju-kuendigung-list {
  color: var(--ju-graphite);
  line-height: 1.7;
  padding-left: 1.2rem;
}

.ju-kuendigung-list li {
  margin-bottom: 0.3rem;
}

/* ===== SEPARATOR ===== */
.ju-separator {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--ju-rose) 0%, var(--ju-gold) 100%);
  border-radius: var(--ju-radius-pill);
  margin: 0.75rem auto 2rem;
}

/* ===== WORDPRESS OVERRIDES ===== */

/* Hide page title on all pages (we use our own H1s) */
body.page h1.wp-block-post-title.has-text-align-center,
body.page .wp-block-post-title,
main .wp-block-post-title {
  display: none !important;
}

/* Remove excessive top spacer on pages */
body.page main > .wp-block-group > .wp-block-spacer,
body.page main .wp-block-group > .wp-block-spacer {
  display: none !important;
}

/* Fix Twenty Twenty Four spacing */
.wp-site-blocks {
  padding-top: 0 !important;
}

/* Header overrides */
.wp-block-template-part header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

/* Footer overrides */
footer.wp-block-template-part {
  background: var(--ju-charcoal) !important;
}

footer.wp-block-template-part .wp-block-site-title a {
  color: var(--ju-pearl) !important;
  font-family: var(--ju-font-display) !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
}

/* Hide legal pages from nav */
.wp-block-navigation .wp-block-pages-list__item a[href*="/agb/"],
.wp-block-navigation .wp-block-pages-list__item a[href*="/datenschutz/"],
.wp-block-navigation .wp-block-pages-list__item a[href*="/impressum/"],
.wp-block-navigation .wp-block-pages-list__item a[href*="/kuendigung/"] {
  display: none !important;
}

.wp-block-navigation .wp-block-pages-list__item:has(a[href*="/agb/"]),
.wp-block-navigation .wp-block-pages-list__item:has(a[href*="/datenschutz/"]),
.wp-block-navigation .wp-block-pages-list__item:has(a[href*="/impressum/"]),
.wp-block-navigation .wp-block-pages-list__item:has(a[href*="/kuendigung/"]) {
  display: none !important;
}

/* Smooth scroll */
[id] {
  scroll-margin-top: 60px;
}

/* ===== MOBILE ===== */
@media (max-width: 782px) {
  .ju-hero {
    padding: 3rem 1rem 3rem;
  }

  .ju-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .ju-pricing-card--highlight {
    transform: scale(1);
  }

  .ju-pricing-card--highlight:hover {
    transform: scale(1) translateY(-5px);
  }

  .ju-hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .ju-btn {
    width: 100%;
    max-width: 280px;
  }

  .ju-quote__text {
    font-size: 1.2rem;
  }
}
