/*
Theme Name: HooBuy Guide
Theme URI: https://hoo-buy.de/
Author: HooBuy Guide
Description: Independent English-language Hoobuy buyer guide and referral site.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hoobuy-guide
*/

@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("assets/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  --navy: #061d35;
  --navy-2: #0a2945;
  --ink: #0a1018;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #a9b6c5;
  --line: rgba(255, 255, 255, 0.18);
  --lime: #d2ff25;
  --coral: #ff5454;
  --lavender: #aaa0ff;
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; font-family: var(--body); color: var(--white); background: var(--navy); -webkit-font-smoothing: antialiased; }
body.admin-bar .main-nav { top: 160px; }
.app-shell { overflow: clip; }
.ph { display: inline-block; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-150%); padding: 12px 18px; background: var(--white); color: var(--navy); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.notice-bar { min-height: 42px; padding: 10px clamp(22px, 4vw, 64px); display: flex; justify-content: space-between; gap: 20px; align-items: center; background: var(--lavender); color: var(--ink); font-size: 13px; font-weight: 600; }
.site-header { min-height: 112px; padding: 0 clamp(22px, 4vw, 64px); display: grid; grid-template-columns: 290px 1fr 220px; align-items: center; gap: 28px; background: var(--navy); border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font-family: var(--display); font-size: clamp(35px, 3vw, 48px); letter-spacing: 0.01em; line-height: 1; }
.brand span { color: var(--lime); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 3vw, 46px); }
.main-nav > a:not(.mobile-official) { position: relative; text-decoration: none; font-size: 15px; font-weight: 600; padding: 14px 0; }
.main-nav > a:not(.mobile-official)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--lime); transition: right .2s ease; }
.main-nav > a:hover::after, .main-nav > a.is-current::after { right: 0; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; }
.worldwide { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.worldwide svg, .worldwide .ph { width: 22px; height: 22px; font-size: 22px; }
.menu-button, .mobile-official { display: none; }

.hero { max-width: 1500px; margin: 0 auto; padding: 34px clamp(28px, 4vw, 66px) 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 1.1fr); gap: clamp(24px, 2.4vw, 38px); align-items: start; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .28em; font-size: 11px; font-weight: 700; color: var(--lime); }
.hero h1, .guide-hero h1, .trust-page h1, .not-found h1 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .94; }
.hero h1 { max-width: 700px; font-size: clamp(60px, 5vw, 72px); }
.hero h1 span { display: block; color: var(--lime); }
.hero-intro { max-width: 650px; margin: 22px 0 26px; color: #dce4ec; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.spreadsheet-answer { max-width: 650px; margin: -6px 0 26px; color: #c8d3df; font-size: 15px; line-height: 1.65; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 28px; border: 2px solid transparent; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg, .button .ph { width: 20px; height: 20px; font-size: 20px; }
.button--lime { color: var(--ink); background: var(--lime); }
.button--lime:hover { background: #e2ff71; }
.button--outline { border-color: rgba(255,255,255,.5); background: transparent; }
.button--outline:hover { color: var(--navy); background: var(--white); }
.independent-line { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.link-navigator { padding: 32px 36px; background: var(--paper); color: var(--ink); }
.navigator-kicker { display: flex; justify-content: space-between; gap: 18px; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800; color: #46556a; }
.link-navigator h2 { margin: 28px 0 22px; font-family: var(--display); font-size: clamp(36px, 3.2vw, 48px); font-weight: 400; line-height: 1; letter-spacing: .015em; }
.link-input { height: 66px; padding: 0 22px; display: flex; align-items: center; gap: 16px; border: 2px solid #23334a; background: var(--white); }
.link-input svg, .link-input .ph { width: 27px; height: 27px; flex: none; font-size: 27px; }
.link-input input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 17px; }
.link-input input::placeholder { color: #79869a; }
.navigator-submit { width: 100%; min-height: 66px; margin-top: 16px; display: flex; justify-content: center; align-items: center; gap: 14px; border: 0; color: var(--white); background: var(--coral); font-size: 18px; font-weight: 800; cursor: pointer; }
.navigator-submit:hover { background: #ff6a6a; }
.navigator-submit svg, .navigator-submit .ph { width: 22px; height: 22px; font-size: 22px; }
.link-navigator > p { margin: 18px 0 0; color: #647087; line-height: 1.6; font-size: 13px; }
.navigator-status { margin-top: 16px; display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; font-size: 13px; line-height: 1.45; background: #e5ecf2; }
.navigator-status svg, .navigator-status .ph { flex: none; width: 20px; height: 20px; font-size: 20px; }
.navigator-status.success { color: #173c2b; background: #dff7e7; }
.navigator-status.error { color: #6a1919; background: #ffe2df; }

.category-grid { max-width: 1500px; margin: 0 auto; padding: 0 clamp(28px, 4vw, 66px) 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-card { min-height: 270px; position: relative; overflow: hidden; padding: 28px 28px 22px; color: var(--ink); text-decoration: none; }
.category-card strong { position: relative; z-index: 2; font-family: var(--display); font-size: clamp(42px, 4vw, 62px); font-weight: 400; line-height: 1; }
.category-card img { position: absolute; width: 90%; height: 78%; left: 5%; bottom: -2%; object-fit: contain; mix-blend-mode: multiply; transition: transform .28s ease; }
.category-card:hover img { transform: scale(1.045) translateY(-4px); }
.category-card > svg, .category-card > .ph { position: absolute; z-index: 2; width: 30px; height: 30px; right: 22px; bottom: 20px; font-size: 30px; }
.category-card--lime { background: var(--lime); }
.category-card--coral { background: var(--coral); }
.category-card--lavender { background: var(--lavender); }
.category-card--paper { background: var(--paper); }
.category-card--sky { background: #a9ddea; }
.category-card--sand { background: #e8c39f; }
.catalog-note { max-width: 1368px; margin: -24px auto 44px; padding: 0 clamp(28px, 4vw, 66px); color: #aebcca; font-size: 13px; line-height: 1.6; }
.catalog-note strong { color: var(--white); }

.before-section { min-height: 580px; display: grid; grid-template-columns: .95fr 1.2fr .72fr; background: var(--navy-2); }
.before-intro { padding: 76px clamp(30px, 5vw, 78px); }
.before-intro h2, .process-section h2, .split-cta h2, .faq-section h2 { margin: 0; font-family: var(--display); font-size: clamp(52px, 5.8vw, 88px); font-weight: 400; line-height: .96; }
.before-intro > p:not(.eyebrow):not(.independent-line) { max-width: 480px; margin: 26px 0 0; color: #d4dfe9; font-size: 17px; line-height: 1.7; }
.signal-line { width: 52px; height: 5px; margin-top: 42px; background: var(--lime); }
.check-steps { margin: 0; padding: 72px 56px; list-style: none; border-left: 1px solid var(--line); }
.check-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 0 0 36px; }
.step-icon { width: 60px; height: 60px; display: grid; place-items: center; color: var(--ink); border-radius: 50%; }
.step-icon svg, .step-icon .ph { width: 30px; height: 30px; font-size: 30px; }
.step-icon--1 { background: var(--lime); }
.step-icon--2 { background: var(--coral); }
.step-icon--3 { background: var(--lavender); }
.step-number { font-size: 12px; }
.check-steps h3 { margin: 4px 0 8px; font-size: 17px; }
.check-steps p { max-width: 420px; margin: 0; color: #bcc9d5; font-size: 14px; line-height: 1.55; }
.container-figure { min-height: 100%; position: relative; margin: 0; overflow: hidden; }
.container-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,29,53,.06), rgba(6,29,53,.72)); }
.container-figure img { width: 100%; height: 100%; object-fit: cover; }
.container-figure figcaption { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 38px; text-transform: uppercase; }
.container-figure strong { display: block; max-width: 250px; font-family: var(--display); font-size: 45px; font-weight: 400; line-height: .92; }
.container-figure span { display: block; margin-top: 24px; letter-spacing: .13em; font-size: 10px; }

.process-section { padding: 110px clamp(28px, 6vw, 92px); color: var(--ink); background: var(--paper); }
.section-heading { max-width: 790px; }
.section-heading .eyebrow { color: #41536b; }
.section-heading h2 { font-size: clamp(54px, 6vw, 92px); }
.section-heading > p:last-child { max-width: 690px; margin: 24px 0 0; color: #516072; font-size: 17px; line-height: 1.7; }
.process-grid { margin-top: 68px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.process-grid article { position: relative; min-height: 280px; padding: 34px 30px; border-right: 1px solid #b5b5ad; }
.process-grid article:last-child { border-right: 0; }
.process-grid svg, .process-grid .ph { width: 42px; height: 42px; font-size: 42px; }
.process-grid span { position: absolute; right: 26px; top: 38px; font-family: var(--display); font-size: 28px; }
.process-grid h3 { margin: 48px 0 10px; font-size: 24px; }
.process-grid p { margin: 0; color: #556170; line-height: 1.65; }
.split-cta { padding: 86px clamp(28px, 6vw, 92px); display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; background: var(--navy); }
.split-cta h2 { max-width: 820px; }
.split-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }

.guide-hero { max-width: 1500px; margin: 0 auto; padding: 94px clamp(28px, 6vw, 92px) 86px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: center; }
.guide-hero h1, .trust-page h1, .not-found h1 { max-width: 1000px; font-size: clamp(65px, 7.7vw, 118px); }
.direct-answer { max-width: 800px; margin: 30px 0 0; color: #d4dee8; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.75; }
.guide-actions { margin-top: 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-underline-offset: 5px; }
.guide-symbol { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 22px; color: var(--ink); background: var(--lime); }
.guide-symbol svg, .guide-symbol .ph { width: 110px; height: 110px; font-size: 110px; }
.guide-symbol span { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.guide-body { padding: 90px clamp(28px, 6vw, 92px); display: grid; grid-template-columns: 260px minmax(0, 800px); justify-content: center; gap: clamp(50px, 8vw, 130px); color: var(--ink); background: var(--paper); }
.guide-body aside { position: sticky; top: 20px; height: fit-content; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.guide-body aside strong, .guide-body aside a { padding: 15px 4px; border-bottom: 1px solid #c7c6bf; }
.guide-body aside a { text-decoration: none; font-size: 14px; }
.guide-body aside a:hover { text-decoration: underline; }
.guide-label { text-transform: uppercase; letter-spacing: .2em; color: #4e5e70; font-size: 11px; font-weight: 800; }
.guide-main > section:not(.caution-block) { padding: 46px 0; display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid #b8b7b1; }
.guide-main > section > span { font-family: var(--display); font-size: 30px; }
.guide-main h2 { grid-column: 2; margin: -36px 0 12px; font-size: 30px; }
.guide-main section p { grid-column: 2; margin: 0; color: #53616e; font-size: 17px; line-height: 1.75; }
.caution-block { margin-top: 50px; padding: 30px; display: flex; gap: 22px; background: #dfdbff; }
.caution-block svg, .caution-block .ph { flex: none; width: 30px; height: 30px; font-size: 30px; }
.caution-block h2 { margin: 0 0 8px; }
.caution-block p { margin: 0 !important; }
.review-block { margin-top: 28px; display: flex; gap: 12px; align-items: center; color: #53616e; font-size: 13px; }
.review-block svg, .review-block .ph { flex: none; color: #1b6f4a; width: 22px; height: 22px; font-size: 22px; }
.faq-section { padding: 100px clamp(28px, 6vw, 92px); background: var(--navy-2); }
.faq-section h2 { max-width: 800px; }
.faq-list { max-width: 980px; margin-top: 50px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; font-size: 18px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--lime); font-size: 30px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 800px; margin: 0; padding: 0 0 28px; color: #c5d0db; line-height: 1.7; }

.trust-page, .not-found { min-height: 700px; padding: 94px clamp(28px, 6vw, 92px) 110px; }
.trust-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--white); border-bottom: 2px solid var(--white); }
.trust-grid article { min-height: 320px; padding: 34px 32px; border-right: 1px solid var(--line); }
.trust-grid article:last-child { border-right: 0; }
.trust-grid span { color: var(--lime); font-family: var(--display); font-size: 30px; }
.trust-grid h2 { margin: 62px 0 14px; font-size: 25px; }
.trust-grid p { margin: 0; color: #becbd7; line-height: 1.7; }
.trust-cta { margin-top: 60px; padding: 28px 32px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 20px; color: var(--ink); background: var(--lavender); }
.trust-cta > svg, .trust-cta > .ph { width: 38px; height: 38px; font-size: 38px; }
.trust-cta strong { font-size: 18px; }
.trust-cta p { margin: 4px 0 0; }
.not-found p:not(.eyebrow) { max-width: 650px; margin: 26px 0 34px; color: #c6d1dc; font-size: 20px; }

.site-footer { padding: 78px clamp(28px, 6vw, 92px) 26px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; background: #031526; border-top: 1px solid var(--line); }
.brand--footer { display: inline-block; }
.site-footer > div:first-child > p { max-width: 500px; color: #aebcca; line-height: 1.7; }
.footer-note { font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-links > div { display: flex; flex-direction: column; gap: 13px; }
.footer-links strong { margin-bottom: 5px; color: var(--lime); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }
.footer-links a { color: #c3ced8; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; padding-top: 28px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: #8292a1; font-size: 12px; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 240px 1fr auto; }
  .main-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 32px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 300px; }
  .before-section { grid-template-columns: 1fr 1.2fr; }
  .container-figure { grid-column: 1 / -1; min-height: 420px; }
  .container-figure figcaption { max-width: 420px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid #b5b5ad; }
}

@media (max-width: 820px) {
  .notice-bar { justify-content: center; text-align: center; }
  .notice-bar span:last-child { display: none; }
  .site-header { min-height: 86px; grid-template-columns: 1fr auto; }
  .brand { font-size: 36px; }
  .worldwide { display: none; }
  .menu-button { width: 48px; height: 48px; display: grid; place-items: center; color: var(--white); border: 1px solid var(--line); background: transparent; }
  .menu-button svg, .menu-button .ph { width: 25px; height: 25px; font-size: 25px; }
  .main-nav { position: absolute; z-index: 20; top: 128px; left: 0; right: 0; display: none; align-items: stretch; padding: 22px; flex-direction: column; background: var(--navy); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.mobile-official) { padding: 13px 0; }
  .mobile-official { margin-top: 8px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: var(--ink); background: var(--lime); text-decoration: none; font-weight: 800; }
  .hero { padding-top: 46px; grid-template-columns: 1fr; }
  .link-navigator { padding: 30px 26px; }
  .before-section { grid-template-columns: 1fr; }
  .check-steps { border-left: 0; border-top: 1px solid var(--line); }
  .container-figure { grid-column: auto; }
  .split-cta { align-items: stretch; flex-direction: column; }
  .split-actions { flex-direction: row; flex-wrap: wrap; }
  .guide-hero { grid-template-columns: 1fr; gap: 50px; }
  .guide-symbol { width: min(320px, 100%); }
  .guide-body { grid-template-columns: 1fr; }
  .guide-body aside { position: static; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid article:last-child { border-bottom: 0; }
  .trust-grid h2 { margin-top: 30px; }
  .trust-cta { grid-template-columns: 44px 1fr; }
  .trust-cta .text-link { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .notice-bar { font-size: 11px; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: 61px; }
  .hero-intro { font-size: 17px; }
  .navigator-kicker span:last-child { display: none; }
  .link-navigator h2 { font-size: 42px; }
  .link-input, .navigator-submit { min-height: 64px; height: auto; }
  .category-grid { padding-inline: 20px; grid-template-columns: 1fr; }
  .category-card { min-height: 320px; }
  .catalog-note { margin-top: -18px; padding-inline: 20px; }
  .before-intro, .check-steps { padding: 58px 24px; }
  .check-steps li { grid-template-columns: 54px 1fr; gap: 16px; }
  .step-icon { width: 52px; height: 52px; }
  .process-section, .split-cta, .guide-hero, .guide-body, .faq-section, .trust-page, .not-found { padding-left: 22px; padding-right: 22px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article:nth-child(2) { border-right: 0; border-bottom: 1px solid #b5b5ad; }
  .process-grid article:last-child { border-bottom: 0; }
  .split-actions { flex-direction: column; }
  .guide-actions { align-items: stretch; flex-direction: column; }
  .guide-main > section:not(.caution-block) { grid-template-columns: 50px 1fr; }
  .guide-main h2 { font-size: 24px; }
  .trust-cta { padding: 24px 20px; }
  .site-footer { padding-inline: 22px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
