:root {
  --blue: #0b4f8a;
  --blue-dark: #083a66;
  --red: #8f1d2c;
  --text: #1f2a33;
  --muted: #5b6670;
  --line: #d7e0e8;
  --bg: #f3f6f9;
  --surface: #ffffff;
  --soft: #e8eef4;
  --max: 1080px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, #dce8f2 0%, transparent 55%),
    radial-gradient(ellipse 55% 35% at 0% 15%, #e7eef5 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: 0.65rem 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  width: min(240px, 68vw);
  height: auto;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue);
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--blue);
  outline: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.site-header.is-nav-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem 1.25rem;
  margin: 0;
  margin-left: auto;
}

.nav a {
  font-weight: 600;
  color: var(--blue);
  font-size: 18px;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: #3d7eb8;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--red);
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background-color: var(--surface);
  background-image: url("assets/hero-rose.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, #ffffff 88%, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 2rem;
  padding-block: 3.25rem;
  container-type: inline-size;
  container-name: hero;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.15;
}

.hero-brand .brand-seven {
  color: var(--red);
  font-size: 1.22em;
  font-weight: 600;
  line-height: 0.9;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  color: var(--red);
  line-height: 1.2;
}

.hero-lead {
  margin: 0;
  max-width: 50cqw;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-dark);
  text-decoration: none;
}

.button-text {
  font-weight: 700;
  color: var(--blue);
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  object-position: center center;
}

.section {
  padding: 2.75rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-band + .section {
  border-top: 0;
}

.section h2 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 650;
  color: var(--blue);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  margin: 0;
}

.section-head a {
  font-weight: 600;
}

.focus-list {
  margin: 0;
  padding-left: 1.15rem;
  columns: 2;
  column-gap: 2.5rem;
}

.focus-list li {
  margin: 0.3rem 0;
  break-inside: avoid;
}

.note {
  margin: 1.25rem 0 0;
  color: var(--blue);
  font-weight: 700;
}

.focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.9rem;
  margin-top: 1.35rem;
}

.focus-actions-center {
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.article-body .focus-actions {
  max-width: none;
}

.button-secondary {
  background: var(--surface);
  color: var(--blue);
  border: 1px solid var(--blue);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--soft);
  color: var(--blue-dark);
  border-color: var(--blue-dark);
  text-decoration: none;
}

.stars {
  margin: 0 0 1rem;
  color: #a67c00;
  letter-spacing: 0.08em;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quotes blockquote {
  margin: 0;
  padding: 0 0 0 0.9rem;
  border-left: 3px solid var(--blue);
}

.quotes p {
  margin: 0 0 0.5rem;
}

.quotes footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.posts {
  display: grid;
  gap: 0;
}

.posts a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.posts a:first-child {
  border-top: 1px solid var(--line);
}

.posts a:hover .post-title,
.posts a:focus-visible .post-title {
  text-decoration: underline;
}

.post-date {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.post-title {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.22rem;
}

.about {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.5rem;
}

.article-body .about {
  max-width: none;
}

.about img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.about-copy {
  min-width: 0;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
}

.about-copy p + p {
  margin-top: 0.85rem;
}

.hero-article .hero-article-inner {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.hero-article .hero-lead {
  max-width: 50cqw;
}

.post-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-article-media img {
  max-height: 360px;
  width: 100%;
  object-fit: cover;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.85rem 1.1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.blog-card:first-child {
  border-top: 1px solid var(--line);
}

.blog-card:hover .post-title,
.blog-card:focus-visible .post-title {
  text-decoration: underline;
}

.blog-card-image {
  width: 96px;
  height: 72px;
  object-fit: cover;
  background: var(--soft);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.blog-card-excerpt {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.article-body {
  max-width: 48rem;
}

.article-body > img,
.article-body p img {
  margin: 1rem 0;
}

.article-body .about img {
  margin: 0;
}

.article-body h2 {
  margin-top: 2rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 1.5rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--red);
}
.article-body h4 {
  margin: 1.1rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
}


.article-body p,
.article-body ul {
  margin: 0 0 1rem;
  color: var(--text);
}

.article-body ul {
  padding-left: 1.2rem;
}

.article-body li {
  margin: 0.35rem 0;
}

.hero-pep-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  align-self: center;
}

.hero-pep-media img {
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: none;
}

.price-box {
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  background: color-mix(in srgb, var(--soft) 75%, var(--blue) 8%);
  border-left: 4px solid var(--blue);
}

.price-box h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--blue);
}

.price-box p {
  margin: 0 0 0.75rem;
  color: var(--text);
}

.price-box p:last-child {
  margin-bottom: 0;
}

.article-quote {
  margin: 0 0 1.25rem;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid var(--blue);
  background: color-mix(in srgb, var(--soft) 55%, transparent);
}

.article-quote p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--blue-dark);
}

.article-fazit {
  margin-top: 1.5rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--blue) !important;
}

.book-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem 1.5rem;
  align-items: stretch;
  max-width: 48rem;
  margin-inline: auto;
}

.book-feature-cover {
  display: block;
  align-self: stretch;
  line-height: 0;
}

.book-feature-cover img {
  width: auto;
  height: 100%;
  max-width: 160px;
  margin: 0;
  object-fit: contain;
  object-position: top left;
}

.book-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 11.5rem;
}

.book-feature-copy h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 650;
  color: var(--blue);
}

.book-feature-author {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-style: italic;
}

.book-feature-copy p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.book-feature-copy p:last-child {
  margin-bottom: 0;
  margin-top: auto;
}

@media (max-width: 640px) {
  .book-feature {
    grid-template-columns: 110px 1fr;
    gap: 1rem;
  }

  .book-feature-cover img {
    width: 110px;
    height: auto;
  }
}

.section-spacer {
  height: 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-cta h2 {
  margin-bottom: 0.65rem;
}

.article-cta p {
  margin: 0 0 1.1rem;
  max-width: 42rem;
  color: var(--muted);
}

.article-epigraph {
  margin: 1.75rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
}

.article-epigraph strong {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-style: normal;
  color: var(--blue);
}

.site-footer {
  margin-top: 1rem;
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.55rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

@media (max-width: 900px) {
  .hero-lead,
  .hero-article .hero-lead {
    max-width: none;
  }

  .header-inner {
    padding: 0.55rem 0;
  }

  .header-bar {
    flex: 1 1 100%;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .logo img {
    width: min(200px, 62vw);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-article .hero-article-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .focus-list {
    columns: 1;
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-media img {
    max-height: 420px;
  }
}
