/* === DESIGN TOKENS === */
:root {
  --accent:       #2F7DC8;
  --accent-light: #5B9BD5;
  --accent-bg:    #DDEEFF;
  --text:         #000000;
  --text-light:   #000000;
  --border:       #B0CFEA;
  --white:        #FFFFFF;
  --max-width:    900px;
  --radius:       6px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #D6EAFF;
  line-height: 1.7;
}

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

a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--accent); }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-narrow {
  max-width: 720px;
}

/* === NAVIGATION === */
header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo:hover { text-decoration: none; color: var(--accent); }

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

nav a {
  color: var(--text-light);
  font-size: 0.95rem;
}
nav a:hover, nav a.active {
  color: var(--accent);
  text-decoration: none;
}

/* === PAGE HEADER === */
.page-header {
  background: var(--accent-bg);
  padding: 3rem 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  max-width: 720px;
}

/* === SECTIONS === */
.section {
  padding: 3rem 1.5rem 4rem;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
}
.section h2:first-child { margin-top: 0; }

/* === ALERT BOX === */
.alert-box {
  background: #FFF8E6;
  border-left: 4px solid #E6A817;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.alert-box p {
  color: var(--text);
  margin-bottom: 0.75rem;
}
.alert-box p:last-child { margin-bottom: 0; }

/* === ACTION ITEMS === */
.action-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.action-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.action-number {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.action-content { flex: 1; }

.action-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-light); text-decoration: none; color: var(--white); }

/* === CONTACT CARDS === */
.contact-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.contact-card {
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-card strong {
  font-size: 1rem;
  color: var(--text);
}

.contact-card .contact-role {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-card a {
  font-size: 0.9rem;
  word-break: break-all;
}

/* === PERSON BLOCK === */
.person-block {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.person-photo {
  width: 200px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}

.person-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.person-text { flex: 1; min-width: 200px; padding-top: 0.5rem; }

.person-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.person-title {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* === INFO GRID === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.info-block h3 {
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-bg);
  display: block;
}

.info-block p, .info-block li {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.info-block--full {
  grid-column: 1 / -1;
}

.info-block ul {
  list-style: none;
  padding: 0;
}

.info-block ul li::before {
  content: "–  ";
  color: var(--accent);
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

footer a { color: var(--text-light); }
footer a:hover { color: var(--accent); }
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-top: 0.5rem; }

/* === DEMO GALLERY === */
.demo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 2rem 0; }
.demo-gallery a { display: block; cursor: zoom-in; }
.demo-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); transition: opacity 0.2s; }
.demo-gallery a:hover img { opacity: 0.85; }
@media (max-width: 680px) { .demo-gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 999; align-items: center; justify-content: center; }
.lightbox:target { display: flex; }
.lightbox-close { display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox-close img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 4px 32px rgba(0,0,0,0.5); }

/* === VIDEO === */
.video-wrap { margin: 2rem 0; }
.video-thumb { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.video-thumb img { width: 100%; display: block; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.65); color: #fff; font-size: 2rem; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.video-thumb:hover .video-play { background: var(--accent); }

/* === RECHTLICHE SEITEN === */
.legal h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.legal h3 { font-size: 1.1rem; color: var(--text); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal p, .legal li { margin-bottom: 0.75rem; color: var(--text-light); }
.legal ul { padding-left: 1.25rem; }

/* === RESPONSIVE === */
@media (max-width: 680px) {
  .page-header h1 { font-size: 1.6rem; }

  .nav-inner { flex-direction: column; height: auto; padding: 1rem 1.5rem; gap: 0.75rem; }
  nav ul { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }

  .action-item { flex-direction: row; }

  .person-block { flex-direction: column; }
  .person-photo { width: 160px; }

  .contact-cards { flex-direction: column; }
}
