/* hg.css — Henrik-Geyer-Layer
   Wird nach style.css + header.css geladen, ueberschreibt also Konflikte.
   Zielt nur auf die NEUEN Komponenten (Hero, Tiles, Bisnet-Embed) +
   ein paar kleine Header-Tweaks (Tagline, aktiver Menupunkt). */

:root {
  --hg-ink:        #1a1816;
  --hg-ink-soft:   #4a4640;
  --hg-rule:       #e2dfd8;
  --hg-paper:      #faf8f3;
  --hg-paper-2:    #f1ede2;
  --hg-accent:     #c2410c;       /* warmer Akzent, ruhig */
  --hg-accent-2:   #1f4068;       /* tiefes Blau fuer Business-Tile */
  --hg-serif:      'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --hg-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Header-Tweaks ─────────────────────────────────────── */
.site-header .site-title {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 700;
}
.site-header .site-tagline {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hg-accent);
  margin-top: 2px;
}
.nav-main a.is-active {
  color: var(--hg-accent);
  border-bottom: 2px solid var(--hg-accent);
}
.nav-main .nav-mail {
  border: 1px solid var(--hg-ink);
  padding: 4px 12px;
  border-radius: 4px;
  margin-left: 8px;
}
.nav-main .nav-mail:hover {
  background: var(--hg-ink);
  color: #fff;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--hg-rule);
  margin-bottom: 2.5rem;
}
.hero__eyebrow {
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hg-accent);
  margin: 0 0 .8rem;
  font-weight: 600;
}
.hero__title {
  font-family: var(--hg-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.5px;
  color: var(--hg-ink);
  margin: 0 0 1.2rem;
}
.hero__title-accent {
  color: var(--hg-accent);
  font-style: italic;
  font-weight: 400;
}
.hero__lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--hg-ink-soft);
  max-width: 38ch;
  margin: 0 0 1.6rem;
}
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__visual img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.3rem;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background .15s, color .15s, transform .1s;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--hg-ink);
  color: #fff;
}
.btn--primary:hover { background: var(--hg-accent); transform: translateY(-1px); }
.btn--ghost {
  border-color: var(--hg-ink);
  color: var(--hg-ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--hg-ink); color: #fff; }

/* ── Intro-Block ──────────────────────────────────────── */
.intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--hg-ink);
}
.intro p { margin: 0 0 1.1rem; }
.intro__more a {
  color: var(--hg-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ── Tiles (3-Sektionen) ──────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 0 0 3rem;
}
.tile {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.5rem 1.5rem;
  background: var(--hg-paper);
  border: 1px solid var(--hg-rule);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.tile:hover {
  border-color: var(--hg-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.tile__eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hg-accent);
  margin-bottom: .6rem;
}
.tile--business  .tile__eyebrow { color: var(--hg-accent-2); }
.tile--books     .tile__eyebrow { color: #7c3a1e; }
.tile__title {
  font-family: var(--hg-serif);
  font-weight: 500;
  font-size: 1.55rem;
  margin: 0 0 .7rem;
  color: var(--hg-ink);
  line-height: 1.15;
}
.tile__lead {
  font-size: .96rem;
  color: var(--hg-ink-soft);
  line-height: 1.55;
  margin: 0 0 1.1rem;
  flex: 1;
}
.tile__cta {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--hg-accent);
  margin-top: auto;
}

/* ── Closing ──────────────────────────────────────────── */
.closing {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 1.6rem;
  background: var(--hg-paper-2);
  border-radius: 6px;
  font-size: 1.02rem;
  color: var(--hg-ink-soft);
  text-align: center;
  font-family: var(--hg-serif);
  font-style: italic;
  line-height: 1.6;
}
.closing--centered { text-align: center; }
.closing em { color: var(--hg-ink); font-weight: 500; }

/* ── Prose (Ueber, Texte) ─────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 2rem auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--hg-ink);
}
.prose h1 {
  font-family: var(--hg-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 .4rem;
  line-height: 1.1;
}
.prose .lead {
  font-size: .9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hg-accent);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.prose h2 {
  font-family: var(--hg-serif);
  font-weight: 500;
  font-size: 1.8rem;
  margin: 2.2rem 0 .8rem;
  color: var(--hg-ink);
}
.prose p { margin: 0 0 1.1rem; }
.prose hr { border: none; border-top: 1px solid var(--hg-rule); margin: 2.5rem 0; }
.prose__portrait {
  float: right;
  margin: 0 0 1.2rem 1.5rem;
  max-width: 220px;
}
.prose__portrait img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.ueber__cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  clear: both;
}

/* ── Apps-Seite ───────────────────────────────────────── */
.page-header {
  margin: 2rem 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hg-rule);
}
.page-header h1 {
  font-family: var(--hg-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: .3rem 0 .8rem;
}
.page-header__eyebrow {
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hg-accent-2);
  font-weight: 600;
  margin: 0;
}
.page-header__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--hg-ink-soft);
  max-width: 70ch;
  margin: 0;
}
.bisnet-embed {
  margin: 2rem 0 2.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--hg-rule);
  border-radius: 8px;
  /* eingebetteter Inhalt kommt aus bisnet — Container nimmt seine Styles auf */
}
.notice {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-radius: 6px;
}
.notice--warn {
  background: #fff7e6;
  border: 1px solid #f5b800;
  color: #8a5a00;
}
.notice strong { display: block; margin-bottom: .3rem; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 1.5rem; }
  .hero__visual img { max-width: 260px; }
  .tiles { grid-template-columns: 1fr; }
  .prose__portrait { float: none; margin: 0 0 1.5rem; max-width: 100%; text-align: center; }
}
