/* Datafuse - Minimal CSS */

:root {
  --black: #000000;
  --yellow: #F7C600;
  --white: #FFFFFF;
  --gray: #999999;
  --gray-light: #e0e0e0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  font-size: 18px;
}

/* Typography */
h1, h2, h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  max-width: 600px;
  color: var(--white);
}

a {
  color: var(--yellow);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo-text:hover {
  text-decoration: none;
  color: var(--yellow);
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--white);
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--gray);
}

.lang-switch a {
  color: var(--gray);
  font-size: 0.85rem;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--yellow);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 102;
  padding: 3px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  color: var(--gray-light);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
}

/* Section Yellow */
.section-yellow {
  background: var(--yellow);
  color: var(--black);
}

.section-yellow h2,
.section-yellow h3,
.section-yellow p {
  color: var(--black);
}

/* Section Black */
.section-black {
  background: var(--black);
}

.section-black h2,
.section-black h3 {
  color: var(--white);
}

.section-black p {
  color: var(--gray-light);
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  stroke: var(--yellow);
}

.feature h3 {
  margin-bottom: 0.75rem;
  color: var(--white);
}

.feature p {
  color: var(--gray-light);
  margin: 0 auto;
}

/* CTA Section */
.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
  color: var(--white);
}

.cta p {
  margin: 0 auto 2rem;
  color: var(--gray-light);
}

.cta .btn-primary {
  color: var(--black);
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid #333;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-section h4 {
  color: var(--white);
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

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

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Contact Form */
.contact-form {
  max-width: 500px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--white);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: #111;
  color: var(--white);
  font-family: inherit;
}

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

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

.contact-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 1rem;
  border: 3px solid var(--yellow);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--white);
}

.contact-info strong {
  color: var(--gray-light);
}

.contact-info .note {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Legal Pages */
.legal {
  padding-top: 120px;
}

.legal h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--white);
}

.legal h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
  color: var(--white);
}

.legal h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--white);
}

.legal p {
  color: var(--gray-light);
  margin-bottom: 1rem;
  max-width: none;
}

.legal ul {
  color: var(--gray-light);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal strong {
  color: var(--white);
}

.legal a {
  color: var(--yellow);
}

.company-info {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid #333;
}

.company-info p {
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--yellow);
}

.service-card .feature-icon {
  margin: 0 0 1.5rem 0;
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-light);
  margin-bottom: 1rem;
  max-width: none;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  color: var(--gray-light);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--black);
  color: var(--yellow);
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--black);
  font-size: 0.95rem;
  max-width: none;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.benefit h3 {
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.benefit p {
  color: var(--gray-light);
  max-width: none;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
}

/* Responsive */
/* Preview Grid */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.preview-card {
  background: var(--black);
  padding: 2rem;
  border-radius: 8px;
}

/* ==================== */
/* MOBILE STYLES        */
/* ==================== */

@media (max-width: 768px) {
  /* Base adjustments */
  body {
    font-size: 16px;
  }

  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid #333;
    z-index: 100;
  }

  nav.active {
    right: 0;
  }

  nav a {
    color: var(--white);
  }

  nav > a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #222;
  }

  nav > a:first-child {
    border-top: 1px solid #222;
  }

  .lang-switch {
    margin-left: 0;
    margin-top: 2rem;
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: none;
    border-top: 1px solid #333;
    width: 100%;
    justify-content: center;
    gap: 1.5rem;
  }

  .lang-switch a {
    font-size: 1rem;
  }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Ratsch Hero Grid */
  .hero .container > div[style*="grid"] {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 2rem !important;
    text-align: center;
  }

  .hero .container > div[style*="grid"] img {
    width: 150px !important;
    margin: 0 auto;
  }

  /* Buttons Mobile */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }

  .hero .btn,
  .cta .btn {
    width: auto;
    display: inline-block;
  }

  /* Typography Mobile */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  /* Sections */
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .about-photo {
    display: flex;
    justify-content: center;
  }

  .about-photo img {
    width: 150px;
    height: 150px;
  }

  .about-text p {
    text-align: left;
  }

  /* Features */
  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature {
    padding: 1.5rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
  }

  .step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  .step-content {
    flex: 1;
  }

  /* Benefits */
  .benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
  }

  /* Blog Grid */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-card {
    padding: 1.5rem;
  }

  .blog-card h3 {
    font-size: 1rem;
  }

  .blog-card p {
    font-size: 0.9rem;
  }

  /* Preview Grid */
  .preview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    max-width: none;
  }

  .contact-info {
    text-align: center;
    order: -1;
  }

  .contact-photo {
    width: 100px;
    height: 100px;
  }

  /* CTA */
  .cta {
    padding: 2.5rem 0;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .cta p {
    font-size: 0.95rem;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    margin-bottom: 1rem;
  }

  .footer-brand p {
    max-width: none;
    margin: 0 auto;
  }

  .footer-section h4 {
    margin-bottom: 0.75rem;
  }

  .footer-section ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .footer-section li {
    margin-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  /* Legal Pages Mobile */
  .legal {
    padding-top: 80px;
  }

  .legal h1 {
    font-size: 1.5rem;
  }

  .legal h2 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
  }

  .company-info {
    padding: 1rem;
  }

  /* Blog Article Mobile */
  .blog-article {
    padding-top: 80px;
  }

  .blog-article h1 {
    font-size: 1.5rem;
  }

  .blog-article .article-intro {
    font-size: 1.1rem;
  }

  .blog-article h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
  }

  .blog-article .faq {
    padding: 1.25rem;
  }

  .article-cta {
    padding: 1.5rem;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }
}

/* Blog Article Styles */
.blog-article {
  padding-top: 120px;
}

.blog-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.blog-article .article-intro {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: none;
}

.blog-article h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
}

.blog-article h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--yellow);
}

.blog-article p {
  color: var(--gray-light);
  margin-bottom: 1rem;
  max-width: none;
  line-height: 1.7;
}

.blog-article ul,
.blog-article ol {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-article li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.blog-article strong {
  color: var(--white);
}

.blog-article a {
  color: var(--yellow);
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--yellow);
  text-decoration: none;
}

.blog-article .faq {
  background: #111;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border: 1px solid #333;
}

.blog-article .faq h3 {
  margin-top: 1.5rem;
  color: var(--white);
}

.blog-article .faq h3:first-child {
  margin-top: 0;
}

.blog-article .faq p {
  margin-bottom: 0;
}

.article-cta {
  background: var(--yellow);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
}

.article-cta p {
  color: var(--black);
  margin-bottom: 1rem;
}

.article-cta .btn-primary {
  background: var(--black);
  color: var(--white);
}

.article-cta .btn-primary:hover {
  background: #333;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s ease;
}

.blog-card:hover {
  border-color: var(--yellow);
}

.blog-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--white);
}

.blog-card h3 a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.blog-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  max-width: none;
  margin-bottom: 1rem;
}

.blog-card .read-more {
  color: var(--yellow);
  font-size: 0.9rem;
}
