/* FERPAO – Portfolio. Gestaltung nach dem Entwurf des Kunden, bewusst reduziert. */

@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url("assets/fonts/manrope-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url("assets/fonts/dmmono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-display: swap; src: url("assets/fonts/dmmono-500-latin.woff2") format("woff2"); }

:root {
  --bg: #090909;
  --panel: #111;
  --text: #f1f0ed;
  --muted: #858582;
  --soft: #a2a29e;
  --gold: #f5b800;
  --line: #292929;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Manrope", Arial, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.mono, .eyebrow { font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .13em; }
.eyebrow { color: #b9b9b5; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.outline-text { -webkit-text-stroke: 1.5px var(--text); color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Navigation */
.nav-wrap { position: sticky; top: 0; z-index: 20; background: rgba(9, 9, 9, .86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 140px; }
.brand img, .footer-logo img { width: 100%; height: auto; }
.nav-links { display: flex; gap: 34px; color: #aaa; font-size: 13px; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 1px; background: #fff; margin: 6px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Start */
.hero { min-height: min(calc(100vh - 76px), 820px); display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 12px #f5b80080; }
.hero h1 { font-size: clamp(76px, 15vw, 205px); letter-spacing: -.105em; line-height: .78; font-weight: 800; margin: 40px 0 45px; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: 700px; margin-left: 5px; }
.hero-copy { font-size: 15px; color: var(--soft); line-height: 1.8; max-width: 400px; margin: 0; }
.round-link { flex-shrink: 0; border: 1px solid #424242; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; transition: .3s; }
.round-link:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); transform: translateY(4px); }

/* Portfolio */
.section { padding: 110px 0 120px; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1.06; letter-spacing: -.065em; margin: 22px 0 0; }
.section-intro { color: #92928d; font-size: 12px; margin: 0 0 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot { position: relative; overflow: hidden; background: #151515; aspect-ratio: 650 / 950; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.shot:hover img { transform: scale(1.04); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 65%, rgba(0, 0, 0, .55)); opacity: 0; transition: opacity .3s; }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot-num { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff; opacity: 0; transition: opacity .3s; }
.shot:hover .shot-num, .shot:focus-visible .shot-num { opacity: 1; }
/* Das erste Bild etwas größer – gibt dem Raster einen Einstieg */
.gallery .shot:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Leistungen */
.services { background: var(--panel); border-block: 1px solid #252525; padding-bottom: 110px; }
.services-banner { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.services-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.services-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,9,9,.97) 0%, rgba(9,9,9,.85) 35%, rgba(9,9,9,.25) 62%, rgba(9,9,9,0) 80%), linear-gradient(0deg, var(--panel) 0%, rgba(17,17,17,0) 40%); }
.banner-copy { padding: 120px 0 70px; }
.banner-copy h2 { font-size: clamp(48px, 7.5vw, 104px); line-height: .95; letter-spacing: -.07em; }
.banner-copy p { max-width: 360px; font-size: 14px; line-height: 1.9; color: #b4b3ad; margin: 24px 0 0; }

.service-grid { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { position: relative; overflow: hidden; isolation: isolate; min-height: 290px; padding: 30px 28px; border: 1px solid #2a2a28; background: linear-gradient(155deg, #171716 0%, #0c0c0c 100%); display: flex; flex-direction: column; transition: border-color .35s, transform .35s; }
/* Gold-Streifen wie auf der Folierung – fährt beim Darüberfahren schräg durch die Karte */
.service-card::before { content: ""; position: absolute; z-index: -1; width: 46px; height: 220%; top: -60%; left: -30%; background: linear-gradient(180deg, transparent, var(--gold) 30%, #c99400 70%, transparent); transform: rotate(32deg); opacity: 0; transition: left .7s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.service-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(245,184,0,.14), transparent 55%); opacity: 0; transition: opacity .35s; }
.service-card:is(:hover, .is-active) { border-color: rgba(245,184,0,.55); transform: translateY(-4px); }
.service-card:is(:hover, .is-active)::before { left: 115%; opacity: .9; }
.service-card:is(:hover, .is-active)::after { opacity: 1; }
.service-big { position: absolute; right: 14px; top: -8px; font-size: 118px; font-weight: 800; letter-spacing: -.08em; line-height: 1; color: transparent; -webkit-text-stroke: 1px #2c2c2a; transition: -webkit-text-stroke-color .35s; z-index: -1; }
.service-card:is(:hover, .is-active) .service-big { -webkit-text-stroke-color: rgba(245,184,0,.45); }
.service-icon { width: 60px; height: 60px; display: grid; place-items: center; color: var(--gold); background: rgba(245,184,0,.1); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: background .35s, color .35s; }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card:is(:hover, .is-active) .service-icon { background: var(--gold); color: var(--bg); }
.service-tag { color: #77766f; margin-top: auto; padding-top: 34px; font-size: 9px; }
.service-card h3 { margin: 10px 0 9px; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.service-card p { margin: 0; color: #8b8a84; font-size: 13px; line-height: 1.7; }

/* Über */
.about { padding: 120px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; align-items: center; }
.about-shot { max-width: 360px; }
.about-copy p { font-size: 14px; color: #999992; line-height: 2; max-width: 560px; margin: 25px 0 0; }

/* Kontakt */
.contact { position: relative; overflow: hidden; background: var(--panel); border-top: 1px solid #252525; padding: 110px 0 100px; }
.contact-inner { position: relative; z-index: 2; }
.contact h2 { font-size: clamp(46px, 9vw, 112px); line-height: .98; letter-spacing: -.08em; margin: 30px 0 55px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; }
.contact-text p { font-size: 14px; color: #96968f; line-height: 1.9; max-width: 400px; margin: 0 0 28px; }
.contact-text .contact-hint { margin: 22px 0 0; font-size: 13px; }
.contact-hint a { color: #d6d5d1; border-bottom: 1px solid #4a4a45; }
.contact-hint a:hover { color: var(--gold); border-color: var(--gold); }

/* Anfrage-Fenster */
.form-dialog { width: min(760px, calc(100% - 40px)); max-height: calc(100dvh - 60px); padding: 0; border: 1px solid #2f2f2c; background: #111; color: var(--text); box-shadow: 0 30px 120px rgba(0, 0, 0, .7); overflow: auto; overscroll-behavior: contain; }
.form-dialog::backdrop { background: rgba(5, 5, 5, .78); backdrop-filter: blur(6px); }
.form-dialog[open] { animation: dialog-in .28s cubic-bezier(.2, .7, .2, 1); }
.form-dialog[open]::backdrop { animation: backdrop-in .28s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes backdrop-in { from { opacity: 0; } }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 30px 34px 22px; background: linear-gradient(#111 85%, rgba(17, 17, 17, 0)); }
.dialog-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.055em; margin: 14px 0 12px; }
.dialog-head p { font-size: 13px; color: #8e8d87; line-height: 1.7; margin: 0; max-width: 460px; }
.dialog-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #3a3a36; border-radius: 50%; background: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: .2s; }
.dialog-close:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.form-dialog .contact-form { padding: 6px 34px 34px; }
body:has(.form-dialog[open]) { overflow: hidden; }
.contact-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 18px 22px; background: var(--gold); color: #111; font-size: 13px; font-weight: 800; min-width: 250px; border: 0; cursor: pointer; font-family: inherit; transition: .25s; }
.contact-button:hover { background: #ffd044; transform: translateY(-3px); }
.contact-button:disabled { opacity: .6; cursor: progress; transform: none; }

/* Kontaktformular */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #b9b9b5; }
.field small { text-transform: none; letter-spacing: 0; color: #6f6e69; }
.field input, .field select, .field textarea, .editor { width: 100%; background: #0c0c0c; border: 1px solid #2f2f2c; color: var(--text); font: 15px/1.5 "Manrope", Arial, sans-serif; padding: 13px 14px; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus, .editor:focus-within { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 184, 0, .12); }
.field input[aria-invalid="true"], .editor[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e0604d; }
.editor { padding: 0; }
.editor-toolbar { display: flex; gap: 4px; padding: 7px; border-bottom: 1px solid #2a2a27; }
.editor-toolbar button { min-width: 34px; height: 30px; border: 1px solid transparent; background: transparent; color: #c9c8c2; font: 14px "Manrope", sans-serif; cursor: pointer; }
.editor-toolbar button:hover, .editor-toolbar button.active { border-color: rgba(245, 184, 0, .5); color: var(--gold); }
.editor-area { min-height: 170px; max-height: 420px; overflow-y: auto; padding: 13px 14px; outline: none; line-height: 1.6; }
.editor-area:empty::before { content: attr(data-placeholder); color: #5f5e59; pointer-events: none; }
.editor-area ul, .editor-area ol { margin: 6px 0; padding-left: 22px; }
.editor-area p, .editor-area div { margin: 0; }
.message-fallback { resize: vertical; }
.js .message-fallback { display: none; }
.dropzone { position: relative; display: flex; align-items: center; justify-content: center; min-height: 86px; border: 1px dashed #3a3a36; background: #0c0c0c; color: #8e8d87; font-size: 13px; text-align: center; padding: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone b { color: var(--gold); font-weight: 700; }
.dropzone:hover, .dropzone.dragover { border-color: var(--gold); background: rgba(245, 184, 0, .05); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.file-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c9c8c2; background: #121211; border: 1px solid #262624; padding: 6px 8px; }
.file-list img { width: 38px; height: 38px; object-fit: cover; flex-shrink: 0; }
.file-list .pdf { width: 38px; height: 38px; display: grid; place-items: center; background: #1d1d1b; color: var(--gold); font: 10px "DM Mono", monospace; flex-shrink: 0; }
.file-list .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .size { color: #6f6e69; font-size: 12px; }
.file-list button { border: 0; background: none; color: #8e8d87; font-size: 18px; cursor: pointer; padding: 0 4px; }
.file-list button:hover { color: #e0604d; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 12px; line-height: 1.7; color: #77766f; margin: 0; }
.form-privacy a { color: #b9b9b5; text-decoration: underline; text-underline-offset: 2px; }
.contact-form .contact-button { justify-self: start; }
.form-status { margin: 0; font-size: 14px; line-height: 1.6; min-height: 1px; }
.form-status.ok { color: #7fd38a; }
.form-status.error { color: #ef8a7a; }
.contact-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.contact-button:hover svg { transform: translate(2px, -2px); }
.contact-details { margin: 0; display: grid; gap: 22px; }
.contact-details div { border-top: 1px solid #30302d; padding-top: 14px; display: grid; grid-template-columns: 110px 1fr; gap: 15px; }
.contact-details dt { color: var(--gold); padding-top: 3px; }
.contact-details dd { margin: 0; font-size: 14px; line-height: 1.7; color: #d6d5d1; }
.contact-details a:hover { color: var(--gold); }
.contact-glow { position: absolute; width: 550px; height: 550px; border-radius: 50%; background: #f5b8000a; filter: blur(80px); right: -150px; bottom: -400px; }

/* Fußzeile */
.footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { width: 105px; }
.footer-copy { font-size: 9px; color: #65655f; }
.footer-links { display: flex; gap: 20px; font-size: 11px; color: #8d8d86; }
.footer-links a:hover { color: var(--gold); }

/* Großansicht */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5, 5, 5, .96); display: flex; align-items: center; justify-content: center; padding: 30px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-height: calc(100vh - 100px); max-width: 100%; width: auto; object-fit: contain; box-shadow: 0 20px 80px #000; }
.lightbox figcaption { color: #8d8d86; }
.lightbox button { position: absolute; background: none; border: 1px solid #3a3a3a; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: .2s; }
.lightbox button:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.lb-close { top: 20px; right: 20px; font-size: 26px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Unterseiten (Impressum, Datenschutz) */
.legal { padding: 80px 0 100px; max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.06em; margin: 20px 0 40px; }
.legal h2 { font-size: 20px; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal p, .legal li { font-size: 14px; line-height: 1.9; color: #b5b4af; }
.legal a { color: var(--gold); }
.placeholder { background: #f5b80022; color: var(--gold); padding: 0 4px; }

@media (max-width: 860px) {
  .container { width: calc(100% - 40px); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery .shot:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 650 / 950; }
  .about { gap: 7%; padding: 90px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-banner { min-height: 480px; }
  .footer { flex-wrap: wrap; padding-block: 25px; }
  .footer-copy { order: 3; width: 100%; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .nav { height: 66px; }
  html { scroll-padding-top: 66px; }
  .brand { width: 118px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 66px; background: #101010; padding: 22px 22px 28px; flex-direction: column; gap: 20px; border-bottom: 1px solid #303030; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .hero { min-height: min(calc(100svh - 66px), 720px); }
  .hero h1 { margin: 30px 0 35px; }
  .hero-copy { font-size: 13px; }
  .round-link { width: 44px; height: 44px; }
  .section { padding: 75px 0 85px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-intro { margin-top: 18px; }
  .gallery { gap: 8px; }
  .shot-num { opacity: 1; left: 10px; bottom: 9px; }
  .shot::after { opacity: 1; }
  .about { grid-template-columns: 1fr; gap: 40px; padding: 75px 0; }
  .about-shot { max-width: 70%; }
  .contact { padding: 75px 0; }
  .services { padding-bottom: 70px; }
  .services-banner { min-height: 520px; }
  .services-banner img { object-position: 30% 50%; }
  .services-banner::after { background: linear-gradient(0deg, var(--panel) 5%, rgba(17,17,17,.75) 45%, rgba(9,9,9,.2) 100%); }
  .banner-copy { padding: 200px 0 40px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 10px; }
  .service-card { min-height: 0; padding: 24px 22px; }
  .service-tag { padding-top: 22px; }
  .service-big { font-size: 92px; }
  .contact-button { width: 100%; }
  .contact-form .contact-button { justify-self: stretch; padding: 15px 18px; font-size: 14px; }
  .form-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; }
  .dialog-head { padding: 20px 18px 16px; }
  .dialog-head h2 { font-size: 30px; }
  .dialog-close { width: 40px; height: 40px; }
  .form-dialog .contact-form { padding: 4px 18px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .contact-details div { grid-template-columns: 90px 1fr; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lightbox img { max-height: calc(100vh - 150px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ───────── Sticker-Shop auf der Startseite: Stickerbogen ───────── */
.sticker-section { position: relative; overflow: hidden; padding: 130px 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 55% 60% at 72% 50%, rgba(245, 184, 0, .1), transparent 70%); }
.sticker-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 70px; align-items: center; }
.sticker-copy p { max-width: 440px; font-size: 15px; line-height: 1.85; color: var(--soft); margin: 26px 0 0; }
.sticker-specs { margin: 34px 0 38px; display: grid; gap: 0; max-width: 470px; }
.sticker-specs div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid #262624; }
.sticker-specs div:last-child { border-bottom: 1px solid #262624; }
.sticker-specs dt { font: 500 10px/1.9 "DM Mono", monospace; letter-spacing: .13em; text-transform: uppercase; color: var(--gold); }
.sticker-specs dd { margin: 0; font-size: 13px; line-height: 1.6; color: #cfcec8; }

/* Sticker-Gruppe: dunkler Grund, Sticker eng zusammen und leicht gedreht – Größen in cqw (wächst mit der Breite) */
.sheet-wrap { display: block; }
.sheet { position: relative; aspect-ratio: 1.8; container-type: inline-size; }
.sheet .cut { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.sheet-wrap:hover .cut { transform: rotate(var(--r, 0deg)) translateY(-.4cqw); }
/* Schneidelinie (Kiss-Cut) um jeden Sticker */
.cut { position: absolute; display: grid; place-items: center; transform: rotate(var(--r, 0deg)); }
.stk { position: relative; display: grid; place-items: center; text-align: center; box-shadow: 0 1.4cqw 2.6cqw rgba(0, 0, 0, .6), 0 .3cqw .6cqw rgba(0, 0, 0, .5); }
.stk::before { content: ""; position: absolute; inset: -.9cqw; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .07); pointer-events: none; }
/* Glanz der Folie */
.stk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .28), transparent 38%, transparent 70%, rgba(255, 255, 255, .08)); }

.cut-logo { left: 2cqw; top: 5cqw; --r: -4deg; }
.s-logo { width: 34cqw; height: 14cqw; border-radius: .7cqw; background: #0d0d0d; border: 1cqw solid #fff; padding: 2cqw 3cqw; }
.s-logo img { width: 100%; height: 100%; object-fit: contain; }

.cut-gold { left: 37.5cqw; top: 1cqw; --r: 5deg; }
.s-gold { width: 30cqw; height: 18cqw; border-radius: .7cqw; border: 1cqw solid #fff; background: linear-gradient(135deg, #ffd84a, var(--gold) 55%, #d39d00); color: #111; place-items: center start; padding-left: 3.4cqw; text-align: left; }
.s-gold b { font: 800 5.4cqw/.88 "Manrope", sans-serif; letter-spacing: -.055em; }
.s-gold i { font-style: normal; color: #fff; }
.s-gold small { position: absolute; right: 2.6cqw; top: 2.6cqw; font: 500 1.25cqw "DM Mono", monospace; letter-spacing: .14em; }
/* Maßlinie unter dem goldenen Sticker */
.measure { position: absolute; left: 0; right: 0; bottom: -3.4cqw; display: flex; align-items: center; gap: 1cqw; color: #77766f; font: 500 1.3cqw "DM Mono", monospace; letter-spacing: .1em; }
.measure i { flex: 1; height: 1px; background: #4a4a45; position: relative; }
.measure i:first-child::before, .measure i:last-child::after { content: ""; position: absolute; top: -.6cqw; width: 1px; height: 1.3cqw; background: #4a4a45; }
.measure i:first-child::before { left: 0; } .measure i:last-child::after { right: 0; }
.measure em { font-style: normal; }

.cut-round { left: 70cqw; top: 3cqw; --r: -8deg; }
.s-round { width: 15cqw; height: 15cqw; border-radius: 50%; background: #111; border: .9cqw solid #fff; color: var(--gold); }
.s-round b { display: block; font: 800 4.2cqw/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.s-round small { display: block; margin-top: .5cqw; font: 500 1.1cqw "DM Mono", monospace; letter-spacing: .14em; color: #d8d6cc; }
.s-round { align-content: center; }

.cut-square { left: 5cqw; top: 22cqw; --r: 7deg; }
.s-square { width: 15cqw; height: 15cqw; border-radius: .7cqw; background: #111; border: .9cqw solid #fff; color: var(--gold); }
.s-square b { font: 800 3cqw/1 "Manrope", sans-serif; letter-spacing: -.04em; }

.cut-text { left: 21cqw; top: 26.5cqw; --r: -3deg; }
.s-text { display: block; padding: 2cqw 3.4cqw; border-radius: .7cqw; background: #111; color: #f1f0ed; border: .9cqw solid #fff; font: 800 3.4cqw/1 "Manrope", sans-serif; letter-spacing: -.045em; white-space: nowrap; }
.s-text i { font-style: normal; color: var(--gold); }

/* Freies Feld: gestrichelte Schneidelinie – hier kommt dein Motiv hin */
.cut-empty { left: 61cqw; top: 22cqw; --r: 3deg; }
.slot { width: 26cqw; height: 15cqw; border: .3cqw dashed #4d4c47; border-radius: .7cqw; display: grid; place-content: center; justify-items: center; gap: .6cqw; color: #8a897f; font: 500 1.4cqw "DM Mono", monospace; letter-spacing: .16em; background: repeating-linear-gradient(45deg, rgba(245, 184, 0, .04) 0 1cqw, transparent 1cqw 2cqw); }
.slot b { font: 300 5cqw/1 "Manrope", sans-serif; color: var(--gold); }

/* Sticker mit angehobener Ecke (rechts unten) */
.cut-peel { left: 36cqw; top: 39cqw; --r: 6deg; }
.s-peel { width: 19cqw; height: 9.5cqw; border-radius: .7cqw; background: #111; border: .8cqw solid #fff; color: #f1f0ed; align-content: center; clip-path: polygon(0 0, 100% 0, 100% 62%, 82% 100%, 0 100%); }
.s-peel b { display: block; font: 800 3.6cqw/1 "Manrope", sans-serif; letter-spacing: -.04em; color: var(--gold); }
.s-peel small { display: block; margin-top: .4cqw; font: 500 1.1cqw "DM Mono", monospace; letter-spacing: .16em; }
.cut-peel::after { content: ""; position: absolute; right: 0; bottom: 0; width: 3.6cqw; height: 3.8cqw; border-radius: 0 0 .5cqw 0; background: linear-gradient(135deg, transparent 49%, #fbfaf6 50%, #dcd9cf 75%, #c9c5b9); box-shadow: -.5cqw -.5cqw 1cqw rgba(0, 0, 0, .18); transform: translate(-.2cqw, -.2cqw); }

@media (max-width: 960px) {
  .sticker-section { padding: 90px 0; }
  .sticker-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ───────── Online-Bestellung (bestellen.html) ───────── */
[hidden] { display: none !important; }
.shop { padding: 70px 0 110px; }
.shop-head h1 { font-size: clamp(54px, 10vw, 128px); letter-spacing: -.09em; line-height: .86; font-weight: 800; margin: 30px 0 26px; }
.shop-head p { max-width: 620px; color: var(--soft); font-size: 15px; line-height: 1.8; margin: 0 0 40px; }
.test-banner { border: 1px dashed var(--gold); color: var(--gold); padding: 12px 16px; font: 12px/1.5 "DM Mono", monospace; letter-spacing: .06em; margin-bottom: 26px; }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 34px; align-items: start; }
.shop-main { display: grid; gap: 22px; }
.shop-step { border: 1px solid #262624; background: #0e0e0d; margin: 0; padding: 22px 22px 26px; display: grid; gap: 18px; min-width: 0; }
.shop-step legend { padding: 0 8px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.shop-step legend .mono { margin-right: 6px; }
.product-fields { display: grid; gap: 18px; }
.field-hint { margin: 0; font-size: 13px; line-height: 1.7; color: #8f8e88; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #2f2f2c; background: #0c0c0c; font-size: 13px; color: #cfcec8; cursor: pointer; transition: border-color .2s, color .2s; text-transform: none; letter-spacing: 0; font-family: "Manrope", sans-serif; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { border-color: var(--gold); color: var(--text); background: rgba(245, 184, 0, .07); }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.delivery { display: grid; gap: 10px; }
.delivery-option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #2f2f2c; background: #0c0c0c; cursor: pointer; transition: border-color .2s; }
.delivery-option:has(input:checked) { border-color: var(--gold); background: rgba(245, 184, 0, .05); }
.delivery-option input { accent-color: var(--gold); width: 18px; height: 18px; }
.delivery-option span { display: grid; gap: 3px; }
.delivery-option b { font-size: 14px; }
.delivery-option small { color: #8f8e88; font-size: 12px; }
.delivery-option em { font-style: normal; font-family: "DM Mono", monospace; font-size: 12px; color: var(--gold); white-space: nowrap; }
.address { display: grid; gap: 18px; }
.form-row-plz { grid-template-columns: 140px 1fr; }
.shop-summary { position: sticky; top: 100px; }
.summary-card { border: 1px solid #2f2f2c; background: linear-gradient(160deg, #151514, #0b0b0b); padding: 20px; display: grid; gap: 14px; }
.preview { position: relative; background: repeating-conic-gradient(#1b1b1a 0% 25%, #141413 0% 50%) 50% / 22px 22px; border: 1px solid #262624; }
.preview canvas { display: block; width: 100%; height: auto; }
.preview-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; text-align: center; font-size: 12px; color: #77766f; }
.preview canvas.is-editable { cursor: grab; touch-action: none; }
.preview canvas.is-editable:active { cursor: grabbing; }
.preview canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.preview-tools { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; margin-top: -4px; }
.preview-tools small { grid-column: 1 / -1; font-size: 11px; color: #8f8e88; }
.zoom-control { display: flex; align-items: center; gap: 10px; font: 500 10px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #b9b9b5; }
.zoom-control input { flex: 1; accent-color: var(--gold); min-width: 0; }
.zoom-control output { min-width: 44px; text-align: right; color: var(--gold); }
.tool-button { background: none; border: 1px solid #3a3a36; color: #cfcec8; font: 12px "Manrope", sans-serif; padding: 7px 11px; cursor: pointer; }
.tool-button:hover { border-color: var(--gold); color: var(--gold); }
.preview-warning { margin: 0; font-size: 12px; line-height: 1.6; color: #f0b25a; border-left: 2px solid #f0b25a; padding-left: 10px; }
.summary-title { font-size: 24px; letter-spacing: -.03em; margin: 4px 0 0; }
.summary-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 14px; color: #cfcec8; }
.summary-lines li.desc { color: #8f8e88; font-size: 12px; }
.summary-lines b { font-weight: 600; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #30302d; padding-top: 12px; }
.summary-total span { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .12em; color: #b9b9b5; text-transform: uppercase; }
.summary-total b { font-size: 30px; letter-spacing: -.04em; color: var(--gold); }
.summary-tax { margin: -6px 0 0; font-size: 12px; color: #8f8e88; line-height: 1.5; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 12px; line-height: 1.6; color: #b5b4af; cursor: pointer; }
.check input { accent-color: var(--gold); width: 17px; height: 17px; margin-top: 2px; }
.check a, .summary-card .form-privacy a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.summary-card .contact-button { width: 100%; min-width: 0; }
.summary-card .contact-button:disabled { opacity: .6; cursor: wait; }
.upload-progress { height: 4px; background: #262624; overflow: hidden; }
.upload-progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }
.pay-panel { max-width: 620px; margin: 10px auto 0; border: 1px solid #2f2f2c; background: #0e0e0d; padding: 34px; display: grid; gap: 16px; }
.pay-panel h2 { margin: 4px 0 0; font-size: clamp(36px, 6vw, 56px); }
.pay-panel p { margin: 0; color: #b5b4af; line-height: 1.7; font-size: 14px; }
.paypal-buttons { min-height: 50px; }
.test-pay { background: transparent; color: var(--gold); border: 1px dashed var(--gold); width: 100%; min-width: 0; }
.test-pay:hover { background: rgba(245, 184, 0, .08); }
.done-panel .contact-button { display: inline-flex; }

@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-summary { position: static; }
}
@media (max-width: 560px) {
  .shop { padding: 40px 0 70px; }
  .shop-step { padding: 16px 14px 20px; }
  .delivery-option { grid-template-columns: auto 1fr; }
  .delivery-option em { grid-column: 2; }
  .form-row-plz { grid-template-columns: 110px 1fr; }
  .pay-panel { padding: 22px 18px; }
}

/* Leistungen: Karten auf der Startseite verlinken auf leistungen.html (ganze Karte klickbar) */
.service-card { min-height: 250px; }
.service-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.service-link:focus-visible { outline: none; }
.service-card:has(.service-link:focus-visible) { border-color: var(--gold); }
.services-more { margin: 34px 0 0; text-align: center; }
.text-cta, .leistung-cta { display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 800; transition: .25s; }
.text-cta:hover, .leistung-cta:hover { background: var(--gold); color: #111; transform: translateY(-2px); }

/* Seite leistungen.html */
.leistungen-page { padding: 80px 0 110px; }
.leistungen-hero { max-width: 820px; margin-bottom: 56px; }
.leistungen-hero h1 { font-size: clamp(46px, 8vw, 96px); line-height: .95; letter-spacing: -.07em; margin: 24px 0 26px; }
.leistungen-hero p { color: var(--soft); font-size: 15px; line-height: 1.8; max-width: 620px; margin: 0; }
.leistungen-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.leistungen-jump a { border: 1px solid #333; padding: 8px 12px; font-size: 12px; color: #bdbdb8; transition: .2s; }
.leistungen-jump a:hover { border-color: var(--gold); color: var(--gold); }
.leistungen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.leistung { padding: 30px 28px; border: 1px solid #2a2a28; background: linear-gradient(155deg, #171716 0%, #0c0c0c 100%); scroll-margin-top: 96px; }
.leistung:target { border-color: rgba(245, 184, 0, .7); }
.leistung-head { display: flex; align-items: center; gap: 18px; }
.leistung-head .service-icon { flex-shrink: 0; }
.leistung-head .service-tag { padding-top: 0; margin: 0; display: block; }
.leistung h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 6px 0 0; }
.leistung-teaser { color: #8b8a84; font-size: 13px; line-height: 1.7; margin: 18px 0 14px; }
.leistung-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.leistung-list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: #d9d8d3; }
.leistung-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 2px; background: var(--gold); }
.leistung-list strong { color: var(--text); }
.leistung-highlight { border-color: rgba(245, 184, 0, .45); background: radial-gradient(circle at 100% 0%, rgba(245, 184, 0, .12), transparent 55%), linear-gradient(155deg, #191814 0%, #0c0c0c 100%); }
.leistung-list-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
#weitere { grid-column: 1 / -1; margin-top: 4px; }
.leistung-note { margin: 22px 0 18px; color: var(--soft); font-size: 14px; line-height: 1.7; max-width: 640px; }
.leistungen-cta { margin-top: 60px; padding: 46px 0 0; border-top: 1px solid var(--line); }
.leistungen-cta h2 { margin: 0 0 12px; }
.leistungen-cta p { color: var(--soft); margin: 0 0 26px; }

@media (max-width: 900px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .leistungen-page { padding: 48px 0 80px; }
  .leistung { padding: 24px 20px; }
  .leistung-list-wide { grid-template-columns: 1fr; }
  .leistungen-jump a { font-size: 11px; padding: 7px 10px; }
}

/* projekte.php: alle Bilder gleich groß (auf der Startseite ist das erste groß) */
.gallery-all .shot:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 650 / 950; }
.gallery-all + .leistungen-cta { margin-top: 70px; }
