/* ============================================================
   SHALA OBJEKTSERVICE – Main Stylesheet
   Colors: #E31E24 (red), #111111 (black), #FFFFFF (white)
   ============================================================ */

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

:root {
  --red:       #E31E24;
  --red-dark:  #b81219;
  --black:     #111111;
  --white:     #ffffff;
  --gray-100:  #f5f5f5;
  --gray-200:  #e0e0e0;
  --gray-500:  #9e9e9e;
  --font:      'Inter', sans-serif;
  --nav-h:     88px;
  --radius:    12px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

.visible {
  opacity: 1 !important;
  transform: none !important;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

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

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  padding: 0;
  transition: transform var(--transition);
}
.logo-wrap:hover {
  transform: translateY(-2px);
}
.logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: var(--black);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover {
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #111111;
  overflow: hidden;
}

/* Subtle geometric background texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 60px,
      rgba(227,30,36,0.035) 60px,
      rgba(227,30,36,0.035) 61px
    );
  pointer-events: none;
}

/* Red glow accent — bottom left */
.hero::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(227,30,36,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,17,17,1) 0%,
    rgba(25,5,5,0.95) 50%,
    rgba(40,8,8,0.85) 100%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 24px 80px;
  width: 100%;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.hero-line {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.03em;
  line-height: 1.05;
  display: block;
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 0.7s forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.28s; }
.hero-line:nth-child(3) { animation-delay: 0.46s; }

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--red);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  animation: fadeUp 0.7s 0.85s forwards;
  box-shadow: 0 4px 24px rgba(227,30,36,0.4);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(227,30,36,0.55);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint arrow */
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 3px solid rgba(255,255,255,0.5);
  border-bottom: 3px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ============================================================
   COMING SOON BANNER
   ============================================================ */
.coming-soon-banner {
  background: linear-gradient(135deg, var(--black) 0%, #1c0303 50%, #2a0707 100%);
  padding: 72px 24px;
  text-align: center;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}
.coming-soon-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(227,30,36,0.04) 40px,
    rgba(227,30,36,0.04) 80px
  );
}

.cs-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cs-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  animation: spin 4s linear infinite;
}
@keyframes spin {
  0%, 90% { transform: rotate(0deg); }
  95% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.cs-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(227,30,36,0.5);
}

.cs-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cs-text strong {
  color: var(--white);
  font-weight: 700;
}

.cs-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cs-badge {
  background: rgba(227,30,36,0.15);
  border: 1.5px solid rgba(227,30,36,0.5);
  color: var(--red);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition);
}
.cs-badge:hover {
  background: var(--red);
  color: var(--white);
  transform: scale(1.05);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 24px;
  background: var(--gray-100);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 10px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 48px;
  margin-top: 4px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1.5px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: rgba(227,30,36,0.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card--more {
  background: var(--black);
  border-color: var(--red);
}
.service-card--more .svc-name,
.service-card--more .svc-desc {
  color: var(--white);
}
.service-card--more .svc-desc { color: rgba(255,255,255,0.6); }

.svc-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}
.svc-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.svc-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ============================================================
   CONTACT FOOTER
   ============================================================ */
.contact {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  max-width: 100%;
}

.contact-col {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.contact-col--left {
  background: #1a1a1a;
}
.contact-col--mid {
  background: var(--red);
}
.contact-col--right {
  background: #1a1a1a;
}

.contact-cta-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 200px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-phone:hover { color: var(--red); }

.contact-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  transition: opacity var(--transition);
}
.contact-link:hover { opacity: 0.8; }

.contact-icon { flex-shrink: 0; font-size: 1.1rem; }

.contact-follow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover {
  background: var(--red);
  transform: scale(1.1);
}

.social-handle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 32px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-col {
    padding: 36px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.3rem; padding: 12px 32px; }
  .burger { display: flex; }
}

@media (max-width: 500px) {
  :root {
    --nav-h: 74px;
  }
  .nav-inner {
    padding: 0 16px;
  }
  .logo-img {
    height: 52px;
  }
  .services { padding: 64px 16px; }
  .cs-title { font-size: 1.8rem; }
  .hero-line { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

/* ============================================================
   COOKIE CONSENT BANNER & SETTINGS
   ============================================================ */
.cookie-banner {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
}

.cookie-card {
  pointer-events: auto;
  width: 100%;
  max-width: 660px;
  background: rgba(18, 18, 18, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(227, 30, 36, 0.45);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.cookie-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

/* Erweiterte Einstellungen */
.cookie-details {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.cookie-category:first-child {
  padding-top: 4px;
}

.cookie-cat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookie-cat-text strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.cookie-cat-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1.45;
}

.cookie-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(227, 30, 36, 0.18);
  color: var(--red);
  border: 1px solid rgba(227, 30, 36, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #333333;
  transition: 0.25s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: 0.25s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--red);
  border-color: var(--red);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(20px);
}

/* Buttons */
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.cookie-btn--accept {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
}

.cookie-btn--accept:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.cookie-btn--reject {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn--reject:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.cookie-btn--custom {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 14px;
  margin-right: auto;
}

.cookie-btn--custom:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-btn--save {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
}

.cookie-btn--save:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Footer Cookie Link */
.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--red);
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 12px;
  }
  .cookie-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  .cookie-btn--custom {
    margin-right: 0;
  }
}

/* ============================================================
   LEGAL / IMPRESSUM PAGE
   ============================================================ */
.legal-page {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  background: var(--gray-100);
  min-height: calc(100vh - 200px);
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 28px;
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.legal-back-link:hover {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
  transform: translateX(-3px);
}

.legal-header {
  margin-bottom: 32px;
}

.legal-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
}

.legal-divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 12px;
}

.legal-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px 32px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.legal-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-card h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--red);
  border-radius: 3px;
}

.legal-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 20px;
}

.legal-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 14px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  font-size: 0.95rem;
  color: #444444;
}

.legal-link {
  color: var(--red);
  text-decoration: underline;
  word-break: break-all;
  transition: color var(--transition);
}

.legal-link:hover {
  color: var(--red-dark);
}

@media (max-width: 600px) {
  .legal-card {
    padding: 24px 20px;
  }
}


