@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

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

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-gray: #1a1a1a;
  --medium-gray: #2a2a2a;
  --light-gray: #e0e0e0;
  --white: #ffffff;
  --accent: #c8102e;
  --accent-hover: #e01535;
  --green: #25d366;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

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

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-gray);
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

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

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

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

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--light-gray);
  margin-bottom: 30px;
  font-weight: 300;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

/* ── USP Section ── */
.usp-section {
  padding: 100px 0;
  position: relative;
}

.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.usp-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.usp-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.usp-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.usp-list {
  list-style: none;
  margin-bottom: 30px;
}

.usp-list li {
  font-size: 1.15rem;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--light-gray);
}

.usp-list li .check {
  color: var(--green);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ── Services Cards ── */
.services-section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section-title p {
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--dark-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-icon {
  padding: 40px 30px 20px;
  text-align: center;
}

.service-card-icon svg {
  width: 50px;
  height: 50px;
  color: var(--accent);
}

.service-card-body {
  padding: 0 30px 40px;
  text-align: center;
}

.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card-body p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Service cards with images (services page) */
.services-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

/* ── Tarife ── */
.tarife-section {
  padding: 100px 0;
  background: var(--dark);
}

.tarife-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.tarif-card {
  background: var(--dark-gray);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tarif-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--accent);
}

.tarif-table {
  width: 100%;
  border-collapse: collapse;
}

.tarif-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tarif-table tr:last-child {
  border-bottom: none;
}

.tarif-table td {
  padding: 14px 0;
  font-size: 1rem;
}

.tarif-table td:last-child {
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--white);
}

/* ── Contact Form ── */
.contact-section {
  padding: 100px 0;
  background: var(--dark);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-wrapper .subtitle {
  color: var(--light-gray);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-wrapper .subtitle a {
  color: var(--accent);
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--medium-gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

.form-success {
  display: none;
  padding: 20px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 600;
  margin-top: 16px;
}

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

/* ── Footer ── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 30px;
}

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

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col p,
.footer-col a {
  color: #999;
  font-size: 0.9rem;
  line-height: 2;
  transition: color 0.3s;
}

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

.footer-col a {
  display: block;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.payment-icons img {
  height: 30px;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.3s;
  background: white;
  padding: 4px 8px;
}

.payment-icons img:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--dark);
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--light-gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ── Impressum / Legal ── */
.legal-section {
  padding: 80px 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--accent);
}

.legal-content p {
  color: var(--light-gray);
  margin-bottom: 12px;
  line-height: 1.8;
}

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

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

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Responsive ── */
@media (max-width: 968px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .usp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .services-grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 500px;
  }

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

  .btn {
    padding: 12px 28px;
    font-size: 0.85rem;
  }

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

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}
