/* Top-Notch New York Graphic Agency Design - 2025 */
/* Premium Design with Conversion Optimization */

/* Import Fonts - Vercel Optimized */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap'); */

/* Fallback Fonts für Vercel - Google Fonts import kann bei Vercel manchmal Probleme machen */

:root {
  --primary: #ff006e;
  --primary-dark: #d1005f;
  --secondary: #8338ec;
  --accent: #3a86ff;
  --tertiary: #06ffa5;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-primary: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
  --gradient-secondary: linear-gradient(135deg, #3a86ff 0%, #06ffa5 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-secondary);
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 0, 110, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(131, 56, 236, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(58, 134, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Header - Hero Section */
.header-logo {
  position: absolute;
  top: 30px;
  right: 40px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.header-logo img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-logo img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: var(--shadow-xl);
}

header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 0, 110, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(131, 56, 236, 0.15) 0%, transparent 60%),
    url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><polygon points="30,20 40,40 20,40"/></g></svg>') repeat;
  animation: floatPattern 60s ease-in-out infinite;
}

@keyframes floatPattern {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-5px, -5px) rotate(1deg); }
  50% { transform: translate(5px, -10px) rotate(-1deg); }
  75% { transform: translate(-10px, 5px) rotate(0.5deg); }
}

header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  color: white;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  letter-spacing: -0.05em;
}

header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

header p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Main Container */
main {
  max-width: 1400px;
  margin: -80px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* Container Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Universal Section Styles */
section {
  background: white;
  margin-bottom: 60px;
  border-radius: 20px;
  padding: 60px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

/* Universal Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

/* Badge Button */
.badge-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2rem;
  box-shadow: 0 8px 25px rgba(255, 0, 110, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.badge-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.badge-button:hover::before {
  left: 100%;
}

.badge-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 0, 110, 0.4);
}

.badge-button:active {
  transform: translateY(-1px);
}

/* Tool Section */
.tool-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin-top: 0;
  margin-bottom: 80px;
  text-align: center;
  position: relative;
  z-index: 20;
}

.tool-section::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.tool-section h2 {
  color: white;
  margin-bottom: 2rem;
}

.tool-section .badge-button {
  background: white;
  color: var(--primary);
}

/* Video Section */
.video-section {
  text-align: center;
  padding: 80px 60px;
  background: var(--bg-secondary);
}

.video-section h2 {
  margin-bottom: 1rem;
}

.video-section p {
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  margin: 2rem 0;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* Facts Section */
.facts-section {
  padding: 80px 0;
}

/* Fact Cards */
.fact-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
  position: relative;
  border-left: 6px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.fact-card.primary {
  border-left-color: var(--primary);
}

.fact-card.secondary {
  border-left-color: var(--secondary);
}

.fact-card small {
  background: var(--gradient-primary);
  border-left-color: var(--accent);
}

.fact-card.small {
  padding: 30px;
  margin-bottom: 20px;
}

.fact-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  border: none;
  padding-left: 0;
}

.fact-card.blockquote {
  font-style: italic;
  background: var(--bg-tertiary);
  border-left-color: var(--primary);
}

.blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 25px;
  margin: 25px 0;
  font-style: italic;
  background: #f8fafc;
  padding: 20px 25px;
  border-radius: 8px;
  color: var(--text-secondary);
}

.source {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 15px;
  font-weight: 500;
}

/* Grid Layouts */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 50px 0;
}

.final-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

/* Gradient Fact Cards */
.fact-card.gradient-blue {
  background: linear-gradient(135deg, #3a86ff 0%, #7209b7 100%);
  color: white;
}

.fact-card.gradient-blue h3,
.fact-card.gradient-blue p,
.fact-card.gradient-blue .blockquote {
  color: white;
}

.fact-card.gradient-pink {
  background: linear-gradient(135deg, #ff006e 0%, #fb5607 100%);
  color: white;
}

.fact-card.gradient-pink h3,
.fact-card.gradient-pink p,
.fact-card.gradient-pink .blockquote {
  color: white;
}

.fact-card.gradient-purple {
  background: linear-gradient(135deg, #8338ec 0%, #06ffa5 100%);
  color: white;
}

.fact-card.gradient-purple h3,
.fact-card.gradient-purple p,
.fact-card.gradient-purple .blockquote {
  color: white;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  color: white;
  margin: 50px 0;
  box-shadow: var(--shadow-2xl);
}

.cta-section h3 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 800;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  color: var(--primary);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: white;
}

/* Table Styles */
.agency-recommendation-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
  background: white;
}

.agency-recommendation-table thead {
  background: var(--gradient-primary);
}

.agency-recommendation-table thead th {
  color: white;
  font-weight: 700;
  text-align: left;
  padding: 25px 30px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.agency-recommendation-table tbody td {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.agency-recommendation-table tbody tr {
  transition: all 0.3s ease;
}

.agency-recommendation-table tbody tr:hover {
  background: var(--bg-tertiary);
  transform: scale(1.01);
}

.agency-recommendation-table tbody td:first-child {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.agency-recommendation-table tbody td:last-child {
  font-style: italic;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.faq-item {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-left: 4px solid transparent;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--primary);
}

.faq-item h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  border: none;
  padding-left: 0;
}

.faq-item p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.faq-item a {
  color: var(--primary);
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.contact-card {
  background: white;
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.1);
  background: white;
}

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

.submit-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(255, 0, 110, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 0, 110, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.success-message {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #06ffa5 0%, #3a86ff 100%);
  color: white;
  border-radius: 12px;
  margin-top: 25px;
}

.success-message h4 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* Quiz Container */
#quiz-container {
  margin-top: 40px;
}

#quiz-container h3 {
  color: var(--secondary);
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Option Buttons */
.option-btn {
  display: block;
  width: 100%;
  padding: 20px 28px;
  margin: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  background: white;
  color: var(--text-primary);
  border: 3px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.option-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
}

.option-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.option-btn:hover::before {
  left: 0;
  opacity: 0.1;
}

.option-btn:active {
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 50px 20px;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(131, 56, 236, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

footer p {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
  margin: 0;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

footer a:hover {
  color: white;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .fact-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .final-facts {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .header-logo {
    position: static;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
  }

  .header-logo img {
    width: 60px;
    height: 60px;
  }

  header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
  }

  header p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
  }

  main {
    margin-top: -40px;
    padding: 0 15px;
  }

  section {
    padding: 40px 25px;
    margin-bottom: 40px;
  }

  .video-wrapper {
    margin: 1rem 0;
  }

  .fact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .agency-recommendation-table {
    display: block;
    overflow-x: auto;
  }

  .agency-recommendation-table thead,
  .agency-recommendation-table tbody,
  .agency-recommendation-table tr,
  .agency-recommendation-table td,
  .agency-recommendation-table th {
    display: block;
  }

  .agency-recommendation-table thead th {
    display: none;
  }

  .agency-recommendation-table tbody tr {
    margin-bottom: 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    background: white;
  }

  .agency-recommendation-table tbody td {
    display: block;
    margin-bottom: 10px;
    border: none;
    padding: 5px 0;
  }

  .agency-recommendation-table tbody td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--primary);
    display: inline;
  }

  .agency-recommendation-table tbody td:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  header {
    padding: 60px 20px;
  }

  header h1 {
    font-size: 2.5rem;
  }

  section {
    padding: 30px 20px;
  }

  .option-btn {
    font-size: 1rem;
    padding: 16px 20px;
  }

  .faq-item {
    padding: 25px;
  }

  .contact-card {
    padding: 30px;
  }

  .cta-section {
    padding: 40px 25px;
  }

  .cta-section h3 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

section {
  animation: slideInUp 0.6s ease-out;
}

section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.4s; }
section:nth-child(4) { animation-delay: 0.6s; }
section:nth-child(5) { animation-delay: 0.8s; }

/* Button Hover Effects */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 0, 110, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 0, 110, 0.4);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 999;
  border-radius: 4px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Performance Optimizations */
img {
  loading: lazy;
  max-width: 100%;
  height: auto;
}

video {
  max-width: 100%;
  height: auto;
}

/* Print Styles */
@media print {
  .video-section,
  .cta-section,
  .contact-section {
    display: none;
  }

  body {
    background: white;
  }

  section {
    box-shadow: none;
    break-inside: avoid;
  }
}
