*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #111111;
  --white:   #ffffff;
  --gray:    #f4f4f4;
  --mid:     #999999;
  --accent:  #00802F;
  --font:    'Inter', system-ui, sans-serif;
  --gap: 2rem;
  --max: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}


.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

.grid {
  display: grid;
  grid-template-columns: 0.3fr repeat(11, 1fr);
  gap: var(--gap);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--black);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--black);
}

.nav-logo img { width: 32px; height: 32px; object-fit: contain; }

.nav-wordmark {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav ul { list-style: none; display: flex; gap: 2rem; }

nav a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.15s;
}

nav a:hover { color: var(--accent); }

.lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid #ddd;
}
.lang-switch a {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.lang-switch a.active { color: var(--accent); }

/* ─── HERO ─── */
#hero {
  margin-top: 56px;
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: 0.3fr repeat(11, 1fr);
  gap: var(--gap);
  padding: 0 2rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.hero-text { grid-column: 3 / 9; }

.hero-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-slogan {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.5;
  max-width: 540px;
  color: #333;
  margin-bottom: 2.5rem;
}

.hero-meta {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.hero-image {
  grid-column: 9 / 13;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-image img { width: 100%; max-width: 360px; }

.accent-text { color: var(--accent); }

/* ─── SECTIONS ─── */
section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--black);
}

section:last-of-type { border-bottom: none; }

/* Alternating backgrounds — automatic, so reordering sections never breaks the pattern */
section:nth-of-type(odd)  { background: var(--gray); }
section:nth-of-type(even) { background: var(--white); }

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3rem;
  padding-top: 0.25rem;
  border-top: 2px solid var(--black);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #333;
}

/* ─── ABOUT ─── */
.about-label { grid-column: 1 / 3; }
.about-headline { grid-column: 3 / 9; }
.about-headline h2 { margin-bottom: 1.5rem; }
.about-body { grid-column: 9 / 13; padding-top: 0.5rem; }
.about-body p + p { margin-top: 1rem; }
.about-body a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); transition: opacity 0.15s; }
.about-body a:hover { opacity: 0.7; }
.about-fullstack { grid-column: 3 / 13; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--black); }

/* ─── GET CONCRETE ─── */
#concrete .section-label { color: var(--mid); border-color: var(--black); }

.concrete-label { grid-column: 1 / 3; }
.concrete-header { grid-column: 3 / 13; margin-bottom: 3rem; }
.concrete-header h2 { margin-bottom: 0.75rem; }
.concrete-header p { color: #333; }

.projects-container {
  grid-column: 3 / -1;
  margin-top: 2rem;
}

.projects-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}

.project-item {
  border-bottom: 1px solid #e0e0e0;
}

.project-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0.25rem;
  cursor: pointer;
  transition: color 0.15s;
}

.project-header:hover .project-title { color: var(--accent); }
.project-header:hover .project-toggle { color: var(--accent); }

.project-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mid);
  min-width: 2.25rem;
  padding-top: 0.15rem;
}

.project-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  margin: 0;
  transition: color 0.15s;
}

.project-toggle {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--mid);
  transition: transform 0.25s, color 0.15s;
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.project-item.open .project-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}

.project-item.open .project-title {
  color: var(--accent);
}

.project-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.project-item.open .project-body {
  max-height: 600px;
}

.project-body-inner {
  padding: 0 0 1.25rem calc(2.25rem + 1rem);
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
  max-width: 720px;
}

.project-body-inner a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.project-body-inner a:hover { opacity: 0.7; }

/* ─── TOOLBOX ─── */
.toolbox {
  grid-column: 3 / 13;
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  position: relative;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.chain-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: var(--mid);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  min-height: 45px;
  white-space: nowrap;
  flex-shrink: 0;
}

.block-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.6rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: default;
  clip-path: none;
  border-radius: 4px;
  transition: background 0.15s, filter 0.15s;
  min-height: 45px;
  min-width: 90px;
  position: relative;
  flex-shrink: 0;
}

.block-item::after { display: none; }
.block-item:hover { filter: brightness(1.2); }

/* ─── FOCUS AREAS ─── */

.focus-label { grid-column: 1 / 3; }
.focus-intro { grid-column: 3 / 13; }
.focus-intro h2 { margin-bottom: 1rem; }

.focus-grid {
  grid-column: 3 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black);
  margin-top: 3rem;
}

.focus-card {
  background: var(--white);
  padding: 2rem;
}

.focus-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.focus-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }

/* ─── EVENTS ─── */
.events-label { grid-column: 1 / 3; }
.events-header { grid-column: 3 / 13; }
.events-body { grid-column: 3 / 13; margin-top: 2rem; }

/* ─── PARTICIPATE ─── */
.participate-label { grid-column: 1 / 3; }
.participate-body { grid-column: 3 / 13; }

/* ─── TEAM ─── */
.team-label { grid-column: 1 / 3; }
.team-intro { grid-column: 3 / 13; margin-bottom: 3rem; }
.team-intro h2 { margin-bottom: 0.75rem; }

.team-bricks-wrap { grid-column: 3 / -1; }

.team-bricks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--black);
}

.team-brick {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  transition: background 0.15s;
}
.team-brick:hover { background: var(--gray); }

.brick-role {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.brick-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brick-detail {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--mid);
  margin-top: 0.25rem;
}

.brick-avatar {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 1rem;
}

.brick-bio { display: none; }
.brick-bio.open { display: block; }

.learn-more-btn {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: 1px solid var(--accent);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font);
}

.learn-more-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ─── CONTACT ─── */
#contact .section-label { color: var(--mid); border-color: var(--black); }
.contact-label { grid-column: 1 / 3; }
.contact-body { grid-column: 3 / 9; }
.contact-body h2 { margin-bottom: 1.5rem; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img { width: 36px; height: 36px; object-fit: contain; }

.footer-wordmark {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.footer-right { text-align: right; }
.footer-right p { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root { --gap: 1.5rem; }
  nav ul { display: none; }

  #hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
    min-height: auto;
  }
  .hero-text { grid-column: 1 / -1; }
  .hero-image { display: none; }

  .about-label, .focus-label,
  .team-label, .contact-label,
  .concrete-label, .events-label, .participate-label { display: none; }

  .about-headline, .about-body, .about-fullstack,
  .toolbox,
  .focus-intro,
  .concrete-header, .projects-container,
  .team-intro, .team-bricks-wrap,
  .contact-body,
  .events-header, .events-body,
  .participate-body { grid-column: 1 / -1; }

  .projects-container { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .director-cards { grid-template-columns: 1fr; }
  .team-bricks { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

  footer .container { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .footer-right { text-align: left; }
}
