/* Räderei Bautzen – styles */
@font-face { font-family: "Cal Sans"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/cal-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cal Sans"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/cal-sans-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/familjen-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/familjen-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("../assets/fonts/anton-latin.woff2") format("woff2"); unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --orange: #f0ac5b;
  --orange-dark: #e0973f;
  --ink: #000;
  --text: #555;
  --muted: #999;
  --dark: #2b2b2b;
  --header: #121212;
  --light: #f5f5f5;
  --white: #fff;
  --radius: 14px;
  --pad: 24px;
  --gap: clamp(16px, 5vw, 96px);
  --edge: calc(var(--pad) + var(--gap));
  --max: 1200px;
  --head-h: 92px;
  --font-head: "Cal Sans", "Familjen Grotesk", system-ui, sans-serif;
  --font-body: "Familjen Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
html.lenis { scroll-behavior: auto; }
body { margin: 0; font-family: var(--font-body); font-size: 20px; line-height: 1.45; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--ink); margin: 0 0 .5em; line-height: 1.08; }
h1 { font-size: clamp(40px, 5.2vw, 72px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 8vw, 120px); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); font-weight: 700; margin-bottom: 16px; display: block; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: 700 15px/1 var(--font-body); letter-spacing: .02em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: #000; }
.btn--orange:hover { background: var(--orange-dark); }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: var(--orange); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; height: 42px; padding-inline: 20px; font-size: 13px; }
.btn--ghost:hover { background: #fff; color: #000; }
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover { background: var(--orange); color: #000; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Header: no bar. Only the logo floats in the middle (no bubble); the burger floats on the right as a dark liquid glass bubble */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 0; pointer-events: none; }
.logo, .menu-toggle { position: absolute; top: 16px; pointer-events: auto; }
.logo { left: 50%; translate: -50% 0; height: 76px; display: flex; align-items: center; transition: scale .45s cubic-bezier(.2,.7,.2,1); }
.logo img { height: 68px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); }
.logo:hover { scale: 1.05; }
.menu-toggle { right: clamp(16px, 3vw, 44px); width: 62px; height: 62px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-content: center; gap: 7px; }
.menu-line { display: block; width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .25s; }
.menu-toggle[aria-expanded="true"] .menu-line:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* dark liquid glass shared by the burger and the menu bubbles; hover mixes in the orange */
.menu-toggle, .bubble { position: relative; isolation: isolate; color: #fff; background: linear-gradient(145deg, rgba(34,34,38,.62) 0%, rgba(12,12,14,.5) 100%); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.34), inset 0 0 0 1px rgba(255,255,255,.12), inset 0 -16px 26px -18px rgba(255,255,255,.16), 0 14px 34px -14px rgba(0,0,0,.65); transition: box-shadow .45s ease, scale .45s cubic-bezier(.2,.7,.2,1); }
.menu-toggle { position: absolute; }
.menu-toggle::before, .bubble::before, .menu-toggle::after, .bubble::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; transition: opacity .45s ease; }
.menu-toggle::before, .bubble::before { background: linear-gradient(145deg, rgba(244,176,96,.86) 0%, rgba(196,114,30,.64) 55%, rgba(78,42,8,.6) 100%); opacity: 0; }
.menu-toggle::after, .bubble::after { background: radial-gradient(220px circle at var(--mx, 30%) var(--my, 0%), rgba(255,255,255,.3), rgba(255,255,255,0) 62%); opacity: 0; }
.menu-toggle:hover::before, .bubble:hover::before, .bubble:focus-visible::before, .menu-toggle[aria-expanded="true"]::before { opacity: 1; }
.menu-toggle:hover::after, .bubble:hover::after { opacity: 1; }
.menu-toggle:hover, .bubble:hover, .bubble:focus-visible { box-shadow: inset 0 1px 0 rgba(255,225,180,.55), inset 0 0 0 1px rgba(240,172,91,.5), inset 0 -16px 26px -18px rgba(255,214,150,.3), 0 18px 44px -14px rgba(240,172,91,.55); }
.menu-toggle:hover { scale: 1.05; }

/* Bubble menu (same behaviour as React Bits "Bubble Menu"): big pills in rows of three, tilted, popping in one after another */
.bmenu { position: fixed; inset: 0; z-index: 97; display: flex; overflow-y: auto; }
.bmenu[hidden] { display: none; }
.bmenu__veil { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(10,10,12,.4), rgba(10,10,12,.72)); -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1); opacity: 0; transition: opacity .5s ease; }
.bmenu.is-open .bmenu__veil { opacity: 1; }
.bmenu > nav { position: relative; width: 100%; }
.bmenu__list { position: relative; width: 100%; max-width: 520px; margin: auto; padding: 124px 24px 28px; list-style: none; display: flex; flex-direction: column; row-gap: clamp(10px, 2.2vh, 20px); }
.bmenu__list li { flex: 0 0 auto; display: flex; box-sizing: border-box; }
.bubble { width: 100%; min-height: clamp(66px, 12vh, 100px); display: flex; align-items: center; justify-content: center; border-radius: 999px; font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--font-head); letter-spacing: .01em; white-space: nowrap; user-select: none; -webkit-user-drag: none; }
.bubble__label { display: inline-block; position: relative; z-index: 1; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.bubble:hover, .bubble:focus-visible { scale: 1.05; }
.bubble:active { scale: .95; }
.bubble[aria-current="page"] { box-shadow: inset 0 1px 0 rgba(255,225,180,.45), inset 0 0 0 1.5px rgba(240,172,91,.75), inset 0 -16px 26px -18px rgba(255,255,255,.16), 0 14px 34px -14px rgba(0,0,0,.65); }
/* Header bar: only on phones, appears after the top banner */
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 86px; background: linear-gradient(180deg, rgba(14,14,16,.94), rgba(14,14,16,.86)); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 8px 26px -10px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.08); translate: 0 -100%; opacity: 0; transition: translate .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease; pointer-events: none; display: none; }
@media (max-width: 720px) {
  .site-header::before { display: block; }
  .site-header.is-bar::before { translate: 0 0; opacity: 1; }
}
@media (max-width: 720px) { .logo { height: 62px; } .logo img { height: 54px; } .menu-toggle { width: 54px; height: 54px; top: 16px; } }
@media (prefers-reduced-motion: reduce) { .bmenu__veil { transition: none; } }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(460px, 62vh, 760px); background: #c4c4c4 center / cover no-repeat; color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,.5) 100%), linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.12) 100%); }
.hero h1 { color: #fff; max-width: 11ch; margin-bottom: 24px; }
.hero--full h1 { max-width: none; margin-inline: auto; font-size: clamp(46px, 6.8vw, 116px); line-height: 1.03; margin-bottom: 28px; }
.hero--full h1 span { display: block; white-space: nowrap; }
.hero p { color: rgba(255,255,255,.85); font-size: clamp(17px, 1.5vw, 21px); max-width: 38em; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero { padding-top: var(--head-h); }
.hero--full { min-height: 100vh; min-height: 100svh; }
.hero--full .wrap { padding-bottom: 104px; text-align: center; }
.hero--full::before { background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 100%), linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 68%, rgba(0,0,0,.5) 100%); }
.hero--full p { margin-inline: auto; font-weight: 700; color: #fff; }
.hero--full .hero__cta { justify-content: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--page { min-height: clamp(320px, 42vh, 480px); }
.hero--page h1 { max-width: 16ch; }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: clamp(18px, 4vh, 40px); translate: -50% 0; z-index: 2; color: #fff; display: block; }
.scroll-cue__in { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: cue-in 1.2s cubic-bezier(.2,.7,.2,1) 1.5s both; }
.scroll-cue__line { width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, var(--orange)); transform-origin: top; animation: cue-line 1s cubic-bezier(.6,0,.2,1) 1.7s both; }
.scroll-cue__label { font-size: 13px; text-shadow: 0 1px 10px rgba(0,0,0,.55); font-weight: 700; letter-spacing: .26em; text-indent: .26em; text-transform: uppercase; animation: cue-label 1.4s cubic-bezier(.2,.7,.2,1) 1.6s both; transition: color .25s; }
.scroll-cue__arrows { display: flex; flex-direction: column; align-items: center; color: var(--orange); }
.scroll-cue__arrows svg { width: 30px; height: 15px; margin-top: -6px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); animation: cue-arrow 1.8s ease-in-out infinite both; }
.scroll-cue__arrows svg:nth-child(1) { animation-delay: 2.2s; }
.scroll-cue__arrows svg:nth-child(2) { animation-delay: 2.4s; }
.scroll-cue__arrows svg:nth-child(3) { animation-delay: 2.6s; }
.scroll-cue:hover .scroll-cue__label { color: var(--orange); }
@keyframes cue-in { from { opacity: 0; translate: 0 28px; } }
@keyframes cue-line { from { transform: scaleY(0); } }
@keyframes cue-label { from { opacity: 0; letter-spacing: .9em; text-indent: .9em; filter: blur(6px); } }
@keyframes cue-arrow { 0% { opacity: 0; translate: 0 -8px; } 35% { opacity: 1; } 70%, 100% { opacity: 0; translate: 0 8px; } }
html.no-anim .scroll-cue *, .no-anim .scroll-cue * { animation: none !important; }

/* Intro */
.intro p.lead { font-family: var(--font-body); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.22; font-weight: 700; color: #000; max-width: 28em; margin-bottom: 56px; letter-spacing: -.01em; }
.intro p.lead > span { color: var(--muted); }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.services__head { align-self: center; padding-right: 12px; }
.services__head h2 { margin-bottom: 24px; }
.services__grid { display: contents; }
.services-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--light); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card h3 { margin: 0; font-size: clamp(22px, 1.8vw, 26px); }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.card svg { flex: none; width: 34px; height: 34px; fill: #000; }
.card .more { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #000; border-bottom: 2px solid var(--orange); align-self: flex-start; }

/* Counters */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.counter b { display: block; font: 400 clamp(56px, 7vw, 96px)/1 var(--font-head); color: #000; letter-spacing: -.01em; }
.counter span { display: block; margin-top: 10px; font-weight: 700; color: #000; font-size: 18px; }

/* Projects (dark band) */
.dark-band { background: var(--dark); color: #fff; }
.dark-band h2 { color: #fff; }
.dark-band .section__head { text-align: center; max-width: 44em; margin: 0 auto 64px; }
.dark-band .section__head h2 { font-size: clamp(52px, 7.4vw, 120px); line-height: 1; margin-bottom: .3em; }
.dark-band .section__head p { color: rgba(255,255,255,.9); font-size: clamp(20px, 1.9vw, 30px); font-weight: 700; line-height: 1.3; }
.project { position: relative; display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; isolation: isolate; background: #111; }
.project img { width: 100%; aspect-ratio: 16 / 8; min-height: 300px; object-fit: cover; transition: transform .6s ease; }
.project:hover img { transform: scale(1.03); }
.project::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.7) 100%); }
.project__title { position: absolute; z-index: 2; left: 32px; bottom: 28px; }
.project__title h3 { color: #fff; margin: 0 0 4px; font-size: clamp(24px, 2.4vw, 34px); }
.project__title small { color: rgba(255,255,255,.7); font-size: 14px; }
.project__side { position: absolute; z-index: 2; right: 32px; top: 50%; transform: translateY(-50%); width: min(300px, 32%); font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.88); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.project__side p { margin-bottom: 14px; }
/* Shimano strip: the picture is only a logo on flat blue, so it stays at 112px tall (about half its real size, sharp on retina) and the box around it is the same blue */
.sponsor-banner { display: flex; justify-content: center; overflow: hidden; background: #00adef; padding-block: 14px; }
.sponsor-banner img { flex: none; width: auto; max-width: none; height: 112px; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }

/* Brands */
.band-light { background: var(--light); }
.band-light .section__head { text-align: center; margin-bottom: 48px; }
.band-light--wide .wrap { max-width: none; padding-inline: clamp(12px, 2vw, 32px); }
.brands { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(8px, 1vw, 14px); }
@media (max-width: 1024px) { .brands { grid-template-columns: repeat(4, 1fr); } }
.brand { position: relative; background: #fff; border-radius: var(--radius); aspect-ratio: 3 / 2; display: grid; place-items: center; min-width: 0; cursor: default; transition: background-color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.brand:hover, .brand:focus-within { background: var(--orange-dark); transform: translateY(-4px); box-shadow: 0 14px 28px -14px rgba(224,151,63,.9); }
/* every logo is cropped to its visible area and sized to the same visual weight (--w, --ca come from the markup) */
.logo-fit { display: block; position: relative; overflow: hidden; width: calc(var(--w) * 1%); aspect-ratio: var(--ca); }
.logo-fit img { position: absolute; max-width: none; height: auto; width: calc(100% / var(--fw)); left: calc(var(--x0) / var(--fw) * -100%); top: calc(var(--y0) / var(--fh) * -100%); filter: grayscale(1) opacity(.8); mix-blend-mode: multiply; transition: filter .35s ease; }
.brand:hover .logo-fit img { filter: grayscale(1) brightness(0); }
/* Maxxis is orange: turned black so it matches the rest */
.brand.is-black .logo-fit img { filter: brightness(0) opacity(.8); }
.brand.is-black:hover .logo-fit img { filter: brightness(0); }

/* Video banner */
.video-banner { overflow: hidden; background: #000; }
.video-banner video { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* Contact */
.contact { padding-top: clamp(24px, 3vw, 48px); }
.contact h2 { max-width: 14em; margin-bottom: clamp(24px, 3vw, 40px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.place { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; isolation: isolate; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 32px; gap: 20px; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75)); }
.place h3 { color: #fff; font-size: clamp(28px, 3vw, 40px); margin: 0; }
.form { position: relative; background: var(--light); border-radius: 20px; padding: clamp(24px, 3vw, 40px); align-self: start; overflow: hidden; }
.form__title { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 24px; }
.form__body { display: grid; gap: 28px; transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.form.is-sent .form__body, .form.is-sent .form__title { opacity: 0; transform: translateY(-14px); filter: blur(4px); pointer-events: none; visibility: hidden; transition: opacity .35s ease, transform .5s ease, filter .35s ease, visibility 0s .5s; }
.topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.topics legend { padding: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #000; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid #e2e2e2; font-size: 15px; font-weight: 700; color: #000; transition: background-color .25s, border-color .25s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; user-select: none; }
.chip span::before { content: ""; width: 0; height: 10px; margin-right: 0; border-right: 2.5px solid #000; border-bottom: 2.5px solid #000; transform: rotate(40deg) scale(.5) translateY(-2px); opacity: 0; transition: width .25s, margin .25s, opacity .25s, transform .25s; }
.chip:hover span { border-color: var(--orange); transform: translateY(-2px); }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); box-shadow: 0 8px 18px -10px rgba(224,151,63,.9); }
.chip input:checked + span::before { width: 6px; margin-right: 2px; opacity: 1; transform: rotate(40deg) scale(1) translateY(-2px); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.chip input:active + span { transform: scale(.96); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { display: block; width: 100%; font: inherit; font-size: 17px; color: #000; background: #fff; border: 1.5px solid transparent; border-radius: 12px; padding: 26px 44px 10px 16px; line-height: 1.3; transition: border-color .25s, box-shadow .25s, background-color .25s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 140px; resize: none; padding-top: 30px; padding-bottom: 28px; overflow: hidden; }
.field label { position: absolute; left: 16px; top: 19px; font-size: 17px; color: #8a8a8a; pointer-events: none; transform-origin: left top; transition: transform .25s cubic-bezier(.2,.7,.2,1), color .25s; }
.field label em { font-style: normal; opacity: .8; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.74); color: #000; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(240,172,91,.28); }
.field__line { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2.5px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .4s cubic-bezier(.2,.7,.2,1), background-color .25s; pointer-events: none; }
.field input:focus ~ .field__line, .field textarea:focus ~ .field__line { transform: scaleX(1); }
.field::after { content: ""; position: absolute; right: 16px; top: 22px; width: 18px; height: 18px; border-radius: 50%; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s cubic-bezier(.3,1.6,.5,1); pointer-events: none; background-position: center; background-repeat: no-repeat; background-size: 18px; }
.field.is-valid::after { opacity: 1; transform: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23f0ac5b'/%3E%3Cpath d='M5 9.3l2.7 2.7L13 6.4' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field.is-invalid::after { opacity: 1; transform: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23d64545'/%3E%3Cpath d='M9 4.6v5M9 12.6v.1' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.field--area::after { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d64545; }
.field.is-invalid .field__line { background: #d64545; transform: scaleX(1); }
.field.is-invalid { animation: shake .4s ease; }
.field__msg { display: block; max-height: 0; overflow: hidden; opacity: 0; padding-left: 4px; font-size: 14px; color: #c13a3a; transform: translateY(-4px); transition: max-height .3s ease, opacity .3s ease, transform .3s ease, margin .3s ease; }
.field.is-invalid .field__msg { max-height: 40px; opacity: 1; transform: none; margin-top: 6px; }
.field__count { position: absolute; right: 14px; bottom: 9px; font-size: 12px; color: #9a9a9a; transition: color .2s; }
.field__count b { font-weight: 700; color: #6b6b6b; }
.field__count.is-near, .field__count.is-near b { color: #c9791a; }
@keyframes shake { 20% { translate: -6px 0; } 40% { translate: 5px 0; } 60% { translate: -3px 0; } 80% { translate: 2px 0; } }
.form__note { font-size: 14px; color: #777; margin: 0; }
.form__note a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form__status { margin: 0; font-size: 15px; color: #000; display: none; }
.form__status.is-visible { display: block; background: #fff; border-left: 4px solid var(--orange); border-radius: 10px; padding: 10px 14px; animation: pop .35s cubic-bezier(.3,1.4,.5,1); }
.form__status a { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.send { position: relative; min-width: 168px; overflow: hidden; }
.send__arrow { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.send:hover .send__arrow { transform: translateX(5px); }
.send__spin { position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(0,0,0,.2); border-top-color: #000; opacity: 0; animation: spin .7s linear infinite paused; }
.send.is-loading { pointer-events: none; }
.send.is-loading .send__label, .send.is-loading .send__arrow { opacity: 0; transform: translateY(8px); }
.send.is-loading .send__spin { opacity: 1; animation-play-state: running; }
.send.is-shaking { animation: shake .4s ease; }
@keyframes spin { to { rotate: 360deg; } }
.form__result { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 32px; opacity: 0; transform: translateY(16px); transition: opacity .45s .15s ease, transform .6s .15s cubic-bezier(.2,.7,.2,1); }
.form__result[hidden] { display: none; }
.form.is-sent .form__result { opacity: 1; transform: none; }
.form__result .tick { color: var(--orange-dark); }
.form__result .tick circle { stroke-dasharray: 183; stroke-dashoffset: 183; }
.form__result .tick path { stroke-dasharray: 50; stroke-dashoffset: 50; }
.form.is-sent .tick circle { animation: draw .7s .25s ease forwards; }
.form.is-sent .tick path { animation: draw .45s .8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__result h3 { margin: 6px 0 0; }
.form__result p { margin: 0 0 14px; max-width: 24em; font-size: 17px; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); margin: 0; border-radius: 0; }
.site-footer .wrap { max-width: none; padding-inline: var(--edge); }
.footer__main { display: grid; grid-template-columns: auto minmax(0, 560px); justify-content: start; column-gap: clamp(56px, 11vw, 200px); row-gap: 48px; padding-block: 72px 56px; align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.footer__logo img { width: 190px; height: auto; }
.footer__nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.footer__nav a { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #fff; text-transform: uppercase; }
.footer__nav a:hover, .footer__bottom a:hover, .footer__contact a:hover { color: var(--orange); }
.footer__contact h3 { color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 20px; margin-bottom: 24px; font-size: clamp(20px, 2.1vw, 26px); white-space: nowrap; }
.footer__contact .phone { font: 400 clamp(24px, 3vw, 38px)/1.1 var(--font-head); color: #fff; display: block; margin-bottom: 22px; white-space: nowrap; }
.footer__contact .phone:hover { color: var(--orange); }
.footer__hours { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: clamp(40px, 6vw, 96px); row-gap: 24px; }
.footer__hours p, .footer__hours .ig { margin: 0; }
.footer__contact small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.footer__contact p { margin: 0 0 20px; font-size: 15px; line-height: 1.55; }
.footer__contact .ig-bubble { display: grid; place-items: center; width: 54px; height: 54px; margin: 2px auto 0; border-radius: 50%; color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.14), 0 12px 26px -12px rgba(0,0,0,.7); transition: background .35s, box-shadow .35s, color .35s, transform .35s cubic-bezier(.3,1.5,.5,1); }
.footer__contact .ig-bubble svg { width: 26px; height: 26px; }
.footer__contact .ig-bubble:hover { color: #111; transform: translateY(-3px) scale(1.06); background: linear-gradient(145deg, #f7be7c, #e0973f); box-shadow: inset 0 1px 0 rgba(255,235,205,.8), 0 16px 30px -12px rgba(240,172,91,.7); }
.footer__contact .ig { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); display: inline-flex; gap: 8px; align-items: center; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; font-size: 13px; }
.footer__bottom nav { display: flex; gap: clamp(20px, 5vw, 72px); }
.footer__bottom em { color: var(--orange); font-style: normal; }

/* To top: rotating circular text (as React Bits "Circular Text") around an arrow */
.to-top { --d: 96px; --r: 37px; position: fixed; right: 22px; bottom: 22px; width: var(--d); height: var(--d); border-radius: 50%; border: 0; padding: 0; color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px) scale(.9); transition: opacity .3s, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; z-index: 90; background: linear-gradient(145deg, rgba(34,34,38,.8), rgba(12,12,14,.7)); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.12), 0 16px 36px -14px rgba(0,0,0,.7); isolation: isolate; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top.is-visible:hover { transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,225,180,.5), inset 0 0 0 1px rgba(240,172,91,.55), 0 18px 44px -12px rgba(240,172,91,.55); }
.to-top__ring { position: absolute; inset: 0; display: block; font: 700 10.5px/1 var(--font-body); letter-spacing: .02em; }
.to-top__ring i { position: absolute; left: 50%; top: 50%; font-style: normal; transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1)); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.to-top__ring i:nth-child(17) { color: var(--orange); }
.to-top__dot { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #111; transition: transform .45s cubic-bezier(.3,1.5,.5,1), background-color .3s; }
.to-top:hover .to-top__dot { transform: translateY(-3px) scale(1.08); background: #ffc98a; }
@media (max-width: 720px) { .to-top { --d: 78px; --r: 29px; right: 14px; bottom: 14px; } .to-top__ring { font-size: 9px; } .to-top__dot { width: 32px; height: 32px; margin: -16px 0 0 -16px; } }

/* Inner pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img, .split video { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.statement { font: 400 clamp(36px, 6.2vw, 92px)/1 var(--font-head); color: #000; text-transform: uppercase; margin-bottom: 32px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.team-grid img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.team-grid img.wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.review { background: var(--light); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.review p { margin: 0; font-size: 16px; line-height: 1.55; color: #333; }
.review footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review footer b { display: block; color: #000; font-size: 16px; }
.review footer span { font-size: 14px; color: var(--muted); }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-block: 40px; border-block: 1px solid #e3e3e3; padding-block: 24px; }
.meta small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.meta b { color: #000; font-weight: 700; font-size: 18px; }
.article { max-width: 780px; }
.article h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 1.4em; }
.article ul { padding-left: 1.1em; }
.article li { margin-bottom: .5em; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.gallery img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }

/* Scroll animation: values are written by js/main.js from the scroll position, so they run backwards when scrolling up */
.js .reveal { opacity: 0; }
html.no-anim .reveal, .no-anim .hero .wrap > * { opacity: 1 !important; animation: none !important; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.wi { display: inline-block; will-change: translate; }
.hero .wrap { will-change: translate, opacity; }
.js .hero .wrap > * { animation: rise .95s cubic-bezier(.2,.7,.2,1) both; }
.js .hero .wrap > :nth-child(1) { animation-delay: .1s; }
.js .hero .wrap > :nth-child(2) { animation-delay: .25s; }
.js .hero .wrap > :nth-child(3) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; translate: 0 44px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; }
  .js .hero .wrap > * { animation: none; }
  .scroll-cue *, .scroll-cue__arrows svg { animation: none !important; }
  .project img, .btn, .brand, .chip span, .field *, .form__body { transition: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services, .services-page { grid-template-columns: repeat(2, 1fr); }
  .services__head { grid-column: 1 / -1; padding: 0 0 12px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .project__side { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 18px; }
  :root { --pad: 20px; --head-h: 82px; }
  .photo-row, .counters, .contact__grid, .split, .reviews, .meta { grid-template-columns: 1fr; }
  .photo-row { gap: 14px; }
  .services, .services-page { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; padding-block: 48px 32px; }
  .footer__bottom { flex-direction: column; }
  .project img { min-height: 240px; aspect-ratio: 4 / 3; }
  .project__title { left: 20px; bottom: 18px; }
  .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .hero--full { min-height: 100vh; min-height: 100svh; }
  .hero h1 { max-width: 9ch; }
  .hero--full h1 { max-width: none; font-size: clamp(30px, 12vw, 64px); }
  .video-banner video { aspect-ratio: 4 / 3; }
}

/* Short landscape screens (phones on their side) */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --head-h: 60px; }
  .hero--full .wrap { padding-block: 16px 76px; }
  .hero--full h1 { font-size: clamp(26px, 9vh, 44px); margin-bottom: 10px; }
  .hero:not(.hero--full) h1 { font-size: clamp(26px, 8vh, 40px); }
  .hero p { font-size: 15px; margin-bottom: 16px; }
  .hero .btn { height: 42px; font-size: 13px; }
  .scroll-cue__line { height: 22px; }
}
.scroll-cue__label { white-space: nowrap; }
@media (max-width: 720px) { .scroll-cue__label { font-size: 12px; letter-spacing: .18em; text-indent: .18em; } }

/* Instagram: the 8 latest posts, fixed, spread over the full width */
.insta { padding-bottom: clamp(32px, 4vw, 64px); }
.insta .section__head { max-width: 38em; margin-bottom: clamp(24px, 3vw, 40px); }
.insta .section__head a { color: #000; font-weight: 700; border-bottom: 2px solid var(--orange); }
.ig-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(8px, .9vw, 14px); padding-inline: clamp(12px, 1.6vw, 28px); }
.ig-row .ig-card { flex: none; height: auto; width: auto; max-width: none; aspect-ratio: 5 / 12; min-width: 0; border-radius: clamp(18px, 2.4vw, 36px); }
.ig-row .ig-card__over { left: 12px; right: 8px; flex-direction: column; align-items: flex-start; gap: 2px; }
.ig-row .ig-card__over b { font-size: clamp(15px, 1.3vw, 20px); }
.ig-row .ig-card__over time { font-size: 12px; }
.ig-row .ig-card__badge { top: 10px; right: 10px; width: 26px; height: 26px; }
.ig-cta { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 1024px) { .ig-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ig-row .ig-card { aspect-ratio: 3 / 5; } }
@media (max-width: 720px) { .ig-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ig-row .ig-card { aspect-ratio: 4 / 5; } }
.ig-card { position: relative; flex: 0 0 auto; height: var(--ig-h, 360px); aspect-ratio: 4 / 5; max-width: 80vw; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; color: #fff; background: linear-gradient(150deg, #2b2b2b 0%, #3a2c1a 60%, #6b4a1f 100%); isolation: isolate; user-select: none; -webkit-user-drag: none; }
.ig-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .4s; -webkit-user-drag: none; }
.ig-card > svg { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; translate: -50% -50%; opacity: .35; }
.ig-card.is-missing > img { opacity: 0; }
.ig-card:not(.is-missing) > svg { display: none; }
.ig-card:hover > img { transform: scale(1.06); }
.ig-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 55%, rgba(0,0,0,.72) 100%); opacity: .85; transition: opacity .35s; }
.ig-card:hover::after { opacity: 1; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(224,151,63,.35) 100%); }
.ig-card__badge { position: absolute; z-index: 2; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; backdrop-filter: blur(6px); }
.ig-card__badge svg { width: 14px; height: 14px; }
.ig-card__over { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; translate: 0 6px; opacity: .92; transition: translate .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.ig-card__over b { font-family: var(--font-head); font-weight: 400; font-size: 20px; }
.ig-card__over time { font-size: 13px; opacity: .8; }
.ig-card:hover .ig-card__over { translate: 0 0; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ig-card > img, .ig-card__over { transition: none; } }

/* Accordion gallery (Service: Arbeitsweise) */
.accordion { --acc-h: clamp(420px, 66vh, 660px); container-type: inline-size; display: flex; gap: 10px; height: var(--acc-h); margin-top: 56px; }
.acc__item { position: relative; flex: 1 1 0; min-width: 0; border-radius: 16px; overflow: hidden; background: #111; color: #fff; cursor: pointer; isolation: isolate; transition: flex-grow .8s cubic-bezier(.22,1,.36,1); -webkit-tap-highlight-color: transparent; }
.acc__item.is-active { flex-grow: 4.33; cursor: default; }
.acc__frame { position: absolute; inset: 0; overflow: hidden; }
.acc__media { position: absolute; left: 50%; top: 50%; width: 64cqw; height: 100%; translate: calc(-50% + var(--px, 0px)) calc(-50% + var(--py, 0px)); transition: translate .6s cubic-bezier(.22,1,.36,1); }
.acc__media img, .acc__media video { max-width: none; width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: filter .8s ease, scale 1.1s cubic-bezier(.22,1,.36,1); filter: grayscale(1) brightness(.5); -webkit-user-drag: none; }
.acc__item.is-active .acc__media img, .acc__item.is-active .acc__media video { filter: none; scale: 1.04; }
.acc__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 38%, rgba(0,0,0,.82) 100%); opacity: 0; transition: opacity .6s ease; }
.acc__item.is-active::after { opacity: 1; }
.acc__cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; gap: 14px; align-items: stretch; pointer-events: none; }
.acc__bar { flex: none; width: 3px; border-radius: 3px; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.acc__item.is-active .acc__bar { transform: none; transition-delay: .25s; }
.acc__item:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 720px) {
  .accordion { --acc-h: clamp(520px, 78vh, 640px); flex-direction: column; gap: 8px; }
  .acc__media { width: 100%; height: calc(var(--acc-h) * .62); translate: calc(-50% + var(--px, 0px)) calc(-50% + var(--py, 0px)); }
  .acc__item.is-active { flex-grow: 4.6; }
  .acc__cap { left: 16px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .acc__item, .acc__media, .acc__media img, .acc__bar, .acc__item::after { transition: none; } }

/* Service blocks: same behaviour as the original site (the hovered card grows, text and button slide in) */
.svc-rows { display: grid; gap: 30px; }
.svc-row { display: flex; flex-direction: column; gap: 30px; }
.svc { position: relative; flex: 0 0 auto; min-width: 0; height: 450px; border-radius: 10px; overflow: hidden; text-align: center; color: #fff; isolation: isolate; transition: flex .4s cubic-bezier(.38,.005,.215,1); }
.svc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.svc__content { position: absolute; inset: 0; z-index: 2; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(0,0,0,.5); }
.svc__title { margin: 0 0 22px; font: 400 28px/28px var(--font-head); color: #fff; transition: .35s; }
.svc__desc { max-width: 390px; max-height: 0; overflow: hidden; transition: .35s; }
.svc__desc p { margin: 0; font-size: 22px; line-height: 30px; color: #fff; }
.svc:hover .svc__desc, .svc:focus-within .svc__desc { max-height: 350px; }
@media (min-width: 768px) { .svc-row { flex-direction: row; } .svc { flex: 1 1 0; } }
@media (min-width: 880px) { .svc:hover, .svc:focus-within { flex: 1.9 1 0%; } }
@media (min-width: 768px) and (max-width: 1100px) { .svc__content { padding: 28px 20px; } .svc__title { font-size: 24px; line-height: 26px; } .svc__desc p { font-size: 17px; line-height: 24px; } }
@media (min-width: 1201px) { .svc { height: 600px; } }
/* touch screens have no hover: show everything */
@media (hover: none) {
  .svc__desc { max-height: 350px; padding-bottom: 24px; }
}
@media (max-width: 480px) { .svc__content { padding: 28px 22px; } .svc__desc p { font-size: 18px; line-height: 26px; } }
@media (prefers-reduced-motion: reduce) { .svc, .svc__desc { transition: none; } }

/* Über uns: group photo shown almost complete (3:2 picture; height follows the width, capped to the screen), title in the middle */
.hero--photo { min-height: clamp(420px, min(100vh, 66.7vw), 1100px); min-height: clamp(420px, min(100svh, 66.7vw), 1100px); align-items: center; text-align: center; background-position: center 64%; }
.hero--photo::before { background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(0,0,0,.4) 0%, rgba(0,0,0,.12) 100%), linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 40%); }
.hero--photo h1 { max-width: none; margin-inline: auto; margin-bottom: 0; font-size: clamp(40px, 5vw, 88px); }
.hero--photo h1 span { white-space: nowrap; }
/* smaller screens: two lines */
@media (max-width: 900px) {
  .hero--photo h1 { font-size: clamp(30px, 8.6vw, 64px); }
  .hero--photo h1 span { display: block; }
}

/* Service: taller banner, text stays bottom-left */
.hero--tall { min-height: clamp(460px, min(100vh, 66.7vw), 1100px); min-height: clamp(460px, min(100svh, 66.7vw), 1100px); background-position: center 30%; }
.hero--tall h1 { max-width: 14ch; font-size: clamp(40px, 5.4vw, 92px); }
.hero--tall .wrap { padding-bottom: clamp(48px, 7vw, 110px); }
@media (max-width: 720px) { .hero--tall { min-height: max(560px, 135vw); background-position: 52% 0; } .hero--tall h1 { font-size: clamp(34px, 9.4vw, 52px); } }

/* Flip gallery (Über uns) */
.team-grid img { cursor: zoom-in; transition: filter .3s; }
.team-grid img:hover { filter: brightness(1.06); }
.flip-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.65); cursor: zoom-out; }
.flip-fly { position: fixed; z-index: 1002; object-fit: cover; cursor: zoom-out; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); outline: none; max-width: none; }
.hero--photo .eyebrow { margin-bottom: 20px; text-shadow: 0 1px 10px rgba(0,0,0,.6); }

/* Header: the logo sits as far from the left edge as KONTAKT does from the right */
@media (min-width: 1025px) { .site-header .wrap { padding-left: var(--edge); } }

/* Home service cards: photo + dark liquid glass on hover */
.card { position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .6s ease; }
.card > * { position: relative; }
.card__bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: opacity .7s ease, transform 1.6s cubic-bezier(.2,.7,.2,1); will-change: transform, opacity; }
.card::before, .card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.card::before { z-index: -2; background: linear-gradient(145deg, rgba(12,12,14,.5) 0%, rgba(12,12,14,.26) 50%, rgba(12,12,14,.56) 100%); -webkit-backdrop-filter: blur(3px) saturate(1.5) brightness(.95); backdrop-filter: blur(3px) saturate(1.5) brightness(.95); }
.card::after { background: radial-gradient(360px circle at var(--mx, 25%) var(--my, 0%), rgba(255,255,255,.24), rgba(255,255,255,0) 60%), linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 30%); }
.card h3, .card p, .card svg { transition: color .5s ease, fill .5s ease, text-shadow .5s ease; }
.card:hover, .card:focus-within { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.16), inset 0 -50px 90px -60px rgba(255,255,255,.22), 0 22px 50px -28px rgba(0,0,0,.55); }
.card:hover .card__bg, .card:focus-within .card__bg { opacity: 1; transform: scale(1.14); }
.card:hover::before, .card:hover::after, .card:focus-within::before, .card:focus-within::after { opacity: 1; }
.card:hover h3, .card:hover p, .card:focus-within h3, .card:focus-within p { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.card:hover svg, .card:focus-within svg { fill: #fff; }
@media (prefers-reduced-motion: reduce) { .card__bg { transition: opacity .3s; transform: none !important; } }

/* Kontakt: map and form side by side, full width */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(560px, 82svh, 860px); }
.kontakt__map { position: relative; min-height: 440px; background: #e9e5dd; }
.kontakt__map #map { position: absolute; inset: 0; z-index: 0; font-family: inherit; background: #e9e5dd; }
.map__card { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); z-index: 500; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 26px; color: #fff; border-radius: 20px; background: rgba(14,14,16,.72); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.1), 0 20px 50px -20px rgba(0,0,0,.55); }
.map__card h3 { color: #fff; margin: 0; font-size: clamp(22px, 2vw, 30px); }
.kontakt__form { position: relative; isolation: isolate; background: #2b2b2b center / cover no-repeat; display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 72px); }
.kontakt__form::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(0,0,0,.28), rgba(0,0,0,.5)); }
.kontakt__form .form { width: 100%; max-width: 680px; background: rgba(247,247,247,.88); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-radius: 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 30px 70px -30px rgba(0,0,0,.65); }
.pin { background: none; border: 0; }
.pin img { position: relative; display: block; width: 56px; height: 56px; border-radius: 15px; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(0,0,0,.4); background: #000; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; box-shadow: 4px 4px 10px rgba(0,0,0,.25); z-index: -1; }
.pin__pulse { position: absolute; left: 50%; bottom: 0; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: rgba(240,172,91,.55); animation: pinpulse 2.4s ease-out infinite; z-index: -2; }
@keyframes pinpulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin__pulse { animation: none; opacity: 0; } }
.leaflet-container { font-family: inherit; }
@media (max-width: 900px) {
  .kontakt { grid-template-columns: 1fr; }
  .kontakt__map { min-height: 420px; }
  .kontakt__form { padding: 28px var(--pad); }
}

/* Footer: first lines of the three columns start on the same line */
.footer__nav a { display: block; line-height: 1; }
.footer__contact h3 { line-height: 1; margin-top: 8px; }

/* the legal links stay clear of the round "to top" button */


/* Home: services title fills the top of its cell, tall condensed type */
.services__head { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; }
.services__head h2 { width: min(100%, 480px); margin: -.04em 0 0; font: 400 80px/.9 "Anton", var(--font-head); text-transform: uppercase; letter-spacing: .005em; color: #000; }
/* "fit" titles: every line is a block that js/main.js sizes so all lines are exactly as wide as the title */
.fit .fl { display: block; width: max-content; white-space: nowrap; }

/* Home: photo carousel (cylinder of photos, same idea as React Bits "Circular Carousel") */
.intro { overflow-x: clip; }
.ccar { --cw: 420px; --ch: 280px; --R: 380px; position: relative; width: 100vw; margin: 8px 0 0 calc(50% - 50vw); height: calc(var(--ch) * 1.7); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline-offset: -6px; }
.ccar.is-drag { cursor: grabbing; }
.ccar__stage { position: absolute; inset: 0; perspective: 2500px; perspective-origin: 50% 50%; }
.ccar__cam { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--R) * -1)) rotateX(-5deg); }
.ccar__ring { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ccar__card { position: absolute; left: calc(var(--cw) / -2); top: calc(var(--ch) / -2); width: var(--cw); height: var(--ch); margin: 0; border-radius: var(--radius); overflow: hidden; background: #111; backface-visibility: visible; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.ccar__card img { width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ccar__card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--d, 0); pointer-events: none; }

/* Projects: the two pictures float in diagonally (JS drives the values) */
.dark-band { overflow-x: clip; }
.project[data-float] { will-change: translate, rotate, scale, opacity; }

/* Shimano strip: a light sweeps over it while it opens from the middle */
.sponsor-banner { position: relative; }
.sponsor-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 62%); translate: calc(var(--sheen, -1) * 100%) 0; }

/* Brands: always visible on phones and tablets; no blend mode there (it can render blank on some mobile browsers) */
@media (max-width: 1024px) { .logo-fit img { mix-blend-mode: normal; filter: grayscale(1); opacity: .85; } .brand.is-black .logo-fit img { filter: brightness(0); } }
a.brand { color: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* Brands: always visible on phones
@media (max-width: 1024px) { .js .brand.reveal { opacity: 1; translate: none; } }

/* Video banner: plain white; the video shows only inside the huge letters (React Bits "Masked Heading" idea) */
.vband { position: relative; overflow: hidden; isolation: isolate; background: #fff; }
.vband__mask { position: relative; isolation: isolate; }
.vband__fill { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; scale: 1.1; filter: saturate(1.2) contrast(1.05); }
.vband__title { position: relative; margin: 0; padding: clamp(20px, 3vw, 56px) 2%; text-align: center; background: #fff; color: #000; mix-blend-mode: screen; font: 400 100px/.92 "Anton", var(--font-head); text-transform: uppercase; letter-spacing: -.012em; }
.vband__title .fl { margin-inline: auto; }

@media (max-width: 720px) {
  .footer__hours { grid-template-columns: 1fr; }
  .footer__bottom { padding-bottom: 104px; }
  .footer__bottom nav { flex-wrap: wrap; gap: 12px 24px; }
}

/* Home services: wider grid, every card the same, big and bold */
.wrap.services { max-width: calc(1700px + var(--pad) * 2); padding-inline: clamp(14px, 1.6vw, 32px); gap: clamp(14px, 1.4vw, 22px); grid-auto-rows: minmax(clamp(340px, 29vw, 460px), 1fr); }
.services .card { min-height: 0; padding: clamp(28px, 2.6vw, 42px); gap: 20px; }
.services .card h3 { font-size: clamp(26px, 2.5vw, 40px); }
.services .card p { font-size: clamp(18px, 1.5vw, 23px); font-weight: 700; line-height: 1.42; color: #2a2a2a; }
.services .card svg { width: 46px; height: 46px; }
@media (max-width: 1024px) { .wrap.services { grid-auto-rows: minmax(320px, 1fr); } }
@media (max-width: 720px) { .wrap.services { grid-auto-rows: auto; } .services .card { min-height: 300px; } }

/* Footer: everything centred on the page */
.site-footer { text-align: center; }
.site-footer .wrap { padding-inline: var(--edge); }
.footer__main { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; column-gap: clamp(48px, 9vw, 160px); }
.footer__brand { align-items: center; }
.footer__contact h3 { border-bottom: 0; padding-bottom: 0; margin-bottom: 22px; }
.footer__hours { justify-content: center; text-align: center; }
.footer__bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.footer__bottom nav { justify-content: center; }
@media (max-width: 720px) { .footer__main { grid-template-columns: 1fr; } .footer__hours { grid-template-columns: 1fr; } .footer__bottom { padding-bottom: 104px; } .footer__bottom nav { flex-wrap: wrap; gap: 12px 24px; } }

.services .card:hover p, .services .card:focus-within p { color: #fff; }
.services .card:hover h3, .services .card:focus-within h3 { color: #fff; }

/* contact sits closer to the Instagram strip */
.contact { padding-top: 0; position: relative; z-index: 1; }
.contact h2 { margin-top: 0; }
.dark-band .section__head p { text-wrap: balance; }

/* the services grid must never grow with the (nowrap) title lines while js/main.js measures them */
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services__head { min-width: 0; }
@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* Logos on a white (not transparent) picture: on hover keep the white so the orange card shows through the multiply blend, instead of a black block */
.brand.is-opaque:hover .logo-fit img, .brand.is-opaque:focus-within .logo-fit img { filter: grayscale(1) contrast(1.15); }

/* address bubble sits on the right of the map */
.map__card { left: auto; right: clamp(16px, 3vw, 40px); }

/* form: glass at 30%, text turns white to stay readable on the photo */
.kontakt__form .form { background: rgba(247,247,247,.3); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.18), 0 30px 70px -30px rgba(0,0,0,.65); }
.kontakt__form .form__title, .kontakt__form .topics legend, .kontakt__form .form__result h3, .kontakt__form .form__result p { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.kontakt__form .form__note { color: rgba(255,255,255,.88); text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.kontakt__form .form__note a { color: #fff; }
.kontakt__form .form__result .tick { color: var(--orange); }

/* big centred heading above the map */
.contact h2 { max-width: none; text-align: center; font-size: clamp(44px, 7.4vw, 128px); line-height: 1; margin-bottom: clamp(24px, 3.4vw, 52px); }


/* Service process: rotated titles; on hover the title fades away, then the text fades in */
.process__head { max-width: 1000px; margin-bottom: clamp(32px, 4vw, 64px); }
.process__head h2 { font-size: clamp(36px, 4.8vw, 76px); line-height: 1.04; margin-bottom: .45em; }
.process__head p.lead { margin: 0; max-width: 40em; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.45; color: var(--text); }
.acc__title { position: absolute; z-index: 2; left: 50%; bottom: 26px; translate: -50% 0; transform: rotate(180deg); writing-mode: vertical-rl; font: 400 clamp(24px, 2.4vw, 38px)/1 var(--font-head); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.55); pointer-events: none; opacity: 1; transition: opacity .6s .35s ease; }
.acc__item.is-active .acc__title { opacity: 0; transition: opacity .3s ease; }
.acc__txt { max-width: 34em; opacity: 0; translate: 0 18px; transition: opacity .25s ease, translate .25s ease; }
.acc__item.is-active .acc__txt { opacity: 1; translate: 0 0; transition: opacity .8s .5s ease, translate .9s .5s cubic-bezier(.22,1,.36,1); }
.acc__txt h4 { margin: 0 0 14px; font: 400 clamp(26px, 2.6vw, 42px)/1.1 var(--font-head); color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.acc__txt p { margin: 0; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.38; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
@media (max-width: 720px) {
  .acc__title { left: 18px; bottom: auto; top: 50%; translate: 0 -50%; transform: none; writing-mode: horizontal-tb; font-size: 22px; max-width: calc(100% - 36px); white-space: normal; }
  .acc__txt h4 { font-size: 24px; margin-bottom: 8px; }
  .acc__txt p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .acc__title, .acc__txt { transition: none; } }

/* honeypot field for the contact form: invisible to people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
