@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --blue: #102b50;
  --blue-dark: #081b33;
  --gold: #c8a34d;
  --cream: #f5f3ee;
  --white: #ffffff;
  --text: #25303b;
  --muted: #68727d;
  --line: #e2e5e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a { color: inherit; }

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

.narrow { max-width: 850px; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 27, 51, .58);
  backdrop-filter: blur(10px);
  transition: .3s ease;
}

.site-header.scrolled {
  background: rgba(8, 27, 51, .96);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: -1px;
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: .5px;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s;
}

.main-nav a:hover::after { width: 100%; }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: white;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,27,51,.92) 0%, rgba(8,27,51,.63) 42%, rgba(8,27,51,.12) 100%),
    linear-gradient(0deg, rgba(8,27,51,.62) 0%, rgba(8,27,51,0) 55%);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("bilder/harburg.jpg") center center / cover no-repeat;
  z-index: 0;
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 90%);
  margin: 100px auto 40px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.eyebrow.dark { color: #8d702c; }

.hero h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
}

.hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -2px;
}

.hero-text {
  max-width: 650px;
  font-size: 19px;
  margin: 28px 0 34px;
}

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

.button {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--gold);
  color: #151515;
  text-decoration: none;
  font-weight: 700;
  transition: .25s;
}

.button:hover {
  transform: translateY(-2px);
  background: white;
}

.button-light {
  background: rgba(255,255,255,.12);
  color: white;
  border: 1px solid rgba(255,255,255,.55);
}

.intro {
  padding: 95px 0;
  background: var(--cream);
}

.intro h2,
.section h2,
.contact h2 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;
  font-weight: 400;
}

.intro p:not(.eyebrow) {
  font-size: 19px;
  color: #4d5863;
}

.section {
  padding: 95px 0;
  background: white;
}

.section.light { background: #f6f7f8; }

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2 { margin-bottom: 0; }

.section-heading.centered {
  display: block;
  text-align: center;
}

.hint {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  background: white;
  border: 1px solid var(--line);
  margin-bottom: 25px;
  box-shadow: 0 12px 30px rgba(16,43,80,.07);
}

.news-image {
  min-height: 260px;
  background: #ddd;
}

.news-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
}

.news-content {
  padding: 38px;
  align-self: center;
}

.date {
  margin: 0 0 8px;
  color: #8d702c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.news-content h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 29px;
  font-weight: 400;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  background: white;
  transition: .25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(16,43,80,.09);
}

.card-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
  margin-bottom: 30px;
}

.card h3 {
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
}

.contact {
  padding: 95px 0;
  background: var(--blue);
  color: white;
}

.contact h2 { color: white; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-box {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}

.contact-box a {
  color: white;
  text-decoration-color: var(--gold);
}

.footer {
  padding: 50px 0 25px;
  background: var(--blue-dark);
  color: rgba(255,255,255,.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 35px;
}

.footer strong {
  color: white;
  font-family: Georgia, serif;
  font-size: 20px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  font-size: 13px;
}

@media (max-width: 800px) {
  .menu-button { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 18px 5%;
    background: rgba(8,27,51,.98);
    flex-direction: column;
    gap: 6px;
  }

  .main-nav.open { display: flex; }

  .hero-content { margin-top: 120px; }

  .section-heading,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .news-card { grid-template-columns: 1fr; }

  .cards { grid-template-columns: 1fr; }

  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 17px; }
  .hero h1 { font-size: 52px; }
  .hero-text { font-size: 17px; }
  .news-content { padding: 25px; }
}
