/* =========================================================
   AHO·Rise Brand-Layer für Ghost "Source"
   In default.hbs nach den Theme-Styles einbinden (siehe MIGRATION.md)
   ========================================================= */

/* ---- Schriften (lokal im Theme, DSGVO-sicher) ---- */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('../fonts/lora-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('../fonts/lora-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/work-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/work-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---- Markenfarben & Typo-Grundton ---- */
:root {
  --brand-bg: #FBF7F1;
  --brand-ink: #1F2A24;
  --brand-ink-soft: #55625A;
  --brand-border: #E7DFD2;
  --brand-accent: #E4572E;
  --brand-green: #2F6F5E;
  --brand-gold: #D9A441;
  --brand-deep: #14251F;
  --brand-on-deep: #EDE6DA;
  --brand-on-deep-soft: #A8B5AC;
}

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--brand-bg);
  color: var(--brand-ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .gh-head-logo, .gh-content h1, .gh-content h2, .gh-content h3 {
  font-family: 'Lora', Georgia, serif;
  letter-spacing: -0.02em;
}

a { color: var(--brand-green); }

/* Ghost-Akzentfarbe nachziehen (falls nicht im Admin gesetzt) */
.gh-button, .gh-btn, a.gh-button {
  --ghost-accent-color: var(--brand-accent);
}

/* Tag-Pillen in den Markenfarben */
.gh-post-meta .gh-tag, a.gh-tag, .post-card-tags {
  font-size: 1.088rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
a.gh-tag, .gh-content .kg-tag {
  color: var(--brand-green);
}

/* =========================================================
   Hero der Startseite (Snippet home-hero.hbs)
   ========================================================= */
.ahor-hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--brand-on-deep);
  padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 112px);
}
.ahor-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 90% at 12% 0%, rgba(47,111,94,.85) 0%, transparent 60%),
    radial-gradient(60% 80% at 88% 18%, rgba(228,87,46,.55) 0%, transparent 62%),
    radial-gradient(50% 70% at 72% 96%, rgba(217,164,65,.38) 0%, transparent 64%);
}
/* feine Körnung über der Fläche */
.ahor-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.ahor-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.ahor-eyebrow {
  font-size: 1.184rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237,230,218,.72);
  margin: 0 0 22px;
}
.ahor-hero-title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: clamp(4.16rem, 7.2vw, 8.64rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  max-width: 16ch;
  color: var(--brand-on-deep);
}
.ahor-hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-gold) 10%, #F0B86B 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ahor-hero-lead {
  font-size: clamp(1.68rem, 1.6vw, 2rem);
  line-height: 1.65;
  max-width: 54ch;
  color: rgba(237,230,218,.88);
  margin: 0 0 36px;
}
.ahor-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ahor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.536rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ahor-btn-primary {
  background: var(--brand-on-deep);
  color: var(--brand-deep);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
}
.ahor-btn-primary:hover { transform: translateY(-2px); color: var(--brand-deep); }
.ahor-btn-ghost {
  border: 1.5px solid rgba(237,230,218,.65);
  color: var(--brand-on-deep);
}
.ahor-btn-ghost:hover {
  background: rgba(237,230,218,.18);
  transform: translateY(-2px);
  color: var(--brand-on-deep);
}
.ahor-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 52px;
  margin: 52px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(237,230,218,.18);
}
.ahor-facts div { display: flex; flex-direction: column; gap: 4px; }
.ahor-facts dt {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-on-deep-soft);
}
.ahor-facts dd {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.84rem;
  color: var(--brand-on-deep);
}

/* Lesetext bequemer begrenzen (wie bisher max. 46em) */
.gh-content { font-size: 1.728rem; line-height: 1.75; }

@media (prefers-reduced-motion: reduce) {
  .ahor-btn, .ahor-btn-primary, .ahor-btn-ghost { transition: none; }
}
