/*
Theme Name: ServiceDock
Theme URI: https://servicedock.at
Author: ServiceDock
Description: Custom theme for ServiceDock – IT-Lösungen & Smartphone-Service
Version: 1.0.0
License: Private
Text Domain: servicedock
*/

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Design Tokens ─── */
:root {
  --background: hsl(0, 0%, 98%);
  --foreground: hsl(0, 0%, 9%);
  --muted-foreground: hsl(0, 0%, 45%);
  --border: hsl(0, 0%, 89%);
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --animation-duration: 0.8s;
  --animation-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

::selection { background: hsl(0, 0%, 9%, 0.08); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Animations ─── */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in     { animation: fade-in var(--animation-duration) var(--animation-easing) both; }
.animate-fade-in-up  { animation: fade-in-up var(--animation-duration) var(--animation-easing) both; }
.animate-delay-100   { animation-delay: 0.1s; }
.animate-delay-200   { animation-delay: 0.2s; }
.animate-delay-300   { animation-delay: 0.3s; }

/* ─── Layout Helpers ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 768px; margin: 0 auto; padding: 0 32px; }

/* ─── Navigation ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  transition: opacity 0.3s;
}
.site-nav__brand:hover { opacity: 0.7; }
.site-nav__links { display: flex; gap: 28px; align-items: center; }
.site-nav__links a {
  font-size: 13px;
  color: var(--muted-foreground);
  transition: color 0.3s;
  letter-spacing: 0.01em;
}
.site-nav__links a:hover,
.site-nav__links a.active { color: var(--foreground); font-weight: 500; }

/* Page nav (back arrow style) */
.page-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}
.page-nav__inner { max-width: 1100px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.page-nav__back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-foreground);
  transition: color 0.3s;
}
.page-nav__back:hover { color: var(--foreground); }
.page-nav__back svg { width: 16px; height: 16px; }
.page-nav__brand {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ─── Labels / Eyebrow ─── */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  display: block;
}

/* ─── Hero Sections ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
}
.hero__label { margin-bottom: 24px; }
.hero__title {
  font-size: clamp(2.75rem, 9vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--foreground);
}
.hero__title--page {
  font-size: clamp(2.5rem, 8vw, 7.5rem);
}
.hero__title .muted { color: var(--muted-foreground); }
.hero__sub {
  margin-top: 24px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted-foreground);
  font-weight: 300;
  max-width: 400px;
  line-height: 1.6;
}

/* ─── Statement Section ─── */
.statement {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
}
.statement__title {
  font-size: clamp(1.75rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.statement__sub {
  margin-top: 32px;
  font-size: 15px;
  color: var(--muted-foreground);
  font-weight: 300;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ─── Image Placeholder ─── */
.img-placeholder {
  background: hsl(0, 0%, 94%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}
.img-placeholder span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(0, 0%, 70%);
}
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.aspect-21-9  { aspect-ratio: 21/9; }
.aspect-16-9  { aspect-ratio: 16/9; }
.aspect-3-4   { aspect-ratio: 3/4; }

/* ─── Entry Cards (Home) ─── */
.entry-cards { padding: 0 32px 160px; }
.entry-cards__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.entry-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.5s;
  display: block;
  color: var(--foreground);
  text-decoration: none;
}
.entry-card:hover { border-color: rgba(0,0,0,0.12); }
.entry-card__image .img-placeholder { border-radius: 0; }
.entry-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 48px;
}
.entry-card__info { display: flex; align-items: center; gap: 24px; }
.entry-card__icon { color: var(--muted-foreground); transition: color 0.5s; }
.entry-card:hover .entry-card__icon { color: var(--foreground); }
.entry-card__icon svg { width: 20px; height: 20px; }
.entry-card__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.entry-card__desc { font-size: 14px; color: var(--muted-foreground); margin-top: 4px; }
.entry-card__arrow { color: rgba(0,0,0,0.25); transition: all 0.5s; }
.entry-card:hover .entry-card__arrow { color: rgba(0,0,0,0.5); transform: translateX(4px); }
.entry-card__arrow svg { width: 20px; height: 20px; }

/* ─── Service List ─── */
.service-list { border-top: 1px solid var(--border); }
.service-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.service-item__icon { color: var(--muted-foreground); padding-top: 3px; flex-shrink: 0; }
.service-item__icon svg { width: 20px; height: 20px; }
.service-item__content { flex: 1; }
.service-item__title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.service-item__desc { font-size: 14px; color: var(--muted-foreground); margin-top: 6px; line-height: 1.6; max-width: 480px; }

/* ─── Stats Block ─── */
.stats-section {
  padding: 120px 32px;
}
.stats-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.stats-header {}
.stats-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 16px;
}
.stats-items { border-top: 0; }
.stat-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.stat-item:first-child { border-top: 1px solid var(--border); }
.stat-number { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; }
.stat-label { font-size: 13px; color: var(--muted-foreground); }

/* ─── Section Header ─── */
.section-header { margin-bottom: 0; }
.section-header__headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 16px;
  max-width: 700px;
}

/* ─── Pricing ─── */
.pricing-section { padding: 120px 32px; }
.pricing-header { margin-bottom: 64px; }
.pricing-header .section-header__headline { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.pricing-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pricing-card--highlighted {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}
.pricing-card--highlighted .pricing-card__desc,
.pricing-card--highlighted .pricing-card__feature { color: rgba(250,250,250,0.6); }
.pricing-card--highlighted .pricing-card__check { color: rgba(250,250,250,0.8); }
.pricing-card__name { font-size: 11px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.pricing-card--highlighted .pricing-card__name { color: rgba(250,250,250,0.6); }
.pricing-card__price { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.pricing-card__desc { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }
.pricing-card__features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-card__feature { font-size: 14px; color: var(--muted-foreground); display: flex; align-items: center; gap: 10px; }
.pricing-card__check { color: var(--foreground); flex-shrink: 0; }
.pricing-card__check svg { width: 14px; height: 14px; }

/* ─── About: Values ─── */
.values-section { padding: 120px 32px; }
.values-list { border-top: 1px solid var(--border); margin-top: 80px; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.value-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; min-width: 180px; }
.value-text { font-size: 15px; color: var(--muted-foreground); line-height: 1.7; max-width: 480px; }

/* ─── About: Two-col Intro ─── */
.two-col-section { padding: 120px 32px; }
.two-col-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.two-col-body { font-size: 15px; color: var(--muted-foreground); line-height: 1.8; }
.two-col-body p + p { margin-top: 20px; }

/* ─── Team Grid ─── */
.team-section { padding: 120px 32px; text-align: center; }
.team-grid { max-width: 1100px; margin: 80px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-member__name { margin-top: 20px; font-size: 14px; font-weight: 600; }
.team-member__role { margin-top: 4px; font-size: 12px; color: var(--muted-foreground); }

/* ─── Contact Info ─── */
.contact-section { padding: 80px 32px 120px; }
.contact-grid { max-width: 768px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--border); padding-top: 48px; }
.contact-grid + .contact-grid { margin-top: 48px; border-top: 1px solid var(--border); }
.contact-label { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-foreground); display: block; margin-bottom: 16px; }
.contact-value { font-size: 20px; font-weight: 600; transition: color 0.3s; }
.contact-value:hover { color: var(--muted-foreground); }
.contact-text { font-size: 15px; color: var(--muted-foreground); line-height: 1.8; }

/* ─── CTA Section ─── */
.cta-section { padding: 120px 32px 160px; }
.cta-inner { max-width: 768px; margin: 0 auto; text-align: center; }
.cta-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cta-sub { margin-top: 24px; font-size: 17px; color: var(--muted-foreground); font-weight: 300; line-height: 1.6; max-width: 420px; margin-left: auto; margin-right: auto; }
.cta-buttons { margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: opacity 0.4s;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.85; }
.btn-primary svg { width: 16px; height: 16px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 0.4s;
  text-decoration: none;
}
.btn-secondary:hover { border-color: rgba(0,0,0,0.25); }

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px;
}
.site-footer__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.site-footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-footer__brand-name { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.site-footer__brand-sub { margin-top: 12px; font-size: 14px; color: var(--muted-foreground); }
.site-footer__links-group { display: flex; gap: 64px; }
.site-footer__link-col-label { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-foreground); display: block; margin-bottom: 16px; }
.site-footer__link-col a { display: block; font-size: 14px; color: var(--muted-foreground); margin-bottom: 10px; transition: color 0.3s; }
.site-footer__link-col a:hover { color: var(--foreground); }
.site-footer__bottom { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer__copy { font-size: 12px; color: rgba(0,0,0,0.3); }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a { font-size: 12px; color: rgba(0,0,0,0.3); transition: color 0.3s; }
.site-footer__legal a:hover { color: var(--muted-foreground); }

/* ─── Spacers ─── */
.spacer-section { height: 10vh; }
.pt-nav { padding-top: 80px; }

/* ─── Sticky Visual ─── */
.sticky-visual { position: relative; min-height: 150vh; }
.sticky-visual__inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 32px; }
.sticky-visual__inner .container { width: 100%; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .site-nav__links { display: none; }
  .site-nav__mobile-menu { display: flex; }
  .two-col-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .value-item { flex-direction: column; gap: 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .entry-card__body { padding: 24px; }
  .container, .container--narrow { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .site-footer__top { flex-direction: column; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ─── WordPress defaults reset ─── */
.wp-block-image { margin: 0; }
p { margin: 0; }

/* ─── Parallax Section ─── */
.parallax-wrap {
  width: 100%;
  padding: 0 32px;
  overflow: hidden;
}
.parallax-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 21/9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
  position: relative;
}
#parallax-img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: translateY(0px) scale(1.12);
}
.parallax-placeholder {
  width: 100%;
  height: 100%;
  background: hsl(0,0%,94%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: hsl(0,0%,70%);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Entry Cards v2 – nebeneinander ─── */
.entry-cards__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.entry-card-v2 {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.5s;
}
.entry-card-v2:hover { border-color: rgba(0,0,0,0.15); }
.entry-card-v2__image .img-placeholder { border-radius: 0; }
.entry-card-v2__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
}
.entry-card-v2__info {
  display: flex;
  align-items: center;
  gap: 16px;
}
.entry-card-v2__icon { color: var(--muted-foreground); transition: color 0.4s; }
.entry-card-v2:hover .entry-card-v2__icon { color: var(--foreground); }
.entry-card-v2__title { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.entry-card-v2__desc  { font-size: 13px; color: var(--muted-foreground); margin-top: 3px; }
.entry-card-v2__arrow { color: rgba(0,0,0,0.2); transition: all 0.4s; flex-shrink: 0; }
.entry-card-v2:hover .entry-card-v2__arrow { color: rgba(0,0,0,0.5); transform: translateX(4px); }

@media (max-width: 768px) {
  .entry-cards__grid { grid-template-columns: 1fr; }
  .parallax-section { padding: 0 20px; }
}
