/*
Theme Name: Hundepakt
Theme URI: https://hundepakt.com
Author: Hundepakt
Description: Eigenes Block-Theme (FSE) für hundepakt.com. Design-System „Warm Editorial Trust" — Sand/Olive/Terracotta, Fraunces + Inter (self-hosted, kein Google-CDN). Markenweit wiederverwendbar; Tokens in theme.json, LP-Komponenten hier (scoped .hp-lp).
Version: 0.1.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: hundepakt
*/

/* ===== LP-Komponenten „Warm Editorial Trust" — scoped auf .hp-lp, Farben/Fonts aus theme.json ===== */
.hp-lp{font-size:17px;line-height:1.6;color:var(--wp--preset--color--text)}
.hp-lp *{box-sizing:border-box}
.hp-lp img{max-width:100%;display:block}
.hp-lp .hp-wrap{max-width:760px;margin-inline:auto;padding-inline:20px}
.hp-lp h1,.hp-lp h2,.hp-lp h3{font-family:var(--wp--preset--font-family--head);font-weight:600;line-height:1.13;letter-spacing:-.01em;margin:0}
.hp-lp h1{font-size:clamp(2rem,1.3rem + 3.2vw,3.4rem)}
.hp-lp h2{font-size:clamp(1.55rem,1.1rem + 1.8vw,2.3rem);margin-bottom:.6em}
.hp-lp h3{font-size:1.18rem}
.hp-lp p{margin:0}
.hp-lp .hp-muted{color:var(--wp--preset--color--muted)}
.hp-lp section{padding:clamp(3rem,2rem + 6vw,6rem) 0}
.hp-lp .hp-warm{background:var(--wp--preset--color--surface-warm)}

.hp-lp .hp-hero{text-align:center}
.hp-lp .hp-hero h1{margin-bottom:.4em}
.hp-lp .hp-sub{font-size:1.18rem;color:var(--wp--preset--color--muted);max-width:33ch;margin:0 auto 1.6em}
.hp-lp .hp-pill{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--wp--preset--color--muted);background:var(--wp--preset--color--brand-soft);border-radius:999px;padding:5px 12px;margin-bottom:18px}

.hp-lp .hp-video{position:relative;border-radius:20px;overflow:hidden;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08);aspect-ratio:16/9;background:#111;cursor:pointer}
.hp-lp .hp-video img{width:100%;height:100%;object-fit:cover}
.hp-lp .hp-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.hp-lp .hp-play span{width:78px;height:78px;border-radius:999px;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.3);transition:transform .25s cubic-bezier(.16,1,.3,1)}
.hp-lp .hp-video:hover .hp-play span{transform:scale(1.08)}
.hp-lp .hp-play span::after{content:"";border-style:solid;border-width:15px 0 15px 25px;border-color:transparent transparent transparent var(--wp--preset--color--text);margin-left:6px}
.hp-lp .hp-vlabel{position:absolute;left:14px;bottom:14px;background:rgba(42,36,32,.82);color:#fff;font-size:.8rem;font-weight:600;padding:5px 11px;border-radius:999px}

.hp-lp .hp-cta{display:inline-block;width:100%;max-width:440px;background:var(--wp--preset--color--cta);color:#fff;font-weight:700;font-size:1.12rem;text-decoration:none;text-align:center;padding:17px 26px;border-radius:14px;box-shadow:0 6px 18px rgba(224,113,44,.35);transition:transform .2s cubic-bezier(.16,1,.3,1),background .2s}
.hp-lp .hp-cta:hover{background:var(--wp--preset--color--cta-hover);transform:translateY(-2px)}
.hp-lp .hp-ctawrap{margin:22px 0 10px;text-align:center}
.hp-lp .hp-microcopy{font-size:.85rem;color:var(--wp--preset--color--muted);margin-top:6px}
.hp-lp .hp-disc{font-size:.82rem;color:var(--wp--preset--color--muted);font-style:italic;margin:14px auto 0;max-width:46ch}

.hp-lp .hp-trust{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:center;margin-top:26px}
.hp-lp .hp-trust span{display:flex;align-items:center;gap:7px;font-size:.92rem;font-weight:500}
.hp-lp .hp-trust span::before{content:"";width:18px;height:18px;border-radius:999px;background:var(--wp--preset--color--brand-soft);border:2px solid var(--wp--preset--color--brand);flex:none}

.hp-lp .hp-bento,.hp-lp .hp-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:1.6em}
.hp-lp .hp-tile,.hp-lp .hp-fact{background:var(--wp--preset--color--surface);border-radius:20px;padding:22px 20px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08)}
.hp-lp .hp-tile .hp-ico{font-size:1.7rem;margin-bottom:8px;display:block}
.hp-lp .hp-tile h3{margin-bottom:5px}
.hp-lp .hp-tile p{font-size:.95rem;color:var(--wp--preset--color--muted)}
.hp-lp .hp-fact .hp-k{font-family:var(--wp--preset--font-family--head);font-weight:700;font-size:1.55rem;color:var(--wp--preset--color--brand);line-height:1.1}
.hp-lp .hp-fact .hp-v{font-size:.95rem;color:var(--wp--preset--color--muted);margin-top:4px}

.hp-lp .hp-reframe{text-align:center}
.hp-lp .hp-reframe .hp-big{font-family:var(--wp--preset--font-family--head);font-size:clamp(1.7rem,1.2rem + 2.4vw,2.7rem);font-weight:600;line-height:1.15;max-width:18ch;margin:0 auto .5em}
.hp-lp .hp-reframe .hp-big em{color:var(--wp--preset--color--brand);font-style:normal}
.hp-lp .hp-quote{border-left:4px solid var(--wp--preset--color--brand);padding-left:18px;text-align:left;max-width:42ch;margin:1.6em auto 0;color:var(--wp--preset--color--muted)}
.hp-lp .hp-quote em{color:var(--wp--preset--color--brand);font-style:normal;font-weight:600}

.hp-lp .hp-tl{list-style:none;margin:1.8em 0 0;padding-left:8px;position:relative}
.hp-lp .hp-tl::before{content:"";position:absolute;left:25px;top:14px;bottom:14px;width:3px;background:var(--wp--preset--color--brand-soft)}
.hp-lp .hp-tl li{position:relative;padding:0 0 26px 64px;min-height:54px}
.hp-lp .hp-tl .hp-num{position:absolute;left:0;top:0;width:52px;height:52px;border-radius:999px;background:var(--wp--preset--color--brand);color:#fff;font-family:var(--wp--preset--font-family--head);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:1.05rem}
.hp-lp .hp-tl h3{margin-bottom:3px}
.hp-lp .hp-tl p{font-size:.95rem;color:var(--wp--preset--color--muted)}

.hp-lp .hp-guar{background:var(--wp--preset--color--brand-soft);border-radius:20px;padding:28px 24px;text-align:center;margin-top:1.4em}
.hp-lp .hp-guar .hp-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--wp--preset--color--ok);color:var(--wp--preset--color--ok);font-weight:700;border-radius:999px;padding:8px 18px;margin-bottom:14px}
.hp-lp .hp-guar p{max-width:42ch;margin:0 auto}

.hp-lp .hp-faq details{background:var(--wp--preset--color--surface);border-radius:14px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08);margin-bottom:10px;overflow:hidden}
.hp-lp .hp-faq summary{list-style:none;cursor:pointer;padding:18px 20px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:12px}
.hp-lp .hp-faq summary::-webkit-details-marker{display:none}
.hp-lp .hp-faq summary::after{content:"+";font-size:1.5rem;color:var(--wp--preset--color--brand);font-weight:400;flex:none}
.hp-lp .hp-faq details[open] summary::after{content:"–"}
.hp-lp .hp-faq .hp-a{padding:0 20px 18px;color:var(--wp--preset--color--muted);font-size:.96rem}

.hp-lp .hp-final{background:var(--wp--preset--color--cta);color:#fff;text-align:center}
.hp-lp .hp-final h2{color:#fff}
.hp-lp .hp-final p{color:rgba(255,255,255,.92);max-width:34ch;margin:0 auto 1.4em;font-size:1.12rem}
.hp-lp .hp-final .hp-cta{background:#fff;color:var(--wp--preset--color--cta);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.hp-lp .hp-final .hp-cta:hover{background:#fff8f2}
.hp-lp .hp-final .hp-microcopy{color:rgba(255,255,255,.85)}

/* Sticky-CTA-Leiste (nur mobil) */
.hp-sticky-cta{display:none}
.hp-sticky-cta .hp-cta{margin:0;font-size:1.02rem;padding:14px}
@media(max-width:781px){
  .hp-lp .hp-bento,.hp-lp .hp-facts{grid-template-columns:1fr}
  .hp-sticky-cta{display:block;position:fixed;left:0;right:0;bottom:0;z-index:50;background:rgba(251,247,240,.96);backdrop-filter:blur(8px);box-shadow:0 -4px 20px rgba(60,40,20,.12);padding:10px 16px}
  body{padding-bottom:78px}
}

@media (prefers-reduced-motion: reduce){ .hp-lp *{transition:none !important;animation:none !important} }

/* ===== Kontaktformular (CF7) ===== */
.hp-form{max-width:640px}
.hp-form p{margin:0 0 16px}
.hp-form label{display:block;font-weight:600;font-size:.95rem;color:var(--wp--preset--color--text)}
.hp-form input[type=text],.hp-form input[type=email],.hp-form textarea{width:100%;margin-top:6px;padding:12px 14px;font:inherit;font-size:1rem;color:var(--wp--preset--color--text);background:var(--wp--preset--color--surface);border:1.5px solid var(--wp--preset--color--brand-soft);border-radius:12px;transition:border-color .2s}
.hp-form input[type=text]:focus,.hp-form input[type=email]:focus,.hp-form textarea:focus{outline:none;border-color:var(--wp--preset--color--brand)}
.hp-form textarea{min-height:150px;resize:vertical}
.hp-form .hp-accept{font-size:.9rem;color:var(--wp--preset--color--muted);line-height:1.5}
.hp-form .hp-accept a{color:var(--wp--preset--color--brand)}
.hp-form .wpcf7-list-item{margin:0}
.hp-form input[type=submit]{background:var(--wp--preset--color--cta);color:#fff;font-weight:700;font-size:1.05rem;border:0;border-radius:12px;padding:14px 30px;cursor:pointer;box-shadow:0 6px 18px rgba(224,113,44,.3);transition:transform .2s,background .2s}
.hp-form input[type=submit]:hover{background:var(--wp--preset--color--cta-hover);transform:translateY(-2px)}
.wpcf7-response-output{border-radius:10px;padding:12px 16px!important;margin:14px 0 0!important;font-size:.95rem}
.wpcf7 form.sent .wpcf7-response-output{border-color:var(--wp--preset--color--ok)!important;background:var(--wp--preset--color--brand-soft)}
.wpcf7-not-valid-tip{color:var(--wp--preset--color--cta-hover);font-size:.85rem}

/* ===== VK-Seite: zusätzliche Komponenten ===== */
.hp-lp .hp-emblem{width:120px;height:120px;margin:0 auto 18px}
.hp-lp .hp-ctaband{text-align:center}
.hp-lp .hp-ctaband .hp-ctawrap{margin:0}

.hp-lp .hp-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:1.6em}
.hp-lp .hp-pill-card{background:var(--wp--preset--color--surface);border-radius:20px;padding:24px 22px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08);border-top:3px solid var(--wp--preset--color--brand)}
.hp-lp .hp-pill-card .hp-k{font-family:var(--wp--preset--font-family--head);font-weight:600;font-size:1.12rem;color:var(--wp--preset--color--brand);line-height:1.2;margin-bottom:8px}
.hp-lp .hp-pill-card p{font-size:.95rem;color:var(--wp--preset--color--muted)}

.hp-lp .hp-mods{list-style:none;margin:1.8em 0 0;padding:0;display:grid;gap:14px}
.hp-lp .hp-mods li{display:flex;gap:18px;background:var(--wp--preset--color--surface);border-radius:18px;padding:22px 22px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08)}
.hp-lp .hp-mods .hp-num{flex:none;width:48px;height:48px;border-radius:14px;background:var(--wp--preset--color--brand);color:#fff;font-family:var(--wp--preset--font-family--head);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:1.05rem}
.hp-lp .hp-mods h3{margin-bottom:5px}
.hp-lp .hp-mods p{font-size:.95rem;color:var(--wp--preset--color--muted)}
.hp-lp .hp-mods .hp-out{margin-top:8px;font-size:.92rem;color:var(--wp--preset--color--brand);font-weight:600}
.hp-lp .hp-mods .hp-out::before{content:"→ ";opacity:.7}

.hp-lp .hp-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:1.6em}
.hp-lp .hp-col{background:var(--wp--preset--color--surface);border-radius:20px;padding:26px 24px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08)}
.hp-lp .hp-col h3{margin-bottom:12px}
.hp-lp .hp-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hp-lp .hp-col li{position:relative;padding-left:30px;font-size:.96rem;color:var(--wp--preset--color--text);line-height:1.5}
.hp-lp .hp-col-yes li::before{content:"✓";position:absolute;left:0;top:0;color:var(--wp--preset--color--ok);font-weight:800}
.hp-lp .hp-col-no li::before{content:"–";position:absolute;left:0;top:-1px;color:var(--wp--preset--color--muted);font-weight:800;font-size:1.2em}

.hp-lp .hp-proof{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:1.6em}
.hp-lp .hp-proof-item{background:var(--wp--preset--color--surface-warm);border-radius:18px;padding:22px 22px}
.hp-lp .hp-proof-item .hp-k{font-family:var(--wp--preset--font-family--head);font-weight:600;font-size:1.1rem;color:var(--wp--preset--color--brand);margin-bottom:6px}
.hp-lp .hp-proof-item p{font-size:.95rem;color:var(--wp--preset--color--muted)}
.hp-lp .hp-proof-item:nth-child(5){grid-column:1 / -1}

.hp-lp .hp-anchor{background:var(--wp--preset--color--surface);border-radius:20px;padding:28px 26px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08);max-width:60ch;margin-top:1.2em}
.hp-lp .hp-anchor p{margin-bottom:.8em}
.hp-lp .hp-anchor p:last-child{margin-bottom:0}
.hp-lp .hp-check{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:1.4em}
.hp-lp .hp-check span{font-weight:600;font-size:.95rem;color:var(--wp--preset--color--text)}

@media(max-width:781px){
  .hp-lp .hp-pillars,.hp-lp .hp-cols,.hp-lp .hp-proof{grid-template-columns:1fr}
  .hp-lp .hp-proof-item:nth-child(5){grid-column:auto}
}

/* ===== Startseite (.hp-home) ===== */
.hp-home .hp-label{font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--cta);margin-bottom:10px}
.hp-home .hp-textlink{color:var(--wp--preset--color--brand);font-weight:600;text-decoration:underline;text-decoration-color:var(--wp--preset--color--cta);text-underline-offset:4px}
.hp-home .hp-wrap{max-width:1080px}

.hp-home .hp-hsplit{padding-top:clamp(2.5rem,2rem+3vw,4.5rem)}
.hp-home .hp-hsplit-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,3vw,56px);align-items:center}
.hp-home .hp-hsplit h1{font-size:clamp(2.1rem,1.3rem+3.4vw,3.6rem);margin-bottom:.45em}
.hp-home .hp-hsplit .hp-sub{font-size:1.18rem;color:var(--wp--preset--color--muted);max-width:38ch;margin:0 0 1.7em}
.hp-home .hp-hsplit-cta{display:flex;align-items:center;gap:18px 26px;flex-wrap:wrap}
.hp-home .hp-hsplit-cta .hp-cta{width:auto;max-width:none}
.hp-home .hp-hsplit-img img{width:100%;height:auto;border-radius:22px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 18px 40px rgba(60,40,20,.12)}

.hp-home .hp-philo{text-align:center;max-width:62ch}
.hp-home .hp-philo p{color:var(--wp--preset--color--muted);margin-bottom:.9em}
.hp-home .hp-philo-claim{font-family:var(--wp--preset--font-family--head);font-size:1.25rem;color:var(--wp--preset--color--text)!important;line-height:1.4;margin-top:.4em}

.hp-home .hp-courses{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:1.8em}
.hp-home .hp-course{background:var(--wp--preset--color--surface);border-radius:22px;padding:28px 26px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 12px 28px rgba(60,40,20,.08);display:flex;flex-direction:column}
.hp-home .hp-course-live{border:2px solid var(--wp--preset--color--brand)}
.hp-home .hp-course-soon{background:var(--wp--preset--color--surface-warm);opacity:.92}
.hp-home .hp-course h3{font-size:1.5rem;margin:10px 0 2px}
.hp-home .hp-course-sub{font-weight:600;color:var(--wp--preset--color--brand);margin-bottom:10px}
.hp-home .hp-course p{color:var(--wp--preset--color--muted);font-size:.97rem}
.hp-home .hp-badge{align-self:flex-start;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--wp--preset--color--muted);background:var(--wp--preset--color--brand-soft);border-radius:999px;padding:5px 12px}
.hp-home .hp-badge-live{color:#fff;background:var(--wp--preset--color--brand)}
.hp-home .hp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.hp-home .hp-chips span{font-size:.8rem;font-weight:600;color:var(--wp--preset--color--brand);background:var(--wp--preset--color--brand-soft);border-radius:999px;padding:4px 11px}
.hp-home .hp-cta-sm{width:auto!important;max-width:none!important;font-size:1rem;padding:13px 24px;margin-top:auto}
.hp-home .hp-course-aff{font-size:.78rem;color:var(--wp--preset--color--muted);margin-top:12px}

.hp-home .hp-why{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:1.8em}
.hp-home .hp-why-item svg{width:34px;height:34px;color:var(--wp--preset--color--brand);margin-bottom:12px}
.hp-home .hp-why-item h3{font-size:1.12rem;margin-bottom:5px}
.hp-home .hp-why-item p{font-size:.93rem;color:var(--wp--preset--color--muted)}

.hp-home .hp-about{max-width:60ch}
.hp-home .hp-about p{color:var(--wp--preset--color--muted);margin-bottom:.9em}

@media(max-width:880px){
  .hp-home .hp-hsplit-grid{grid-template-columns:1fr}
  .hp-home .hp-hsplit-img{order:-1}
  .hp-home .hp-why{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .hp-home .hp-courses,.hp-home .hp-why{grid-template-columns:1fr}
}

/* ===== Verkaufsseiten-Hero mit Bild (Split, für video-lose Kurse) ===== */
.hp-lp .hp-shero{padding:clamp(2.4rem,1.8rem + 3vw,4.4rem) 0 clamp(1.8rem,1.4rem + 2vw,3rem)}
.hp-lp .hp-shero .hp-wrap{max-width:1080px}
.hp-lp .hp-shero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,3vw,52px);align-items:center}
.hp-lp .hp-shero h1{font-size:clamp(2rem,1.3rem + 3vw,3.3rem);line-height:1.13;margin:0 0 .4em}
.hp-lp .hp-shero .hp-sub{font-size:1.15rem;color:var(--wp--preset--color--muted);max-width:42ch;margin:0 0 1.4em}
.hp-lp .hp-shero .hp-cta{width:auto;max-width:none}
.hp-lp .hp-shero .hp-microcopy{margin:10px 0 0}
.hp-lp .hp-shero .hp-trust{justify-content:flex-start;margin-top:20px}
.hp-lp .hp-shero-pic img{width:100%;height:auto;border-radius:22px;box-shadow:0 2px 8px rgba(60,40,20,.06),0 18px 40px rgba(60,40,20,.12)}
@media(max-width:880px){
  .hp-lp .hp-shero-grid{grid-template-columns:1fr}
  .hp-lp .hp-shero-pic{order:-1}
  .hp-lp .hp-shero{text-align:center}
  .hp-lp .hp-shero .hp-sub{margin-inline:auto}
  .hp-lp .hp-shero .hp-trust{justify-content:center}
}
