/* hoeft.digital – gemeinsame Styles für alle Unterseiten (Basis identisch zu index.html) */
    /* ── Fonts (self-hosted) ────────────────────────── */
    @font-face { font-family: 'Barlow'; src: url('fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
    @font-face { font-family: 'Barlow'; src: url('fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
    @font-face { font-family: 'Barlow'; src: url('fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
    @font-face { font-family: 'Barlow'; src: url('fonts/barlow-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

    /* ── Tokens ─────────────────────────────────────── */
    :root {
      --bg:      #050505;
      --bg-1:    #0c0c0d;
      --bg-2:    #141415;
      --line:    rgba(255,255,255,.10);
      --line-2:  rgba(255,255,255,.18);
      --t1:      #fff;
      --t2:      rgba(255,255,255,.68);
      --t3:      rgba(255,255,255,.52);   /* Minimum – AA auf --bg */

      --red:      #E02B22;                /* UI-Rot: Flächen (weißer Text 4.6:1) */
      --red-hi:   #FF4B41;                /* UI-Rot: Text auf Schwarz */
      --red-hover:#EE3A30;

      --sans: 'Barlow', 'DIN Alternate', 'Arial Narrow', system-ui, sans-serif;
      --mono: var(--sans);
      --ease: cubic-bezier(.16,1,.3,1);

      --pad:  clamp(20px, 4vw, 48px);
      --max:  1320px;
      --sec:  clamp(96px, 13vw, 176px);
      --nav:  72px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
    body {
      margin: 0; background: var(--bg); color: var(--t1);
      font-family: var(--sans); font-size: 15.48px; line-height: 1.55;
      -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }
    h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
    ol, ul { list-style: none; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
    ::selection { background: var(--red); color: #fff; }

    :focus-visible { outline: 2px solid var(--red-hi); outline-offset: 4px; }

    .wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .skip { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; font-weight: 600; transform: translateY(-200%); }
    .skip:focus { transform: none; }

    /* ── Typography ─────────────────────────────────── */
    .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
    .label {
      font-family: var(--sans); font-size: 11.18px; font-weight: 600; line-height: 1;
      letter-spacing: .24em; text-transform: uppercase; color: var(--t3);
      display: flex; align-items: center; gap: 16px;
    }
    .label b { font-weight: 700; color: var(--t1); }
    .label { white-space: nowrap; }
    .label::after { content: ''; height: 1px; flex: 0 1 72px; min-width: 0; background: var(--line-2); }

    .display {
      font-weight: 700; text-transform: uppercase; letter-spacing: .012em; line-height: .94;
      font-size: clamp(27.52px, 6.02vw, 92.88px);
    }
    @media (max-width: 899px) { .display { font-size: clamp(32.68px, 9.12vw, 72.24px); line-height: .96; } }
    .h2 {
      font-weight: 700; text-transform: uppercase; letter-spacing: .015em; line-height: 1;
      font-size: clamp(25.8px, 4.47vw, 68.8px);
    }
    .dim { color: var(--t3); }

    /* ── Buttons / Links ────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 14px;
      min-height: 54px; padding: 0 30px; border-radius: 2px;
      font-weight: 600; font-size: 12.04px; letter-spacing: .18em; text-transform: uppercase;
      transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
    }
    .btn .arr { transition: transform .35s var(--ease); }
    .btn:hover .arr { transform: translateX(5px); }
    .btn-red { background: var(--red); color: #fff; }
    .btn-red:hover { background: var(--red-hover); }
    .btn-line { border: 1px solid var(--line-2); color: var(--t1); }
    .btn-line:hover { background: #fff; border-color: #fff; color: #000; }
    @media (max-width: 480px) { .btn { padding: 0 20px; gap: 10px; letter-spacing: .14em; } }

    .ulink {
      display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 12.04px; letter-spacing: .18em; text-transform: uppercase; padding-bottom: 8px;
      background: linear-gradient(currentColor, currentColor) left bottom / 28% 1px no-repeat;
      transition: background-size .5s var(--ease);
    }
    .ulink:hover, .work:hover .ulink { background-size: 100% 1px; }
    .ulink .arr { transition: transform .35s var(--ease); }
    .ulink:hover .arr, .work:hover .ulink .arr { transform: translateX(4px); }

    /* ── Reveal ─────────────────────────────────────── */
    .js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
    .js .rv.in { opacity: 1; transform: none; }
    .js .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
    .js .in .ln > span, .js .ln.in > span { transform: none; }
    .ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
    @media (min-width: 900px) { .ln { white-space: nowrap; } }

    /* ── Navigation ─────────────────────────────────── */
    .nav {
      position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav);
      border-bottom: 1px solid transparent;
      transition: background-color .35s, border-color .35s, backdrop-filter .35s;
    }
    .nav.solid { background: rgba(5,5,5,.78); border-color: var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
    .nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
    .brand { font-weight: 700; font-size: 14.62px; letter-spacing: .22em; text-transform: uppercase; }
    .brand i { font-style: normal; color: var(--red-hi); }
    .nav-links { display: none; align-items: center; gap: 36px; }
    .nav-links a:not(.btn) { font-size: 11.18px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--t2); transition: color .2s; position: relative; padding: 6px 0; }
    .nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: #fff; }
    .nav-links a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: #fff; }
    .nav-links .btn { min-height: 42px; padding: 0 20px; font-size: 11px; }
    .menu-btn { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; }
    .menu-btn span { display: block; width: 22px; height: 1.5px; background: #fff; position: relative; transition: background .2s; }
    .menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: #fff; transition: transform .35s var(--ease); }
    .menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
    .menu-btn[aria-expanded="true"] span { background: transparent; }
    .menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
    .menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
    .mobile {
      position: fixed; inset: var(--nav) 0 0 0; z-index: 49; background: var(--bg);
      padding: 24px var(--pad); display: none; flex-direction: column;
    }
    .mobile.open { display: flex; }
    .mobile a:not(.btn) { font-size: 25.8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .mobile .btn { margin-top: 32px; justify-content: space-between; }
    @media (min-width: 820px) { .nav-links { display: flex; } .menu-btn, .mobile { display: none !important; } }

    .beam { position: absolute; z-index: -1; top: -12%; left: 62%; width: min(110vw, 1500px); height: 125%; transform: translateX(-50%); filter: blur(34px); opacity: 0; transition: opacity 2.4s var(--ease) .1s; pointer-events: none; }
    .beam i { position: absolute; inset: 0; clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
      background: linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.07) 48%, transparent 82%); }
    .core { position: absolute; z-index: -1; top: 0; left: 62%; width: 1px; height: 24%; background: linear-gradient(180deg, rgba(255,255,255,.7), transparent); opacity: 0; transition: opacity 2.4s var(--ease) .3s; }
    .loaded .beam { opacity: 1; } .loaded .core { opacity: .55; }
    html:not(.js) .beam { opacity: 1; } html:not(.js) .core { opacity: .55; }
    .grain { position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
    /* ── Work (Karten mit abgeschrägter Ecke) ───────── */
    .section { padding-block: var(--sec); }
    .sec-head { display: grid; gap: 32px; margin-bottom: clamp(56px, 8vw, 112px); }
    .cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .card { --cut: 32px; position: relative; display: flex; background: var(--line-2);
      clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
      transition: background-color .45s var(--ease); }
    .card-in { margin: 1px; flex: 1; min-width: 0; display: flex; flex-direction: column;
      padding: clamp(28px, 3.2vw, 48px); background: var(--bg-1);
      clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) + .59px), calc(100% - var(--cut) + .59px) 100%, 0 100%);
      transition: background-color .45s var(--ease); }
    .card:hover { background: rgba(255,255,255,.6); }
    .card:hover .card-in { background: var(--bg-2); }
    .work-meta { display: flex; justify-content: space-between; font-size: 11.18px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--t3); }
    .work-meta { gap: 16px; } .work-meta b { color: var(--t1); font-weight: 700; white-space: nowrap; }
    .card h3 { margin-top: clamp(40px, 6vw, 88px); font-size: clamp(20.64px, 2.15vw, 30.96px); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.08; overflow-wrap: break-word; hyphens: auto; }
    .card p { margin-top: 20px; color: var(--t2); max-width: 46ch; }
    .stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0 clamp(16px, 4vw, 40px); margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
    .stats strong { display: block; font-size: clamp(22px, 6vw, 29.24px); font-weight: 700; letter-spacing: 0; line-height: 1; }
    .stats span { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--t3); }
    @media (max-width: 480px) { .stats { display: flex; flex-wrap: wrap; gap: 20px 28px; } .stats span { letter-spacing: .12em; } }
    .note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11.18px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); }
    .card .note { max-width: none; }
    .foot { margin-top: auto; padding-top: 40px; }
    .stretch::before { content: ''; position: absolute; inset: 0; z-index: 2; }
    @media (min-width: 900px) {
      .cards { grid-template-columns: repeat(12, minmax(0, 1fr)); }
      .c-7 { grid-column: span 7; } .c-5 { grid-column: span 5; } .c-12 { grid-column: span 12; }
      .c-12 .card-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; }
      .c-12 .work-meta { grid-column: 1 / -1; }
      .c-12 .l { grid-column: 1 / 8; }
      .c-12 .r { grid-column: 9 / 13; display: flex; flex-direction: column; justify-content: flex-end; }
      .c-12 .foot { margin-top: 0; }
    }

    /* ── Footer ─────────────────────────────────────── */
    footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
    .f-top { display: flex; flex-direction: column; gap: 32px; }
    .f-top p { margin-top: 8px; font-size: 13.76px; color: var(--t3); }
    .f-links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 11.18px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--t2); }
    .f-links a:hover, .f-bot a:hover { color: #fff; }
    .f-bot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 12.9px; color: var(--t3); }
    @media (min-width: 760px) {
      .f-top, .f-bot { flex-direction: row; justify-content: space-between; align-items: flex-start; }
      .f-bot { align-items: center; }
    }


    /* ── Seitenkopf (Unterseiten) ───────────────────── */
    .phead { position: relative; isolation: isolate; overflow: hidden;
      padding: calc(var(--nav) + clamp(64px, 8vw, 112px)) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
    .phead .beam { left: 74%; top: -30%; height: 190%; }
    .phead .core { left: 74%; height: 34%; }
    .phead .label { margin-bottom: 28px; }
    .phead .display { font-size: clamp(30px, 5.2vw, 80px); }
    .phead .display .dim { color: rgba(255,255,255,.4); }
    .phead .lead { max-width: 52ch; margin-top: clamp(20px, 2.5vw, 32px); color: var(--t2); font-size: clamp(16.3px, 1.4vw, 19px); line-height: 1.5; }
    @media (max-width: 899px) { .phead .display { font-size: clamp(32px, 9.4vw, 64px); } }
    .psec { padding-block: clamp(56px, 7vw, 104px); }
    .dim { color: rgba(255,255,255,.4); }

    /* ── Referenzen ─────────────────────────────────── */
    .proj { scroll-margin-top: calc(var(--nav) + 24px); }
    .proj + .proj { margin-top: 20px; }
    .proj .card-in { padding: clamp(28px, 4vw, 64px); }
    .proj h2 { margin-top: clamp(32px, 5vw, 72px); font-size: clamp(20px, 2.5vw, 36px); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.08; overflow-wrap: break-word; hyphens: auto; }
    .card .note { max-width: none; }
    .proj .l p { margin-top: 20px; color: var(--t2); max-width: 46ch; }
    .checks { margin-top: 32px; }
    .checks li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--t2); }
    .checks li:last-child { border-bottom: 1px solid var(--line); }
    .checks li::before { content: ''; flex: none; width: 14px; height: 1px; background: var(--t2); margin-top: .8em; }
    .proj .stats { margin-top: 28px; padding-top: 0; border-top: 0; }
    .proj .live { margin-top: 32px; }
    .btn-sm { min-height: 46px; padding: 0 22px; }
    @media (min-width: 900px) {
      .proj .card-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; }
      .proj .work-meta { grid-column: 1 / -1; }
      .proj .l { grid-column: 1 / 8; }
      .proj .r { grid-column: 9 / 13; align-self: end; margin-top: 40px; }
      .proj .checks { margin-top: 0; }
    }

    /* ── Abschluss-CTA ──────────────────────────────── */
    .pcta { border-top: 1px solid var(--line); padding-block: clamp(72px, 9vw, 128px); }
    .pcta .h2 { max-width: 16ch; font-size: clamp(30px, 5.2vw, 80px); }
    .pcta p.sub { margin-top: clamp(20px, 2.5vw, 32px); max-width: 48ch; color: var(--t2); font-size: clamp(16.3px, 1.4vw, 19px); line-height: 1.5; }
    .pcta .btn { margin-top: clamp(28px, 3.5vw, 44px); }

    /* ── Kontakt ────────────────────────────────────── */
    .contact { display: grid; gap: 40px; }
    .c-list > * { display: block; padding: 22px 0; border-top: 1px solid var(--line); }
    .c-list > *:last-child { border-bottom: 1px solid var(--line); }
    .c-list .k { display: block; font-size: 11.18px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--t3); }
    .c-list .v { display: block; margin-top: 8px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: .01em; overflow-wrap: anywhere; }
    .c-list a.row { transition: background-color .3s var(--ease); }
    .c-list a.row .v { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease); display: inline-block; padding-bottom: 3px; }
    .c-list a.row:hover .v { background-size: 100% 1px; }
    .promise { margin-top: 36px; }
    .promise li { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--t2); }
    .promise li:last-child { border-bottom: 1px solid var(--line); }
    .promise li b { flex: none; font-size: 11.18px; font-weight: 700; letter-spacing: .24em; color: var(--t3); padding-top: .35em; min-width: 2ch; }
    .c-card .card-in { padding: clamp(28px, 4vw, 56px); min-height: 440px; justify-content: space-between; }
    .c-card h2 { margin-top: 28px; font-size: clamp(26px, 3vw, 42px); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.06; }
    .c-card p.t { margin-top: 20px; max-width: 44ch; color: var(--t2); }
    .c-card .act { margin-top: 36px; }
    .c-card .note { margin-top: 28px; }
    @media (min-width: 900px) {
      .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
      .c-info { grid-column: 1 / 6; }
      .c-card { grid-column: 7 / 13; }
    }

    /* ── Rechtstexte ────────────────────────────────── */
    .prose { max-width: 780px; }
    .prose section { padding: 36px 0; border-top: 1px solid var(--line); }
    .prose section:first-child { border-top: 0; padding-top: 0; }
    .prose h2 { font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.25; margin-bottom: 16px; }
    .prose h3 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin: 24px 0 8px; }
    .prose h3:first-of-type { margin-top: 0; }
    .prose p, .prose li { color: var(--t2); font-size: 16px; line-height: 1.7; }
    .prose p + p { margin-top: 14px; }
    .prose ul { margin-top: 14px; }
    .prose li { display: flex; gap: 14px; padding: 4px 0; }
    .prose li::before { content: ''; flex: none; width: 12px; height: 1px; background: var(--t2); margin-top: .85em; }
    .prose a { color: #fff; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .25s; }
    .prose a:hover { text-decoration-color: var(--red-hi); }
    .prose strong { color: #fff; font-weight: 600; }
    .prose .src { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--t3); }
    .prose .src a { color: var(--t2); }
    .stand { margin-top: 16px; font-size: 11.18px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--t3); }


    /* ── Hintergrund-Schein (Radialverlauf, fest hinter allen Inhalten) ── */
    :root { --glow-a: #231113; --glow-b: #0a0a0b; --glow-c: #0e0809; }  /* Original: #211320 / #0b0f14 / #100a0e */
    body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
      background: radial-gradient(circle at center, var(--glow-a), var(--glow-b), var(--glow-c)); }

    /* ── Karten-Button ──────────────────────────────── */
    .cbtn { display: inline-flex; align-items: center; background: #0e0e0e; color: var(--red-hi);
      border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 14px 22px;
      font-weight: 600; font-size: 13px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase;
      transition: border-color .3s var(--ease); }
    .cbtn:hover, .card:hover .cbtn { border-color: rgba(255,255,255,.5); }
    .cbtn .t { display: inline-flex; align-items: center; gap: 12px; animation: hop 8s ease-in-out infinite; }
    .cbtn .arr { transition: transform .35s var(--ease); }
    .cbtn:hover .arr, .card:hover .cbtn .arr { transform: translateX(4px); }
    .card:nth-of-type(2) .cbtn .t { animation-delay: -2.7s; }
    .card:nth-of-type(3) .cbtn .t { animation-delay: -5.4s; }
    @keyframes hop { 0%, 95.6% { transform: none; } 97.8% { transform: translateY(-5px); } 100% { transform: none; } }

    /* ── Reduced motion ─────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
      .js .rv { opacity: 1; transform: none; }
      .beam { opacity: 1; } .core { opacity: .55; }
    }
