/* ==========================================================================
   AEN NoLimit – Website
   Reduktion: Typografie trägt, Haarlinien gliedern, Farbe ist Signal.
   ========================================================================== */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 200; font-display: swap; src: url(../fonts/inter-tight-latin-200-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/inter-tight-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-tight-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-tight-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-tight-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 200 600; font-display: swap; src: url(../fonts/inter-tight-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --accent: #ff1f1f;
  --bg: #0b0b0c;
  --surface: #121213;
  --surface-2: #19191b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f5f4;
  --text-2: #a3a3a0;
  --text-3: #6e6e6b;
  --ok: #3fb27f; --warn: #d9a441; --bad: #e5484d;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --spring: cubic-bezier(.16, 1, .3, 1);
  --header: 76px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 200; letter-spacing: -.04em; }
h3 { font-size: 20px; font-weight: 400; letter-spacing: -.015em; line-height: 1.3; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }
.icon { width: 18px; height: 18px; flex: none; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); } .wrap { padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.muted { color: var(--text-2); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 2px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0; cursor: pointer; white-space: nowrap; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease), transform .2s; }
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.985); }
.btn .icon { transition: transform .35s var(--spring); } .btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); transition: left .9s var(--ease); }
.btn-primary:hover::after { left: 130%; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .3s; }
.text-link:hover { border-color: var(--text); }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--spring); border-bottom: 1px solid transparent; }
body:not(.has-hero) .site-header, .site-header.is-scrolled { background: rgba(11, 11, 12, .82); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; } @media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-in { height: var(--header); display: flex; align-items: center; gap: 32px; }
.brand-logo { height: 30px; width: auto; }
.main-nav { flex: 1; }
.main-nav .menu, .mobile-menu .menu { list-style: none; margin: 0; padding: 0; }
.main-nav .menu { display: flex; gap: 32px; justify-content: center; }
.main-nav a { position: relative; font-size: 13px; letter-spacing: .02em; color: var(--text-2); transition: color .3s; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--spring); }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--text); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-link { font-size: 13px; color: var(--text-2); transition: color .3s; } .header-link:hover { color: var(--text); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .5s var(--spring), top .5s var(--spring); }
.menu-toggle span:first-child { top: 18px; } .menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .main-nav, .header-link { display: none; }
  .menu-toggle { display: block; }
  .header-in { justify-content: space-between; }
  .header-actions { gap: 8px; }
}
@media (max-width: 480px) { .header-actions .btn-sm { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--header) + 40px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu .menu a { display: block; padding: 16px 0; font-size: clamp(28px, 8vw, 44px); font-weight: 200; letter-spacing: -.03em; transform: translateY(110%); transition: transform .8s var(--spring); }
.mobile-menu.is-open .menu a { transform: none; }
.mobile-menu .menu-extra { margin-top: 24px; }
.mobile-menu .menu-extra a { font-size: 18px; font-weight: 400; color: var(--text-2); padding: 12px 0; }
.mobile-menu-foot { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.menu-open { overflow: hidden; }

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #050506; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: translateY(var(--py, 0)) scale(1.12); opacity: 0; animation: heroIn 2.6s var(--spring) .1s forwards; will-change: transform; }
@keyframes heroIn { to { opacity: 1; transform: translateY(var(--py, 0)) scale(1); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,6,.85) 0%, rgba(5,5,6,.35) 45%, rgba(5,5,6,0) 70%), linear-gradient(180deg, rgba(5,5,6,.6) 0%, rgba(5,5,6,0) 25%, rgba(5,5,6,0) 60%, var(--bg) 100%); }
.hero-sheen { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.08) 48%, transparent 60%); transform: translateX(-120%); animation: sweep 2.8s 1.2s var(--ease) forwards; }
@keyframes sweep { to { transform: translateX(120%); } }
.hero-content { padding-top: calc(var(--header) + 80px); padding-bottom: 56px; }
.hero-title { font-size: clamp(48px, 9vw, 132px); font-weight: 200; letter-spacing: -.055em; line-height: .95; margin: 22px 0 32px; }
.hero-title .line-reveal { display: block; }
.hero-text { max-width: 520px; font-size: 17px; color: var(--text-2); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.hero-foot > * { display: inline-flex; align-items: center; gap: 10px; }
.hero-foot a:hover { color: var(--text); }
.scroll-cue { margin-left: auto; width: 1px; height: 40px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 640px) { .scroll-cue { display: none; } .hero-img { object-position: 64% 50%; } .hero-media::after { background: linear-gradient(180deg, rgba(5,5,6,.55) 0%, rgba(5,5,6,.1) 30%, rgba(5,5,6,.6) 62%, var(--bg) 100%); } }

/* Text-Animationen */
.line-reveal { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: bottom; }
.line-reveal > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.3s var(--spring) forwards; animation-delay: calc(.5s + var(--d, 0s)); }
@keyframes lineUp { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 1.2s var(--spring) 1.1s forwards; }
.hero-foot.fade-up { animation-delay: 1.4s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--spring); transition-delay: calc(var(--k, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { display: grid; gap: 18px; }

/* Leistungen als Zeilen, Bild folgt dem Zeiger */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 48px; align-items: center; gap: 32px; padding: 34px 0; transition: padding .6s var(--spring); }
.service-name { font-size: clamp(24px, 3vw, 38px); font-weight: 200; letter-spacing: -.035em; line-height: 1.1; transition: transform .6s var(--spring); }
.service-text { color: var(--text-2); font-size: 15px; max-width: 440px; }
.service-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .5s var(--spring); }
.service:hover .service-name { transform: translateX(14px); }
.service:hover .service-go { background: var(--text); color: var(--bg); border-color: var(--text); transform: rotate(-45deg); }
.service-float { position: fixed; z-index: 5; left: 0; top: 0; width: 380px; aspect-ratio: 16 / 10; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .4s var(--ease), transform .6s var(--spring); border-radius: 2px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.service-float img { width: 100%; height: 100%; object-fit: cover; }
.service-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 860px) { .service { grid-template-columns: minmax(0, 1fr) 44px; gap: 10px 16px; padding: 26px 0; } .service-text { grid-column: 1; grid-row: 2; } .service-go { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; } .service-float { display: none; } }

/* Bildband */
.band { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; margin: clamp(40px, 6vw, 80px) 0 clamp(88px, 12vw, 168px); }
.band-media { position: absolute; inset: 0; z-index: -1; }
.band-media img { width: 100%; height: 125%; object-fit: cover; object-position: 30% 50%; transform: translateY(var(--py, 0)); will-change: transform; }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,6,0) 20%, rgba(5,5,6,.92) 62%), linear-gradient(180deg, var(--bg), rgba(5,5,6,0) 18%, rgba(5,5,6,0) 82%, var(--bg)); }
.band-content { display: grid; gap: 28px; justify-items: start; padding-left: max(var(--gutter), 52%); }
.band-quote { font-size: clamp(26px, 3.2vw, 44px); font-weight: 200; letter-spacing: -.03em; line-height: 1.2; }
@media (max-width: 860px) { .band { min-height: 0; padding: 120px 0 72px; } .band-content { padding-left: var(--gutter); } .band-media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(5,5,6,.2) 30%, rgba(5,5,6,.85) 70%, var(--bg) 100%); } }

/* Vorteile */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.benefit { padding: 40px 32px 44px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.benefit:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.benefit-icon { width: 28px; height: 28px; color: var(--text); margin-bottom: 14px; transition: transform .6s var(--spring), color .3s; }
.benefit:hover .benefit-icon { transform: translateY(-4px); color: var(--accent); }
.benefit p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } .benefit:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; } .benefit:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } .benefit:nth-child(2n) { padding-left: 0; border-left: 0; } .benefit { padding: 28px 0; } }

/* Kundenportal */
.portal-promo { overflow: hidden; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.portal-copy { display: grid; gap: 26px; justify-items: start; }
.lead { font-size: 18px; color: var(--text-2); line-height: 1.65; max-width: 560px; }
.check-list { list-style: none; margin: 8px 0; padding: 0; border-top: 1px solid var(--line); width: 100%; max-width: 560px; }
.check-list li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 5px; border: solid var(--accent); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.phone-wrap { display: grid; place-items: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,31,31,.10), transparent 70%); }
.phone { position: relative; width: min(320px, 78vw); aspect-ratio: 320 / 692; border-radius: 48px; padding: 10px; background: linear-gradient(145deg, #2a2a2e, #0f0f11 40%, #1d1d20); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 60px 120px -30px rgba(0,0,0,.95); transform: rotate(-4deg) translateY(var(--py, 0)); transition: transform 1.2s var(--spring); }
.phone:hover { transform: rotate(0deg) translateY(var(--py, 0)); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 38px; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 16px; background: #000; }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { display: grid; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-2); position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--text); transition: width 1.6s var(--spring) .3s; }
.steps li.in::before { width: 100%; }
.step-no { font-size: 64px; font-weight: 200; letter-spacing: -.05em; line-height: 1; color: var(--text-3); }
.steps p { color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Galerie-Laufband */
.strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: clamp(200px, 26vw, 340px); width: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; filter: saturate(.9); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Kontakt */
.contact-band { border-top: 1px solid var(--line); padding-top: clamp(72px, 10vw, 140px) !important; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.contact-grid > div:first-child { display: grid; gap: 18px; }
.contact-phone { font-size: clamp(36px, 6vw, 84px); font-weight: 200; letter-spacing: -.045em; line-height: 1; transition: color .3s; }
.contact-phone:hover { color: var(--accent); }
.contact-mail { font-size: clamp(18px, 2vw, 24px); color: var(--text-2); }
.contact-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.contact-facts dd { margin: 0; line-height: 1.7; display: grid; gap: 10px; justify-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-facts { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; padding: calc(var(--header) + clamp(64px, 10vw, 140px)) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero.has-image { min-height: 64vh; display: flex; align-items: flex-end; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 120%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,.5), rgba(5,5,6,.2) 40%, var(--bg)); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-title { font-size: clamp(44px, 7vw, 104px); font-weight: 200; letter-spacing: -.05em; line-height: .98; }
.page-intro { font-size: 18px; color: var(--text-2); max-width: 640px; }
.page-body { padding: clamp(56px, 8vw, 112px) 0 clamp(88px, 12vw, 160px); }
.entry { max-width: 860px; margin-inline: auto; }
.entry > * + * { margin-top: 1.2em; }
.entry h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 2em; }
.entry h3 { margin-top: 1.6em; }
.entry p, .entry li { color: var(--text-2); line-height: 1.75; }
.entry a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.entry a:hover { text-decoration-color: var(--text); }
.entry a.aen-btn, .entry .aen-contact-data a { text-decoration: none; }
.entry img { border-radius: 2px; }
.entry hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.entry blockquote { margin: 2em 0; padding-left: 24px; border-left: 1px solid var(--accent); font-size: 22px; font-weight: 300; color: var(--text); }
.entry table { width: 100%; border-collapse: collapse; } .entry th, .entry td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); }
.entry .aen-embed, .entry .aen-gallery { max-width: none; }
.page-template-default .entry:has(.aen-embed), .entry:has(.aen-gallery) { max-width: 1320px; }
.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 160px 1fr 24px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-row-title { font-size: 22px; font-weight: 300; }
.notfound { min-height: 80vh; display: flex; align-items: center; border: 0; }
.notfound .hero-actions { margin-top: 12px; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(72px, 10vw, 140px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-cta { display: grid; gap: 18px; padding-bottom: clamp(56px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.footer-big { display: inline-flex; align-items: center; gap: .3em; font-size: clamp(44px, 9vw, 128px); font-weight: 200; letter-spacing: -.055em; line-height: 1; transition: color .4s; }
.footer-big .icon { width: .6em; height: .6em; stroke-width: 1; transition: transform .6s var(--spring); }
.footer-big:hover { color: var(--accent); } .footer-big:hover .icon { transform: translateX(.15em) rotate(-45deg); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.footer-grid .eyebrow { margin-bottom: 14px; }
.footer-grid p + p { margin-top: 12px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand img { width: 130px; margin-bottom: 18px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; }
.partners { display: grid; gap: 14px; justify-items: start; }
.partners img { height: 30px; width: auto; filter: grayscale(1) invert(1) brightness(.9); mix-blend-mode: screen; opacity: .7; transition: opacity .3s; }
.partners img:hover { opacity: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.footer-bottom .legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WordPress-Standards */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.alignwide { max-width: 1100px; margin-inline: auto; } .alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption, .wp-caption-text { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.nav-links { display: flex; gap: 16px; margin-top: 40px; } .page-numbers { padding: 8px 12px; border: 1px solid var(--line-2); } .page-numbers.current { background: var(--text); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .fade-up, .line-reveal > span, .hero-img { opacity: 1 !important; transform: none !important; }
}

/* Titelbild: Auto rechts, Text links frei */
@media (min-width: 900px) {
  .hero-img { left: auto; right: -4%; width: 78%; object-position: 50% 58%; }
  .hero-media::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(11,11,12,.92) 22%, rgba(11,11,12,.25) 46%, rgba(11,11,12,0) 64%), linear-gradient(180deg, rgba(5,5,6,.6) 0%, rgba(5,5,6,0) 22%, rgba(5,5,6,0) 62%, var(--bg) 100%); }
}
.contact-phone { white-space: nowrap; font-size: clamp(32px, 5.4vw, 76px); }
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-media { bottom: auto; height: 62vw; min-height: 260px; }
  .hero-img { object-position: 62% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(5,5,6,.5) 0%, rgba(5,5,6,0) 30%, rgba(5,5,6,0) 60%, var(--bg) 100%); }
  .hero-content { padding-top: calc(var(--header) + max(48vw, 200px)); padding-bottom: 40px; }
  .hero-title { margin-top: 14px; }
}

/* ---------- Unterseiten: breite Inhalte, Seitenkopf mit Bild, Passwortschutz ---------- */
.entry.entry-wide { max-width: 1320px; }
.page-hero.has-image { min-height: min(72vh, 680px); }
.page-hero.has-image .page-hero-media img { object-fit: cover; object-position: 60% 55%; transform: translateY(var(--py, 0)) scale(1.04); animation: heroIn 2.4s var(--spring) both; }
.page-hero.has-image .page-hero-media::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(11,11,12,.75) 30%, rgba(11,11,12,.1) 65%), linear-gradient(180deg, rgba(5,5,6,.5) 0%, rgba(5,5,6,0) 30%, rgba(5,5,6,0) 60%, var(--bg) 100%); }
@media (max-width: 760px) { .page-hero.has-image .page-hero-media::after { background: linear-gradient(180deg, rgba(5,5,6,.55) 0%, rgba(5,5,6,.2) 35%, rgba(5,5,6,.75) 70%, var(--bg) 100%); } }
.page-intro.fade-up { animation-delay: .8s; }
.post-password-form { max-width: 520px; display: grid; gap: 18px; }
.post-password-form p:first-child { color: var(--text-2); }
.post-password-form label { display: grid; gap: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.post-password-form input[type=password] { height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; color: var(--text); font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; }
.post-password-form input[type=password]:focus { outline: none; border-color: var(--text); }
.post-password-form input[type=submit] { height: 50px; padding: 0 26px; border: 1px solid var(--text); border-radius: 2px; background: var(--text); color: var(--bg); font: inherit; font-weight: 500; cursor: pointer; margin-top: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (min-width: 901px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; } }
/* Lange Links und Wörter (z. B. in der Datenschutzerklärung) umbrechen statt überstehen */
.entry { overflow-wrap: anywhere; hyphens: auto; }
.entry table { display: block; overflow-x: auto; }

/* ==========================================================================
   Startseite kompakt: Leistungen auf einen Blick
   ========================================================================== */
.hero { min-height: min(86svh, 860px); }
.bento-section { padding-top: clamp(64px, 8vw, 112px) !important; }
.bento-section .section-head { margin-bottom: 32px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 17vw, 250px); grid-auto-flow: dense; gap: 10px; }
.tile { position: relative; overflow: hidden; border-radius: 4px; background: var(--surface); isolation: isolate; display: block; color: var(--text); }
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: brightness(.72) saturate(.9); transition: transform 1.4s var(--spring), filter .8s var(--ease); z-index: -2; }
.tile:hover > img { transform: scale(1.12); filter: brightness(.9) saturate(1); }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,6,0) 35%, rgba(5,5,6,.92) 100%); transition: opacity .6s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.14) 48%, transparent 60%); transform: translateX(-130%); }
.tile:hover::after { transform: translateX(130%); transition: transform 1.2s var(--ease); }
.tile-body { position: absolute; left: 20px; right: 64px; bottom: 18px; display: grid; gap: 6px; }
.tile-title { font-size: clamp(17px, 1.5vw, 22px); font-weight: 400; letter-spacing: -.015em; line-height: 1.2; }
.tile-text { font-size: 13px; color: var(--text-2); line-height: 1.45; max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height .6s var(--spring), opacity .4s, transform .6s var(--spring); overflow: hidden; }
.tile:hover .tile-text, .tile:focus-visible .tile-text { max-height: 80px; opacity: 1; transform: none; }
.tile-go { position: absolute; right: 16px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); background: rgba(11,11,12,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: all .5s var(--spring); }
.tile-go .icon { width: 16px; height: 16px; }
.tile:hover .tile-go { background: var(--text); color: var(--bg); border-color: var(--text); transform: rotate(-45deg); }
.js .tile.reveal { transform: translateY(24px) scale(.98); }
.js .tile.reveal.in { transform: none; }
/* Touch-Geräte: Kurztext immer sichtbar */
@media (hover: none) { .tile-text { max-height: 80px; opacity: 1; transform: none; } }

/* App-Kachel */
.tile-app { background: radial-gradient(120% 80% at 70% 20%, #2a0d0d 0%, #120a0a 40%, var(--surface) 75%); border: 1px solid rgba(255,31,31,.18); }
.tile-app-glow { position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; left: 30%; top: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,31,31,.35), transparent 70%); animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-12%, 18%) scale(1.2); opacity: .6; } }
.tile-phone { position: absolute; z-index: 0; top: 7%; left: 50%; width: 46%; max-width: 190px; aspect-ratio: 320 / 692; margin-left: -23%; border-radius: 26px; padding: 6px; background: linear-gradient(145deg, #2a2a2e, #0f0f11 40%, #1d1d20); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.9); transform: rotate(-6deg); animation: floaty 6s ease-in-out infinite; }
.tile-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 21px; }
@keyframes floaty { 50% { transform: rotate(-3deg) translateY(-10px); } }
.tile-app .tile-body { gap: 8px; }
.tile-app .tile-text { max-height: 80px; opacity: 1; transform: none; }
.tile-app .eyebrow { color: var(--accent); }
.tile-app::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,6,0) 45%, rgba(5,5,6,.9) 80%); }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 8px; }
  .tile-app { grid-column: span 2; }
  .tile-app .tile-phone { left: auto; right: 6%; margin-left: 0; width: 34%; top: 8%; }
  .tile-app .tile-body { right: 44%; }
  .tile-body { left: 14px; right: 50px; bottom: 14px; }
  .tile-go { width: 32px; height: 32px; right: 12px; bottom: 12px; }
  .tile-text { font-size: 12px; }
}
@media (max-width: 420px) { .tile:not(.tile-app) .tile-text { display: none; } .bento { grid-auto-rows: 150px; } }

/* Vorteile als laufendes Band */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ribbon-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(18px, 2vw, 26px); font-weight: 200; letter-spacing: -.02em; white-space: nowrap; }
.ribbon span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Aus der Werkstatt (Instagram-Fotos) */
.insta-section { padding-top: clamp(64px, 8vw, 112px) !important; }
.insta-section .section-head { margin-bottom: 28px; }
.row-links { display: flex; gap: 24px; flex-wrap: wrap; }
.insta-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.insta-item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--surface); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.9); transition: transform 1.2s var(--spring), filter .5s; }
.insta-item:hover img { transform: scale(1.08); filter: none; }
@media (max-width: 900px) { .insta-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); } .insta-item { flex: 0 0 42%; scroll-snap-align: start; } }
.insta-row::-webkit-scrollbar { display: none; }
.contact-band { padding-top: clamp(64px, 8vw, 112px) !important; padding-bottom: clamp(64px, 8vw, 112px) !important; }

/* ==========================================================================
   Titelbereich mit animiertem AEN-Logo – Showroom: Spotlight, Lichtleiste,
   Chrom-Buchstaben mit wanderndem Glanz, Spiegelung im Boden
   ========================================================================== */
.hero-logo { min-height: min(92svh, 900px); justify-content: center; text-align: center; background: var(--bg); }
.hl-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hl-spot { position: absolute; left: 50%; top: -30%; width: 140vmax; height: 120vmax; margin-left: -70vmax; background: radial-gradient(closest-side, rgba(255,255,255,.10), rgba(255,255,255,.03) 45%, transparent 70%); opacity: 0; animation: hlFade 2.4s var(--ease) .1s forwards; }
.hl-bar { position: absolute; left: 50%; top: calc(var(--header) + 4vh); width: min(56vw, 760px); height: 2px; margin-left: calc(min(56vw, 760px) / -2); border-radius: 2px; background: linear-gradient(90deg, transparent, #fff 15%, #fff 85%, transparent); box-shadow: 0 0 24px 4px rgba(255,255,255,.35), 0 0 90px 18px rgba(255,255,255,.10); transform: scaleX(0); opacity: 0; animation: hlBar 1.6s var(--spring) .2s forwards; }
.hl-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,.05), transparent 70%); border-top: 1px solid rgba(255,255,255,.04); }
@keyframes hlFade { to { opacity: 1; } }
@keyframes hlBar { 60% { opacity: 1; } to { transform: scaleX(1); opacity: .9; } }

.hl-content { display: grid; justify-items: center; gap: 22px; padding-top: calc(var(--header) + 9vh); padding-bottom: 48px; }
.hl-logo { position: relative; width: min(64vw, 760px); perspective: 1200px; }
.hl-mark { position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 1.2s var(--spring); clip-path: inset(0 100% 0 0); filter: blur(14px); opacity: 0; animation: hlReveal 1.9s var(--spring) .5s forwards; }
.hl-mark-img { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 0 rgba(255,0,0,0)); animation: hlRed 2.4s ease-out 1.9s both; }
@keyframes hlReveal { to { clip-path: inset(0 0 0 0); filter: blur(0); opacity: 1; } }
@keyframes hlRed { 30% { filter: drop-shadow(0 0 22px rgba(255,0,0,.75)); } to { filter: drop-shadow(0 0 8px rgba(255,0,0,.25)); } }
/* Chrom-Buchstaben: gebürstetes Metall, nur auf den Buchstaben */
.hl-metal, .hl-shine { position: absolute; inset: 0; -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat; }
.hl-metal { background: linear-gradient(180deg, #ffffff 0%, #e9e9e7 30%, #a9a9a6 50%, #5f5f5c 52%, #c9c9c6 70%, #f2f2f0 100%); }
/* Wandernder Glanz – zuerst nach dem Einblenden, dann alle paar Sekunden */
.hl-shine { background: linear-gradient(105deg, transparent 0%, transparent 40%, rgba(255,255,255,.0) 42%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 58%, transparent 100%); background-size: 300% 100%; background-position: 150% 0; mix-blend-mode: screen; animation: hlShine 7s var(--ease) 2.2s infinite; }
@keyframes hlShine { 0% { background-position: 150% 0; } 22%, 100% { background-position: -60% 0; } }
.hl-word { width: 62%; height: auto; margin: 4% auto 0; display: block; opacity: 0; transform: scaleX(1.18); filter: blur(8px); animation: hlWord 1.6s var(--spring) 1.5s forwards; }
@keyframes hlWord { to { opacity: .92; transform: none; filter: blur(0); } }
.hl-reflect { position: absolute; left: 0; right: 0; top: 100%; margin-top: 3%; transform: scaleY(-1); opacity: 0; -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.5), transparent 55%); mask-image: linear-gradient(0deg, rgba(0,0,0,.5), transparent 55%); filter: blur(2px); animation: hlReflect 2s var(--ease) 2.2s forwards; pointer-events: none; }
.hl-reflect img { width: 100%; height: auto; display: block; }
@keyframes hlReflect { to { opacity: .16; } }
.hl-eyebrow { margin-top: 4vh; opacity: 0; animation: fadeUp 1.2s var(--spring) 2s forwards; transform: translateY(16px); }
.hl-title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 200; letter-spacing: -.02em; color: var(--text-2); opacity: 0; transform: translateY(16px); animation: fadeUp 1.2s var(--spring) 2.15s forwards; }
.hl-actions { justify-content: center; margin-top: 10px; opacity: 0; transform: translateY(16px); animation: fadeUp 1.2s var(--spring) 2.3s forwards; }
.hl-foot { justify-content: center; opacity: 0; animation: fadeUp 1.2s var(--spring) 2.5s forwards; }
.hl-foot .scroll-cue { margin-left: 0; }
@media (max-width: 760px) {
  .hero-logo { min-height: 0; }
  .hl-content { padding-top: calc(var(--header) + 12vh); gap: 18px; }
  .hl-logo { width: 84vw; }
  .hl-bar { width: 70vw; margin-left: -35vw; top: calc(var(--header) + 6vh); }
  .hl-eyebrow { margin-top: 7vh; }
  .hl-foot { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-mark, .hl-word, .hl-eyebrow, .hl-title, .hl-actions, .hl-foot, .hl-spot, .hl-bar { opacity: 1 !important; clip-path: none !important; filter: none !important; transform: none !important; }
  .hl-reflect { opacity: .16 !important; } .hl-shine { animation: none; }
}
.hl-floor { border-top: 0; }
@keyframes hlReflect { to { opacity: .1; } }
.hl-reflect { -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); mask-image: linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
/* Auf der Startseite erscheint das kleine Logo oben erst beim Scrollen – das große Logo steht im Mittelpunkt */
.home .site-header .brand { transition: opacity .6s var(--ease), transform .6s var(--spring); }
.home .site-header:not(.is-scrolled) .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.hl-floor { -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
/* Vorteile-Band: läuft durchgehend von rechts nach links, auch beim Überfahren */
.ribbon-track { animation: ribbon 45s linear infinite; will-change: transform; }
.ribbon:hover .ribbon-track { animation-play-state: running; }
@keyframes ribbon { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
