:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --text: #1e2a39;
  --muted: #5e6e82;
  --accent: #005bb5;
  --accent-2: #0d7bdc;
  --border: #d6e0ec;
  --shadow: 0 18px 45px rgba(10, 47, 84, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 95% 10%, rgba(13, 123, 220, 0.1), transparent 35%),
    radial-gradient(circle at 5% 90%, rgba(0, 91, 181, 0.1), transparent 30%),
    var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(247, 249, 252, 0.9);
  border-bottom: 1px solid rgba(214, 224, 236, 0.8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border: 2px solid #1f2937;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff 40%, #0d7bdc 40%);
}
.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
}
.brand-sub { font-size: 0.82rem; color: var(--muted); margin-top: -4px; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.28s ease;
}
.nav a:hover, .nav a.active { color: var(--accent); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
}
.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

.hero {
  min-height: 75vh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/site2.jpg") center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 11s ease-out both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 35, 64, 0.68), rgba(11, 72, 130, 0.48));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: min(900px, 92vw);
  padding: 2rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
}
.hero-content p { max-width: 700px; font-size: 1.1rem; }

.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary { background: #fff; color: #0f3f73; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.btn-outline { border-color: rgba(255,255,255,0.8); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.14); }

.section { padding: 4.5rem 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(238,243,249,0.6)); }
.section h2 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); margin: 0 0 0.8rem; }
.section p.lead { color: var(--muted); max-width: 760px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0, 45, 95, 0.2); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }
.snapshot-grid .card { min-height: 100%; }
.snapshot-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.snapshot-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}
.location-media {
  position: relative;
  min-height: 220px;
}
.location-media img {
  min-height: 220px;
}
.location-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(16, 42, 67, 0.76);
  color: #f8fbff;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}
.location-caption p {
  margin: 0.35rem 0 0;
  color: #e3eef8;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}
.media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.media:hover img { transform: scale(1.05); }

.footer {
  margin-top: 2rem;
  background: #102a43;
  color: #e6edf5;
  padding: 2.2rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 1.2rem;
}
.footer small { color: #adbed0; }

.page-hero {
  padding: 5.2rem 0 3rem;
  background: linear-gradient(120deg, #e9f2fb, #f7fafe);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
label { font-weight: 600; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.68rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(450px, 92vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
  z-index: 70;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.only-en, .only-de { display: none; }
html[lang="en"] .only-en { display: inline; }
html[lang="de"] .only-de { display: inline; }
html[lang="en"] .block-en { display: block; }
html[lang="de"] .block-en { display: none; }
html[lang="de"] .block-de { display: block; }
html[lang="en"] .block-de { display: none; }

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1.02); }
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; }
  .nav { gap: 0.6rem; }
  .grid-3, .form-grid { grid-template-columns: 1fr; }
  .snapshot-card img { height: 200px; }
  .hero { min-height: 68vh; }
  .hero-content { padding: 1.3rem; }
}
