/* Die Schreibfabrik – Webseite
   Farben aus dem Logo: Tiefschwarz + Hellgrün #7ED321 */

@font-face { font-family: "Roboto Slab"; src: url("../fonts/RobotoSlab-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/OpenSans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0d0f0c;
  --ink-2: #161a14;
  --ink-3: #20261d;
  --paper: #f5f4ef;
  --paper-2: #ebeae2;
  --white: #ffffff;
  --text: #1b1d19;
  --muted: #5d6258;
  --line: rgba(13, 15, 12, .12);
  --lime: #7ed321;
  --lime-2: #a6ec52;
  --lime-dark: #3f7a0a;
  --serif: "Roboto Slab", Rockwell, Georgia, serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker { font: 700 .78rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lime-dark); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker.center { display: flex; justify-content: center; }
.h-xl { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 750; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; will-change: transform; }
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.45), transparent 60%); opacity: 0; transition: opacity .3s; z-index: -1; }
.btn:hover::after { opacity: 1; }
.btn:hover { box-shadow: 0 14px 34px -12px rgba(126, 211, 33, .65); }
.btn-lime { --bg: var(--lime); --fg: var(--ink); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-ghost { --bg: rgba(255,255,255,.06); --fg: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--lime); }
.btn-lg { padding: 18px 30px; font-size: 1.06rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--lime-dark); }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Navigation ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--lime), var(--lime-2)); z-index: 60; }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background .4s, height .4s var(--ease), box-shadow .4s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { background: #fff; border-radius: 10px; padding: 4px; width: 46px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-family: var(--serif); font-size: 1.2rem; }
.brand small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > a:not(.btn) { position: relative; padding: 10px 14px; color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; font-size: .96rem; }
.menu > a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu > a:not(.btn):hover::after, .menu > a.active::after { transform: scaleX(1); }
.menu .btn { margin-left: 10px; }
.nav.scrolled { height: 64px; background: rgba(13, 15, 12, .86); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.type-page .nav { background: rgba(13, 15, 12, .86); backdrop-filter: blur(14px); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); padding: calc(var(--nav-h) + 40px) 0 120px; }
.hero-slides, .hero-shade, .hero-spot, .hero-grain { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero-shade { background: linear-gradient(100deg, rgba(13,15,12,.94) 0%, rgba(13,15,12,.78) 42%, rgba(13,15,12,.35) 100%), linear-gradient(0deg, rgba(13,15,12,.9), transparent 40%); }
.hero-spot { background: radial-gradient(520px circle at var(--sx, 70%) var(--sy, 40%), rgba(126, 211, 33, .22), transparent 60%); mix-blend-mode: screen; transition: background .2s; }
.hero-grain { opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero .kicker { color: var(--lime); }
.hero-title { position: relative; font-size: clamp(2.8rem, 8.2vw, 7rem); font-weight: 800; line-height: .98; max-width: 11ch; margin-bottom: .35em; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(.25s + var(--wi) * .09s); }
.hero-title .w:last-of-type > span { color: var(--lime); }
@keyframes wordUp { to { transform: none; } }
.swoosh { position: absolute; left: 0; bottom: -.05em; width: min(100%, 9ch); height: .32em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s var(--ease) 1.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-text { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 54ch; color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-in { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-badge { position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 110px; width: 170px; height: 170px; z-index: 2; }
.hero-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero-badge text { font: 700 13.5px var(--sans); letter-spacing: .32em; fill: #fff; }
.hero-badge img { position: absolute; inset: 50% auto auto 50%; width: 74px; transform: translate(-50%, -50%); background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 0 0 6px rgba(126,211,33,.25); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 30px; z-index: 2; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.55); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; border-radius: 2px; background: var(--lime); transform: translateX(-50%); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--lime); color: var(--ink); overflow: hidden; transform: rotate(-1.4deg); margin: -26px -10px 0; position: relative; z-index: 3; box-shadow: 0 12px 30px -16px rgba(0,0,0,.4); }
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; padding: 16px 0; }
.ticker span { font: 800 clamp(1rem, 2vw, 1.4rem)/1 var(--serif); text-transform: uppercase; letter-spacing: .04em; padding: 0 22px; white-space: nowrap; }
.ticker i { font-style: normal; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.rich p:last-child { margin-bottom: 0; }
.intro .rich { font-size: 1.12rem; color: #33372f; margin-bottom: 28px; }
.intro-visual { position: relative; padding: 30px 40px 30px 0; }
.intro-visual .tilt { border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(13,15,12,.55); aspect-ratio: 4 / 5; transform-style: preserve-3d; }
.intro-visual .tilt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.intro-visual:hover .tilt img { transform: scale(1.12); }
.float-card { position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 18px; padding: 14px 18px; box-shadow: 0 20px 40px -20px rgba(13,15,12,.45); display: flex; flex-direction: column; min-width: 190px; animation: bob 6s ease-in-out infinite; }
.float-card strong { font-family: var(--serif); font-size: 1.15rem; }
.float-card strong::before { content: "✓ "; color: var(--lime-dark); }
.float-card span { font-size: .86rem; color: var(--muted); }
.fc-1 { left: -36px; top: 14%; } .fc-2 { right: 0; top: 46%; animation-delay: -2s; } .fc-3 { left: -10px; bottom: 6%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Leistungen – Bento */
.services { background: var(--ink); color: #fff; border-radius: 48px 48px 0 0; }
.services .lead { color: rgba(255,255,255,.72); }
.services .kicker { color: var(--lime); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.bento-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; transform-style: preserve-3d; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1s var(--ease), filter .6s; filter: saturate(.9) brightness(.9); }
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,15,12,0) 25%, rgba(13,15,12,.92) 85%); transition: background .5s; }
.bento-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,.08); background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(126,211,33,.25), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.bento-card:hover::after { opacity: 1; }
.bento-card:hover img { transform: scale(1.12); filter: saturate(1.1) brightness(1); }
.bento-body { padding: 26px 26px 24px; width: 100%; transform: translateZ(30px); }
.bento-num { font: 800 .8rem var(--sans); color: var(--lime); letter-spacing: .2em; }
.bento-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 6px 0 6px; }
.bento-teaser { color: var(--lime-2); font-weight: 700; margin-bottom: 6px; }
.bento-text { color: rgba(255,255,255,.8); font-size: .97rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; margin: 0; }
.bento-card:hover .bento-text, .bento-card:focus-within .bento-text { max-height: 220px; opacity: 1; }
.bento-card .link-arrow { color: var(--lime); margin-top: 10px; }
.b1 { grid-column: span 4; grid-row: span 2; } .b2 { grid-column: span 2; } .b3 { grid-column: span 2; }
.b4 { grid-column: span 3; } .b5 { grid-column: span 3; } .b6, .b7, .b8 { grid-column: span 2; }
.b1 .bento-text { max-height: 220px; opacity: 1; }

/* Leistungen als Zeichentrick-Karten */
.bento.illus-grid { grid-auto-rows: auto; }
.illus-grid .bento-card { grid-column: span 2; grid-row: auto; }
.illus-grid .bento-card.b4, .illus-grid .bento-card.b5 { grid-column: span 3; }
.bento-card.illus { background: #fffdf6; color: var(--ink); flex-direction: column; align-items: stretch; min-height: 0; border: 3px solid #1e2119; box-shadow: 6px 6px 0 var(--lime); transition: transform .5s var(--ease), box-shadow .3s; }
.bento-card.illus:hover { box-shadow: 10px 10px 0 var(--lime); }
.bento-card.illus::before { display: none; }
.bento-card.illus::after { border: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(126,211,33,.14), transparent 55%); }
.bento-card.illus img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 14px 14px 0; filter: none; transform: none; transition: transform .6s var(--ease); }
.illus-grid .b4 img, .illus-grid .b5 img { aspect-ratio: 16 / 9; }
.bento-card.illus:hover img { transform: scale(1.06) rotate(-2deg); filter: none; animation: wiggle .6s ease-in-out; }
@keyframes wiggle { 25% { transform: scale(1.06) rotate(2deg); } 50% { transform: scale(1.06) rotate(-2deg); } 75% { transform: scale(1.06) rotate(1deg); } }
.bento-card.illus .bento-body { transform: none; padding: 8px 24px 24px; }
.bento-card.illus .bento-num { color: var(--lime-dark); }
.bento-card.illus h3 { color: var(--ink); }
.bento-card.illus .bento-teaser { color: var(--lime-dark); }
.bento-card.illus .bento-text { color: var(--muted); max-height: none; opacity: 1; }
.bento-card.illus .link-arrow { color: var(--lime-dark); }
.intro-visual .tilt-illus { aspect-ratio: 4 / 3; background: #fffdf6; border: 3px solid #1e2119; box-shadow: 10px 10px 0 var(--lime); }
.intro-visual .tilt-illus img { object-fit: contain; transform: none; padding: 10px; }
.intro-visual:hover .tilt-illus img { transform: scale(1.04); }

/* Buch-Onlineshop */
.bookshop { color: #fff; overflow: hidden; background: var(--ink); }
.bookshop-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; opacity: .28; will-change: transform; }
.bookshop::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px circle at 10% 20%, rgba(126,211,33,.28), transparent 60%), linear-gradient(180deg, var(--ink) 0%, rgba(13,15,12,.6) 30%, rgba(13,15,12,.7) 70%, var(--ink) 100%); z-index: 1; }
.bookshop-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.bookshop .kicker { color: var(--lime); }
.bookshop .lead { color: rgba(255,255,255,.78); margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 20px 22px; backdrop-filter: blur(8px); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.steps li:hover { transform: translateX(8px); border-color: var(--lime); background: rgba(126,211,33,.08); }
.steps span { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font: 800 1.2rem var(--serif); }
.steps strong { font-family: var(--serif); font-size: 1.2rem; }
.steps p { margin: 4px 0 0; color: rgba(255,255,255,.75); font-size: .96rem; }

/* Team */
.team { background: var(--paper-2); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(13,15,12,.4); transition: box-shadow .4s; transform-style: preserve-3d; }
.team-card:hover { box-shadow: 0 40px 80px -40px rgba(13,15,12,.55); }
.team-img { aspect-ratio: 5 / 4; overflow: hidden; background: #ddd; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover .team-img img { transform: scale(1.06); }
.team-body { padding: 22px 24px 26px; }
.team-body h3 { font-size: 1.4rem; margin-bottom: 2px; }
.role { color: var(--lime-dark); font-weight: 700; font-size: .92rem; letter-spacing: .04em; }

/* Partner-Logos */
.partners { padding: 70px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { display: grid; place-items: center; width: 220px; height: 100px; padding: 0 30px; }
.logo-item img { max-height: 70px; max-width: 160px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .65; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logo-item img:hover { filter: none; opacity: 1; transform: scale(1.08); }

/* Besuch / Kontakt */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: stretch; }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: 0 20px 40px -24px rgba(63,122,10,.5); }
.contact-card svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--ink); fill: var(--lime); flex-shrink: 0; }
.contact-card span { display: flex; flex-direction: column; }
.contact-card strong { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card em { font-style: normal; font-size: .86rem; color: var(--lime-dark); font-weight: 600; }
.hours-card { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: var(--ink); color: #fff; }
.hours-card strong { color: var(--lime); }
.hours-card p { margin: 6px 0 0; }
.map { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; background: var(--ink-2) url("../img/foto-hero-1.jpg?v=9") center / cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 30px; background: rgba(13,15,12,.8); backdrop-filter: blur(4px); color: #fff; }
.map-consent img { background: #fff; border-radius: 14px; padding: 6px; }
.map-consent a { color: var(--lime); }

/* Unterseiten */
.page-hero { position: relative; color: #fff; background: var(--ink); padding: calc(var(--nav-h) + 70px) 0 80px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(700px circle at 85% 0%, rgba(126,211,33,.35), transparent 60%), radial-gradient(500px circle at 0% 100%, rgba(126,211,33,.15), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero .kicker { color: var(--lime); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
.page-hero .lead { color: rgba(255,255,255,.75); }
.page-body { padding-top: 70px; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.5em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--lime-dark); }
.prose a { color: var(--lime-dark); font-weight: 600; }
.prose strong { color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 90px 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(126,211,33,.18), transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1.15fr .8fr .8fr; gap: 36px; }
.hours-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.hours-list dt { color: #fff; font-weight: 600; }
.hours-list dd { margin: 0; text-align: right; white-space: nowrap; }
.open-now { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 99px; font-size: .85rem; font-weight: 700; margin-bottom: 14px; background: rgba(255,255,255,.08); color: #fff; }
.open-now .dot { width: 9px; height: 9px; border-radius: 50%; background: #e5484d; }
.open-now.is-open { background: rgba(126,211,33,.14); color: var(--lime); }
.open-now.is-open .dot { background: var(--lime); box-shadow: 0 0 0 0 rgba(126,211,33,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(126,211,33,0); } 100% { box-shadow: 0 0 0 0 rgba(126,211,33,0); } }
.footer-brand img { width: 220px; background: #fff; border-radius: 18px; padding: 14px 18px; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--lime); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .3s var(--ease); }
.social a:hover { background: var(--lime); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.social a:hover svg { fill: var(--ink); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * .1s); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi) * .06s); }
.split.in .w > span { transform: none; }
.tilt-card { transition: transform .5s var(--ease); }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .intro-grid, .bookshop-inner, .visit-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card { grid-column: span 1 !important; grid-row: auto !important; min-height: 300px; }
  .bento-card.b1 { grid-column: span 2 !important; min-height: 380px; }
  .illus-grid .bento-card { min-height: 0; }
  .illus-grid .bento-card.b1 { grid-column: span 1 !important; min-height: 0; }
  .illus-grid .bento-card.b5 { grid-column: span 2 !important; }
  .bento-text { max-height: 220px; opacity: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { width: 120px; height: 120px; bottom: 90px; }
  .hero-badge img { width: 52px; }
  .hero-badge text { font-size: 12px; }
  .intro-visual { padding-right: 0; }
  .fc-1 { left: 10px; } .fc-3 { left: 10px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .menu { position: fixed; inset: 0; background: rgba(13,15,12,.97); backdrop-filter: blur(16px); flex-direction: column; justify-content: center; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .menu > a:not(.btn) { font: 700 1.8rem var(--serif); padding: 10px; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
  .menu .btn { margin: 20px 0 0; }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu-open .menu > a { opacity: 1; transform: none; }
  .menu-open .menu > a:nth-child(2) { transition-delay: .05s; } .menu-open .menu > a:nth-child(3) { transition-delay: .1s; } .menu-open .menu > a:nth-child(4) { transition-delay: .15s; }
  .burger { position: relative; z-index: 2; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.b1 { grid-column: span 1 !important; }
  .illus-grid .bento-card.b5 { grid-column: span 1 !important; }
  .illus-grid .b4 img, .illus-grid .b5 img { aspect-ratio: 4 / 3; }
  .hero-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { min-width: 0; padding: 10px 14px; }
  .fc-2 { display: none; }
  .services { border-radius: 30px 30px 0 0; }
  .map { min-height: 340px; }
}

/* Bewegung reduzieren, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in { opacity: 1; transform: none; }
  .split .w > span, .hero-title .w > span { transform: none; }
}
