/* ============================================================
   VividDroid Studio – Site Stylesheet
   Marketing layout (index) + Legacy card layout (impressum/datenschutz)
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

:root {
  --bg:       #07070f;
  --surface:  #10101a;
  --surface2: #16161f;
  --border:   #1e1e2e;
  --pink:     #e0408c;
  --purple:   #7c3fc8;
  --accent:   #7c5cfc;
  --accent2:  #c45cfc;
  --text:     #e8e8f0;
  --muted:    #8888a8;
  --radius:   14px;
  --max-w:    1100px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  width: 100%;
  overflow-x: hidden;
}

body.marketing {
  display: block;
  min-height: 100vh;
  padding: 0;
  align-items: unset;
}


/* ============================================================
   MARKETING LAYOUT (index.html)
   ============================================================ */

/* --- Site Header / Nav --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img { height: 36px; width: auto; }

.nav-logo span {
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 7, 15, 0.92) 0%,
    rgba(7, 7, 15, 0.70) 50%,
    rgba(7, 7, 15, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
  margin-bottom: 1.1rem;
}

.hero-headline {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.08;
  background: linear-gradient(140deg, #ffffff 0%, var(--pink) 65%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.3rem;
  max-width: 620px;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(232, 232, 240, 0.75);
  margin-bottom: 2.75rem;
  max-width: 440px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  animation: bounce 2s infinite;
  transition: color 0.2s;
}

.hero-scroll:hover { color: var(--pink); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 0.78rem 1.8rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  padding: 0.78rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* --- Tagline Strip --- */
.tagline-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(224, 64, 140, 0.12),
    rgba(124, 63, 200, 0.12)
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.strip-dot {
  color: var(--pink);
  font-size: 1.1rem;
  line-height: 1;
}

/* --- Section Base --- */
.section-block {
  padding: 6rem 2rem;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.container-narrow {
  max-width: 760px;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-sub {
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 3.5rem;
  max-width: 560px;
  line-height: 1.75;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.service-card:hover {
  border-color: rgba(224, 64, 140, 0.5);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(224,64,140,0.15), rgba(124,63,200,0.15));
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--pink);
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.91rem;
  color: var(--muted);
  line-height: 1.7;
}

/* --- Product Section --- */
.product-section {
  background: var(--surface);
}

.product-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem 3.5rem;
}

.product-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-logo-wrap img {
  width: 190px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(224, 64, 140, 0.2);
}

.product-name {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.product-info > p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-features li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 800;
}

/* --- Marketing Quote Strip --- */
.quote-strip {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(224,64,140,0.08), rgba(124,63,200,0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marketing-quote {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: var(--muted);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
  border: none;
}

.marketing-quote span {
  background: linear-gradient(90deg, var(--text), rgba(232,232,240,0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.contact-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s;
}

.contact-item:hover {
  border-color: rgba(224, 64, 140, 0.4);
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--pink);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

a.contact-value:hover { color: var(--pink); }

/* --- Site Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: none;
  display: block;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img { height: 30px; width: auto; }

.footer-slogan {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

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

.footer-links a:hover { color: var(--pink); }

/* ============================================================
   LEGACY CARD LAYOUT (impressum.html, datenschutz.html)
   ============================================================ */

body:not(.marketing) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  justify-content: flex-start;
}

body.card-center {
  justify-content: center;
}

.card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(124, 92, 252, 0.1);
}

.card.wide { max-width: 680px; }

.logo-wrap {
  text-align: center;
  margin-bottom: 1.75rem;
}

.logo-wrap img { width: 160px; height: auto; }

h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.legal-form {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.section {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

p + p { margin-top: 0.75rem; }

address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.65;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.8;
}

.contact-row .label {
  color: var(--muted);
  min-width: 4.5rem;
  font-size: 0.82rem;
}

.muted {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

ul.muted-list {
  list-style: none;
  padding: 0;
}

ul.muted-list li {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text);
  padding-left: 1em;
  position: relative;
}

ul.muted-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}

nav.back {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 680px;
}

nav.back a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
}

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

footer {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  width: 100%;
  max-width: 560px;
}

footer.wide { max-width: 680px; }

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

footer .sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
  .product-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 2rem;
    text-align: center;
  }

  .product-logo-wrap img { width: 150px; }

  .product-features { text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .nav-links a:not(.lang-btn) { display: none; }

  .hero-content { padding: 6rem 1.5rem 4rem; }

  .section-block { padding: 4rem 1.5rem; }

  .tagline-strip { font-size: 0.65rem; gap: 1rem; }

  .product-card { padding: 2rem 1.5rem; }

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

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-links { justify-content: center; flex-wrap: wrap; }
}
