
:root {
  --page-max: 1500px;
  --text-color: #111;
  --muted: #68645e;
  --border: #d8d2c9;
  --ink: #1f2224;
  --accent: #b08d60;
  --accent-2: #d7b78f;
  --paper: #f3efe8;
  --card-bg: #ffffff;
  --shadow: 0 18px 42px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f8f4ee 0%, var(--paper) 34%, #ffffff 100%);
  color: var(--text-color);
  line-height: 1.65;
  letter-spacing: 0.005em;
}
img { max-width: 100%; display: block; }
a { color: #0000ee; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 28px;
}

.masthead {
  background: linear-gradient(135deg, #202326 0%, #2c3135 52%, #3a3129 100%);
  color: #f4efe8;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}
.masthead-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 34px 28px;
  position: relative;
}
.masthead-copy { max-width: 980px; }
.brand-mark {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-transform: uppercase;
}
.brand-mark a { color: #f8f4ed; text-decoration: none; }
.brand-divider {
  width: 150px;
  height: 3px;
  margin: 18px 0;
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 100%);
}
.project-kicker,
.masthead h1 {
  margin: 0;
  color: rgba(244,239,232,0.92);
}
.project-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.masthead h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: none;
}
.project-lead {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 1.05rem;
  color: rgba(244,239,232,0.86);
}
#media {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
}
#media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
#media a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(215,183,143,0.62);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
#media img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(1) brightness(1.9) contrast(1.05);
}
#media a:hover img { opacity: 1; filter: grayscale(0.2) brightness(1.15) contrast(1.05); }

.project-page { padding: 0 0 56px; }
.project-topbar {
  padding: 18px 0 14px;
}
.project-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(31,34,36,0.10);
  background: rgba(255,255,255,0.78);
  color: #3e3933;
  font-size: 0.95rem;
}
.hero-card,
.story-card,
.info-card,
.gallery-card,
.sponsors-section {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(31,34,36,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  overflow: hidden;
}
.hero-image {
  min-height: 100%;
  background: #d9d9d9;
  border-right: 1px solid var(--border);
}
.hero-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.hero-content {
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-content h2,
.section-heading h2,
.compact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #171717;
}
.hero-content h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.02; }
.hero-content p { margin: 0; font-size: 1.02rem; }
.hero-facts {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.72fr);
  gap: 28px;
  margin-top: 28px;
}
.prose-card, .info-card { padding: 28px; }
.section-heading { margin-bottom: 24px; }
.section-heading.compact { margin-bottom: 18px; }
.section-heading h2 { font-size: 2rem; line-height: 1.04; }
.feature-quote, .quote {
  margin: 0 0 28px;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(243,239,232,0.95) 0%, rgba(255,255,255,0.96) 100%);
  border: 1px solid rgba(31,34,36,0.10);
  border-left: 4px solid rgba(176,141,96,0.72);
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  font-family: Georgia, "Times New Roman", serif;
  color: #25211c;
}
.feature-quote p, .quote p, .quote {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.6;
}
.feature-quote footer, .quote-source {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(31,34,36,0.08);
  text-align: right;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}
.prose-flow p, .story-text p {
  margin: 0 0 1.2em;
  font-size: 1rem;
  color: #1c1c1c;
}
.sidebar-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}
.facts-card { position: sticky; top: 22px; }
.facts-list {
  display: grid;
  gap: 16px;
}
.facts-list > div, .fact {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(31,34,36,0.09);
}
.facts-list > div:last-child, .fact:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-list dt, .fact dt {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d655b;
}
.facts-list dd, .fact dd {
  margin: 0;
  color: #171717;
  font-size: 0.98rem;
}
.bullet-stack { display: grid; gap: 12px; }
.bullet-stack p { margin: 0; }
.gallery-section, .sponsors-section { margin-top: 28px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.gallery-grid.four-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-card { overflow: hidden; }
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #dad4cc;
}
.gallery-card figcaption {
  padding: 12px 14px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #26221d;
}
.sponsors-section { padding: 28px; }
.sponsor-grid, .logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.sponsor-grid a, .logo-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(31,34,36,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sponsor-grid a:hover, .logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}
.sponsor-grid img, .logo-item img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}
#nav, .site-footer {
  margin-top: 0;
  padding: 24px 0 34px;
  font-size: 14px;
  color: #5c564f;
  background: linear-gradient(180deg, #fffdfa 0%, #f5efe7 100%);
  border-top: 1px solid rgba(31,34,36,0.14);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-inner span, .footer-inner a { position: relative; }
.footer-inner span:not(:last-child)::after, .footer-inner a:not(:last-child)::after {
  content: "•";
  margin-left: 18px;
  color: rgba(31,34,36,0.35);
}
.footer-inner a { color: #3a3129; }

@media (max-width: 1100px) {
  .project-hero, .content-grid { grid-template-columns: 1fr; }
  .hero-image { border-right: 0; border-bottom: 1px solid var(--border); }
  .facts-card { position: static; }
}
@media (max-width: 700px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .masthead-inner { padding: 18px 18px 22px; }
  .brand-mark { font-size: 42px; }
  .brand-divider { width: 108px; margin: 14px 0; }
  #media { position: static; margin-bottom: 18px; width: max-content; }
  .project-lead { font-size: 0.98rem; }
  .hero-content, .prose-card, .info-card, .sponsors-section { padding: 18px; }
  .content-grid { gap: 18px; margin-top: 18px; }
  .gallery-grid, .gallery-grid.four-up { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner span::after, .footer-inner a::after { display: none; }
}

/* --- Startseite --- */
.site-masthead .site-tagline {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,239,232,0.92);
}
.site-home {
  padding: 0 0 58px;
}
.projects-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 28px 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  background: linear-gradient(180deg, #f1ebe2 0%, #fbf8f3 100%);
  padding: 28px;
  border: 1px solid rgba(45,45,43,0.10);
  border-top: 0;
  box-shadow: var(--shadow);
}
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(0,0,0,0.08);
  color: #111;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.project-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(45,45,43,0.88) 0%, rgba(161,132,98,0.88) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  z-index: 2;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.10);
  border-color: rgba(161,132,98,0.28);
  text-decoration: none;
}
.project-card:hover::before {
  transform: scaleX(1);
}
.project-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 440px;
}
.project-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: #d9d9d9;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.00) 0%, rgba(20,20,20,0.10) 100%);
  transition: background 0.28s ease;
  pointer-events: none;
}
.project-card:first-child .project-image {
  aspect-ratio: auto;
  height: 100%;
  border-bottom: 0;
  border-right: 1px solid var(--border);
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.project-card:hover .project-image img {
  transform: scale(1.04);
}
.project-card:hover .project-image::after {
  background: linear-gradient(180deg, rgba(20,20,20,0.04) 0%, rgba(20,20,20,0.22) 100%);
}
.project-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 24px;
  min-height: 210px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.project-card:first-child .project-content {
  padding: 34px 30px;
  min-height: 100%;
}
.project-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.05;
  color: #161616;
  text-transform: none;
  letter-spacing: -0.01em;
  transition: transform 0.22s ease, color 0.22s ease;
}
.project-card:first-child h2 {
  font-size: 44px;
  line-height: 0.98;
}
.project-card p {
  margin: 0;
  font-size: 16px;
  color: #222;
  transition: color 0.22s ease;
}
.project-card:first-child p {
  font-size: 18px;
}
.project-card:hover h2 {
  transform: translateY(-2px);
  color: #0f0f0f;
}
.project-card:hover p {
  color: #111;
}

@media (max-width: 980px) {
  .site-masthead .site-tagline {
    font-size: 19px;
    letter-spacing: 0.28em;
  }
  .project-card:first-child {
    grid-column: span 1;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .project-card:first-child .project-image {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .project-card:first-child h2 {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .projects-wrap,
  .project-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
  .site-masthead .site-tagline {
    font-size: 15px;
    letter-spacing: 0.22em;
  }
  .project-grid {
    gap: 18px;
    padding-top: 18px;
  }
  .project-content,
  .project-card:first-child .project-content {
    min-height: 180px;
    padding: 18px;
  }
  .project-card h2,
  .project-card:first-child h2 {
    font-size: 24px;
  }
  .project-card p,
  .project-card:first-child p {
    font-size: 15px;
  }
}
