/*
Theme Name: Geschaeftsfuehrergesetze Theme
Theme URI: https://geschaeftsfuehrergesetze.de
Author: Rosenthal Webdesign
Author URI: https://rosenthal-webdesign.de
Description: Premium Classic Theme – alle Inhalte über Customizer editierbar.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: ep-theme
*/

:root {
  --bg: #000; --bg2: #0a0a0a; --bg3: #141414; --card: #111;
  --white: #fff; --border: #1e1e1e; --border-lt: #2a2a2a;
  --tl: #999; --tl2: #666;
  --ff: 'Inter Tight', -apple-system, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--ff); font-size: 17px; font-weight: 300; line-height: 1.75; color: var(--white); background: var(--bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--ff); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
p { color: var(--tl); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(255,255,255,.15); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.narrow { max-width: 760px; margin: 0 auto; }
.sec { padding: clamp(4rem, 8vw, 7rem) 0; }
.dark { background: var(--bg); }
.darker { background: var(--bg2); }
.light { background: #F7F0F0; }
.light, .light h1, .light h2, .light h3, .light strong, .light .tc h2, .light .sh h2 { color: #000 !important; }
.light p, .light .qc-author span, .light .tm-role, .light .tc p, .light .sh p { color: #444 !important; }
.light .eyebrow { color: #888 !important; }
.light .bi-icon { color: #000; }
.light .bi h3 { color: #000 !important; }
.light .bi { border-bottom-color: #ddd; }
.light .ph { background: #e0d8d8; border-color: #ccc; color: #888; }
.light .cl li { color: #444; }
.light .cl li::before { color: #000; }

.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--tl2); margin-bottom: .75rem; }
.sh { text-align: center; max-width: 680px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.sh h2 { margin-bottom: 1.25rem; color: var(--white); }
.sh p { color: var(--tl); font-weight: 300; font-size: 1.05rem; }
.text-center { text-align: center; }
.divider { width: 40px; height: 1px; background: var(--border-lt); margin: 1.5rem auto 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 18px 32px; border: none; border-radius: 0; cursor: pointer; background: var(--white); color: #000; text-decoration: none; transition: all .4s var(--ease); position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.05); opacity: 0; transition: opacity .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,.1); }
.btn:hover::after { opacity: 1; }
.btn--full { width: 100%; }

/* Placeholder */
.ph { background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--tl2); font-size: .8rem; font-weight: 400; width: 100%; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all .4s var(--ease); background: transparent; }
.site-header.scrolled { background: rgba(0,0,0,.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 10px 0; border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 36px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2.5rem; }
.nav-menu a { font-size: 13px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--tl); transition: color .3s; }
.nav-menu a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; transition: all .3s; }

/* Logo HTML */
.logo-html { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.logo-html__main { font-family: 'Bebas Neue', sans-serif; color: #fff; line-height: .92; letter-spacing: .02em; text-transform: uppercase; }
.logo-html__sub { font-family: 'Libre Baskerville', serif; color: rgba(255,255,255,.6); font-style: italic; line-height: 1.3; align-self: flex-end; }
.logo-html--header .logo-html__main { font-size: 28px; }
.logo-html--header .logo-html__sub { font-size: 8.5px; margin-top: -6px; }
.logo-html--hero { margin: 0 auto; }
.logo-html--hero .logo-html__main { font-size: clamp(40px, 7vw, 72px); }
.logo-html--hero .logo-html__sub { font-size: clamp(11px, 1.8vw, 18px); margin-top: clamp(-8px, -1vw, -4px); }
.logo-html--footer .logo-html__main { font-size: 22px; opacity: .7; }
.logo-html--footer .logo-html__sub { font-size: 7px; opacity: .7; margin-top: -3px; }

/* Hero */
.hero-section { padding: 10rem 0 6rem; position: relative; overflow: hidden; }
#heroParticles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,255,255,.03) 0%, transparent 70%); pointer-events: none; }
.hero-top { text-align: center; max-width: 820px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 1; }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 300; color: rgba(255,255,255,.85); line-height: 1.8; max-width: 680px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 5px 14px; border: 1px solid rgba(34,197,94,.25); background: rgba(34,197,94,.06); font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.95); vertical-align: middle; position: relative; top: -2px; white-space: nowrap; clip-path: inset(0 100% 0 0); animation: badgeReveal 1.6s cubic-bezier(.16,1,.3,1) 1.8s forwards; }
.hero-badge svg { color: #22c55e; flex-shrink: 0; }
@keyframes badgeReveal { to { clip-path: inset(0 0 0 0); } }
.hero-cols { display: grid; grid-template-columns: 60fr 40fr; gap: clamp(2rem, 3vw, 3rem); align-items: start; position: relative; z-index: 1; }
.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }
.video-embed { background: var(--bg3); border: 1px solid var(--border); aspect-ratio: 16/9; position: relative; overflow: hidden; }
.video-embed iframe, .video-embed video { width: 100%; height: 100%; position: absolute; inset: 0; border: none; }

/* Quote Card */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.qc { background: var(--card); border: 1px solid var(--border); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 1rem; transition: border-color .4s var(--ease); }
.qc:hover { border-color: var(--border-lt); }
.qc blockquote { font-size: .95rem; font-weight: 300; font-style: normal; line-height: 1.8; margin: 0; color: var(--tl); }
.qc-author { display: flex; flex-direction: column; gap: .1rem; }
.qc-author strong { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.qc-author span { font-size: .75rem; font-weight: 300; color: var(--tl2); }
.avatar-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* Product Box */
.pb { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; background: var(--card); border: 1px solid var(--border); padding: clamp(2rem, 4vw, 3.5rem); }
.pb--compact { display: flex; flex-direction: column; gap: 1.25rem; background: var(--card); border: 1px solid var(--border); padding: clamp(1.5rem, 2.5vw, 2rem); }
.pb-pricing { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem 0; border-top: 1px solid var(--border); }
.pb-old { font-size: .85rem; color: var(--tl2); text-decoration: line-through; }
.pb-lbl { font-size: .85rem; color: var(--tl2); }
.pb-price { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 800; color: var(--white); letter-spacing: -.02em; }

/* Checklist */
.cl { display: flex; flex-direction: column; gap: .6rem; list-style: none; padding: 0; }
.cl li { position: relative; padding-left: 1.75rem; font-weight: 400; line-height: 1.7; color: var(--tl); font-size: .95rem; }
.cl li::before { content: '\2713'; position: absolute; left: 0; font-weight: 600; color: var(--white); }

/* Logo Strip */
.ls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 4vw, 4rem); opacity: .35; }
.ls img { height: 40px; width: auto; filter: brightness(0) invert(1); object-fit: contain; }

/* Benefit List */
.bl { display: flex; flex-direction: column; }
.bi { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.bi:last-child { border-bottom: none; }
.bi-icon { flex-shrink: 0; width: 24px; height: 24px; color: var(--white); margin-top: .25rem; opacity: .4; }
.bi-icon svg { width: 100%; height: 100%; }
.bi h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; color: var(--white); letter-spacing: 0; }
.bi p { font-weight: 300; color: var(--tl); line-height: 1.75; font-size: .95rem; margin: 0; }

/* Two Col */
.tc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.tc h2 { margin-bottom: 1.5rem; color: var(--white); }
.tc p { margin-bottom: 1.25rem; font-weight: 300; color: var(--tl); font-size: .95rem; line-height: 1.8; }
.tc img { width: 100%; }

/* Testimonial */
.tm { background: var(--card); border: 1px solid var(--border); padding: clamp(2rem, 3vw, 3rem); max-width: 680px; margin: 0 auto; }
.tm-stars { color: var(--white); margin-bottom: 1.25rem; font-size: 1.1rem; letter-spacing: .2em; opacity: .6; }
.tm-q { font-weight: 300; font-style: normal; line-height: 1.85; margin-bottom: 1.75rem; color: var(--tl); font-size: 1.05rem; }
.tm-a { display: flex; align-items: center; gap: 1rem; }
.tm-name { font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--white); }
.tm-role { font-size: .8rem; font-weight: 300; color: var(--tl2); }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 2rem; }
.slider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-lt); border: none; cursor: pointer; transition: all .3s; padding: 0; }
.slider-dot.active { background: var(--white); width: 20px; border-radius: 3px; }

/* Module Grid */
.grid4eq { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); align-items: stretch; }
.mb { background: var(--card); border: 1px solid var(--border); padding: clamp(1.5rem, 2vw, 2rem); transition: border-color .4s var(--ease); }
.mb:hover { border-color: var(--border-lt); }
.mb h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); color: var(--white); letter-spacing: 0; }

/* Bonus Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.card { background: var(--card); border: 1px solid var(--border); padding: clamp(1.5rem, 2.5vw, 2rem); transition: all .4s var(--ease); }
.card:hover { border-color: var(--border-lt); transform: translateY(-4px); }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .6rem; color: var(--white); letter-spacing: 0; }
.card p { font-weight: 300; color: var(--tl); font-size: .9rem; line-height: 1.7; }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 1.25rem; }

/* CTA Banner */
.cta-banner { text-align: center; padding: clamp(3rem, 5vw, 5rem); background: var(--card); border: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,.02) 0%, transparent 70%); pointer-events: none; }
.cta-banner h2 { margin-bottom: 1.25rem; color: var(--white); position: relative; }
.cta-banner p { margin-bottom: 2.5rem; color: var(--tl); font-weight: 300; position: relative; max-width: 540px; margin-left: auto; margin-right: auto; }
.image-strip { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; }
.image-strip img { width: 110px; height: 110px; object-fit: cover; }

/* Footer */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.ft-col h4 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1.25rem; color: var(--tl2); }
.ft-col a { display: block; font-weight: 300; padding: .35rem 0; font-size: .875rem; color: var(--tl); transition: color .3s; }
.ft-col a:hover { color: var(--white); }
.ft-bottom { border-top: 1px solid var(--border); padding-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 12px; font-weight: 300; color: var(--tl2); }

/* Responsive */
@media (max-width: 900px) {
  .grid4eq { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-cols, .pb, .tc, .grid2, .grid3, .grid4eq, .ft-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .hero-top { text-align: left; }
  .hero-section { padding: 7rem 0 4rem; }
  .logo-html--header .logo-html__main { font-size: 22px; }
  .logo-html--header .logo-html__sub { font-size: 7px; }
  .logo-html--hero { align-items: flex-start; }
  .logo-html--hero .logo-html__main { font-size: clamp(32px, 9vw, 48px); }
  .logo-html--hero .logo-html__sub { font-size: clamp(9px, 2.5vw, 13px); }
  .hero-badge { display: inline-flex; margin-left: 0; margin-top: 6px; top: 0; }
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Mobile nav open */
@media (max-width: 768px) {
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(0,0,0,.95); backdrop-filter: blur(20px); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); }
}
