* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #05070d;
  --bg-blue: #0c1630;
  --gold: #d4af37;
  --gold-light: #f3d67a;
  --text: #f5f7fb;
  --text-soft: #cfd7e6;
  --card: rgba(14, 22, 45, 0.72);
  --border: rgba(212, 175, 55, 0.28);
  --shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #05070d;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero {
  min-height: 100vh;
  padding: 24px 6vw 60px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* WICHTIG */
  position: relative;
  padding-top: 90px; /* etwas mehr Abstand zur Navbar */
}

.hero-content,
.navbar {
  position: relative;
  z-index: 2;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6vw;
  z-index: 1000;

  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(10px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 0.98rem;
}

.nav-links a:hover {
  color: var(--gold-light);
}
.button-row .btn {
  width: 190px; /* gleiche Breite */
  text-align: center;
}
.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.headline-box {
  max-width: 900px;
  margin: 0 auto 40px;
}

.pre-headline {
  color: var(--text-soft);
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.headline-box h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--gold-light);
  text-shadow:
    0 0 10px rgba(212, 175, 55, 0.2),
    0 0 20px rgba(212, 175, 55, 0.08);
  margin-bottom: 16px;
}

.sub-headline {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}

.logo-section {
  margin: 45px auto 35px;
}

.main-logo {
  width: min(520px, 85vw);
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter:
    drop-shadow(0 0 20px rgba(212, 175, 55, 0.18))
    drop-shadow(0 0 45px rgba(212, 175, 55, 0.08));
  animation: floatLogo 4.5s ease-in-out infinite;
}

.logo-section h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--gold-light);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.tagline {
  color: var(--text-soft);
  font-size: 0.9rem;
  opacity: 0.7;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, #b8860b, #f0cf70);
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(243, 214, 122, 0.8);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.section {
  width: min(1100px, 90%);
  margin: 0 auto 40px;
  padding: 42px 32px;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--gold-light);
  margin-bottom: 18px;
  text-align: center;
}

.section p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 15px;
}

.features {
  padding-top: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.feature-card {
  background: rgba(8, 15, 30, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 214, 122, 0.55);
}

.feature-number {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.feature-card h4 {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p {
  text-align: left;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.big-quote {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--text);
  font-weight: 500;
  max-width: 850px;
  margin: 0 auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 6vw;
  color: #94a1ba;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

@keyframes floatLogo {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

  .navbar {
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 32px 22px;
  }
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px; /* kleiner Abstand */
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-main {
  background: linear-gradient(135deg, #d4af37, #f3d67a);
  color: #111;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
  transition: 0.3s ease;
}

.btn-main:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.35);
}
.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
}
.back-button-wrapper {
  margin-top: 60px;
  padding-top: 20px;
  text-align: center;
}

section {
  scroll-margin-top: 120px;
}
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 600px);
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 2000;
  backdrop-filter: blur(10px);
}

#cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

#cookie-banner a {
  color: var(--gold-light);
  text-decoration: none;
}

#accept-cookies {
  background: linear-gradient(135deg, #d4af37, #f3d67a);
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  color: #111;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
}

#decline-cookies {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}
@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}
#accept-cookies:hover,
#decline-cookies:hover {
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}


@media (max-width: 900px) {
  .primary-action-grid {
    grid-template-columns: 1fr;
  }
}


.pdf-button-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px; /* vorher 14px */
}

.pdf-row-bottom {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.pdf-button-grid .btn {
  width: 190px;
  text-align: center;
}

.pdf-button-grid > a:first-child {
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.35);
}
.sub-headline {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}
/* =======================
   Kontaktbereich
======================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.contact-left h4 {
  color: var(--gold-light);
  font-size: 1.4rem;
  text-align: left;
}

.contact-text {
  color: var(--text-soft);
  line-height: 1.6;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
  font-size: 0.98rem;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(207, 215, 230, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

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


.contact-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-logo {
  filter:
    drop-shadow(0 0 25px rgba(212, 175, 55, 0.2))
    drop-shadow(0 0 50px rgba(212, 175, 55, 0.08));
}

.contact-logo.big-logo {
  width: min(380px, 80%);
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-left h4,
  .contact-text {
    text-align: center;
  }


  .contact-logo.big-logo {
    width: min(300px, 75%);
  }
}
.contact-form button {
  margin-top: 20px;
  align-self: center;
  padding: 6px 14px;   /* schmaler */
  font-size: 0.85rem;  /* kleiner Text */
  min-width: 80px;    /* weniger Breite */
}

#toggleContact {
  width: fit-content !important;
  display: inline-flex !important;
  align-self: center;
  padding: 8px 16px !important;
}