/* gv-hahn-friesenrath.de design tokens
   Palette: #8B0000 burgundy, #C5A059 gold, #FDFBF7 parchment, #333333 charcoal
   Typography: Libre Baskerville headings, Manrope body
   Audit anchors: Kalkofen in der Au | Bewahren und Entdecken
*/

:root {
  --ghf-burgundy: #8b0000;
  --ghf-burgundy-deep: #5d0606;
  --ghf-burgundy-soft: #b12c26;
  --ghf-gold: #c5a059;
  --ghf-gold-soft: #e8d2a2;
  --ghf-ink: #333333;
  --ghf-muted: #675d55;
  --ghf-paper: #fdfbf7;
  --ghf-paper-strong: #f6f0e5;
  --ghf-paper-deep: #ede3d3;
  --ghf-line: rgba(139, 0, 0, 0.14);
  --ghf-shadow: 0 28px 70px rgba(73, 42, 28, 0.16);
  --ghf-shadow-soft: 0 12px 28px rgba(73, 42, 28, 0.08);
  --ghf-radius: 1.4rem;
  --ghf-radius-soft: 1rem;
  --ghf-max: 86rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ghf-site-body {
  margin: 0;
  color: var(--ghf-ink);
  font-family: "Manrope", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(197, 160, 89, 0.16), transparent 22%),
    radial-gradient(circle at top left, rgba(139, 0, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, var(--ghf-paper) 35%, #f7f0e3 100%);
}

.ghf-page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ghf-burgundy);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--ghf-burgundy-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: #231d18;
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

p,
li,
td,
th,
figcaption,
blockquote {
  font-size: 1rem;
  line-height: 1.8;
}

.grid-container {
  max-width: var(--ghf-max);
}

.ghf-main-shell {
  position: relative;
  z-index: 1;
}

.ghf-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 1rem 0;
}

.ghf-header-wrap {
  max-width: var(--ghf-max);
}

.ghf-topbar,
.ghf-primary-nav,
.ghf-site-footer,
.ghf-paper,
.ghf-sidebar-card,
.ghf-note-panel,
.ghf-contact-card,
.ghf-kalkofen-card,
.ghf-feature-card,
.ghf-stat-card,
.ghf-discover-card,
.ghf-home-cta__box,
.ghf-news-highlight {
  border: 1px solid var(--ghf-line);
  box-shadow: var(--ghf-shadow-soft);
}

.ghf-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--ghf-radius) var(--ghf-radius) 0 0;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px);
}

.ghf-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ghf-brand__eyebrow,
.ghf-card-eyebrow,
.ghf-footer__eyebrow {
  color: var(--ghf-gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ghf-brand__title {
  color: var(--ghf-burgundy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 2.25rem);
  line-height: 1.15;
}

.ghf-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: flex-end;
}

.ghf-meta-pill,
.ghf-meta-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ghf-meta-pill {
  color: var(--ghf-muted);
  background: rgba(197, 160, 89, 0.08);
}

.ghf-meta-link {
  color: var(--ghf-burgundy);
  background: rgba(139, 0, 0, 0.04);
}

.ghf-primary-nav {
  margin-top: 0.2rem;
  padding: 0.55rem 1rem;
  border-top: 0;
  border-radius: 0 0 var(--ghf-radius) var(--ghf-radius);
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(16px);
}

.ghf-primary-nav__list {
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}

.ghf-primary-nav__item > a,
.ghf-nav-details > summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  color: var(--ghf-ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.ghf-primary-nav__item > a:hover,
.ghf-nav-details > summary:hover {
  background: rgba(197, 160, 89, 0.12);
  color: var(--ghf-burgundy);
}

.ghf-primary-nav__item.is-active > a,
.ghf-primary-nav__item.is-active > details > summary {
  color: #fff;
  background: linear-gradient(135deg, var(--ghf-burgundy), var(--ghf-burgundy-soft));
}

.ghf-nav-details {
  position: relative;
}

.ghf-nav-details > summary {
  list-style: none;
  cursor: pointer;
}

.ghf-nav-details > summary::-webkit-details-marker {
  display: none;
}

.ghf-nav-details__panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 14rem;
  padding: 0.7rem;
  border-radius: 1rem;
  border: 1px solid var(--ghf-line);
  background: #fffefb;
  box-shadow: var(--ghf-shadow-soft);
}

.ghf-nav-details__panel a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  font-size: 0.93rem;
}

.ghf-nav-details__panel a:hover {
  background: rgba(197, 160, 89, 0.12);
}

.ghf-home-hero,
.ghf-page-hero {
  position: relative;
  padding: 3.2rem 1rem 2.2rem;
}

.ghf-home-hero::before,
.ghf-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.54) 52%, rgba(197, 160, 89, 0.12) 100%);
  pointer-events: none;
}

.ghf-home-hero .grid-container,
.ghf-page-hero .grid-container {
  position: relative;
  z-index: 1;
}

.ghf-home-hero__title {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.ghf-home-hero__title span {
  color: var(--ghf-burgundy);
  font-style: italic;
  font-weight: 400;
}

.ghf-home-hero__lead,
.ghf-page-hero__lead,
.ghf-prose-intro {
  max-width: 42rem;
  color: var(--ghf-muted);
  font-size: 1.08rem;
}

.ghf-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.ghf-action-row--center {
  justify-content: center;
}

.button.ghf-button {
  margin: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ghf-button--filled {
  color: #fff;
  background: linear-gradient(135deg, var(--ghf-burgundy), var(--ghf-burgundy-soft));
}

.ghf-button--filled:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--ghf-burgundy-deep), var(--ghf-burgundy));
}

.ghf-button--ghost {
  color: var(--ghf-burgundy);
  border-color: rgba(139, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.72);
}

.ghf-button--ghost:hover {
  color: var(--ghf-burgundy);
  background: rgba(197, 160, 89, 0.12);
}

.ghf-button--light {
  color: var(--ghf-burgundy);
  background: #fff;
}

.ghf-button--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.ghf-kalkofen-card {
  padding: 1.3rem;
  border-radius: var(--ghf-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 240, 229, 0.94));
}

.ghf-kalkofen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.ghf-kalkofen-tile {
  align-items: flex-end;
  border-radius: 0.95rem;
  color: #fff7e6;
  display: flex;
  font-size: 0.88rem;
  font-weight: 800;
  height: 7.5rem;
  letter-spacing: 0.08em;
  padding: 0.85rem;
  text-transform: uppercase;
}

.ghf-kalkofen-tile--brick {
  background: linear-gradient(145deg, #6c1f15, #a85237);
}

.ghf-kalkofen-tile--sketch {
  background: linear-gradient(145deg, #bca27e, #8f6a3c);
}

.ghf-kalkofen-tile--archive {
  background: linear-gradient(145deg, #3c4d65, #1d2738);
}

.ghf-kalkofen-tile--embers {
  background: linear-gradient(145deg, #7b2016, #b12c26);
}

.ghf-kalkofen-tile--forest {
  background: linear-gradient(145deg, #41553f, #73855e);
}

.ghf-kalkofen-tile--crest {
  background: linear-gradient(145deg, #7b5f2f, #c5a059);
  color: #472f13;
}

.ghf-kalkofen-card__caption {
  margin-top: 1rem;
  color: var(--ghf-muted);
  font-size: 0.92rem;
}

.ghf-home-section {
  padding: 1.7rem 1rem 2.3rem;
}

.ghf-home-section--muted {
  padding-top: 2rem;
}

.ghf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ghf-inline-link {
  color: var(--ghf-burgundy);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ghf-inline-link--light {
  color: #fff7e6;
}

.ghf-feature-card,
.ghf-discover-card,
.ghf-news-highlight,
.ghf-stat-card,
.ghf-sidebar-card,
.ghf-note-panel,
.ghf-contact-card {
  height: 100%;
  border-radius: var(--ghf-radius);
  background: rgba(255, 255, 255, 0.86);
}

.ghf-feature-card {
  overflow: hidden;
}

.ghf-feature-card--wide {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.ghf-feature-card__media {
  color: #fff7e6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 19rem;
  padding: 1.4rem;
}

.ghf-feature-card__media--history {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(145deg, #4f0c0b, #8b0000 48%, #c5a059 100%);
}

.ghf-feature-card__badge {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.8rem;
  text-transform: uppercase;
}

.ghf-feature-card__media strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.18;
}

.ghf-feature-card__media img {
  width: 100%;
  height: 100%;
  min-height: 19rem;
  object-fit: cover;
}

.ghf-feature-card__body,
.ghf-feature-card,
.ghf-discover-card,
.ghf-news-highlight__body,
.ghf-sidebar-card,
.ghf-note-panel,
.ghf-contact-card {
  padding: 1.35rem;
}

.ghf-stack-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.ghf-feature-card--burgundy {
  color: #fff;
  background: linear-gradient(145deg, var(--ghf-burgundy), #a3271f);
}

.ghf-feature-card--burgundy h3,
.ghf-feature-card--burgundy p {
  color: #fff4ea;
}

.ghf-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ghf-stat-card {
  padding: 1.4rem;
  text-align: center;
}

.ghf-stat-card__value {
  display: block;
  color: var(--ghf-burgundy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.4rem;
}

.ghf-stat-card__label {
  display: block;
  margin-top: 0.4rem;
  color: var(--ghf-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ghf-discover-grid .cell {
  display: flex;
}

.ghf-discover-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ghf-home-cta {
  padding: 1rem 1rem 3.2rem;
}

.ghf-home-cta__box {
  padding: 2.4rem 2rem;
  text-align: center;
  border-radius: calc(var(--ghf-radius) + 0.3rem);
  color: #fff;
  background: linear-gradient(135deg, var(--ghf-burgundy), #b53022);
}

.ghf-home-cta__box h2,
.ghf-home-cta__box p {
  color: #fff6ef;
}

.ghf-page-shell {
  padding: 0 1rem 2.8rem;
}

.ghf-page-shell--narrow .grid-container {
  max-width: 52rem;
}

.ghf-paper {
  padding: 1.65rem;
  border-radius: calc(var(--ghf-radius) + 0.1rem);
  background: rgba(255, 255, 255, 0.84);
}

.ghf-paper--longform {
  padding: 1.9rem;
}

.ghf-paper--article h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.06;
}

.ghf-paper--narrow {
  padding: 1.5rem;
}

.ghf-rich-copy > *:first-child,
.ghf-paper > *:first-child {
  margin-top: 0;
}

.ghf-rich-copy p,
.ghf-paper p,
.ghf-paper li,
.ghf-paper td,
.ghf-paper th {
  color: var(--ghf-ink);
}

.ghf-rich-copy h2,
.ghf-rich-copy h3,
.ghf-rich-copy h4,
.ghf-paper h2,
.ghf-paper h3,
.ghf-paper h4 {
  margin-top: 2rem;
}

.ghf-breadcrumb-wrap {
  margin-bottom: 1rem;
}

.ghf-breadcrumbs {
  margin: 0;
}

.ghf-breadcrumbs li,
.ghf-breadcrumbs a,
.ghf-breadcrumbs span {
  color: var(--ghf-muted);
  font-size: 0.83rem;
}

.ghf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ghf-sidebar-card--accent {
  background: linear-gradient(180deg, rgba(246, 240, 229, 0.96), rgba(237, 227, 211, 0.96));
}

.ghf-side-menu,
.ghf-link-list,
.ghf-footer__nav {
  margin: 0;
  list-style: none;
}

.ghf-side-menu li + li,
.ghf-link-list li + li,
.ghf-footer__nav li + li {
  margin-top: 0.45rem;
}

.ghf-side-menu a,
.ghf-link-list a,
.ghf-footer__nav a {
  color: var(--ghf-ink);
}

.ghf-sidebar-note,
.ghf-footer__copy,
.ghf-note-panel p,
.ghf-contact-card p {
  color: var(--ghf-muted);
}

.ghf-footer__title {
  margin-top: 0.45rem;
  font-size: 1.8rem;
}

.ghf-site-footer {
  position: relative;
  z-index: 1;
  margin: 0 1rem 1rem;
  padding: 2rem 1.5rem;
  border-radius: calc(var(--ghf-radius) + 0.2rem);
  background: linear-gradient(135deg, rgba(69, 31, 27, 0.96), rgba(99, 31, 24, 0.96));
}

.ghf-site-footer h2,
.ghf-site-footer p,
.ghf-site-footer a,
.ghf-site-footer li {
  color: #fff3e7;
}

.ghf-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.ghf-block,
.ghf-table-shell,
.ghf-gallery,
.ghf-blockquote,
.ghf-code,
.ghf-figure {
  margin-bottom: 1.3rem;
}

.ghf-figure img,
.ghf-gallery-card img,
.ghf-news-highlight img {
  width: 100%;
  border-radius: 1rem;
}

.ghf-figure figcaption,
.ghf-gallery-card figcaption {
  margin-top: 0.55rem;
  color: var(--ghf-muted);
  font-size: 0.9rem;
}

.ghf-gallery-card {
  margin: 0;
}

.ghf-inline-image img {
  display: inline-block;
  width: 4.4rem;
  margin: 0.15rem 0;
  border-radius: 0.6rem;
}

.ghf-inline-seq {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.ghf-table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.ghf-table th,
.ghf-table td {
  border: 1px solid rgba(197, 160, 89, 0.26);
  vertical-align: top;
  background: rgba(253, 251, 247, 0.84);
}

.ghf-table th {
  background: rgba(197, 160, 89, 0.16);
  color: var(--ghf-burgundy);
  font-weight: 800;
}

.ghf-list {
  margin-left: 1.2rem;
}

.ghf-list li + li {
  margin-top: 0.45rem;
}

.ghf-blockquote {
  margin-left: 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--ghf-gold);
  border-radius: 0 1rem 1rem 0;
  background: rgba(197, 160, 89, 0.09);
}

.ghf-code {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: #2a201e;
  color: #f7efe2;
  overflow-x: auto;
}

.ghf-separator {
  border-color: rgba(197, 160, 89, 0.28);
}

.ghf-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-bottom: 1rem;
  color: var(--ghf-muted);
  font-size: 0.9rem;
}

.ghf-content-toc {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(197, 160, 89, 0.28);
  background: rgba(246, 240, 229, 0.88);
}

.ghf-content-toc ul {
  margin: 0;
  list-style: none;
}

.ghf-content-toc li + li {
  margin-top: 0.4rem;
}

.ghf-content-toc__level--3,
.ghf-content-toc__level--4 {
  padding-left: 1rem;
}

.ghf-category-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.ghf-category-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ghf-category-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ghf-category-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ghf-category-card {
  height: 100%;
  border-radius: 1.1rem;
  border: 1px solid var(--ghf-line);
  background: rgba(253, 251, 247, 0.86);
  box-shadow: var(--ghf-shadow-soft);
}

.ghf-category-card__link {
  display: block;
  height: 100%;
  color: inherit;
}

.ghf-category-card__media img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 1.1rem 1.1rem 0 0;
}

.ghf-category-card__body {
  padding: 1rem;
}

.ghf-category-card.is-horizontal .ghf-category-card__link {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
}

.ghf-category-card.is-horizontal .ghf-category-card__media img {
  height: 100%;
  border-radius: 1.1rem 0 0 1.1rem;
}

.ghf-category-card.is-minimal .ghf-category-card__media {
  display: none;
}

.ghf-main-image img {
  width: 100%;
}

@media screen and (max-width: 63.9375em) {
  .ghf-site-header {
    padding: 0.75rem 0.75rem 0;
  }

  .ghf-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ghf-header-meta {
    justify-content: flex-start;
  }

  .ghf-feature-card--wide,
  .ghf-category-card.is-horizontal .ghf-category-card__link {
    grid-template-columns: 1fr;
  }

  .ghf-home-hero,
  .ghf-page-hero,
  .ghf-home-section,
  .ghf-home-cta,
  .ghf-page-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .ghf-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ghf-category-grid--two,
  .ghf-category-grid--three,
  .ghf-category-grid--four {
    grid-template-columns: 1fr;
  }

  .ghf-site-footer {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
}

@media screen and (max-width: 39.9375em) {
  .ghf-primary-nav__item > a,
  .ghf-nav-details > summary {
    min-height: 2.45rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
  }

  .ghf-kalkofen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ghf-kalkofen-tile {
    height: 6.2rem;
  }

  .ghf-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ghf-stat-grid {
    grid-template-columns: 1fr;
  }

  .ghf-home-cta__box,
  .ghf-paper,
  .ghf-sidebar-card,
  .ghf-feature-card,
  .ghf-discover-card,
  .ghf-news-highlight {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
