/* ==================================================
   HOME PAGE – Clean & modern Version
   Fokus:
   - Klarer Aufbau
   - Ruhige Typografie
   - Minimalistische Schatten
   - Kuratiertes Editorial Grid
================================================== */


/* ==================================================
   HERO SECTION
   Zweispaltiges Layout: links Text, rechts Cover
================================================== */

.compact-hero {
  position: relative;
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 32px 70px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 84px;

  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-text::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 28px;
  width: 300px;
  height: 300px;
  background: var(--signature);
  opacity: 0.045;
  pointer-events: none;
  z-index: -1;
  -webkit-mask: url("/assets/icons/brand/kompass.png") center / contain no-repeat;
  mask: url("/assets/icons/brand/kompass.png") center / contain no-repeat;
}

.hero-text::before {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--signature), var(--accent));
}

.hero-text h1 {  
  font-size: clamp(2.55rem, 4.5vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: none;
  margin-bottom: 22px;
  white-space: nowrap;
}

.hero-subline {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 34px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 0;
}

.hero-cover {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 34px;
  border: 1px solid rgba(47,102,95,0.20);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47,102,95,0.08), rgba(182,138,90,0.08));
}

.hero-cover picture,
.hero-cover img {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-cover img {
  height: auto;

  border-radius: var(--radius);
  box-shadow:
    0 28px 62px rgba(32,53,66,0.16),
    0 2px 0 rgba(255,255,255,0.7) inset;
}


/* ==================================================
   HERO SOCIAL ICONS
================================================== */

.hero-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.hero-social a:hover {
  transform: translateY(-2px);
}

.hero-social picture,
.hero-social img {
  width: 40px;
  height: 40px;
}

.hero-social img {
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(0) saturate(100%) invert(31%) sepia(21%) saturate(1016%) hue-rotate(124deg) brightness(91%) contrast(87%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.hero-social a:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(23%) sepia(18%) saturate(958%) hue-rotate(124deg) brightness(93%) contrast(91%);
}


/* ==================================================
   WERKE / EDITORIAL GRID
================================================== */

.works-section {
  padding: 36px 32px 92px;
}

.works-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.works-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.work-cover {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 22px 18px 20px;

  display: flex;
  flex-direction: column;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(251,250,245,0.92));
  border: 1px solid rgba(47,102,95,0.16);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(32,53,66,0.06);

  color: inherit;
  text-decoration: none;
}

.work-cover::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--signature), var(--accent));
}

.work-cover.coming-soon::before {
  display: none;
}

a.work-cover {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.work-cover:hover {
  transform: translateY(-3px);
  border-color: rgba(47,102,95,0.34);
  box-shadow: 0 24px 48px rgba(32,53,66,0.11);
}

.work-cover.coming-soon {
  opacity: 0.82;
  filter: saturate(0.9);
}

.work-cover-preview {
  opacity: 1;
  filter: none;
}

.work-cover-preview::before {
  display: none;
}

.work-image-wrap {
  height: 245px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 20px;
  padding: 18px 16px;
  background:
    linear-gradient(145deg, rgba(47,102,95,0.08), rgba(182,138,90,0.07));
  border: 1px solid rgba(47,102,95,0.10);
  border-radius: var(--radius);
}

.work-image-wrap picture,
.work-image-wrap img {
  width: 100%;
}

.work-image-wrap picture {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.work-image-wrap img {
  width: auto;
  max-width: 100%;
  max-height: 215px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 14px 26px rgba(32,53,66,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

a.work-cover:hover img {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(32,53,66,0.17);
}

.work-cover.coming-soon img {
  opacity: 0.78;
}

.work-cover-preview img {
  opacity: 1;
}

.work-preview-wrap {
  align-items: center;
}

.work-preview-stack {
  position: relative;
  width: min(100%, 184px);
  height: 215px;
}

.work-preview-stack picture {
  position: absolute;
  display: block;
}

.work-preview-stack picture:first-child {
  left: 8px;
  bottom: 0;
  z-index: 1;
  width: 118px;
}

.work-preview-stack picture:last-child {
  right: 4px;
  bottom: 28px;
  z-index: 2;
  width: 92px;
}

.work-preview-stack img {
  display: block;
  width: 100%;
  max-height: none;
  background: #fff;
}

.work-type {
  display: block;
  margin-bottom: 8px;
  color: var(--signature);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.coming-soon {
  display: block;
  margin-top: 6px;
  color: var(--signature);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

.work-proof {
  display: block;
  margin-top: 6px;
  color: #c99424;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.work-cover h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
}

.work-text {
  min-height: 104px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.work-text .coming-soon,
.work-text .work-proof {
  line-height: 1.2;
}

.work-action {
  margin-top: auto;
  padding-top: 10px;
  color: var(--signature);
  font-size: 0.82rem;
  font-weight: 700;
  align-self: end;
}

a.work-cover .work-action::after {
  content: " →";
}


/* ==================================================
   THEMEN GRID
================================================== */

.themes {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 54px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.themes article {
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(251,250,245,0.88));
  border: 1px solid rgba(47,102,95,0.14);
  border-radius: var(--radius);
  box-shadow: none;
}

.themes article:hover {
  border-color: rgba(47,102,95,0.28);
}

.themes span {
  display: block;
  color: var(--signature);
  font-weight: 700;
  margin-bottom: 14px;
}

.themes p {
  color: var(--ink-soft);
}


/* ==================================================
   FÜR WEN
================================================== */

.reader-fit {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 32px 82px;
}

.reader-fit-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.reader-fit-head h2 {
  margin-bottom: 18px;
}

.reader-fit-head p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.85;
}

.reader-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.reader-fit-grid article {
  padding: 26px 24px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(47,102,95,0.14);
  border-radius: var(--radius);
}

.reader-fit-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--signature);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.reader-fit-grid p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.reader-fit-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}


/* ==================================================
   ÜBERSICHTS-LINKS
================================================== */

.overview-links {
  max-width: var(--max);
  margin: -20px auto 84px;
  padding: 0 32px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.overview-link {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 28px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(47,102,95,0.18);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(32,53,66,0.06);

  color: inherit;
  text-decoration: none;
  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.overview-link::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--signature), var(--accent));
}

.overview-link:hover {
  transform: translateY(-3px);
  border-color: rgba(47,102,95,0.36);
  box-shadow: 0 24px 48px rgba(32,53,66,0.11);
}

.overview-link:focus-visible {
  outline: 3px solid rgba(47,102,95,0.32);
  outline-offset: 4px;
}

.overview-link span {
  margin-bottom: 12px;

  color: var(--signature);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.overview-link strong {
  margin-bottom: 12px;

  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.25;
}

.overview-link p {
  margin-bottom: 22px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.overview-link em {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  background: var(--signature);
  border-radius: 999px;

  color: white;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.overview-link em::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.overview-link:hover em {
  background: var(--signature-dark);
}


/* ==================================================
   ZITAT SECTION
================================================== */

.quote-section {
  padding: 84px 32px;
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-section blockquote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 1.2;
}


/* ==================================================
   AUTOR TEASER
================================================== */

.author-teaser {
  text-align: left;
  padding: 84px 32px;
}

.author-teaser > div {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.author-teaser p {
  color: var(--ink-soft);
}

.author-teaser p + p {
  margin-top: 18px;
}

.author-teaser .button {
  display: table;
  margin: 28px auto 0;
}


/* ==================================================
   KONTAKT TEASER
================================================== */

.contact-teaser {
  max-width: var(--max);
  margin: 0 auto 84px;
  padding: 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;

  background:
    linear-gradient(135deg, var(--signature-dark), var(--ink));
  border-radius: calc(var(--radius) + 6px);
  color: white;
}

.contact-teaser h2 {
  color: white;
}

.contact-teaser p {
  color: rgba(255,255,255,0.78);
}

.contact-teaser .button {
  flex-shrink: 0;
}


/* ==================================================
   PARTNERS LOGOS
================================================== */

.partners-grid {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.partners-grid picture,
.partners-grid img {
  height: 120px;
  width: auto;
}

.partners-grid img {
  display: block;
  transition: transform 0.2s ease;
}

.partners-grid img:hover {
  transform: scale(1.05);
}


/* ==================================================
   MOBILE BREAKPOINTS
================================================== */

@media (max-width: 1000px) {
  .compact-hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 88px;
    padding-bottom: 78px;
  }

  .hero-text {
    max-width: 760px;
  }

  .hero-text::before {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-cover {
    order: -1;
  }

  .hero-cover::before {
    inset: 20px -14px -14px 24px;
  }

  .hero-cover img {
    max-width: 360px;
  }

  .themes {
    grid-template-columns: 1fr;
  }

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

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .overview-links {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .contact-teaser {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .compact-hero {
    padding: 58px 24px 72px;
    gap: 36px;
  }

  .hero-text::after {
    display: none;
  }

  .hero-cover img {
    max-width: 300px;
    border-radius: var(--radius);
  }

  .hero-text h1 {
    white-space: normal;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-social {
    margin-top: 6px;
  }

  .works-section,
  .themes,
  .reader-fit,
  .overview-links,
  .author-teaser,
  .quote-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 38px;
  }

  .work-cover {
    padding: 22px;
  }

  .work-image-wrap {
    height: 240px;
  }

  .work-cover h3 {
    min-height: 0;
    font-size: 1.18rem;
  }

  .work-text {
    min-height: 122px;
  }

  .overview-links {
    margin-top: -28px;
    margin-bottom: 70px;
  }

  .reader-fit {
    padding-bottom: 70px;
  }

  .reader-fit-grid {
    grid-template-columns: 1fr;
  }

  .reader-fit-actions .button {
    width: 100%;
  }

  .contact-teaser {
    margin-left: 24px;
    margin-right: 24px;
    padding: 34px 28px;
  }
}

@media (max-width: 420px) {
  .compact-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-cover img {
    max-width: 260px;
  }

  .works-section,
  .themes,
  .reader-fit,
  .overview-links,
  .author-teaser,
  .quote-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .work-image-wrap {
    height: 220px;
  }

  .work-image-wrap img {
    max-height: 195px;
  }
}
