/* =======================================
   HAFNER EC GmbH – style.css
   Bauunternehmen Meran, Südtirol
   ======================================= */

/* 1. Custom Properties */
:root {
  --bg: #FDFBF7;
  --bg-2: #F4F2EE;
  --dark: #1C1C1B;
  --dark-2: #252523;
  --text: #1A1B1A;
  --muted: #696866;
  --accent: #1A3F6B;
  --accent-h: #153057;
  --gold: #FFD900;
  --white: #FDFBF7;
  --border: #E8E5E0;
  --ff-head: 'Outfit', sans-serif;
  --ff-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 32px;
  --sp-lg: 64px;
  --sp-xl: 96px;
  --sp-2xl: 128px;
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* 3. Typography */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}
.label-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--ff-body);
}

/* 4. Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: var(--sp-2xl) 0; }
.section--sm { padding: var(--sp-xl) 0; }
.section--bg2 { background: var(--bg-2); }
.section--dark { background: var(--dark); }

/* 5. Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 24px 0;
  transition: padding 600ms var(--ease), background 600ms var(--ease),
              backdrop-filter 600ms var(--ease), transform 450ms var(--ease),
              border-color 600ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 15px 0;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav--solid {
  background: rgba(253, 251, 247, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom-color: var(--border) !important;
  padding: 15px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  font-family: var(--ff-head);
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color 600ms var(--ease);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav.is-scrolled .nav__logo,
.nav--solid .nav__logo { color: var(--text); }
.nav__logo-img {
  height: 34px;
  width: auto;
  opacity: 0;
  transition: opacity 600ms var(--ease);
  flex-shrink: 0;
}
.nav.is-scrolled .nav__logo-img,
.nav--solid .nav__logo-img { opacity: 1; }
.nav__logo-accent { color: var(--accent); font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: rgba(253, 251, 247, 0.85);
  transition: color 0.3s;
}
.nav.is-scrolled .nav__link,
.nav--solid .nav__link { color: var(--muted); }
.nav__link:hover, .nav__link.active { color: var(--accent) !important; }
.nav__cta {
  padding: 10px 26px;
  font-size: 0.85rem;
  font-family: var(--ff-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--accent);
  border-radius: 2px;
  transition: background 0.3s var(--ease);
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--accent-h); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  padding: 4px;
}
.nav__hamburger-bar {
  display: block; width: 100%; height: 1.5px;
  background: var(--white);
  transition: background 0.3s;
}
.nav.is-scrolled .nav__hamburger-bar,
.nav--solid .nav__hamburger-bar { background: var(--text); }

/* Mobile Menu */
.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: var(--bg); z-index: 2000;
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile__close {
  position: absolute; top: 28px; right: 48px;
  font-size: 1.25rem; color: var(--muted); transition: color 0.3s;
}
.nav-mobile__close:hover { color: var(--text); }
.nav-mobile__link {
  font-family: var(--ff-head); font-size: 2.5rem; font-weight: 300;
  color: var(--text); letter-spacing: -0.02em; transition: color 0.3s;
}
.nav-mobile__link:hover { color: var(--accent); }
.nav-mobile__cta {
  margin-top: 8px; padding: 14px 40px;
  background: var(--accent); color: var(--white);
  font-family: var(--ff-body); font-size: 0.9rem; border-radius: 2px;
}

/* 6. Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.04em; border-radius: 2px; cursor: pointer;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn-primary {
  padding: 14px 32px; background: var(--accent); color: var(--white);
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); transform: translateX(2px); }
.btn-outline {
  padding: 14px 32px; background: transparent;
  color: var(--white); border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-outline-dark {
  padding: 14px 32px; background: transparent;
  color: var(--text); border: 1px solid var(--border);
}
.btn-outline-dark:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent); }
.btn-icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .btn-icon { transform: translateX(4px); }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); transition: gap 0.3s var(--ease);
}
.arrow-link:hover { gap: 14px; }
.arrow-link svg { width: 16px; height: 16px; }

/* 7. Hero */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; display: flex; align-items: flex-end; padding-bottom: 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  background-color: var(--dark);
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.68) 100%);
}
.hero__content { position: relative; z-index: 2; }
.hero__label { color: rgba(253,251,247,0.6); margin-bottom: 20px; display: block; }
.hero__title {
  font-family: var(--ff-head); font-weight: 300;
  font-size: clamp(3.5rem, 7.5vw, 7.5rem);
  letter-spacing: -0.03em; line-height: 0.95;
  color: var(--white); margin-bottom: 28px;
}
.hero__title em { font-style: italic; color: rgba(253,251,247,0.75); }
.hero__sub {
  color: rgba(253,251,247,0.75); font-size: 1.0625rem;
  max-width: 52ch; line-height: 1.7; margin-bottom: 44px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll-indicator {
  position: absolute; right: 48px; bottom: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(253,251,247,0.45);
}
.hero__scroll-text {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(253,251,247,0.5), transparent);
  animation: lineAnim 2.2s ease-in-out infinite;
}
@keyframes lineAnim {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
}

/* 8. Trust Bar */
.trust-bar { background: var(--dark); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-bar__item {
  padding: 32px 40px; border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 6px;
}
.trust-bar__item:last-child { border-right: none; }
.trust-bar__value {
  font-family: var(--ff-head); font-size: 2.25rem; font-weight: 300;
  letter-spacing: -0.03em; color: var(--white); line-height: 1;
}
.trust-bar__desc {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); line-height: 1.4;
}

/* 9. Section Head */
.section-head { margin-bottom: 64px; }
.section-head .label-text { margin-bottom: 16px; display: block; }
.section-head__title { font-size: clamp(1.875rem, 3.5vw, 3rem); max-width: 22ch; margin-bottom: 16px; }
.section-head__text { font-size: 1rem; color: var(--muted); max-width: 55ch; line-height: 1.75; }
.section-head--flex {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px;
}

/* 10. Intro */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro__big {
  font-family: var(--ff-head); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.75rem); letter-spacing: -0.025em; line-height: 1.1;
}
.intro__big em { font-style: italic; color: var(--accent); }
.intro__text { display: flex; flex-direction: column; gap: 20px; }
.intro__text p { font-size: 1.0625rem; line-height: 1.8; color: var(--muted); max-width: none; }
.intro__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.badge {
  padding: 6px 14px; border: 1px solid var(--border);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border-radius: 2px;
}

/* 11. Services Grid */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.svc-card {
  padding: 48px 40px; background: var(--bg-2);
  transition: background 0.4s var(--ease);
}
.svc-card:hover { background: var(--bg); }
.svc-card__icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 24px; stroke-width: 1.25; }
.svc-card__title {
  font-family: var(--ff-head); font-size: 1.125rem; font-weight: 400;
  color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em;
}
.svc-card__text { font-size: 0.875rem; line-height: 1.75; color: var(--muted); max-width: none; }
.svc-card__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); transition: gap 0.3s var(--ease);
}
.svc-card__link:hover { gap: 12px; }
.svc-card__link svg { width: 14px; height: 14px; }

/* 12. Projects Bento Grid (Homepage) */
.projects-bento {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 420px 340px 280px; gap: 10px;
}
.proj-tile { position: relative; overflow: hidden; cursor: pointer; }
.proj-tile:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.proj-tile:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.proj-tile:nth-child(3) { grid-column: 1 / 5; grid-row: 2; }
.proj-tile:nth-child(4) { grid-column: 5 / 9; grid-row: 2; }
.proj-tile:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }
.proj-tile:nth-child(6) { grid-column: 1 / 5; grid-row: 3; }
.proj-tile:nth-child(7) { grid-column: 5 / 9; grid-row: 3; }
.proj-tile:nth-child(8) { grid-column: 9 / 13; grid-row: 3; }
.proj-tile__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.9s var(--ease);
}
.proj-tile:hover .proj-tile__img { transform: scale(1.05); }
.proj-tile__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.proj-tile:hover .proj-tile__scrim { opacity: 1; }
.proj-tile__info {
  position: absolute; bottom: 28px; left: 28px; right: 28px;
  transform: translateY(10px); opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.proj-tile:hover .proj-tile__info { transform: translateY(0); opacity: 1; }
.proj-tile__name { color: var(--white); font-family: var(--ff-head); font-size: 1.25rem; font-weight: 300; }
.proj-tile__tag { color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 5px; }
.proj-tile__badge {
  position: absolute; top: 20px; left: 20px;
  padding: 5px 12px; background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; border-radius: 2px;
}

/* 13. Why Hafner (dark section) */
.why .section-head__title { color: var(--white); }
.why .label-text { color: rgba(255,255,255,0.35); }
.why__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 64px;
}
.why__item {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.why__item:first-child { padding-left: 0; }
.why__item:last-child { border-right: none; }
.why__number {
  font-family: var(--ff-head); font-size: 3.5rem; font-weight: 300;
  color: var(--accent); letter-spacing: -0.05em; line-height: 1; margin-bottom: 20px;
}
.why__title { color: var(--white); font-family: var(--ff-head); font-size: 1rem; font-weight: 400; margin-bottom: 10px; }
.why__text { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.7; max-width: none; }

/* 14. Process Steps */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 64px;
}
.step { padding: 0 32px; border-right: 1px solid var(--border); }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; padding-right: 0; }
.step__num {
  font-family: var(--ff-head); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.08em;
  color: var(--accent); background: var(--bg); border: 1px solid var(--border);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; margin-bottom: 24px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.step:hover .step__num { background: var(--accent); border-color: var(--accent); color: var(--white); }
.step__title { font-family: var(--ff-head); font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.step__text { font-size: 0.85rem; line-height: 1.7; color: var(--muted); max-width: none; }

/* 15. Split Section */
.split-section { overflow: hidden; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.split-inner.reverse .split-img { order: 2; }
.split-inner.reverse .split-content { order: 1; }
.split-img { position: relative; overflow: hidden; }
.split-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.9s var(--ease);
}
.split-section:hover .split-img img { transform: scale(1.03); }
.split-content {
  background: var(--dark); padding: 80px 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-content .label-text { color: rgba(255,255,255,0.35); margin-bottom: 20px; display: block; }
.split-content h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 20px; }
.split-content p { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.8; max-width: none; margin-bottom: 32px; }
.split-content .bullet-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.split-content .bullet-list li {
  color: rgba(255,255,255,0.65); font-size: 0.9rem; padding-left: 20px; position: relative; line-height: 1.6;
}
.split-content .bullet-list li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--accent);
}

/* 16. CTA Band */
.cta-band { padding: var(--sp-xl) 0; text-align: center; }
.cta-band .label-text { margin-bottom: 20px; display: block; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 20ch; margin: 0 auto 20px; }
.cta-band p { font-size: 1.0625rem; max-width: 50ch; margin: 0 auto 44px; line-height: 1.75; color: var(--muted); }
.cta-band .btn-primary { margin: 0 auto; }

/* 17. Footer */
.footer { background: var(--dark-2); padding: 80px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.75fr;
  gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand-logo {
  font-family: var(--ff-head); font-weight: 300; font-size: 1.25rem;
  letter-spacing: 0.06em; color: var(--white); margin-bottom: 14px;
}
.footer__brand-logo span { color: var(--accent); font-weight: 500; }
.footer__brand-text { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.4); max-width: none; margin-bottom: 28px; }
.footer__col-head {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 20px; font-family: var(--ff-body);
}
.footer__nav-links { display: flex; flex-direction: column; gap: 12px; }
.footer__nav-link { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer__nav-link:hover { color: var(--white); }
.footer__contact-item { margin-bottom: 16px; }
.footer__contact-key { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.footer__contact-val { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer__contact-val a { transition: color 0.3s; }
.footer__contact-val a:hover { color: var(--white); }
.footer__bottom {
  padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal-link { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color 0.3s; }
.footer__legal-link:hover { color: rgba(255,255,255,0.6); }

/* 18. Page Title (Inner Pages) */
.page-title {
  padding: 180px 0 80px; background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-title .label-text { margin-bottom: 16px; display: block; }
.page-title h1 { font-size: clamp(2.75rem, 5vw, 5rem); }
.page-title p { margin-top: 20px; font-size: 1.0625rem; color: var(--muted); max-width: 60ch; line-height: 1.75; }

/* 19. Projects Page Masonry */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proj-item { position: relative; overflow: hidden; cursor: pointer; background: var(--bg-2); }
.proj-item.tall { aspect-ratio: 3/4; }
.proj-item.square { aspect-ratio: 1/1; }
.proj-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.proj-item.std { aspect-ratio: 4/3; }
.proj-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); display: block; }
.proj-item:hover img { transform: scale(1.05); }
.proj-item__info {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.proj-item:hover .proj-item__info { opacity: 1; }
.proj-item__name { color: var(--white); font-family: var(--ff-head); font-size: 1.125rem; font-weight: 300; }
.proj-item__tag { color: rgba(255,255,255,0.55); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* 20. Services Detail (leistungen page) */
.svc-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.svc-detail-card {
  padding: 52px 44px; background: var(--bg);
  transition: background 0.4s var(--ease);
}
.svc-detail-card:hover { background: var(--bg-2); }
.svc-detail-card__num {
  font-family: var(--ff-head); font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.12em; color: var(--accent); margin-bottom: 20px;
}
.svc-detail-card__icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 20px; stroke-width: 1.25; }
.svc-detail-card__title {
  font-family: var(--ff-head); font-size: 1.25rem; font-weight: 400;
  color: var(--text); margin-bottom: 14px; letter-spacing: -0.01em;
}
.svc-detail-card__subtitle { font-style: italic; color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; font-family: var(--ff-head); }
.svc-detail-card__text { font-size: 0.9rem; line-height: 1.8; color: var(--muted); max-width: none; }

/* 21. Timeline */
.timeline-wrap {
  position: relative; padding-left: 80px; border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 56px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -84px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.timeline-year { font-family: var(--ff-head); font-size: 0.85rem; font-weight: 400; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 10px; }
.timeline-title { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 400; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.timeline-text { font-size: 0.9375rem; line-height: 1.75; color: var(--muted); max-width: 60ch; }

/* 22. Contact Page */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; }
.contact-info__item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.contact-info__item:first-child { border-top: 1px solid var(--border); }
.contact-info__label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-info__val { font-family: var(--ff-head); font-size: 1.0625rem; font-weight: 300; color: var(--text); }
.contact-info__val a { transition: color 0.3s; }
.contact-info__val a:hover { color: var(--accent); }
.contact-hours { margin-top: 32px; padding: 24px; background: var(--bg-2); border: 1px solid var(--border); }
.contact-hours__title { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-hours__value { font-size: 1rem; color: var(--text); font-family: var(--ff-head); font-weight: 300; }

/* 23. Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 2px;
  font-family: var(--ff-body); font-size: 0.9375rem; color: var(--text);
  transition: border-color 0.3s, background 0.3s; outline: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent); background: var(--bg);
}
.form-group textarea { resize: vertical; min-height: 160px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.form-checkbox-label { font-size: 0.85rem; color: var(--muted); line-height: 1.6; max-width: none; }
.form-checkbox-label a { color: var(--accent); text-decoration: underline; }
.form-submit {
  padding: 16px 40px; background: var(--accent); color: var(--white);
  font-family: var(--ff-body); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
  border-radius: 2px; border: none; cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
}
.form-submit:hover { background: var(--accent-h); transform: translateY(-1px); }
.form-note { font-size: 0.8rem; color: var(--muted); line-height: 1.6; max-width: none; }
.alert {
  padding: 16px 20px; border-radius: 2px; font-size: 0.9rem; line-height: 1.6; display: none;
}
.alert.success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert.error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert.show { display: block; }

/* 24. Legal Pages */
.legal { padding: var(--sp-2xl) 0; }
.legal__content { max-width: 840px; }
.legal__content h2 { font-size: 1.375rem; margin-top: 48px; margin-bottom: 16px; padding-top: 32px; border-top: 1px solid var(--border); }
.legal__content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal__content h3 { font-size: 1.0625rem; margin-top: 28px; margin-bottom: 10px; }
.legal__content p { font-size: 0.9375rem; line-height: 1.8; color: var(--muted); max-width: none; margin-bottom: 12px; }
.legal__content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal__content li { font-size: 0.9375rem; line-height: 1.75; color: var(--muted); margin-bottom: 6px; }
.legal__content a { color: var(--accent); text-decoration: underline; }

/* 25. Reveal Animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 26. Utility */
.text-accent { color: var(--accent); }
.divider { width: 40px; height: 1px; background: var(--accent); margin: 24px 0; }

/* 27. Responsive */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 1024px) {
  :root { --sp-2xl: 96px; }
  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .proj-tile:nth-child(n) { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
  .proj-tile:nth-child(1) { grid-column: span 2; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .why__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step { border-right: none; padding: 0; }
  .split-inner { grid-template-columns: 1fr; }
  .split-img { aspect-ratio: 16/9; position: relative; min-height: 320px; }
  .split-content { padding: 56px 48px; }
  .split-inner.reverse .split-img, .split-inner.reverse .split-content { order: unset; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-item.wide { grid-column: span 2; }
  .timeline-wrap { padding-left: 48px; }
}
@media (max-width: 768px) {
  :root { --sp-2xl: 72px; --sp-xl: 56px; }
  .container { padding: 0 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .projects-bento { grid-template-columns: 1fr; }
  .proj-tile:nth-child(n) { grid-column: span 1; aspect-ratio: 4/3; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item:nth-child(odd) { border-right: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-content { padding: 48px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__sub { display: none; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .hero__scroll-indicator { display: none; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .trust-bar__item { padding: 20px; }
  .trust-bar__value { font-size: 1.75rem; }
  .hero__title { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .container { padding: 0 16px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-mobile__close { right: 20px; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* DSGVO Hinweisleiste */
.dsgvo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--dark);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.dsgvo-banner--visible { transform: translateY(0); }
.dsgvo-banner__text { flex: 1; min-width: 220px; }
.dsgvo-banner__text a { color: var(--gold); text-decoration: underline; }
.dsgvo-banner__text a:hover { color: #fff; }
.dsgvo-banner__btn {
  white-space: nowrap;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.dsgvo-banner__btn:hover { background: var(--accent-h); }
@media (max-width: 600px) {
  .dsgvo-banner { bottom: 80px; }
}
