:root {
  --color-bg: #0f172a;
  --color-bg-light: #111827;
  --color-primary: #2563eb;
  --color-primary-soft: rgba(37, 99, 235, 0.1);
  --color-primary-hover: #1d4ed8;
  --color-text: #e5e7eb;
  --color-muted: #9ca3af;
  --color-card: #020617;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.45);
  --shadow-subtle: 0 8px 30px rgba(15, 23, 42, 0.65);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
  color: var(--color-text);
  line-height: 1.6;
}

/* Layout basics */

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

main {
  padding-bottom: 4rem;
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #60a5fa, #2563eb 50%, #1d4ed8);
  color: #e5e7eb;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.7);
}

.logo-text {
  font-size: 1.15rem;
  color: #e5e7eb;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.nav-link {
  color: var(--color-muted);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: all 0.18s ease-out;
}

.nav-link:hover {
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

.nav-button {
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding-inline: 0.9rem;
}

/* Hero / Startseite */

.hero {
  padding: 4.5rem 1.25rem 3.5rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: var(--color-muted);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.hero-title span.highlight {
  background: linear-gradient(to right, #60a5fa, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--color-muted);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #e5e7eb;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.52);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.7);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.85);
  color: var(--color-muted);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 1);
  color: #e5e7eb;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.hero-meta-item span {
  display: block;
}

.hero-meta-item strong {
  color: #e5e7eb;
}

/* Hero right card */

.hero-card {
  background: radial-gradient(circle at top left, #1f2937, #020617 55%);
  border-radius: 1.7rem;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -120px;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(circle at right, rgba(59, 130, 246, 0.22), transparent 55%);
  opacity: 0.75;
  pointer-events: none;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.hero-card-title {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.hero-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--color-muted);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-stat {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--color-muted);
}

.hero-stat-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-pill {
  margin-top: 0.4rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  font-size: 0.72rem;
  color: #bfdbfe;
}

.hero-list {
  margin: 0.75rem 0 0.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.hero-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

/* Sections */

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

.section-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}

.section-subtitle {
  margin: 0;
  color: var(--color-muted);
  max-width: 32rem;
}

/* Cards & grids */

.cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.3rem;
}

.card {
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
  box-shadow: var(--shadow-subtle);
}

.card-ghost {
  background: rgba(15, 23, 42, 0.75);
  box-shadow: none;
}

.card-title {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0.35rem 0;
  color: var(--color-muted);
}

.card-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.card-list li + li {
  margin-top: 0.25rem;
}

/* Two-column layout for inhaltseiten */

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 1.75rem;
}

/* Lists in Prices */

.price-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.2rem 0 0.4rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* �ber mich */

.profile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-badge {
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #bfdbfe;
  align-self: flex-start;
}

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 2fr);
  gap: 1.75rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.2rem;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-muted);
}

.contact-value {
  font-size: 1rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.6rem;
}

.form {
  display: grid;
  gap: 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form input,
.form textarea {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.6rem 0.75rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.55);
}

.form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.4rem 1.25rem 1.6rem;
  background: radial-gradient(circle at top, #020617, #000 75%);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Responsive */

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

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

@media (max-width: 720px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-card {
    margin-top: 0.4rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* Links im Inhalt (Cards, Texte) */
.card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Logo-Bild + Text im Header */
/* Links im Inhalt (Cards, Texte) */
.card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Logo im dunklen Header gut sichtbar machen */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-badge {
  background: #f9fafb;               /* heller Hintergrund fürs Logo */
  border-radius: 999px;              /* runde Plakette */
  padding: 6px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 34px;                      /* bei Bedarf auf 30/38/40 anpassen */
  width: auto;
  display: block;
  filter: brightness(1.1);           /* Logo leicht aufhellen */
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e5e7eb;                    /* hell, passend zum dunklen Header */
}

.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #9ca3af;
}

@media (max-width: 480px) {
  .logo-img {
    height: 30px;
  }
  .logo-main {
    font-size: 1rem;
  }
  .logo-sub {
    font-size: 0.7rem;
  }
}
