@font-face {
  font-family: 'Ascender Sans';
  src: url('../fonts/Ascender Sans W01 Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ==================== VARIABLES ==================== */
:root {
  --bg: #0d0d11;
  --bg-secondary: #141414;
  --bg-card: #181818;
  --accent: #F1FF0A;
  --white: #d9d9d9;
  --gray: #888888;
  --light-gray: #cccccc;
  --border: #222222;
  --border-mid: #333333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M3%203%20L3%2021%20L18%2012%20Z'%20stroke='%23F1FF0A'%20stroke-width='1.8'%20stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto;
}

body.preloading {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #1e1e26 0%, #0d0d11 58%, #07070a 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-preloader-spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(241, 255, 10, 0.2);
  border-top-color: var(--accent);
  animation: preloaderSpin 0.95s linear infinite;
}

@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

a,
button,
input[type='button'],
input[type='submit'],
input[type='reset'],
[role='button'] {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cpath%20d='M3%203%20L3%2021%20L18%2012%20Z'%20stroke='%23F1FF0A'%20stroke-width='1.8'%20stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, pointer;
}

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

a {
  color: inherit;
}

/* ==================== TYPOGRAPHY ==================== */
.heading-block {
  font-family: 'Bebas Neue', cursive;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.9;
}

.heading-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.05;
}

/* ==================== LAYOUT ==================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== SITE HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(13,13,17,0.92) 0%, transparent 100%);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(13, 13, 17, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* ==================== LOGO ==================== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-text .laut {
  font-weight: 300;
}

.logo-text .los {
  font-weight: 900;
}

/* ==================== HAMBURGER ==================== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ==================== MOBILE MENU OVERLAY ==================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 18px 24px 60px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
  overflow: hidden;
}

.menu-overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
}

.menu-overlay-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.42);
}

.menu-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 17, 0.62);
  z-index: 1;
}

.menu-overlay.active {
  transform: translateX(0);
}

.menu-overlay-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  outline: none;
}

.menu-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-nav a {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 12vw, 5.5rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.1;
  transition: opacity 0.2s ease;
  display: block;
}

.menu-nav a:hover {
  opacity: 0.65;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
}

.btn:hover {
  background: var(--white);
  color: var(--bg);
}

.btn-accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.75rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.45);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,17,0.85) 0%, rgba(13,13,17,0.2) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 10px;
}

.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 12vw;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

@media (max-width: 760px) {
  .hero-title {
    /* Scale title down on small screens without forcing word breaks. */
    font-size: clamp(2.1rem, 11vw, 3.6rem);
    letter-spacing: 0;
    line-height: 0.94;
    white-space: nowrap;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.hero-scroll:hover {
  opacity: 1;
}

.hero-scroll svg {
  animation: bounceY 2s ease-in-out infinite;
}

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ==================== INTRO TEXT SECTION ==================== */
.intro-section {
  padding: 56px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.intro-text {
  font-size: 0.95rem;
  color: var(--light-gray);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

.intro-text strong {
  color: var(--white);
  font-weight: 600;
}

/* ==================== SERVICE SECTIONS (Homepage cards) ==================== */
.service-cards {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .service-cards {
    flex-direction: row;
  }
}

.service-card {
  position: relative;
  flex: 1;
  min-height: 65vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  overflow: hidden;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .service-card {
    min-height: 70vh;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .service-card:last-child {
    border-right: none;
  }
}

.service-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.45);
  transition: transform 0.7s ease;
}

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

.service-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,17,0.9) 0%, rgba(13,13,17,0.1) 60%);
}

.service-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.service-card-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 13vw, 6rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.service-card-desc {
  font-size: 0.88rem;
  color: var(--light-gray);
  max-width: 380px;
  line-height: 1.6;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  overflow: hidden;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.25);
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 17, 0.6);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 12vw, 7rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 0.95rem;
  color: var(--light-gray);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
  position: relative;
  padding: 150px 24px 56px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--border);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-color: #141414;
  overflow: hidden;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.3);
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,17,0.95) 0%, rgba(13,13,17,0.4) 100%);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header-intro {
  font-size: 0.9rem;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 14px;
}

.page-header-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 18vw, 9rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 0.88;
  letter-spacing: 0.02em;
}

.page-header-title-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.8rem, 14vw, 7rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1.05;
}

/* ==================== IMAGE CARD (Projekte / Verleih) ==================== */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0;
}

@media (min-width: 768px) {
  .card-list-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .card-list-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.img-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-card);
  display: block;
  text-decoration: none;
}

.img-card-inner {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.img-card-bg {
  position: absolute;
  inset: 0;
}

.img-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.45);
  transition: transform 0.6s ease;
}

.img-card:hover .img-card-bg img {
  transform: scale(1.04);
}

.img-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,17,0.92) 0%, transparent 55%);
}

.img-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  z-index: 1;
}

.img-card-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 9vw, 3.5rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  letter-spacing: 0.03em;
  line-height: 0.9;
}

.img-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--border);
}

.img-card-category {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.img-card:hover .card-arrow {
  background: var(--accent);
  color: var(--bg);
}

/* ==================== PROJECT MODAL ==================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.78);
  backdrop-filter: blur(3px);
}

.project-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  max-height: min(88svh, 920px);
  overflow: auto;
  background: #0c111e;
  border: 1px solid rgba(241, 255, 10, 0.4);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.56);
}

.project-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(241, 255, 10, 0.7);
  background: rgba(8, 11, 21, 0.8);
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}

.project-modal-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070e;
  overflow: hidden;
}

.project-modal-image-wrap::after {
  content: 'HD wird geladen';
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(241, 255, 10, 0.45);
  background: rgba(6, 9, 17, 0.74);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.project-modal-image-wrap.is-loading::after {
  opacity: 1;
  transform: translateY(0);
}

.project-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: opacity 0.24s ease, filter 0.3s ease, transform 0.3s ease;
}

.project-modal-image-wrap img.is-preview {
  opacity: 0.9;
  filter: blur(12px);
  transform: scale(1.03);
}

.project-modal-image-wrap img.is-full-res {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.project-modal-content {
  padding: clamp(18px, 3vw, 34px);
}

.project-modal-category {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9aa3b6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-modal-title {
  margin-top: 8px;
  font-family: 'Ascender Sans', 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.96;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}

.project-modal-description {
  margin-top: 12px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  color: #e6e6e6;
  max-width: 72ch;
}

@media (max-width: 760px) {
  .project-modal {
    padding: 10px;
  }

  .project-modal-panel {
    max-height: 92svh;
  }

  .project-modal-image-wrap {
    aspect-ratio: 4 / 3;
  }
}

/* ==================== VERLEIH CARD (no footer, arrow inside) ==================== */
.verleih-card .img-card-inner {
  aspect-ratio: 16/9;
}

.verleih-card .card-arrow {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 2;
}

/* ==================== TEAM PAGE ==================== */
.team-grid {
  padding: 2px 0;
}

.team-member {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 24px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .team-member {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 60px 40px;
  }

  .team-member.reverse .team-photo {
    order: 2;
  }
  .team-member.reverse .team-info {
    order: 1;
  }
}

.team-photo {
  position: relative;
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: none;
}

.team-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(13,13,17,0.78) 0%, rgba(13,13,17,0.22) 45%, rgba(13,13,17,0) 92%);
}

.team-role {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.7rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1;
}

.team-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--light-gray);
  margin-top: 2px;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.team-info-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-info-label {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.team-info-text {
  font-size: 0.88rem;
  color: var(--light-gray);
  line-height: 1.7;
}

.team-contact-link {
  font-size: 0.88rem;
  color: var(--light-gray);
  text-decoration: none;
  display: block;
  line-height: 1.8;
  transition: color 0.2s ease;
}

.team-contact-link:hover {
  color: var(--accent);
}

/* ==================== CONTACT PAGE ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.contact-info-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-value:hover {
  color: var(--accent);
}

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

.contact-form-status {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(108, 216, 156, 0.5);
  background: rgba(108, 216, 156, 0.12);
  color: #bff7dc;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #181818;
  border: 1px solid var(--border-mid);
  color: var(--white);
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

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

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

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==================== LEISTUNGEN PAGE ==================== */
.leistungen-intro {
  padding: 56px 24px;
  max-width: 680px;
}

.leistungen-intro p {
  font-size: 0.95rem;
  color: var(--light-gray);
  line-height: 1.8;
}

.leistungen-feature {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .leistungen-feature {
    grid-template-columns: 1fr 1fr;
  }
}

.leistungen-feature-img {
  position: relative;
  aspect-ratio: 4/3;
  background-color: #1a1a1a;
  overflow: hidden;
}

.leistungen-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.5);
}

.leistungen-feature-body {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.leistungen-feature-body h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.leistungen-feature-body p {
  font-size: 0.88rem;
  color: var(--light-gray);
  line-height: 1.7;
}

/* ==================== ÜBER UNS PAGE ==================== */
.about-section {
  padding: 64px 24px;
  max-width: 760px;
  margin: 0 auto;
}

.about-section p {
  font-size: 0.95rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 22px;
}

.about-section h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin: 36px 0 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
  padding: 0 24px 64px;
  max-width: 900px;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.value-card {
  border: 1px solid var(--border);
  padding: 28px 24px;
}

.value-card-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.value-card-text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ==================== PRODUKTE PAGE ==================== */
.produkte-header {
  padding: 32px 24px 0;
  border-bottom: 1px solid var(--border);
}

.produkte-category {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.produkte-category-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding: 0 24px;
  margin-bottom: 24px;
}

.produkte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--border);
}

@media (min-width: 768px) {
  .produkte-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.produkt-item {
  background-color: var(--bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.produkt-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.produkt-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
}

.produkt-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 8px;
  margin-top: 4px;
  width: fit-content;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--bg);
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-address {
  font-style: normal;
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.8;
}

.footer-address a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav-heading {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.footer-nav-col a {
  font-size: 0.83rem;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.8;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
}

.back-to-top {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-to-top:hover {
  color: var(--accent);
}

/* ==================== DISPLAY FONT OVERRIDES ==================== */
.heading-block,
.heading-italic,
.menu-nav a,
.hero-title,
.service-card-title,
.cta-title,
.page-header-title,
.page-header-title-italic,
.img-card-title,
.team-role,
.team-info-label,
.contact-info h2,
.leistungen-feature-body h2,
.leistungen-feature-body h3,
.about-section h2,
.value-card-title,
.produkte-category-title,
.produkt-name {
  font-family: 'Ascender Sans', 'Inter', sans-serif;
}

.heading-italic,
.page-header-title-italic {
  font-style: normal;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ==================== UTILITY ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== TEAM PAGE (CUSTOM) ==================== */
.team-page {
  background:
    radial-gradient(1200px 600px at 50% 100%, rgba(80, 93, 125, 0.16), transparent 70%),
    linear-gradient(180deg, #05070e 0%, #060912 48%, #05070d 100%);
}

.team-page .site-header {
  background: linear-gradient(to bottom, rgba(5, 7, 14, 0.92) 0%, transparent 100%);
  padding: 20px;
}

.team-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 92svh, 900px);
  padding: 112px 20px 0;
  border-bottom: 1px solid rgba(241, 255, 10, 0.22);
}

.team-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 165, 210, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 165, 210, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 1), transparent 80%);
}

.team-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 7, 14, 0) 42%, rgba(5, 7, 14, 0.95) 84%, #05070d 100%);
  z-index: 2;
  pointer-events: none;
}

.team-hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.team-hero-intro {
  position: relative;
  z-index: 5;
  color: var(--light-gray);
  font-size: clamp(1.5rem, 3.9vw, 2rem);
  line-height: 1.24;
  max-width: 680px;
  letter-spacing: -0.015em;
}

.team-hero-title {
  --team-title-base-y: 30px;
  --team-title-y: 0px;
  --team-title-opacity: 1;
  position: relative;
  z-index: 0;
  margin-top: 6px;
  font-family: 'Ascender Sans', 'Inter', sans-serif;
  font-size: clamp(5.2rem, 15.5vw, 11rem);
  line-height: 0.86;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  transform: translate3d(0, calc(var(--team-title-base-y) + var(--team-title-y)), 0);
  opacity: var(--team-title-opacity);
  will-change: transform, opacity;
}

.team-hero-scene {
  position: relative;
  z-index: 4;
  width: 100%;
  height: clamp(560px, 112vw, 1060px);
  max-width: none;
  margin: -140px auto 0;
}

.team-parallax-layer {
  --parallax-y: 0px;
  position: absolute;
  inset: 0;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
  transition: transform 110ms linear;
}

.team-parallax-layer:nth-child(1) { z-index: 5; }
.team-parallax-layer:nth-child(2) { z-index: 4; }
.team-parallax-layer:nth-child(3) { z-index: 6; }
.team-parallax-layer:nth-child(4) { z-index: 3; }
.team-parallax-layer:nth-child(5) { z-index: 2; }

.team-parallax-layer img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.48));
}

.team-page .team-grid {
  max-width: 1050px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}

.team-page .team-member {
  border-bottom: none;
  padding: clamp(34px, 8vw, 72px) 0;
  gap: 16px;
}

.team-page .team-photo {
  width: min(100%, 520px);
  aspect-ratio: 12 / 16;
  overflow: visible;
  border: 1px solid rgba(241, 255, 10, 0.8);
  background: linear-gradient(to bottom, rgba(8, 11, 21, 0.88), rgba(6, 9, 16, 1));
}

.team-page .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.team-page .team-photo-badge {
  left: 6px;
  right: -1px;
  bottom: -48px;
  z-index: 2;
  background: none;
  padding: 0;
}

.team-page .team-role {
  font-size: clamp(2.7rem, 6.5vw, 4.1rem);
  line-height: 0.92;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}

.team-page .team-name {
  margin-top: 2px;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: #efefef;
  font-weight: 600;
}

.team-page .team-info {
  gap: 34px;
  padding-top: 20px;
}

.team-page .team-info-label {
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 255, 10, 0.9);
  font-size: clamp(2rem, 4.8vw, 3rem);
  letter-spacing: 0.01em;
  line-height: 0.92;
}

.team-page .team-info-text,
.team-page .team-contact-link {
  color: #e6e6e6;
  font-size: clamp(1.02rem, 2.5vw, 1.55rem);
  line-height: 1.25;
}

.team-page .team-contact-link:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  .team-hero {
    min-height: clamp(420px, 88svh, 700px);
  }

  .team-hero-title {
    --team-title-base-y: 20px;
  }

  .team-hero-scene {
    height: clamp(430px, 124vw, 640px);
    margin: -210px auto 0;
  }

  .team-page .team-photo-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
  }
}


@media (min-width: 760px) {
  .team-page .team-member {
    grid-template-columns: minmax(0, clamp(300px, 38vw, 520px)) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .team-page .team-member.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, clamp(300px, 38vw, 520px));
  }

  .team-page .team-member.reverse .team-photo {
    justify-self: end;
  }

  .team-page .team-info {
    padding-top: 0;
  }

  .team-page .team-member.reverse .team-info {
    order: -1;
  }
}

@media (min-width: 1200px) {
  .team-hero-content {
    max-width: 1060px;
  }

  .team-hero-intro {
    max-width: 620px;
    font-size: 2.15rem;
  }

  .team-page .team-grid {
    max-width: 1200px;
  }
}
