/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000018;
  --dark: #333336;
  --gray-dark: #6e6e73;
  --gray: #86868b;
  --gray-light: #d2d2d7;
  --gray-bg: #f5f5f7;
  --white: #fbfbfd;
  --pure-white: #fff;
  --accent: #1d1d1f;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--pure-white);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

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

.preloader-bar {
  width: 120px;
  height: 1px;
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 60%;
  height: 100%;
  background: var(--black);
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderSlide {
  0% { left: -60%; }
  100% { left: 100%; }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.85rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 90px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--dark);
  position: relative;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-cta {
  background: var(--black) !important;
  color: var(--pure-white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--dark) !important;
  transform: scale(1.02);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--black);
  transition: all var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pure-white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
  padding: 6rem 5rem 4rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 2rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.7s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--black);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s 0.45s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gray-dark);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s 0.75s forwards;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  border-radius: 50px;
  letter-spacing: 0.01em;
}

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

.btn-primary:hover {
  background: var(--dark);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--gray-light);
}

.btn-outline:hover {
  border-color: var(--black);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s 1.2s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 30px;
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--black);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ===== SECTIONS GENERAL ===== */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}

.section-divider {
  width: 40px;
  height: 1px;
  background: var(--gray-light);
  margin: 1.25rem auto;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-dark);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 400;
}

/* ===== ABOUT ===== */
.about {
  background: var(--gray-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: var(--pure-white);
  box-shadow: var(--shadow-lg);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--gray-bg), var(--pure-white));
  color: var(--gray);
  gap: 0.75rem;
}

.about-image-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.2;
}

.about-image-placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: var(--black);
  color: var(--pure-white);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
  line-height: 1;
}

.about-image-badge .label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  display: block;
  opacity: 0.7;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--black);
  letter-spacing: -0.01em;
}

.about-text p {
  color: var(--gray-dark);
  margin-bottom: 1.25rem;
  font-weight: 400;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}

.about-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--black);
  font-weight: 600;
}

.about-stat .stat-label {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* ===== SERVICES ===== */
.services {
  background: var(--pure-white);
}

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

.service-card {
  background: var(--gray-bg);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  background: var(--pure-white);
  border-color: var(--gray-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--pure-white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--black);
}

.service-card:hover .service-icon {
  background: var(--black);
  color: var(--pure-white);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--black);
  font-weight: 600;
}

.service-card p {
  color: var(--gray-dark);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.65;
}

/* ===== IMMOWELT ===== */
.immowelt {
  background: var(--gray-bg);
}

.immowelt-wrapper {
  background: var(--pure-white);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.immowelt-wrapper iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
}

.immowelt-fallback {
  text-align: center;
  padding: 3rem 2rem;
}

.immowelt-fallback p {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--pure-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ===== PARTNERS MARQUEE ===== */
.partners {
  background: var(--pure-white);
  padding: 5rem 0;
  overflow: hidden;
}

.partners .section-header {
  margin-bottom: 3rem;
}

.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.marquee-container:active {
  cursor: grabbing;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--pure-white) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--pure-white) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}

.marquee-track.paused {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 1rem;
  transition: all var(--transition);
}

.marquee-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.marquee-item img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: all var(--transition);
}

.marquee-item:hover img {
  filter: grayscale(0%);
  opacity: 0.85;
}

.marquee-item .partner-text-logo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: all var(--transition);
}

.marquee-item:hover .partner-text-logo {
  color: var(--black);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--gray-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.contact-info > p {
  color: var(--gray-dark);
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pure-white);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.contact-item-icon svg {
  width: 16px;
  height: 16px;
}

.contact-item-text .label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.contact-item-text a,
.contact-item-text p {
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 400;
}

.contact-item-text a:hover {
  color: var(--gray-dark);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--pure-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--pure-white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 340px;
  line-height: 1.65;
}

.footer-links h4 {
  font-size: 0.82rem;
  color: var(--pure-white);
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

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

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 5rem;
  min-height: 100vh;
  background: var(--pure-white);
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--black);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-divider {
  width: 40px;
  height: 1px;
  background: var(--gray-light);
  margin: 1.25rem 0 2.5rem;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--black);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal-page h3 {
  font-size: 1rem;
  color: var(--black);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  color: var(--gray-dark);
  font-weight: 400;
  margin-bottom: 0.65rem;
  line-height: 1.75;
  font-size: 0.92rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-page a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--gray-dark);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--pure-white);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 2rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.cookie-text p {
  font-size: 0.82rem;
  color: var(--gray-dark);
  line-height: 1.6;
  max-width: 680px;
}

.cookie-text a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: var(--gray-dark);
}

.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--black);
  color: var(--pure-white);
}

.cookie-btn-accept:hover {
  background: var(--dark);
}

.cookie-btn-essential {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--gray-light);
}

.cookie-btn-essential:hover {
  border-color: var(--black);
}

.cookie-btn-settings {
  background: none;
  color: var(--gray);
  padding: 0.6rem 0.8rem;
  font-size: 0.78rem;
}

.cookie-btn-settings:hover {
  color: var(--black);
}

/* Cookie Detail Panel */
.cookie-details {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cookie-details.open {
  display: block;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
}

.cookie-category label {
  font-size: 0.82rem;
  color: var(--black);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-category span {
  font-size: 0.78rem;
  color: var(--gray-dark);
  font-weight: 400;
}

.cookie-category input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #000018;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-links.active { right: 0; }

  .nav-links a {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--pure-white) !important;
    letter-spacing: 0.02em;
    padding: 0.75rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active a:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active a:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active a:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active a:nth-child(5) { transition-delay: 0.3s; }

  .nav-links a:hover {
    color: var(--gray) !important;
  }

  .nav-links .nav-cta {
    margin-top: 1.5rem;
    background: var(--pure-white) !important;
    color: var(--black) !important;
    padding: 0.75rem 2.5rem;
    font-size: 1rem !important;
    font-family: var(--font-body);
    border-radius: 50px;
  }

  .nav-links .nav-cta:hover {
    background: var(--gray-light) !important;
  }

  .nav-hamburger { display: flex; z-index: 1001; }

  .nav-hamburger.active span {
    background: var(--pure-white);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  section { padding: 4rem 0; }

  .marquee-container::before,
  .marquee-container::after {
    width: 40px;
  }

  /* Netzwerk/Partner-Laufband auf Mobil kompakter & ausgewogener */
  .partners { padding: 3rem 0; }
  .partners .section-header { margin-bottom: 1.5rem; }
  .marquee-track { padding: 1.25rem 0; gap: 2rem; }
  .marquee-item { height: 48px; padding: 0 0.5rem; }
  .marquee-item img { height: 34px; max-width: 120px; }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .container { padding: 0 2.5rem; }

  .hero-content { padding: 4rem 2.5rem 4rem; }

  .hero-title { font-size: 1.8rem; }

  .hero { min-height: auto; padding-top: 5rem; }
}
