/* -------------------------------------------------- */
/* Farbvariablen                                       */
/* -------------------------------------------------- */

:root {
  /* Brandfarben */
  --primary: #f5b400;
  --primary-dark: #c48a00;

  /* Akzentfarben */
  --accent-1: #009ffd;
  --accent-2: #7b2ff7;

  /* Dark Mode Farben */
  --bg-dark: #050816;
  --bg-soft-dark: #0b1020;
  --text-dark: #e5e7eb;
  --text-soft-dark: #9ca3af;

  /* Light Mode Farben (neu, harmonisch) */
  --bg-light: #f4f6f8;
  --bg-soft-light: #ffffff;
  --text-light: #1a1f2c;
  --text-soft-light: #4b5563;

  --border-light: rgba(0, 0, 0, 0.08);
  --shadow-light: rgba(0, 0, 0, 0.08);
}

/* -------------------------------------------------- */
/* Theme Handling                                      */
/* -------------------------------------------------- */

html[data-theme="dark"] {
  --bg: var(--bg-dark);
  --bg-soft: var(--bg-soft-dark);
  --text: var(--text-dark);
  --text-soft: var(--text-soft-dark);
}

html[data-theme="light"] {
  --bg: var(--bg-light);
  --bg-soft: var(--bg-soft-light);
  --text: var(--text-light);
  --text-soft: var(--text-soft-light);
}

/* -------------------------------------------------- */
/* Global Styles                                       */
/* -------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827, var(--bg));
  color: var(--text);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3rem 0;
}

h1, h2, h3 {
  margin: 0 0 0.6rem;
}

.section-subtitle {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
}

/* -------------------------------------------------- */
/* Header / Navigation                                 */
/* -------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 22, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

html[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--border-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent-1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111827;
  box-shadow: 0 0 15px rgba(245, 180, 0, 0.5);
}

.logo small {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.theme-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

/* -------------------------------------------------- */
/* Buttons                                             */
/* -------------------------------------------------- */

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #111827;
  box-shadow: 0 10px 25px rgba(245, 180, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 180, 0, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-outline:hover {
  border-color: var(--primary);
}

/* Light Mode Buttons */
html[data-theme="light"] .btn-outline {
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #1a1f2c;
}

html[data-theme="light"] .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .btn-primary {
  color: #1a1f2c;
  box-shadow: 0 6px 16px rgba(245, 180, 0, 0.35);
}

/* -------------------------------------------------- */
/* Hero Section                                        */
/* -------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 2.5rem;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
  color: var(--text-soft);
}

html[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #4b5563;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0.8rem 0;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-soft);
  max-width: 32rem;
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* -------------------------------------------------- */
/* Cards                                               */
/* -------------------------------------------------- */

.card {
  background: var(--bg-soft);
  border-radius: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.7);
}

html[data-theme="light"] .card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-tag {
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
}

html[data-theme="light"] .card-tag {
  background: rgba(243, 244, 246, 0.9);
}

.card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--text-soft);
}

.card-row strong {
  color: var(--text);
}

.card-highlight {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.9rem;
}

.card-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* -------------------------------------------------- */
/* Grid & Features                                     */
/* -------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature {
  background: var(--bg-soft);
  border-radius: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
}

html[data-theme="light"] .feature {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 10px var(--shadow-light);
}

html[data-theme="light"] .feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--shadow-light);
}

/* -------------------------------------------------- */
/* Kontaktformular                                     */
/* -------------------------------------------------- */

.contact-box {
  background: var(--bg-soft);
  border-radius: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 800px) {
  .contact-box {
    grid-template-columns: 1.1fr 1fr;
  }
}

.contact-details p {
  margin: 0 0 0.4rem;
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--primary);
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-size: 0.85rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.2rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 0.9rem;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #1a1f2c;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 0 2px rgba(0, 159, 253, 0.25);
}

textarea {
  min-height: 90px;
}

/* -------------------------------------------------- */
/* Info Box                                             */
/* -------------------------------------------------- */

.info-box {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  font-size: 0.9rem;
  color: var(--text-soft);
}

html[data-theme="light"] .info-box {
  background: #ffffff;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  color: #4b5563;
}

/* -------------------------------------------------- */
/* Footer                                               */
/* -------------------------------------------------- */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 0 2rem;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-inner a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--primary);
}

/* -------------------------------------------------- */
/* Animationen                                          */
/* -------------------------------------------------- */

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  animation: scaleIn 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* -------------------------------------------------- */
/* Responsive                                           */
/* -------------------------------------------------- */

@media (max-width: 700px) {
  .nav-links {
    display: none; /* später für Mobile-Menü */
  }
}
