/*
Theme Name: Campus Blücherstraße 26
Theme URI: https://bluecher26.de
Author: VITA e.V. Berlin
Description: Mockup theme for Campus Blücherstraße 26 events and community landing page.
Version: 0.1.0
Text Domain: campus-bluecher26
*/

:root {
  --green: #245b38;
  --green-2: #3f7b50;
  --green-soft: #e8f0e7;
  --coral: #e97958;
  --orange: #eda366;
  --yellow: #f0c24e;
  --blue: #7eb1cb;
  --ink: #17231b;
  --muted: #5f6b62;
  --paper: #fbfaf5;
  --line: #dce3dc;
  --shadow: 0 18px 45px rgba(23, 35, 27, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--green);
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  grid-template-rows: repeat(3, 12px);
  gap: 3px;
  width: 42px;
  height: 42px;
}

.brand-mark span {
  border-radius: 50% 50% 3px 3px;
  background: var(--green-2);
}

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

.brand-mark span:nth-child(3),
.brand-mark span:nth-child(6) {
  background: var(--coral);
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
  font-size: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a {
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--green);
  border-color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--green-2);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.btn.secondary {
  background: #fff;
  color: var(--green);
  border-color: var(--line);
}

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

.hero {
  min-height: min(620px, calc(100vh - 78px));
  display: grid;
  align-items: end;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 64px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 35, 27, 0.74), rgba(23, 35, 27, 0.24)),
    url("assets/campus-hero.svg") center/cover no-repeat;
}

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

.hero h1 {
  max-width: 640px;
  margin: 0 0 20px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: clamp(19px, 2vw, 26px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 64px);
}

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

.section.warm {
  background: #fff0e7;
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.section h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.08;
}

.section p {
  margin: 0 0 16px;
  font-size: 18px;
}

.photo-panel {
  min-height: 340px;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(36, 91, 56, 0.2), rgba(233, 121, 88, 0.14)),
    url("assets/campus-gathering.svg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.icon-grid,
.card-grid,
.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 30px);
}

.audience,
.offer-card,
.value {
  text-align: center;
}

.audience-icon,
.offer-icon,
.value-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--green);
  background: #dfeedd;
  font-size: 34px;
  font-weight: 800;
}

.audience:nth-child(2) .audience-icon,
.offer-card:nth-child(2) .offer-icon {
  background: #ffe0d2;
  color: var(--coral);
}

.audience:nth-child(3) .audience-icon,
.offer-card:nth-child(3) .offer-icon {
  background: #ffefbd;
  color: #ad7a07;
}

.audience:nth-child(4) .audience-icon,
.offer-card:nth-child(4) .offer-icon {
  background: #dbeaf5;
  color: #487b95;
}

.audience h3,
.offer-card h3,
.value h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.2;
}

.audience p,
.offer-card p,
.value p {
  font-size: 15px;
}

.offer-card {
  min-height: 250px;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.events-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.events-image {
  min-height: 300px;
  border-radius: 8px;
  background: url("assets/campus-workshop.svg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.latest-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.news-item,
.event-row {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.news-item time,
.event-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.news-item h3,
.event-row h2,
.event-row h3 {
  margin: 0;
  color: var(--green);
}

.event-row summary {
  cursor: pointer;
  list-style: none;
}

.event-row summary::-webkit-details-marker {
  display: none;
}

.event-row summary h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 24px;
}

.event-row summary h2::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
}

.event-row[open] summary h2::after {
  content: "-";
}

.pdf-frame {
  width: 100%;
  height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
}

.contact-card {
  padding: 26px;
  border-left: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.map-placeholder {
  min-height: 260px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 91, 56, 0.08), rgba(126, 177, 203, 0.22)),
    repeating-linear-gradient(25deg, transparent 0 34px, rgba(36, 91, 56, 0.1) 35px 37px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: var(--green);
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
  }

  .split,
  .events-preview,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .icon-grid,
  .card-grid,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 560px;
  }

  .icon-grid,
  .card-grid,
  .values {
    grid-template-columns: 1fr;
  }

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

  .pdf-frame {
    height: 420px;
  }
}
