/* fem*med Homburg — site styles (Emily Zaki Brand Guidelines, Mai 2026) */

@font-face {
  font-family: 'ERIQA';
  src: url('assets/fonts/ERIQA-noblur.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Montserrat — self-hosted (Variable Font, deckt 400–700 ab) */
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Official palette */
  --purple: #412673;
  --purple-deep: #2a1847;
  --lavender: #daccf7;
  --lavender-soft: #f3edfc;
  --tangerine: #f85426;
  --orange: #fe8368;
  --white: #ffffff;
  --ink: #111111;

  --maxw: 1100px;

  --display: 'ERIQA', system-ui, sans-serif;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ERIQA — only H1 / Hero / Article title (ALL CAPS per guidelines) */
h1,
.hero__title,
.article__title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.08;
  margin: 0 0 0.4em;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
}

/* Montserrat Bold — H2, H3, subheadings (never ALL CAPS, per guidelines) */
h2,
h3,
.section h2,
.post-list__item h2,
.prose h2 {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.45em;
  color: var(--purple);
}

h2,
.section h2,
.post-list__item h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h3,
.prose h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.container--narrow {
  max-width: 720px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(
      55% 45% at 50% 38%,
      rgba(218, 204, 247, 0.28) 0%,
      transparent 70%
    ),
    radial-gradient(
      110% 70% at 88% -10%,
      rgba(218, 204, 247, 0.32) 0%,
      transparent 55%
    ),
    radial-gradient(
      90% 65% at 0% 100%,
      rgba(248, 84, 38, 0.22) 0%,
      transparent 60%
    ),
    var(--purple-deep);
  color: var(--white);
  padding-bottom: 7rem;
  overflow: hidden;
  /* Gezackte Diagonale unten — Brand-Idiom aus den Guidelines */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 70px),
    88% 100%,
    76% calc(100% - 50px),
    64% calc(100% - 5px),
    52% calc(100% - 70px),
    40% calc(100% - 20px),
    28% calc(100% - 65px),
    16% calc(100% - 15px),
    4% calc(100% - 55px),
    0 100%
  );
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 2rem;
  max-width: var(--maxw);
  margin-inline: auto;
}

.nav__brand {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  text-transform: lowercase;
}

.ast {
  color: var(--lavender);
}

.nav__links {
  display: none;
  list-style: none;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 400;
}

.nav__links a {
  opacity: 0.88;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition:
    opacity 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.nav__links a:hover {
  opacity: 1;
  border-bottom-color: var(--orange);
}

@media (min-width: 760px) {
  .nav__links {
    display: flex;
  }
}

.hero__inner {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding: 2rem 1.25rem 0;
  text-align: center;
}

.hero__logo {
  width: clamp(180px, 28vw, 260px);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.45));
}

.hero__title {
  color: var(--white);
}

.hero__title .accent {
  color: var(--orange);
}

.hero__sub {
  max-width: 620px;
  margin: 1rem auto 2rem;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Instagram-Sticker (angelehnt an IG-Templates, ohne „Revolution") */
.sticker {
  position: absolute;
  top: 5.5rem;
  right: -1.5rem;
  transform: rotate(-8deg);
  background: var(--tangerine);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding: 0.65rem 1rem;
  box-shadow: 0 8px 22px -10px rgba(248, 84, 38, 0.5);
  z-index: 5;
  pointer-events: auto;
  max-width: 200px;
  text-align: center;
}

.sticker__hint {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.sticker__cta {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (min-width: 760px) {
  .sticker {
    top: 6.5rem;
    right: 2rem;
    transform: rotate(-6deg);
    font-size: 0.9rem;
  }
}

@media (max-width: 500px) {
  .sticker {
    top: 4.5rem;
    right: -1rem;
    padding: 0.55rem 0.85rem;
    max-width: 165px;
  }
}

/* Buttons — ERIQA ALL CAPS */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition:
    transform 0.1s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--tangerine);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  border-color: var(--white);
}

.btn--coral {
  background: var(--tangerine);
  color: var(--white);
}

.btn--coral:hover {
  background: var(--orange);
}

/* ---------- Sections ---------- */

.section {
  padding: 5rem 0;
}

/* About section — Text + Illustration */
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about__illu {
  margin: 0;
  display: flex;
  justify-content: center;
}

.about__illu img {
  max-width: 360px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(65, 38, 115, 0.18));
}

@media (min-width: 820px) {
  .about__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
  }
  .about__illu img {
    max-width: 420px;
  }
}

.section--alt {
  background: var(--lavender-soft);
}

.eyebrow {
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--tangerine);
  margin: 0 0 0.6rem;
}

.eyebrow--light {
  color: var(--orange);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  max-width: 720px;
  color: rgba(17, 17, 17, 0.82);
  font-weight: 400;
}

.lead--light {
  color: rgba(255, 255, 255, 0.92);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(65, 38, 115, 0.1);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.section--alt .card {
  background: var(--white);
}

.card--link:hover,
.card--soon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(65, 38, 115, 0.28);
  border-color: rgba(248, 84, 38, 0.35);
}

.card h3 {
  color: var(--purple);
}

.card p {
  font-size: 0.97rem;
  color: rgba(17, 17, 17, 0.72);
  margin: 0;
}

.card__foot {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(65, 38, 115, 0.5);
}

/* ---------- Events ---------- */

.events {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .events {
    grid-template-columns: 1fr 1fr;
  }
}

.event {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: 4px;
  background: var(--purple);
  color: var(--white);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.event:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(65, 38, 115, 0.45);
}

.event--placeholder {
  background: var(--lavender-soft);
  color: var(--purple);
  border: 1px solid rgba(65, 38, 115, 0.12);
}

.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 0.6rem 0.4rem;
  border-radius: 4px;
  background: rgba(248, 84, 38, 0.15);
  color: var(--tangerine);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event--placeholder .event__date {
  background: rgba(65, 38, 115, 0.1);
  color: var(--purple);
}

.event__day {
  font-size: 1.6rem;
  line-height: 1;
}

.event__month {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.event__body h3 {
  color: inherit;
  margin: 0 0 0.2rem;
}

.event__body p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.88;
}

/* ---------- CTA section ---------- */

.section--cta {
  background:
    radial-gradient(
      80% 60% at 50% 0%,
      rgba(218, 204, 247, 0.2) 0%,
      transparent 70%
    ),
    var(--purple);
  color: var(--white);
  text-align: center;
  padding: 5rem 1rem;
}

.section--cta h2,
.section--cta .lead {
  color: var(--white);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 720px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__brand {
  font-family: var(--display);
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.footer a {
  color: var(--orange);
}

.footer a:hover {
  color: var(--tangerine);
}

/* ---------- Section head with side link ---------- */

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.section__head h2 {
  margin: 0;
  color: var(--purple);
}

.section__head-link {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--tangerine);
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
  text-transform: none;
}

.section__head-link:hover {
  border-bottom-color: var(--tangerine);
}

/* ---------- Card link variant ---------- */

.card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--white);
  background: var(--tangerine);
  border-radius: 2px;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.9rem;
}

.card__tag--soon {
  color: rgba(65, 38, 115, 0.7);
  background: rgba(65, 38, 115, 0.08);
}

.card__more {
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--tangerine);
  font-size: 0.92rem;
}

.card--link:hover .card__more {
  color: var(--orange);
}

/* ---------- Article pages ---------- */

.page--article {
  background: var(--white);
}

.article-hero {
  background:
    radial-gradient(
      120% 80% at 80% 0%,
      rgba(218, 204, 247, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      90% 60% at 0% 100%,
      rgba(248, 84, 38, 0.1) 0%,
      transparent 60%
    ),
    var(--purple-deep);
  color: var(--white);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}

.article-hero__inner {
  padding-top: 2.5rem;
}

.container--read {
  max-width: 760px;
}

.article__crumb {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  opacity: 0.78;
}

.article__crumb a {
  color: var(--white);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.article__crumb a:hover {
  border-bottom-color: var(--orange);
}

.article__title {
  color: var(--white);
  margin-bottom: 1.2rem;
  max-width: 820px;
}

.article__title .accent {
  color: var(--orange);
}

.article__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  font-weight: 400;
}

.prose {
  padding: 4rem 0 5rem;
}

.prose section {
  margin-bottom: 2.6rem;
}

.prose p,
.prose li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.85);
}

.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose ul li {
  margin-bottom: 0.4rem;
}

.prose em {
  font-style: italic;
}

.prose strong {
  font-weight: 700;
  color: var(--ink);
}

.cite {
  font-size: 0.85rem !important;
  color: rgba(17, 17, 17, 0.55) !important;
  font-style: italic;
  margin-top: 0.4rem;
}

.article__cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--ghost-dark {
  background: transparent;
  color: var(--purple);
  border-color: rgba(65, 38, 115, 0.35);
}

.btn--ghost-dark:hover {
  border-color: var(--purple);
}

/* ---------- Blog archive ---------- */

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}

.post-list__item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 2rem 1.8rem;
  background: var(--white);
  border: 1px solid rgba(65, 38, 115, 0.1);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.post-list__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -20px rgba(65, 38, 115, 0.28);
  border-color: rgba(248, 84, 38, 0.35);
}

.post-list__item h2 {
  color: var(--purple);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin: 0;
}

.post-list__lead {
  color: rgba(17, 17, 17, 0.75);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.post-list__lead em {
  font-style: italic;
}

.post-list__more {
  margin-top: 0.5rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--tangerine);
  font-size: 0.92rem;
}

.post-list__item:hover .post-list__more {
  color: var(--orange);
}

.post-list__hint {
  margin: 2.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(17, 17, 17, 0.6);
  text-align: center;
}

.post-list__hint a {
  color: var(--tangerine);
  border-bottom: 1px solid transparent;
}

.post-list__hint a:hover {
  border-bottom-color: var(--tangerine);
}

[aria-current='page'] {
  color: var(--orange) !important;
  border-bottom-color: var(--orange);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .event,
  .btn,
  .post-list__item {
    transition: none;
  }
}
