:root {
  --background: #f6f3f1;
  --surface: #fbfaf7;
  --ink: #14212b;
  --muted: #5b6670;
  --line: #202a31;
  --accent: #c56439;
  --accent-blue: #2f8bc8;
  --shadow: 0 26px 70px rgba(20, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Avenir, Montserrat, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 70px;
  padding: 0 6vw;
  background: rgba(246, 243, 241, 0.94);
  border-bottom: 1px solid rgba(20, 33, 43, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 21px;
  font-weight: 600;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 13px);
  gap: 3px;
  align-items: center;
}

.brand-mark span {
  display: block;
  height: 18px;
  border-radius: 4px;
}

.brand-mark span:nth-child(1) {
  background: var(--accent);
}

.brand-mark span:nth-child(2) {
  background: var(--ink);
}

.brand-mark span:nth-child(3) {
  background: var(--accent-blue);
}

.main-nav {
  display: flex;
  gap: 34px;
  color: #27323a;
  font-size: 19px;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover {
  color: var(--accent);
}

.hero {
  min-height: 88vh;
  display: grid;
  place-items: end center;
  padding: 18vh 6vw 0;
  background:
    linear-gradient(rgba(246, 243, 241, 0.08), rgba(246, 243, 241, 0.18)),
    url("assets/images/startseite.jpg")
      center / cover;
}

.hero-panel {
  width: min(1180px, 100%);
  margin-bottom: -86px;
  padding: clamp(48px, 7vw, 96px);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 34px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 960px;
  margin-bottom: 26px;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-panel p {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 25px);
}

.button,
.post-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.small-button {
  min-height: 44px;
  margin-top: 24px;
  padding: 0 20px;
  font-size: 15px;
}

.button:hover,
.post-link:hover {
  background: transparent;
  color: var(--ink);
}

.intro-section,
.blog-section,
.guide-section,
.feature-section,
.about-section {
  padding: 150px 6vw 90px;
}

.intro-copy {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro-copy p:last-child,
.feature-section p,
.about-section p {
  color: var(--muted);
  font-size: 22px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 56px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: var(--surface);
  border: 2px solid rgba(20, 33, 43, 0.88);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 34px;
}

.post-meta {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-card p {
  color: var(--muted);
}

.guide-facts {
  display: grid;
  gap: 14px;
  margin: 8px 0 28px;
}

.guide-facts div {
  padding-top: 14px;
  border-top: 1px solid rgba(20, 33, 43, 0.16);
}

.guide-facts dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-facts dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 33, 43, 0.22);
}

.post-stat {
  color: var(--muted);
  font-size: 15px;
}

.post-link {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 56px;
  align-items: end;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.guide-section {
  background: var(--surface);
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 32px 54px;
  align-items: center;
  margin-bottom: 48px;
}

.guide-heading {
  grid-column: 1 / -1;
}

.guide-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.guide-intro {
  max-width: 760px;
}

.guide-hero p,
.guide-copy p,
.recommendation-panel p {
  color: var(--muted);
  font-size: 21px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 54px;
  align-items: start;
}

.guide-copy {
  max-width: 850px;
}

.quick-facts,
.space-facts {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
}

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

.quick-facts div,
.space-facts div {
  padding: 18px 0 0;
  border-top: 1px solid rgba(20, 33, 43, 0.18);
}

.quick-facts strong,
.space-facts dt {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts span,
.space-facts dd {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
}

.recommendation-panel {
  padding: 32px;
  border: 2px solid var(--line);
  background: var(--background);
}

.recommendation-link,
.text-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.recommendation-link {
  display: block;
  margin: 18px 0;
}

.affiliate-note {
  margin-top: 28px;
  font-size: 15px;
}

.space-comparison {
  margin-top: 92px;
}

.comparison-table-wrap {
  margin-bottom: 38px;
  overflow-x: auto;
  border: 2px solid var(--line);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--background);
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  border-bottom: 1px solid rgba(20, 33, 43, 0.18);
  border-right: 1px solid rgba(20, 33, 43, 0.18);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-table td {
  color: var(--muted);
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.space-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 2px solid var(--line);
  background: var(--background);
}

.space-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.space-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-gallery {
  margin-top: 48px;
  margin-bottom: 0;
}

.space-card p {
  color: var(--muted);
}

.space-card .text-link {
  margin-top: auto;
}

.detail-main {
  padding: 120px 6vw 90px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 72px;
}

.detail-hero p,
.detail-article p,
.detail-article li {
  color: var(--muted);
  font-size: 21px;
}

.detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-article {
  max-width: 900px;
}

.detail-article h2 {
  margin-top: 56px;
  font-size: clamp(34px, 4vw, 58px);
}

.detail-article ul {
  padding-left: 22px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.space-info-block {
  margin-top: 62px;
  padding: 34px;
  border: 2px solid var(--line);
  background: var(--background);
}

.space-info-block h2 {
  margin-top: 0;
}

.space-info-block dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.space-info-block div {
  padding-top: 18px;
  border-top: 1px solid rgba(20, 33, 43, 0.18);
}

.space-info-block dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.space-info-block dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 34px 58px;
  align-items: center;
}

.about-heading {
  grid-column: 1 / -1;
  max-width: 1120px;
}

.about-heading h2 {
  max-width: 980px;
}

.about-image {
  min-height: 460px;
  background:
    linear-gradient(rgba(20, 33, 43, 0.05), rgba(20, 33, 43, 0.1)),
    url("assets/images/about-me.jpg")
      center / cover;
}

.about-copy {
  max-width: 780px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 58px 6vw;
  border-top: 2px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header,
  .site-footer,
  .feature-section,
  .about-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .site-footer {
    display: flex;
  }

  .main-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    font-size: 16px;
  }

  .post-grid,
  .guide-hero,
  .guide-layout,
  .quick-facts,
  .space-grid,
  .space-gallery,
  .detail-hero,
  .feature-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .guide-heading,
  .about-heading {
    grid-column: auto;
  }

  .guide-hero {
    gap: 26px;
  }

  .guide-image {
    aspect-ratio: 4 / 3;
  }

  .hero {
    min-height: 78vh;
    padding-top: 120px;
  }

  .hero-panel {
    margin-bottom: -54px;
    text-align: left;
  }

  .hero-panel p {
    margin-inline: 0;
  }

  .intro-section,
  .blog-section,
  .guide-section,
  .detail-main,
  .feature-section,
  .about-section {
    padding-top: 110px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 14px 22px;
  }

  .brand {
    font-size: 18px;
  }

  .hero,
  .intro-section,
  .blog-section,
  .guide-section,
  .detail-main,
  .feature-section,
  .about-section,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-panel {
    padding: 34px 28px;
  }

  .post-content {
    padding: 26px;
  }

  .post-footer,
  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
