/*
Theme Name: StrukturHelten
Theme URI: https://example.com/
Author: TechPartner
Description: Et roligt og visuelt WordPress-tema udviklet til StrukturHelten.dk.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: adhd-focus
*/

:root {
  --af-bg: #f5f7fb;
  --af-surface: #ffffff;
  --af-primary: #5b56e8;
  --af-primary-dark: #413cbf;
  --af-secondary: #18a999;
  --af-text: #172033;
  --af-muted: #667085;
  --af-border: #e5e7eb;
  --af-warning: #f59e0b;
  --af-danger: #dc2626;
  --af-radius: 22px;
  --af-shadow: 0 18px 45px rgba(23,32,51,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--af-text);
  background: var(--af-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--af-primary); text-decoration: none; }
a:hover { color: var(--af-primary-dark); }
img { max-width: 100%; height: auto; }

.af-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--af-border);
}
.af-container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.af-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.af-brand { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 800; color: var(--af-text); }
.af-brand-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--af-primary), #8b5cf6); box-shadow: 0 10px 25px rgba(91,86,232,.25); }
.af-nav ul { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.af-nav a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--af-text); font-weight: 650; }
.af-nav a:hover { background: #f0efff; color: var(--af-primary); }
.af-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; color: #fff !important; background: var(--af-primary); border-radius: 14px; font-weight: 750; }

.af-main { min-height: calc(100vh - 160px); padding: 36px 0 70px; }
.af-content-card { background: var(--af-surface); border: 1px solid var(--af-border); border-radius: var(--af-radius); padding: clamp(22px, 4vw, 46px); box-shadow: var(--af-shadow); }
.af-entry-title { margin: 0 0 24px; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.04em; }

.af-hero { padding: 72px 0 48px; }
.af-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 52px; }
.af-kicker { display: inline-flex; padding: 8px 12px; border-radius: 999px; color: var(--af-primary-dark); background: #ecebff; font-weight: 800; font-size: .88rem; }
.af-hero h1 { margin: 18px 0; font-size: clamp(2.7rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.af-hero p { max-width: 660px; color: var(--af-muted); font-size: 1.15rem; }
.af-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.af-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 15px; font-weight: 800; }
.af-btn-primary { color: #fff; background: var(--af-primary); }
.af-btn-secondary { color: var(--af-text); background: #fff; border: 1px solid var(--af-border); }
.af-visual { min-height: 430px; padding: 24px; border-radius: 32px; background: linear-gradient(160deg,#dedcff,#f9f9ff 65%); position: relative; overflow: hidden; }
.af-visual-card { background: rgba(255,255,255,.95); padding: 18px; border-radius: 20px; box-shadow: 0 20px 50px rgba(49,46,129,.16); margin-bottom: 14px; }
.af-progress { height: 10px; background: #eceef3; border-radius: 999px; overflow: hidden; }
.af-progress span { display: block; width: 68%; height: 100%; background: linear-gradient(90deg,var(--af-primary),var(--af-secondary)); }

.af-site-footer { padding: 30px 0; color: var(--af-muted); background: #fff; border-top: 1px solid var(--af-border); }
.af-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 850px) {
  .af-hero-grid { grid-template-columns: 1fr; }
  .af-nav { display: none; }
  .af-visual { min-height: 360px; }
}
