:root {
  --bg: #f3f4f6;
  --bg-alt: #e5e7eb;
  --card-bg: #ffffff;
  --accent: #006978;       /* angelehnt an Logo-Türkis */
  --accent-soft: #0090a0;
  --text: #374151;
  --muted: #6b7280;
  --border: #d1d5db;
  --radius-xl: 18px;
  --radius-lg: 12px;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.15);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
}

/* Layout */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}

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

.logo-img {
  max-height: 40px;
  height: auto;
  width: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top left, #ffffff 0, #e5edf0 45%, #e5e7eb 100%);
}

.hero-inner {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.35);
  filter: brightness(1.03);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: var(--accent);
}

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

.card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Kontakt */

.contact-box {
  margin-top: 1.5rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.4rem;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Legal pages */

body.legal main {
  padding-top: 3rem;
}

body.legal h1 {
  margin-bottom: 1rem;
}

body.legal h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/* Animations */

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .nav {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.3rem;
  }
  .nav a {
    margin-left: 0;
  }
  .hero {
    padding-top: 3rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
}
