/* style.css */

/* ---------- Reset (lightweight) ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  color: #1b1b1b;
  background: #f5f0e2; /* sand */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0.6rem 0 0; }

/* ---------- Theme tokens ---------- */
:root{
  --sand: #f5f0e2;
  --sand-2: #efe7d4;
  --card: #ffffff;
  --border: rgba(66, 43, 15, 0.12);

  --brown: #6b3f1e;
  --orange: #b8602a;
  --teal: #0f766e;
  --green: #4d7c0f;

  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 18px;
  --radius-lg: 24px;
}

/* ---------- Layout helpers ---------- */
.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.section{
  padding: 72px 0;
}
.section--alt{
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head{
  margin-bottom: 28px;
}
.section-head h2{
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--brown);
}
.lead{
  margin-top: 10px;
  max-width: 70ch;
  color: rgba(27,27,27,0.78);
}

/* ---------- Skip link ---------- */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.skip-link:focus{ left: 10px; z-index: 9999; }

/* ---------- Topbar ---------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 226, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.brand__text{
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}
.brand__mark{
  display: grid;
  place-items: center;
}

.nav{
  display: flex;
  gap: 18px;
}
.nav__link{
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(27,27,27,0.78);
  transition: background 160ms ease, color 160ms ease;
}
.nav__link:hover{
  background: rgba(107, 63, 30, 0.08);
  color: rgba(27,27,27,0.92);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--border);
}
.hero__bg{
  position: absolute;
  inset: 0;
  background:
    /* sehr dezente Lesbarkeits-Gradienten, kein “Schleier” über dem Foto */
    linear-gradient(180deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.12) 60%, rgba(0,0,0,0.22) 100%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.hero__content{
  position: relative;
  padding: 56px 0 34px;
}
.hero__titleblock{
  max-width: 64ch;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(245, 240, 226, 0.70);
  border: 1px solid rgba(107, 63, 30, 0.18);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}
.hero__title{
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  color: var(--orange);
}
.hero__title{
  line-height: 1.0;        /* enger = mehr “Editorial” */
}

.title-line{
  display: block;
  position: relative;
  overflow: visible;       /* wichtig fürs Überlappen */
}

/* Zeilen ein Stück näher zusammen -> ermöglicht “Hineinragen” */
.title-line--second{
  margin-top: -0.18em;     /* hier steuern! z.B. -0.10 bis -0.25 */
}

/* “do” bleibt baseline-aligned, wird nur größer + Script */
.title-do{
  font-family: "Pacifico", "Brush Script MT", "Segoe Script", cursive;
  color: #2f6f3e;          /* dunkles Grün */
  font-size: 1.25em;       /* größer -> Ascender ragt nach oben */
  font-weight: 400;
  margin-right: 0.18em;
  display: inline-block;
  vertical-align: baseline; /* explizit */
  position: relative;
  z-index: 3;              /* falls es wirklich über dem ‘e’ liegen soll */
}
.hero__subtitle{
  margin-top: 10px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 3px 16px rgba(0,0,0,0.55);
  /* Subtitle sits visually “above” via shadow while block stays calm */
}

/* Make subtitle readable even when inside the semi-transparent box */
.hero__titleblock .hero__subtitle{
  color: rgba(27,27,27,0.80);
  text-shadow: none;
}

/* ---------- Cards (A Rede) ---------- */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.card h3{
  margin: 0;
  color: var(--brown);
  letter-spacing: -0.02em;
}
.card p{
  color: rgba(27,27,27,0.78);
}

/* ---------- Participants ---------- */
.participants{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.participant{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.participant:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 16px 38px rgba(0,0,0,0.09);
}
.participant__badge{
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800;
  color: #0b2a26;
  background: rgba(15, 118, 110, 0.18);
  border: 1px solid rgba(15, 118, 110, 0.22);
}
.participant__badge--sand{
  background: rgba(184, 96, 42, 0.14);
  border-color: rgba(184, 96, 42, 0.22);
  color: #4a2a14;
}
.participant__badge--green{
  background: rgba(77, 124, 15, 0.14);
  border-color: rgba(77, 124, 15, 0.22);
  color: #24320b;
}
.participant__badge--blue{
  background: rgba(2, 132, 199, 0.14);
  border-color: rgba(2, 132, 199, 0.22);
  color: #0b2a38;
}
.participant__meta{
  flex: 1;
  min-width: 0;
}
.participant__name{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}
.participant__handle{
  font-size: 0.95rem;
  color: rgba(27,27,27,0.66);
}
.participant__arrow{
  font-size: 1.2rem;
  color: rgba(27,27,27,0.55);
}

/* ---------- Note ---------- */
.note{
  margin-top: 18px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: rgba(27,27,27,0.72);
}

/* ---------- Story collage ---------- */
.story-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
  margin-top: 18px;
}

.story-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

/* Größenvarianten */
.story--wide   { grid-column: span 4; grid-row: span 2; }
.story--tall   { grid-column: span 2; grid-row: span 3; }
.story--square { grid-column: span 2; grid-row: span 2; }

.story-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text-Overlay */
.story-overlay{
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.0)
  );
  color: #fff;
}

.story-overlay h3{
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.story-overlay p{
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.92;
}




/* ---------- Footer ---------- */
.footer{
  padding: 28px 0 34px;
  border-top: 1px solid var(--border);
  background: rgba(245, 240, 226, 0.8);
}
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer__brand{
  font-weight: 800;
  color: #1a1a1a;
}
.footer__small{
  color: rgba(27,27,27,0.64);
  font-size: 0.95rem;
}
.to-top{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px){
  .cards{ grid-template-columns: 1fr; }
  .participants{ grid-template-columns: 1fr; }
  .story-grid{ grid-template-columns: 1fr; }
  .hero{ min-height: 54vh; }
}
@media (max-width: 560px){
  .nav{ gap: 8px; }
  .nav__link{ padding: 8px 10px; }
  .brand__text{ font-size: 0.98rem; }
  .hero__titleblock{ padding: 16px 16px; }
  .story-card img{ height: 220px; }
}
