/* Fotobox Rheda-Wiedenbrück – Grundton Mittelgrau, Akzent Party-Pink, Fotoabzug als Leitmotiv */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --grey: #8d9095;       /* Mittelgrau – Seitenfläche */
  --grey-l: #a3a6ab;
  --grey-d: #6b6e73;
  --grey-dd: #3a3d41;
  --paper: #f4f4f2;      /* Fotopapier */
  --ink: #1d1f22;
  --pink: #c4306a;
  --pink-d: #a6245a;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(29, 31, 34, .25), 0 10px 24px -8px rgba(29, 31, 34, .45);
  --wrap: 1120px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--grey); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink-d); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.6rem; font-stretch: 78%; }
p { margin: 0 0 1em; max-width: 66ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 0 1.4em; border: 2px solid var(--pink); border-radius: var(--radius); background: var(--pink); color: #fff; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--pink-d); border-color: var(--pink-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--small { min-height: 40px; padding: 0 1em; font-size: .95rem; }
.btn--plain { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--plain:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--danger { background: #9b1c1c; border-color: #9b1c1c; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Kopfzeile */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--grey-dd); color: var(--paper); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font: 800 1.25rem/1 var(--display); font-stretch: 72%; }
.brand small { font: 500 .75rem/1.2 var(--body); opacity: .8; }
.brand img { border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn) { color: var(--paper); text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; color: #fff; }
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
}

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 110px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.strip { justify-self: center; width: min(260px, 70vw); background: var(--paper); padding: 12px 12px 0; box-shadow: var(--shadow); transform: rotate(3.5deg); display: grid; gap: 10px; }
.strip img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; filter: saturate(1.05) contrast(1.03); }
.strip__foot { display: block; text-align: center; padding: 6px 0 12px; font: 700 .8rem/1.2 var(--display); font-stretch: 80%; color: var(--grey-d); }
@media (max-width: 760px) {
  .hero__in { grid-template-columns: 1fr; }
  .strip { width: 100%; max-width: 420px; grid-template-columns: repeat(3, 1fr); padding: 8px 8px 0; gap: 6px; transform: rotate(-1.5deg); }
  .strip__foot { grid-column: 1 / -1; }
}

/* Abschnitte */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section__intro { font-size: 1.1rem; margin-bottom: 2em; }
.how { background: var(--grey-l); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); font: 800 2.6rem/1 var(--display); font-stretch: 70%; color: var(--pink); display: block; margin-bottom: 8px; }
.steps strong { display: block; font: 800 1.5rem/1.1 var(--display); font-stretch: 76%; margin-bottom: 6px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Mietboxen als Fotoabzüge */
.boxgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 28px; }
.print { background: var(--paper); padding: 12px 12px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease; }
.print--l { transform: rotate(-.8deg); }
.print--r { transform: rotate(.8deg); }
.print:hover, .print:focus-within { transform: rotate(0) translateY(-3px); }
.print img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; background: var(--grey-l); }
.print__body { padding: 16px 6px 0; display: flex; flex-direction: column; flex: 1; }
.print__body h3 { margin-bottom: .1em; }
.print__body p { font-size: .95rem; }
.print__body .btn { margin-top: auto; align-self: flex-start; }
.price { font: 800 1.9rem/1 var(--display); font-stretch: 70%; color: var(--pink); margin: 0 0 .5em; }
.extras { margin-top: 56px; border-top: 3px solid var(--ink); padding-top: 18px; }
.extras ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 40px; }
.extras li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; }
.extras li strong { font-size: 1.1rem; }
.extras li .price { font-size: 1.5rem; margin: 0; }
.extras li span:last-child { grid-column: 1 / -1; font-size: .95rem; }

/* Galerie-Einstieg */
.gallery-teaser { background: var(--grey-dd); color: var(--paper); }
.gallery-teaser__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.gallery-teaser h2 { color: #fff; }
@media (max-width: 760px) { .gallery-teaser__in { grid-template-columns: 1fr; } }
.pinform label { display: block; font-weight: 700; margin-bottom: 6px; }
.pinform__row { display: flex; gap: 10px; flex-wrap: wrap; }
.pinform input { flex: 1 1 180px; min-height: 56px; padding: 0 16px; border: 2px solid var(--paper); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 800 1.6rem/1 var(--display); font-stretch: 90%; letter-spacing: .18em; text-transform: uppercase; }
.pinform .btn { min-height: 56px; }

/* FAQ */
.faq__list { columns: 2 360px; column-gap: 48px; }
.faq details { break-inside: avoid; border-top: 1px solid var(--grey-dd); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 10px 28px 10px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 6px; font: 700 1.4rem/1 var(--body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; }

/* Partner */
.partners { background: var(--grey-l); padding: 48px 0; }
.partners__list { display: flex; gap: 24px; flex-wrap: wrap; }
.partners__list img { height: 110px; width: auto; background: #fff; padding: 8px; box-shadow: var(--shadow); }

/* Kontakt + Formular */
.contact__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.contact__form { background: var(--paper); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); border-radius: var(--radius); }
@media (max-width: 860px) { .contact__in { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input, select, textarea { font: inherit; color: var(--ink); width: 100%; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--grey-d); border-radius: var(--radius); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--pink); outline-offset: 0; border-color: var(--pink); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b3261e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .95rem; }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--pink); }
.check--error { color: #b3261e; }
.field__error { color: #b3261e; font-size: .9rem; font-weight: 600; margin: 0; }
.opt, .hint { font-weight: 400; color: var(--grey-d); font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius); font-weight: 600; }
.alert--error { background: #fbe3e1; color: #7d1a14; }
.alert--ok { background: #e3f3e6; color: #1e5b2b; }

/* Rechtstexte */
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.4em; }
.legal .note { color: var(--grey-dd); }

/* Fußzeile */
.footer { background: var(--grey-dd); color: var(--paper); padding: 36px 0; font-size: .95rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--paper); }

/* QR-Landingpage */
.landing__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .landing__in { grid-template-columns: 1fr; gap: 28px; } }
.facts { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 8px; font-weight: 600; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 10px; border-left: 3px solid var(--pink); border-bottom: 3px solid var(--pink); transform: rotate(-45deg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* PIN-Seite */
.pinform--light input { border-color: var(--ink); }
.pinpage__recent { font-size: 1.6rem; margin-top: 2em; }
.recent { padding-left: 1.2em; }

/* Galerie */
.gallery-head { background: var(--grey-dd); color: var(--paper); padding: 32px 0 28px; }
.gallery-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .2em; }
.gallery-head__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.gallery-meta { margin: 0; opacity: .9; }
.gallery-zip { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery { padding: 24px 0 64px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } }
.grid a { display: block; background: var(--paper); padding: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-empty { font-size: 1.2rem; padding: 40px 0; }
.gallery-tip { margin-top: 24px; font-size: .95rem; color: var(--ink); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 21, 23, .96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100vw; max-height: calc(100vh - 72px); object-fit: contain; margin-bottom: 56px; }
.lightbox__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; color: var(--paper); background: rgba(0,0,0,.5); }
.lightbox__close, .lightbox__nav { background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: var(--radius); font: 700 1.6rem/1 var(--body); min-width: 48px; min-height: 48px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.4rem; }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }
@media (hover: none) { .lightbox__nav { display: none; } }
.install { margin-top: 28px; max-width: 640px; border-top: 1px solid var(--grey-dd); padding-top: 8px; }
.install summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.install__body p { font-size: .95rem; }
