/* ======================================================
   Titans Club e.V. — Kulturzentrum Altmark Windberge
   Stylesheet
   ====================================================== */

:root {
  --anthracite: #22241f;
  --anthracite-deep: #1a1c17;
  --cream: #f4efe4;
  --cream-soft: #ece4d4;
  --gold: #b3915c;
  --gold-soft: #cbb083;
  --sage: #8b9a7c;
  --white: #ffffff;
  --ink: #24261f;
  --ink-soft: #4d4f43;

  --display: "Cormorant Garamond", serif;
  --sans: "Inter", sans-serif;

  --max-w: 1240px;
  --gutter: clamp(24px, 6vw, 80px);
  --section-pad: clamp(72px, 12vw, 160px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ------------------------------------------------------
   Eyebrow / site-plan marker — the signature motif.
   A small gold ring with a hairline tail, echoing the
   numbered site-plan pins used in the project's own
   architectural visualisations.
   ------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  flex: 0 0 auto;
}

.eyebrow::after {
  content: "";
  height: 1px;
  width: 40px;
  background: var(--gold);
  opacity: 0.55;
}

.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { border-color: var(--gold-soft); }
.eyebrow.on-dark::after { background: var(--gold-soft); }

/* ------------------------------------------------------
   Skip link / focus states
   ------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: var(--anthracite-deep);
  padding: 12px 20px;
  z-index: 1000;
  font-family: var(--sans);
  font-size: 14px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ------------------------------------------------------
   Header
   ------------------------------------------------------ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: clamp(20px, 4vw, 40px) var(--gutter) 0;
}

.site-header .brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--white);
  text-decoration: none;
  width: fit-content;
}

.brand-mark {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
}

/* ------------------------------------------------------
   Hero
   ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--anthracite);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 22, 17, 0.15) 0%, rgba(20, 22, 17, 0.05) 35%, rgba(18, 19, 15, 0.55) 72%, rgba(15, 16, 12, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(56px, 9vw, 108px);
  color: var(--white);
}

.hero-content .eyebrow {
  color: var(--gold-soft);
}
.hero-content .eyebrow::before,
.hero-content .eyebrow::after { background: var(--gold-soft); border-color: var(--gold-soft); }

.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: 1.03;
  margin: 0 0 22px;
  max-width: 18ch;
  letter-spacing: 0.005em;
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
  max-width: 46ch;
  color: rgba(244, 239, 228, 0.88);
  margin: 0 0 34px;
}

.hero-project-line {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 40px;
}

/* ------------------------------------------------------
   Buttons
   ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid var(--gold);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn::after {
  content: "→";
  font-family: var(--sans);
  transition: transform 0.25s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--anthracite-deep);
}

.btn:hover::after { transform: translateX(3px); }

.btn-dark {
  border-color: var(--anthracite);
  color: var(--anthracite);
}
.btn-dark:hover {
  background: var(--anthracite);
  color: var(--cream);
}

/* ------------------------------------------------------
   Section basics
   ------------------------------------------------------ */
section {
  position: relative;
}

.section-pad {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

.on-dark .section-title { color: var(--cream); }

/* ------------------------------------------------------
   Wer wir sind
   ------------------------------------------------------ */
.about {
  background: var(--cream);
}

.about-copy {
  max-width: 700px;
}

.about-copy p {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-weight: 400;
}

.about-copy p:last-child { margin-bottom: 0; }

.about-copy strong {
  color: var(--ink);
  font-weight: 500;
}

.hairline {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 40px 0 0;
}

/* ------------------------------------------------------
   Aktuelles Projekt
   ------------------------------------------------------ */
.project {
  background: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.project-image {
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.project-info .section-title {
  margin-bottom: 30px;
}

.status-list {
  list-style: none;
  margin: 0 0 34px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(34, 36, 31, 0.14);
}

.status-list .status-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(34, 36, 31, 0.12);
}

.status-list .status-row:first-child { padding-top: 0; }

.status-list dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
  flex: 0 0 auto;
}

.status-list dd {
  font-family: var(--display);
  font-size: 19px;
  margin: 0;
  text-align: right;
  color: var(--ink);
}

.project-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.project-tags {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.project-tags li {
  font-size: 13.5px;
  color: var(--ink);
  position: relative;
  padding-left: 16px;
}

.project-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
}

/* ------------------------------------------------------
   Die Vision — four cards
   ------------------------------------------------------ */
.vision {
  background: var(--cream-soft);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}

.vision-card {
  display: flex;
  flex-direction: column;
}

.vision-card-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  position: relative;
}

.vision-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s ease;
}

.vision-card:hover .vision-card-media img {
  transform: scale(1.045);
}

.vision-card-index {
  font-family: var(--display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.vision-card-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 10px;
  color: var(--ink);
}

.vision-card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ------------------------------------------------------
   Blick in die Zukunft
   ------------------------------------------------------ */
.future {
  background: var(--anthracite-deep);
  color: var(--cream);
}

.future-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.future-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.future-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,22,17,0.05) 0%, rgba(20,22,17,0.65) 100%);
}

.future-copy {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 96px) var(--gutter) 0;
  text-align: center;
}

.future-copy .eyebrow {
  justify-content: center;
}

.future-copy .section-title {
  color: var(--cream);
}

.future-copy p {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.75;
  color: rgba(244, 239, 228, 0.82);
  margin: 26px 0 0;
}

/* ------------------------------------------------------
   Kontakt
   ------------------------------------------------------ */
.contact {
  background: var(--anthracite);
  color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: end;
}

.contact-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 8px;
}

.contact-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--gold-soft);
  margin: 0;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(244, 239, 228, 0.86);
}

.contact-details a {
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 145, 92, 0.5);
}
.contact-details a:hover { border-color: var(--gold); }

/* ------------------------------------------------------
   Footer
   ------------------------------------------------------ */
.site-footer {
  background: var(--anthracite-deep);
  color: rgba(244, 239, 228, 0.6);
  padding: 26px var(--gutter);
  font-size: 13px;
}

.footer-row {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ------------------------------------------------------
   Responsive
   ------------------------------------------------------ */
@media (max-width: 980px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-image img { aspect-ratio: 16/10; }
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .status-list .status-row {
    flex-direction: column;
    gap: 6px;
  }
  .status-list dd { text-align: left; }
  .hero-content { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vision-card-media img,
  .btn::after {
    transition: none;
  }
}
