/* ========================================
   LiftUp Socials – Full Site Styles
   Apple-inspired, minimalist, German Mittelstand
   ======================================== */

:root {
  --black: #1d1d1f;
  --gray-dark: #424245;
  --gray: #6e6e73;
  --gray-light: #f5f5f7;
  --white: #ffffff;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 980px;
  --max-width-narrow: 720px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--black);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 0.5rem;
}

p {
  color: var(--gray-dark);
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.text-center {
  text-align: center;
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

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

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

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--black);
}

.nav-link-active {
  color: var(--black);
  font-weight: 500;
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  background: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--black);
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

.nav-toggle.active span:first-child {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  padding: 0.5rem 0;
}

/* ----------------------------------------
   Hero
   ---------------------------------------- */

.hero {
  padding: 180px 0 120px;
  text-align: center;
}

.hero-sub-page {
  text-align: left;
  padding: 160px 0 80px;
}

.hero-headline {
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero-sub-left {
  margin: 0 0 2.5rem 0;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */

.btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--accent);
  padding: 0.75rem 2rem;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-large {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.btn-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-text:hover {
  color: var(--accent-hover);
}

/* ----------------------------------------
   Sections
   ---------------------------------------- */

.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--gray-light);
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.section-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-top: 1.5rem;
  max-width: 560px;
}

.section h2 + .section-text {
  margin-top: 1.5rem;
}

.section-cta {
  text-align: center;
  padding: 140px 0;
}

.section-cta h2 {
  margin-bottom: 0;
}

.section-cta .section-text {
  margin-left: auto;
  margin-right: auto;
}

.section-cta .btn {
  margin-top: 2.5rem;
}

.cta-hint {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ----------------------------------------
   6-Column Grid (Landing Page)
   ---------------------------------------- */

.grid-six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  max-width: var(--max-width);
}

.grid-six-item {
  text-align: left;
}

.grid-six-item .feature-icon {
  color: var(--gray);
  margin-bottom: 1rem;
}

.grid-six-item h3 {
  font-size: 1.1rem;
}

.grid-six-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ----------------------------------------
   Audience Grid (Landing Page)
   ---------------------------------------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.audience-item {
  padding: 1.25rem 1.5rem;
  background: var(--gray-light);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  text-align: center;
}

/* ----------------------------------------
   Features (Legacy 3-column)
   ---------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.feature {
  text-align: left;
}

.feature-icon {
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ----------------------------------------
   Follow-up Grid
   ---------------------------------------- */

.follow-up-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.follow-up-item {
  padding: 2rem;
  background: var(--gray-light);
  border-radius: 16px;
}

.follow-up-number {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.follow-up-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
  font-weight: 500;
}

/* ----------------------------------------
   Values (3-column)
   ---------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.value p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
}

/* Values vertical (Über uns) */
.values-vertical {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.value-row:last-child {
  border-bottom: none;
}

.value-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.value-row p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ----------------------------------------
   Principles (Über uns)
   ---------------------------------------- */

.principle-list {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.principle p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ----------------------------------------
   Product Blocks (Produkte page)
   ---------------------------------------- */

.product-block {
  /* spacing handled by section */
}

.product-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-top: 1.5rem;
  max-width: 560px;
}

.product-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.product-detail h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 1rem;
}

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

.product-detail li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-dark);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.product-detail li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gray);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.55rem;
}

/* ----------------------------------------
   Steps
   ---------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 0;
}

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

.footer-logo {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.2rem;
}

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

.footer-links a {
  font-size: 0.8rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ----------------------------------------
   Contact Form
   ---------------------------------------- */

.contact-form {
  margin-top: 3rem;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.form-optional {
  font-weight: 400;
  color: var(--gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
  opacity: 0.6;
}

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

.contact-form .btn {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.form-success {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #f0faf0;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #1a7a1a;
  text-align: center;
  font-weight: 500;
}

.form-success.visible {
  display: block;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   Legal Pages (Impressum, Datenschutz)
   ---------------------------------------- */

.legal-content {
  padding-top: 0;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-dark);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.legal-content li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gray);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-updated {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ----------------------------------------
   Fade-in Animation
   ---------------------------------------- */

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

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

/* ----------------------------------------
   Responsive
   ---------------------------------------- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-sub-page {
    padding: 130px 0 60px;
  }

  .section {
    padding: 80px 0;
  }

  .section-cta {
    padding: 100px 0;
  }

  .features,
  .values,
  .steps,
  .grid-six {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-six {
    grid-template-columns: repeat(2, 1fr);
  }

  .follow-up-grid,
  .product-details,
  .principle-list,
  .audience-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav-inner {
    padding: 0 1.25rem;
  }

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