:root {
  --bg-body: radial-gradient(circle at top, #041726 0, #021018 40%, #01060b 100%);
  --bg-card: rgba(6, 18, 28, 0.96);
  --bg-card-soft: rgba(10, 26, 39, 0.96);
  --accent: #26c6da;
  --accent-soft: rgba(38, 198, 218, 0.14);
  --accent-strong: #00e5ff;
  --text-main: #f5fbff;
  --text-muted: #a9c2d4;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.7);
  --radius-lg: 18px;
  --radius-xl: 22px;
  --transition-fast: 0.18s ease-out;
  --container-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
}

/* Layout */

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

.section {
  padding: 4.5rem 0 4.2rem;
}

/* Skip Link */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.6rem 1rem;
  background: #000;
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header / Logo / Flagge */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(1, 10, 18, 0.96), rgba(1, 10, 18, 0.8));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: radial-gradient(circle at 30% 0, #26c6da, #004b5d 72%);
  color: #e3faff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.6);
  font-size: 0.9rem;
}

.logo-text-wrapper {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Schleswig-Holstein Flagge (stilisiert) */

.sh-flag {
  width: 56px;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(
    to bottom,
    #005aa9 0 33%,
    #ffffff 33% 66%,
    #e2001a 66% 100%
  );
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.sh-flag-shield {
  position: absolute;
  left: 7px;
  top: 5px;
  width: 18px;
  height: 24px;
  border-radius: 3px;
  background: linear-gradient(135deg, #fdfdfd, #f3d57a);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* Navigation */

.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-main);
  padding: 0.2rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3.4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.6fr);
  gap: 2.6rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero h1 span {
  color: var(--accent-strong);
}

.hero-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-pill {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(3, 23, 36, 0.96);
  border: 1px solid rgba(38, 198, 218, 0.35);
  color: #e0f7fa;
  font-size: 0.82rem;
}

/* Hero Media */

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 210px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85)),
    linear-gradient(135deg, #0a3b5a, #0b2235),
    url("images/nok-hero.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
}

.hero-photo-overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: rgba(1, 9, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
}

.hero-photo-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  color: var(--accent-strong);
  margin-bottom: 0.15rem;
}

.hero-photo-sub {
  color: var(--text-muted);
}

/* Hero Meta Card */

.hero-meta-card {
  background: radial-gradient(circle at top left, rgba(38, 198, 218, 0.22), rgba(2, 10, 18, 0.96));
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}

.hero-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  font-weight: 500;
}

/* Section Header */

.section-header {
  text-align: left;
  max-width: 40rem;
  margin-bottom: 2.1rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Live Section */

.section-live {
  background: radial-gradient(circle at top, rgba(3, 24, 39, 0.9), rgba(1, 7, 12, 0.98));
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.3fr);
  gap: 1.8rem;
}

.live-map-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.live-map-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at center, #09364e, #021018);
}

.live-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.live-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.live-caption a {
  color: var(--accent);
  text-decoration: none;
}

.live-caption a:hover {
  text-decoration: underline;
}

/* Live Sidebar */

.live-sidebar {
  background: rgba(3, 17, 27, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border-subtle);
}

.live-sidebar h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.live-list,
.live-links {
  list-style: none;
  padding-left: 1rem;
  margin: 0 0 1.1rem;
}

.live-list li,
.live-links li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  position: relative;
}

.live-list li::before,
.live-links li::before {
  content: "•";
  position: absolute;
  left: -0.8rem;
  color: var(--accent);
}

.live-links a {
  color: var(--accent-strong);
  text-decoration: none;
}

.live-links a:hover {
  text-decoration: underline;
}

/* Fakten */

.section-facts {
  background: radial-gradient(circle at top, rgba(4, 33, 52, 0.9), rgba(1, 7, 12, 0.98));
}

.fact-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
  margin-bottom: 2.1rem;
}

.fact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.fact-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.fact-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.fact-list li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

/* Interaktive Fakten */

.fact-interactive {
  background: var(--bg-card-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.35rem;
  border: 1px solid rgba(38, 198, 218, 0.35);
  box-shadow: var(--shadow-card);
  margin-top: 0.8rem;
}

.fact-interactive-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.fact-interactive h3 {
  margin: 0;
  font-size: 1rem;
}

.fact-interactive-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  background: var(--accent);
  color: #001015;
  box-shadow: 0 12px 24px rgba(0, 229, 255, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 16px 30px rgba(0, 229, 255, 0.55);
}

/* Galerie */

.section-gallery {
  background: radial-gradient(circle at top, rgba(5, 28, 44, 0.9), rgba(1, 7, 12, 0.98));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.gallery-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.9rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.gallery-photo {
  border-radius: 14px;
  height: 150px;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.6rem;
  position: relative;
  overflow: hidden;
}

.gallery-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
}

.gallery-photo-1 {
  background:
    linear-gradient(135deg, #0c395a, #03131f),
    url("images/nok-1.jpg");
}

.gallery-photo-2 {
  background:
    linear-gradient(135deg, #062f40, #020b13),
    url("images/nok-2.jpg");
}

.gallery-photo-3 {
  background:
    linear-gradient(135deg, #0b3c4c, #020812),
    url("images/nok-3.jpg");
}

.gallery-card figcaption {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* News & Links */

.section-news {
  background: radial-gradient(circle at top, rgba(4, 28, 44, 0.9), rgba(1, 7, 12, 0.98));
}

.section-links {
  background: radial-gradient(circle at top, rgba(5, 26, 40, 0.85), rgba(2, 9, 14, 0.98));
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.link-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.link-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.link-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.link-card-btn {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  color: var(--accent-strong);
  background: rgba(2, 13, 20, 0.9);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.link-card-btn:hover,
.link-card-btn:focus-visible {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 229, 255, 0.4);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0 1.6rem;
  background: #02060a;
}

.footer-inner {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-small {
  margin-top: 0.25rem;
  font-size: 0.76rem;
}

/* Scroll-Animation */

[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .hero {
    padding-top: 2.6rem;
  }
}

@media (max-width: 860px) {
  .live-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 120%;
    flex-direction: column;
    background: rgba(2, 9, 14, 0.98);
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 210px;
    display: none;
  }

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

@media (max-width: 500px) {
  .hero-lead {
    font-size: 0.94rem;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 3.2rem 0 3rem;
  }
}
