/* Freddy Fur - Static Site Styles */

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

:root {
  --amber: #F59E0B;
  --amber-light: #FACF85;
  --amber-lightest: #FDE7C2;
  --amber-deep: #F8B648;
  --purple: #8B5CF6;
  --purple-light: #DED6FF;
  --navy-dark: #09234C;
  --navy: #124698;
  --white: #FFFFFF;
  --black: #080808;
  --gray-dark: #242323;
  --gray: #727272;
  --gray-light: #B0B0B0;
  --off-white: #F5F3F2;
  --green: #009E5A;
  --pink: #FBC3D4;
  --font-primary: 'Poppins', Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--purple);
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-dark);
  transition: color 0.2s;
}

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

.nav-links .lang-switch {
  background: var(--purple-light);
  color: var(--purple);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-links .lang-switch:hover {
  background: var(--purple);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Sections */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--white) 40%, var(--amber-lightest) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
}

.hero-text h1 span {
  color: var(--purple);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-cta-label {
  font-weight: 700;
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hero-phones {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: flex-end;
}

.hero-phones img {
  width: 200px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.hero-phones img:first-child {
  transform: translateY(-20px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
}

.btn-purple:hover {
  background: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Section Headers */
.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* How It Works */
.how-it-works {
  background: var(--white);
}

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

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--amber-lightest);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
}

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  line-height: 32px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

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

/* Features */
.features {
  background: var(--off-white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--purple-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

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

/* Demo Video */
.demo {
  background: linear-gradient(135deg, var(--purple) 0%, #7C3AED 100%);
  color: var(--white);
  text-align: center;
}

.demo .section-title {
  color: var(--white);
}

.demo .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.demo-placeholder {
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

/* Our Story */
.story {
  background: var(--white);
}

.story-content {
  max-width: 750px;
  margin: 0 auto;
}

.story-content p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.story-content .highlight {
  font-weight: 700;
  color: var(--purple);
  font-size: 1.15rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--amber-lightest) 0%, var(--purple-light) 100%);
  text-align: center;
}

.cta p {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--gray-dark);
  color: var(--gray-light);
  padding: 2rem;
  text-align: center;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Impressum */
.impressum {
  padding-top: 7rem;
  min-height: 100vh;
}

.impressum h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 2rem;
}

.impressum h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.impressum p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.impressum a {
  color: var(--purple);
  text-decoration: underline;
}

/* Modal / Lightbox */
.modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  width: 90vw;
  max-width: 600px;
  height: 80vh;
  max-height: 700px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(100vh);
  margin: 0;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              opacity 0.4s ease,
              overlay 0.4s ease allow-discrete,
              display 0.4s ease allow-discrete;
}

.modal[open] {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

@starting-style {
  .modal[open] {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(100vh);
  }
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease,
              overlay 0.4s ease allow-discrete,
              display 0.4s ease allow-discrete;
}

.modal[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .modal[open]::backdrop {
    opacity: 0;
  }
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 10;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--gray-dark);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-phones img {
    width: 150px;
  }

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

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

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

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