:root {
  --brand: #005b96;
  --brand-dark: #004477;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f7fafc;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ================================
   Header + Navigation
   ================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid #e5e7eb;
}

.header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
}

.logo img {
  height: 50px;
  width: auto;
}

@media (max-width: 600px) {
  .logo img {
    height: 40px;
  }
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: .75rem;
}

.nav a:hover {
  background: #e0f2ff;
}

.nav a.active {
  color: #fff;
  background: var(--brand);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 1rem;
    position: absolute;
    top: 60px;
    right: 1rem;
    left: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

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

/* ================================
   Hero
   ================================ */
.hero {
  background: linear-gradient(135deg, #0099cc, #005b96);
  color: #fff;
  border-radius: 1rem;
  margin: 1rem 0;
  padding: 2.5rem 1.5rem;
}

.hero h1,
.hero h3 {
  color: #fff;
}

.hero p {
  color: #e6f4ff;
  max-width: 60ch;
}

/* ================================
   Buttons / CTA
   ================================ */
.cta {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  background: var(--brand);
  color: #fff;
  padding: .75rem 1rem;
  border: none;
  border-radius: .75rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 91, 150, .25);
  transition: background 0.3s ease;
}

.cta:hover {
  background: var(--brand-dark);
}

/* ================================
   Layout & Components
   ================================ */
.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(2, 8, 23, .04);
}

.card h3 {
  margin: .2rem 0 .6rem 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: .6rem .5rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.table th {
  background: #f8fafc;
  text-align: left;
  font-size: .95rem;
}

.table tr.highlight {
  background: #e0f2ff;
}

.section {
  margin: 2rem 0;
}

.section h2 {
  margin: 0 0 .75rem 0;
  font-size: 1.4rem;
}

.note {
  background: #e0f2ff;
  border: 1px solid #b3e0f9;
  border-radius: .8rem;
  padding: .8rem;
}

ul {
  padding-left: 1.2rem;
}

/* ================================
   Kontakt
   ================================ */
.kontakt-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.kontakt-row svg {
  flex: 0 0 auto;
}

/* ================================
   Footer
   ================================ */
.footer {
  padding: 1rem;
  margin-top: 2rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.footer .inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  color: var(--muted);
}

.small {
  color: var(--muted);
  font-size: .95rem;
}

/* Responsive footer */
@media (max-width: 600px) {
  .footer .inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 900px) {
  .grid.two {
    grid-template-columns: 1fr;
  }

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

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

  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}