@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

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

:root {
  --orange: #FF4400;
  --slate: #AAB9CD;
  --dark: #505C6C;
  --light: #F4F5F6;
  --white: #ffffff;
  --transition: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --gutter: 60px;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

.layout-wrapper {
  margin: 0 auto;
  width: 100%;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-links a.active {
  color: var(--dark);
  border-bottom: 1.5px solid var(--dark);
}

.nav-links a:hover { color: var(--dark); }

/* ── FOOTER ── */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

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

.footer-links a {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--dark); }

/* ── RESPONSIVE: nav & footer ── */
@media (max-width: 768px) {
  :root { --gutter: 20px; }

  nav {
    padding: 16px var(--gutter);
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-logo { font-size: 0.9rem; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.62rem; }

  footer {
    padding: 16px var(--gutter);
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
}

/* ── PERSON / BIOGRAPHY PAGE ── */
.portfolio-section {
  padding: 40px var(--gutter) 60px;
}

.portfolio-section > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 32px;
}

.image-container {
  /* 
  position: sticky;
  top: calc(28px + 28px + 1.5rem);
  */
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 900px;
  display: block;
  object-fit: cover;
  object-position: bottom;
}

.bio-intro {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 32px;
  line-height: 1.6;
}

.bio-cv {
  width: 100%;
  border-collapse: collapse;
}

.bio-cv tr + tr td {
  padding-top: 24px;
}

.bio-spacer {
  height: 40px;
}

.bio-year {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--dark);
  white-space: nowrap;
  padding-right: 32px;
  vertical-align: top;
  padding-top: 2px;
}

.bio-detail {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--dark);
}

.bio-detail a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--slate);
  transition: color 0.2s, border-color 0.2s;
}

.bio-detail a:hover {
  color: var(--orange);
  border-color: var(--orange);
}


@media (max-width: 768px) {
  .portfolio-section > div {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── LEGAL PAGES (Impressum / Datenschutz) ── */
.legal-section {
  padding: 40px var(--gutter) 80px;
  max-width: 720px;
}

.legal-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.0;
  margin-bottom: 48px;
}

.legal-content {
  display: flex;
  flex-direction: column;
}

.legal-block {
  padding: 28px 0;
  border-top: 1px solid var(--orange);
}

.legal-block:last-child {
  border-bottom: 1px solid var(--orange);
}

.legal-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
}

.legal-content p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--dark);
  opacity: 0.75;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--slate);
  transition: color 0.2s, border-color 0.2s;
}

.legal-content a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ── ARTIKEL PAGE ── */
.artikel-section {
  padding: 40px var(--gutter) 80px;
}

.artikel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.artikel-img-wrap {
  overflow: hidden;
}

.artikel-img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.artikel-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .artikel-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── NEUIGKEITEN PAGE ── */
.news-section {
  padding: 40px var(--gutter) 60px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.news-card {
  padding: 32px 40px 40px 0;
}

.news-card:last-child {
  padding-right: 0;
}

.news-card:not(:first-child) {
  padding-left: 40px;
}

.news-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 24px;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
}

.news-text {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--dark);
}

.news-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
}

.news-meta-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.news-arrow {
  font-size: 1.1rem;
  color: var(--orange);
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
}

.news-arrow:hover {
  transform: translateX(4px);
}

.news-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dark);
}

.news-location {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card,
  .news-card:not(:first-child),
  .news-card:last-child {
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid var(--slate);
  }

  .news-card:last-child {
    border-bottom: none;
  }
}
