
    :root {
      --black:      #0A0A0A;
      --surface:    #131313;
      --surface-2:  #1C1C1C;
      --red:        #C8102E;
      --red-dark:   #8B0000;
      --red-glow:   rgba(200, 16, 46, 0.18);
      --white:      #FFFFFF;
      --off-white:  #F0EDEA;
      --grey:       #888888;
      --border:     rgba(255,255,255,0.08);

      --font-display: 'Barlow Condensed', system-ui, sans-serif;
      --font-body:    'Inter', system-ui, sans-serif;

      --nav-h:    72px;
      --section-pad: clamp(64px, 10vw, 120px);
      --radius:   4px;
      --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

      /* ─────────────────────────────────────────
         BACKGROUND IMAGE PLACEHOLDERS
      ───────────────────────────────────────── */
      --bg-hero:        url('images/mainbackground.png');   /* Full-bleed hero background          */
      --bg-about:       url('images/bg3.jpg');   /* Über-uns section background         */
      --bg-leistungen:  url('images/bg2.jpg');   /* Leistungen section background       */
      --bg-referenzen:  url('');   /* Referenzen / testimonials bg        */
      --bg-karriere:    url('');   /* Karriere section background         */
      --bg-faq:         url('images/back_faq.png');   /* FAQ section background              */
      --bg-kontakt:     url('images/contact.jpg');   /* Kontakt section background          */
      --bg-footer:      url('images/footer.jpg');   /* Footer background                   */


      /* Dark overlay strengths per section (0 = no overlay, 1 = fully black) */
      --overlay-hero:       0.12;
      --overlay-about:      0.72;
      --overlay-leistungen: 0.90;
      --overlay-referenzen: 0.75;
      --overlay-karriere:   0.55;
      --overlay-faq:        0.35;
      --overlay-kontakt:    0.78;
      --overlay-footer:     0.58;
    }

    /* ─── RESET ─── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--black);
      color: var(--white);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      /* Prevent elastic over-scroll revealing white edges on iOS */
      overscroll-behavior: none;
    }
    a { color: inherit; text-decoration: none; }
    /* Ensure all images scale properly on mobile — never overflow their container */
    img {
      display: block;
      max-width: 100%;
      height: auto;
    }
    ul { list-style: none; }
    button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

    /* iOS tap highlight — remove blue flash on buttons and links */
    a, button { -webkit-tap-highlight-color: transparent; }

    /* Prevent long-press image save dialog on iOS from disrupting UX */
    .bg-image-layer, .about-visual { -webkit-touch-callout: none; }

    /* Safety rule: every bg-image-layer always scales correctly */
    .bg-image-layer {
      background-size: cover !important;
      background-position: center !important;
    }

    /* ─── UTILITY ─── */
    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 clamp(20px, 5vw, 64px);
    }
    .label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--red);
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(38px, 6vw, 80px);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -0.00em;
    }
    .section-title em { font-style: normal; font-weight: 900; color: var(--red); }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px clamp(20px, 5vw, 36px);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border-radius: var(--radius);
      transition: var(--transition);
      white-space: nowrap; /* prevent button text wrapping mid-word */
    }
    .btn-primary {
      background: var(--red);
      color: var(--white);
    }
    .btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
    .btn-outline {
      border: 1px solid var(--white);
      color: var(--white);
    }
    .btn-outline:hover { background: var(--white); color: var(--black); }
    .divider {
      width: 48px; height: 2px;
      background: var(--red);
      margin: 20px 0;
    }

    /* ─────────────────────────────────────────
       SECTION BACKGROUND IMAGE SYSTEM
       Each section uses inline child elements
       .bg-image-layer and .bg-overlay so content
       z-index is never disturbed.
       Set the url() vars at the top of :root.
    ───────────────────────────────────────── */
    .has-bg {
      position: relative;
      isolation: isolate;
    }
    .bg-image-layer {
      position: absolute;
      inset: 0;
      z-index: -2;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      pointer-events: none;
    }
    .bg-overlay {
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
    }
    /* Parallax only on desktop — background-attachment:fixed is broken on iOS Safari */
    @media (min-width: 769px) and (hover: hover) {
      #home .bg-image-layer { background-attachment: fixed; }
    }

    /* Per-section image bindings */
    #home       .bg-image-layer { background-image: var(--bg-hero); }
    #ueber-uns  .bg-image-layer { background-image: var(--bg-about); }
    #leistungen .bg-image-layer { background-image: var(--bg-leistungen); }
    #referenzen .bg-image-layer { background-image: var(--bg-referenzen); }
    #karriere   .bg-image-layer { background-image: var(--bg-karriere); }
    #faq        .bg-image-layer { background-image: var(--bg-faq); }
    #kontakt    .bg-image-layer { background-image: var(--bg-kontakt); }
    footer      .bg-image-layer { background-image: var(--bg-footer); }

    /* Mobile header backgrounds (portrait artwork) */
    @media (max-width: 768px) {
      :root {
        --bg-hero: url('images/mobile_Main.jpg');
        --bg-faq:  url('images/mobile_faq.png');
      }
    }

    /* Hero artwork has its headline baked in → never crop it.
       The image starts exactly at the bottom edge of the nav bar and
       the hero is sized to the image's own proportions, so nothing is cut. */
    #home {
      --hero-ratio: 0.564;                       /* 2256 / 4000 (mainbackground.png) */
      min-height: calc(var(--nav-h) + 100vw * var(--hero-ratio)) !important;
      background: #000;
    }
    #home .bg-image-layer {
      top: var(--nav-h);
      background-color: #000;
      background-size: 100% auto !important;
      background-position: center top !important;
      background-attachment: scroll !important;
    }
    @media (max-width: 768px) {
      #home { --hero-ratio: 1.7766; }            /* 2576 / 1450 (mobile_Main.jpg) */
    }

    /* Per-section overlay tints */
    #home       .bg-overlay { background: rgba(0,0,0,var(--overlay-hero)); }
    #ueber-uns  .bg-overlay { background: rgba(0,0,0,var(--overlay-about)); }
    #leistungen .bg-overlay { background: rgba(0,0,0,var(--overlay-leistungen)); }
    #referenzen .bg-overlay { background: rgba(0,0,0,var(--overlay-referenzen)); }
    #karriere   .bg-overlay { background: rgba(10,0,0,var(--overlay-karriere)); }
    #faq        .bg-overlay { background: rgba(0,0,0,var(--overlay-faq)); }
    #kontakt    .bg-overlay { background: rgba(0,0,0,var(--overlay-kontakt)); }
    footer      .bg-overlay { background: rgba(0,0,0,var(--overlay-footer)); }

    /* ─────────────────────────────────────────
       PRODUKTE GRID
    ───────────────────────────────────────── */
    #produkte {
      padding: var(--section-pad) 0;
      background: var(--black);
    }
    #produkte .section-header {
      text-align: center;
      max-width: 640px;
      margin: 0 auto 48px;
    }
    #produkte .section-header .label { display: block; }
    #produkte .section-header .divider { margin-left: auto; margin-right: auto; }
    .product-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 20px;
    }
    .product-card {
      position: relative;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--border);
      transition: transform var(--transition), border-color var(--transition);
    }
    .product-image {
      position: relative;
      overflow: hidden;
      aspect-ratio: 3 / 4;
    }
    .product-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--transition);
    }
    .product-card:hover { border-color: var(--red); transform: translateY(-4px); }
    .product-card:hover img { transform: scale(1.06); }
    .product-info {
      padding: 14px 14px 16px;
      border-top: 1px solid var(--border);
    }
    .product-title {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.01em;
      line-height: 1.2;
      color: var(--white);
    }
    .product-desc {
      margin-top: 6px;
      font-size: 12.5px;
      font-weight: bold;
      line-height: 1.5;
      color: var(--grey);
    }

    /* Tablet: 3 per row */
    @media (max-width: 1024px) {
      .product-grid { grid-template-columns: repeat(3, 1fr); }
    }
    /* Mobile: standard-sized grid, 2 per row */
    @media (max-width: 640px) {
      .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    }

    /* ─────────────────────────────────────────
       NAVIGATION
    ───────────────────────────────────────── */
    #nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      transition: background var(--transition), box-shadow var(--transition);
      /* Solid bar from the moment the page loads (was only added on scroll) */
      background: rgba(10,10,10,0.95);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 var(--border);
    }
    #nav.scrolled {
      background: rgba(10,10,10,0.95);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 var(--border);
    }
    .nav-inner {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 clamp(20px, 5vw, 64px);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 900;
      letter-spacing: 0.08em;
		max-width: 100;
      text-transform: uppercase;
    }

    .nav-logo span { color: var(--red); }

    /* Keep the logo at its true pixel size — override the global responsive
       img rule (max-width:100%; height:auto) so it never scales up. */
    .nav-logo img {
      max-width: 220px;
      width: auto;
      height: auto;
    }

    /* Desktop links */
    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
    }
    .nav-links a {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.75);
      transition: color var(--transition);
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 1px;
      background: var(--red);
      transition: width var(--transition);
    }
    .nav-links a:hover { color: var(--white); }
    .nav-links a:hover::after { width: 100%; }

    /* Dropdown menu (ENTDECKEN) */
    .nav-dropdown {
      position: relative;
    }
    .nav-dropdown-toggle {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
    }
    .nav-dropdown-toggle .caret {
      font-size: 9px;
      transition: transform var(--transition);
    }
    .nav-dropdown:hover .nav-dropdown-toggle .caret,
    .nav-dropdown.open .nav-dropdown-toggle .caret {
      transform: rotate(180deg);
    }
    /* Invisible bridge so the pointer never leaves the hoverable area
       between the toggle and the menu (no more "disappears too fast") */
    .nav-dropdown::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      height: 20px;
    }
    .nav-dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translate(-50%, 8px);
      margin-top: 20px;
      min-width: 200px;
      background: rgba(10,10,10,0.98);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 8px 0;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
      box-shadow: 0 16px 40px rgba(0,0,0,0.55);
      z-index: 1001;
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }
    .nav-dropdown-menu a {
      display: block;
      padding: 10px 22px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.75);
      white-space: nowrap;
      transition: color var(--transition), background var(--transition);
    }
    .nav-dropdown-menu a::after { display: none; content: none; }
    .nav-dropdown-menu a:hover {
      color: var(--white);
      background: rgba(255,255,255,0.06);
    }


    /* CTA in nav */
    .nav-cta {
      padding: 10px 24px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      border: 1px solid var(--red);
      color: var(--red);
      border-radius: var(--radius);
      transition: var(--transition);
    }
    .nav-cta:hover { background: var(--red); color: var(--white); }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 32px; height: 32px;
    }
    .hamburger span {
      display: block;
      width: 100%; height: 2px;
      background: var(--white);
      transition: var(--transition);
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile menu */
    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--nav-h); left: 0; right: 0;
      bottom: 0; /* fill full height so it's scrollable on short phones */
      z-index: 999;
      background: rgba(10,10,10,0.98);
      -webkit-backdrop-filter: blur(16px);
      backdrop-filter: blur(16px);
      border-top: 1px solid var(--border);
      padding: 32px clamp(20px, 5vw, 64px) 60px;
      overflow-y: auto; /* allow scroll if many links */
      -webkit-overflow-scrolling: touch;
      transform: translateY(-10px);
      opacity: 0;
      transition: opacity var(--transition), transform var(--transition);
      pointer-events: none;
    }
    .mobile-menu.open {
      opacity: 1;
      transform: translateY(0);
      pointer-events: all;
    }
    .mobile-menu a {
      display: block;
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 700;
      padding: 14px 0;
      border-bottom: 1px solid var(--border);
      transition: color var(--transition), padding-left var(--transition);
    }
    .mobile-menu a:hover { color: var(--red); padding-left: 8px; }
    .mobile-menu .btn-primary { margin-top: 28px; }

    /* Mobile "Entdecken" submenu (accordion) */
    .mobile-submenu-item {
      border-bottom: 1px solid var(--border);
    }
    .mobile-submenu-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 700;
      padding: 14px 0;
      background: none;
      border: none;
      color: inherit;
      text-align: left;
      transition: color var(--transition);
    }
    .mobile-submenu-toggle:hover { color: var(--red); }
    .mobile-submenu-toggle .caret {
      font-size: 18px;
      transition: transform var(--transition);
      flex-shrink: 0;
      margin-left: 12px;
    }
    .mobile-submenu-item.open .mobile-submenu-toggle .caret {
      transform: rotate(180deg);
    }
    .mobile-submenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height var(--transition);
    }
    .mobile-submenu-item.open .mobile-submenu {
      max-height: 400px;
    }
    .mobile-submenu a {
      font-size: 18px;
      font-weight: 500;
      padding: 12px 0 12px 20px;
      border-bottom: none;
      opacity: 0.8;
    }
    .mobile-submenu a:last-child { padding-bottom: 18px; }
    .mobile-submenu a:hover { opacity: 1; }

    /* ─────────────────────────────────────────
       HERO
    ───────────────────────────────────────── */
    #home {
      position: relative;
      min-height: 100vh;    /* fallback for older Android WebView */
      min-height: 100svh;   /* modern: excludes browser chrome */
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    /* Ambient red pulse — the signature element */
    .hero-orb {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }
    .hero-orb-1 {
      width: clamp(300px, 60vw, 700px);
      height: clamp(300px, 60vw, 700px);
      top: -200px; right: -150px;
      background: radial-gradient(circle, rgba(200,16,46,0.22) 0%, transparent 70%);
      animation: pulse 8s ease-in-out infinite;
    }
    .hero-orb-2 {
      width: clamp(200px, 50vw, 500px);
      height: clamp(200px, 50vw, 500px);
      bottom: -100px; left: -100px;
      background: radial-gradient(circle, rgba(139,0,0,0.15) 0%, transparent 70%);
      animation: pulse 11s ease-in-out infinite reverse;
    }
    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50%       { transform: scale(1.15); opacity: 0.7; }
    }

    .hero-bg-text {
      position: absolute;
      font-family: var(--font-display);
      font-size: clamp(120px, 20vw, 280px);
      font-weight: 900;
      letter-spacing: -0.04em;
      color: rgba(255,255,255,0.03);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      white-space: nowrap;
      pointer-events: none;
      user-select: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      padding-top: var(--nav-h);
      text-align: center;
    }
    .hero-content .label { margin-bottom: 24px; }
    .hero-headline {
      font-family: var(--font-display);
      font-size: clamp(52px, 9vw, 130px);
      font-weight: 900;
      line-height: 0.95;
      letter-spacing: 0em;
      max-width: 900px;
      margin: 0 auto;
    }
    .hero-headline em { font-style: normal; font-weight: 900; color: var(--red); }
    .hero-sub {
      max-width: 480px;
      margin: 28px auto 0;
      font-size: 17px;
      font-weight: 300;
      line-height: 1.7;
      color: rgba(255,255,255,0.65);
    }
    .hero-actions {
      margin-top: 44px;
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
    }
    .hero-scroll-hint {
      position: absolute;
      bottom: 40px; left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
    }
    .scroll-line {
      width: 1px; height: 48px;
      background: linear-gradient(to bottom, var(--red), transparent);
      animation: scrollLine 2s ease-in-out infinite;
    }
    @keyframes scrollLine {
      0%   { transform: scaleY(0); transform-origin: top; }
      50%  { transform: scaleY(1); transform-origin: top; }
      51%  { transform: scaleY(1); transform-origin: bottom; }
      100% { transform: scaleY(0); transform-origin: bottom; }
    }

    /* ─────────────────────────────────────────
       TICKER STRIP
    ───────────────────────────────────────── */
    .ticker {
      background: var(--red);
      overflow: hidden;
      padding: 14px 0;
      white-space: nowrap;
    }
    .ticker-track {
      display: inline-flex;
      animation: ticker 20s linear infinite;
    }
    .ticker-track span {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 0 32px;
    }
    .ticker-track span::before {
      content: '✦';
      margin-right: 32px;
      opacity: 0.7;
    }
    @keyframes ticker {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* ─────────────────────────────────────────
       ABOUT  (#ueber-uns)
    ───────────────────────────────────────── */
    #ueber-uns {
      padding: var(--section-pad) 0;
      background: var(--surface);
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(40px, 6vw, 100px);
      align-items: center;
    }
    .about-visual {
      position: relative;
      aspect-ratio: 4/5;
      background: var(--surface-2);
      border-radius: 2px;
      overflow: hidden;
    }
    .about-visual-img {
      width: 100%; height: 100%;
      object-fit: cover;
      /* Replace src with actual image */
    }
    /* About visual image — scales and crops to fill the box on all screen sizes */
    .about-visual::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('images/contentbg1.jpg') center / cover no-repeat;
    }
    .about-visual-badge {
      position: absolute;
      bottom: 28px; right: 0; /* flush on mobile; desktop gets the overhang back */
      background: var(--red);
      color: var(--white);
      padding: 20px 28px;
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.3;
      max-width: 200px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }
    @media (min-width: 769px) {
      .about-visual-badge { right: -20px; } /* restore overhang on desktop only */
    }
    .about-text .section-title { margin: 12px 0 20px; }
    .about-text p {
      color: rgba(255,255,255,0.65);
      font-size: 17px;
      line-height: 1.75;
      margin-bottom: 20px;
    }
    .about-stats {
      display: flex;
      gap: 40px;
      margin-top: 40px;
      padding-top: 40px;
      border-top: 1px solid var(--border);
    }
    .stat-number {
      font-family: var(--font-display);
      font-size: 48px;
      font-weight: 900;
      color: var(--red);
      line-height: 1;
    }
    .stat-label {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      margin-top: 6px;
    }

    /* ─────────────────────────────────────────
       LEISTUNGEN (Services)
    ───────────────────────────────────────── */
    #leistungen {
      padding: var(--section-pad) 0;
      background: #F0EDEA; /* light fallback when no bg image set */
    }
    /* Override overlay for light background — use a warm white wash */
    #leistungen .bg-overlay {
      background: rgba(240, 237, 234, var(--overlay-leistungen)) !important;
    }
    /* Section header texts go dark */
    #leistungen .label { color: var(--red); }
    #leistungen .section-title { color: var(--black); }
    #leistungen .section-title em { color: var(--red); }
    #leistungen .btn-outline {
      border-color: var(--black);
      color: var(--black);
    }
    #leistungen .btn-outline:hover {
      background: var(--black);
      color: var(--white);
    }
    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 56px;
      flex-wrap: wrap;
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }
    .service-card {
      position: relative;
      background: rgba(255,255,255,0.82);
      padding: 44px 36px;
      overflow: hidden;
      transition: var(--transition);
      cursor: default;
    }
    .service-card::before {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
      background: var(--red);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--transition);
    }
    .service-card:hover { background: rgba(255,255,255,0.97); }
    .service-card:hover::before { transform: scaleX(1); }
    .service-card:hover .service-num { color: var(--red); }
    .service-num {
      font-family: var(--font-display);
      font-size: 64px;
      font-weight: 900;
      color: rgba(0,0,0,0.07);
      line-height: 1;
      transition: color var(--transition);
      margin-bottom: 24px;
    }
    .service-name {
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 700;
      color: var(--black);
      margin-bottom: 14px;
    }
    .service-desc {
      font-size: 15px;
      color: rgba(0,0,0,0.55);
      line-height: 1.7;
    }
    .service-tag {
      display: inline-block;
      margin-top: 20px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--red);
      border: 1px solid var(--red);
      padding: 4px 10px;
      border-radius: 2px;
    }

    /* ─────────────────────────────────────────
       REFERENZEN (Testimonials)
    ───────────────────────────────────────── */
    #referenzen {
      padding: var(--section-pad) 0;
      background: var(--surface);
      overflow: hidden;
    }
    .testimonials-track-wrap {
      margin-top: 56px;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch; /* momentum scroll on iOS */
      scrollbar-width: none;             /* hide scrollbar Firefox */
      cursor: grab;
      padding-bottom: 8px;              /* space so box-shadows aren't clipped */
    }
    .testimonials-track-wrap::-webkit-scrollbar { display: none; } /* hide scrollbar Chrome/Safari */
    .testimonials-track {
      display: flex;
      gap: 24px;
      width: max-content;   /* let the row be wider than the viewport */
      touch-action: pan-x;  /* tell browser: horizontal swipe = scroll, not page zoom */
      padding: 0 clamp(20px, 5vw, 64px); /* align with container edges */
    }
    .testimonial-card {
      flex: 0 0 clamp(260px, 80vw, 440px); /* 80vw on phones — nearly full screen, comfortable to read */
      background: var(--surface-2);
      padding: 40px;
      border-left: 3px solid var(--red);
      border-radius: var(--radius);
    }
    .testimonial-stars {
      display: flex;
      gap: 4px;
      margin-bottom: 20px;
    }
    .star { color: var(--red); font-size: 16px; }
    .testimonial-text {
      font-family: var(--font-display);
      font-size: clamp(17px, 2vw, 22px);
      font-weight: 700;
      font-style: normal;
      line-height: 1.5;
      color: var(--off-white);
      margin-bottom: 28px;
    }
    .testimonial-author {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
    }
    /* Drag-to-scroll hint */
    .drag-hint {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 28px;
      font-size: 11px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.3);
    }
    .drag-hint-line { flex: 1; height: 1px; background: var(--border); }

    /* ─────────────────────────────────────────
       KARRIERE
    ───────────────────────────────────────── */
    #karriere {
      padding: var(--section-pad) 0;
      background: var(--red); /* fallback when no bg image is set */
      position: relative;
      overflow: hidden;
    }
    /* Watermark text — sits above the overlay layer (z-index 0) */
    #karriere::before {
      content: '';
      position: absolute;
      font-family: var(--font-display);
      font-size: 28vw;
      font-weight: 900;
      color: rgba(0,0,0,0.12);
      right: -5vw;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      z-index: 0;
    }
    /* When a bg image IS set, dim the red fallback so image shows through */
    #karriere .bg-image-layer:not([style*="url(''"]) ~ * { z-index: 1; }
    .karriere-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(40px, 6vw, 100px);
      align-items: center;
      position: relative;
      z-index: 2;
    }
    .karriere-text .section-title { color: var(--black); }
    .karriere-text .section-title em { color: var(--black); font-style: normal; font-weight: 900; }
    .karriere-text p {
      font-size: 17px;
      line-height: 1.75;
      color: rgba(0,0,0);
      margin: 20px 0 36px;
    }
    .karriere-positions {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .position-card {
      background: rgba(0,0,0,0.2);
      border: 1px solid rgba(255,255,255,0.15);
      padding: 20px 28px;
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: var(--transition);
      cursor: pointer;
    }
    .position-card:hover { background: rgba(0,0,0,0.55); }
    .position-title { font-size: 16px; font-weight: 600; color: rgba(0,0,0);}
    .position-type { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.65; margin-top: 3px; }
    .position-arrow { font-size: 20px; opacity: 0.7; }

    /* ─────────────────────────────────────────
       FAQ
    ───────────────────────────────────────── */
    #faq {
      padding: var(--section-pad) 0;
      background: var(--black);
    }
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: clamp(40px, 6vw, 100px);
      align-items: start;
    }
    .faq-intro .section-title { margin: 12px 0 20px; }
    .faq-intro p {
      color: rgba(255,255,255,0.55);
      font-size: 16px;
      line-height: 1.7;
      margin-bottom: 32px;
    }
    .accordion-item {
      border-bottom: 1px solid var(--border);
    }
    .accordion-trigger {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 0;
      font-size: 17px;
      font-weight: 600;
      text-align: left;
      transition: color var(--transition);
    }
    .accordion-trigger:hover { color: var(--red); }
    .accordion-icon {
      width: 28px; height: 28px;
      flex-shrink: 0;
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: var(--transition);
      color: var(--red);
    }
    .accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--red); color: var(--white); border-color: var(--red); }
    .accordion-body {
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
    }
    .accordion-body-inner {
      padding-bottom: 24px;
      font-size: 15px;
      color: rgba(255,255,255,0.55);
      line-height: 1.75;
    }

    /* ─────────────────────────────────────────
       KONTAKT
    ───────────────────────────────────────── */
    #kontakt {
      padding: var(--section-pad) 0;
      background: var(--surface);
    }
    .kontakt-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(40px, 6vw, 100px);
      align-items: start;
    }
    .kontakt-info .section-title { margin: 12px 0 24px; }
    .kontakt-info p {
      color: rgba(255,255,255,0.55);
      font-size: 17px;
      line-height: 1.75;
      margin-bottom: 36px;
    }
    .contact-detail {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 20px;
    }
    .contact-icon {
      width: 42px; height: 42px;
      background: var(--red-glow);
      border: 1px solid rgba(200,16,46,0.2);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .contact-label {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 4px;
    }
    .contact-value { font-size: 15px; color: var(--off-white); }

    /* Contact form */
    .contact-form { display: flex; flex-direction: column; gap: 16px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-field { display: flex; flex-direction: column; gap: 8px; }
    .form-field label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
    }
    .form-field input,
    .form-field textarea,
    .form-field select {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px 18px;
      color: var(--white);
      font-family: var(--font-body);
      font-size: 15px;
      outline: none;
      transition: border-color var(--transition);
    }
    .form-field input:focus,
    .form-field textarea:focus,
    .form-field select:focus { border-color: var(--red); }
    .form-field textarea { resize: vertical; min-height: 120px; }
    .form-field select option { background: var(--surface-2); }

    /* ─────────────────────────────────────────
       FOOTER
    ───────────────────────────────────────── */
    footer {
      background: #050505;
      border-top: 1px solid var(--border);
      padding: 64px 0 32px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 56px;
    }
    .footer-brand .nav-logo { margin-bottom: 16px; }
    .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 260px; }
    .footer-socials {
      display: flex;
      gap: 10px;
      margin-top: 24px;
    }
    .social-btn {
      width: 36px; height: 36px;
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      transition: var(--transition);
    }
    .social-btn:hover { border-color: var(--red); color: var(--red); }
    .footer-col-title {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--white);
      margin-bottom: 20px;
    }
    .footer-col ul { display: flex; flex-direction: column; gap: 12px; }
    .footer-col a {
      font-size: 14px;
      color: rgba(255,255,255,0.4);
      transition: color var(--transition);
    }
    .footer-col a:hover { color: var(--red); }
    .footer-bottom {
      border-top: 1px solid var(--border);
      padding-top: 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 12px;
      color: rgba(255,255,255,0.25);
    }
    .footer-bottom a { color: inherit; transition: color var(--transition); }
    .footer-bottom a:hover { color: var(--red); }

    /* ─────────────────────────────────────────
       SCROLL REVEAL
    ───────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    }

    /* ─────────────────────────────────────────
       RESPONSIVE — TABLET  (≤ 1024px)
    ───────────────────────────────────────── */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      /* Collapse two-column layouts that get too narrow at tablet */
      .faq-grid { grid-template-columns: 1fr; }
      .kontakt-grid { grid-template-columns: 1fr; }
    }

    /* ─────────────────────────────────────────
       RESPONSIVE — MOBILE  (≤ 768px)
    ───────────────────────────────────────── */
    @media (max-width: 768px) {
      /* ── Nav ── */
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .mobile-menu { display: block; }

      /* ── Hero ── */
      .hero-headline { font-size: clamp(40px, 12vw, 72px); line-height: 1.0; }
      .hero-sub { font-size: 15px; }
      .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
      .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
      .hero-scroll-hint { bottom: 24px; }

      /* ── About ── */
      .about-grid { grid-template-columns: 1fr; }
      .about-visual { aspect-ratio: 4/3; } /* taller than 16/9 on portrait phones */
      .about-stats { flex-wrap: wrap; gap: 20px; }
      .stat-number { font-size: 36px; }

      /* ── Services ── */
      .services-grid { grid-template-columns: 1fr; }
      .service-card { padding: 32px 24px; }
      .service-num { font-size: 48px; }
      .section-header { flex-direction: column; align-items: flex-start; }

      /* ── Referenzen ── */
      .testimonials-track { padding: 0 20px; }

      /* ── Karriere ── */
      .karriere-grid { grid-template-columns: 1fr; }
      .position-card { padding: 16px 20px; }

      /* ── FAQ ── */
      .faq-grid { grid-template-columns: 1fr; }
      .accordion-trigger { font-size: 15px; padding: 20px 0; }

      /* ── Kontakt ── */
      .kontakt-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .contact-form .btn { width: 100%; justify-content: center; }

      /* ── Footer ── */
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
      .footer-brand p { max-width: 100%; }

      /* ── Section title scale ── */
      .section-title { font-size: clamp(32px, 9vw, 52px); }
    }

    /* ─────────────────────────────────────────
       RESPONSIVE — SMALL PHONES  (≤ 390px)
    ───────────────────────────────────────── */
    @media (max-width: 390px) {
      :root { --nav-h: 60px; }
      .hero-headline { font-size: clamp(36px, 11vw, 56px); }
      .mobile-menu a { font-size: 22px; }
      .testimonial-card { padding: 28px 20px; }
      .service-card { padding: 28px 20px; }
      .btn { font-size: 12px; }
    }
