/* Viora – schlankes Stylesheet, keine externen Ressourcen */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --ink: #293132;
  --muted: #6b7273;
  --line: #e4e1dc;
  --accent: #8a7d6b;
  --tile: #efece7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 .6em; }
h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
h3 { font-size: 1.1rem; margin: 1.6em 0 .4em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* Kopf */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 170px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a[aria-current="page"], .main-nav a:hover { border-bottom-color: var(--ink); color: var(--ink); }

/* Startseite */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .wrap { max-width: 860px; }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; color: var(--muted); margin: 0 0 1em; }
.lead { font-size: 1.08rem; color: #3d4546; }
.lead.en { font-size: .95rem; color: var(--muted); font-style: italic; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .5em; margin-top: 1em; }
.section-title span { font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.cards { list-style: none; padding: 0; margin: 28px 0 72px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 22px; }
.card { display: block; text-decoration: none; }
.card .ph { aspect-ratio: 3 / 4; }
.card-title { display: block; margin-top: 10px; font-family: var(--serif); font-size: 1.15rem; }
.card:hover .card-title { color: var(--accent); }
.card:hover .ph img { transform: scale(1.03); }

/* Bildfläche mit Platzhalter, falls Foto fehlt */
.ph { position: relative; display: block; overflow: hidden; background: var(--tile); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ph > span { display: none; }
.ph.noimg {
  background:
    repeating-linear-gradient(90deg, rgba(41,49,50,.035) 0 1px, transparent 1px 7px),
    linear-gradient(160deg, #f4f1ec, #e8e3dc);
}
.ph.noimg > span { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; color: rgba(41,49,50,.45); letter-spacing: .06em; text-align: center; padding: 12px; }

/* Produktseite */
.product { padding-top: 28px; padding-bottom: 64px; }
.crumb { font-size: .85rem; color: var(--muted); margin: 0 0 24px; }
.crumb a { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gallery .main { aspect-ratio: 3 / 4; }
.gallery .main.noimg > span { font-size: 2rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 12px; }
.thumbs .ph { aspect-ratio: 1; }
.thumbs .ph.noimg > span { font-size: .85rem; }
.details h1 { margin-bottom: .2em; }
.artnr { color: var(--muted); margin: 0; letter-spacing: .05em; }
.details h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--sans); font-weight: 600; color: var(--muted); }
.dims { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); }
.dims th, .dims td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dims th { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dims th, .dims td:not(:last-child) { white-space: nowrap; }
.care { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.care li { border: 1px solid var(--line); background: var(--surface); padding: 4px 12px; border-radius: 999px; font-size: .88rem; }
.note { font-size: .9rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; }
.service { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 11px 22px; letter-spacing: .08em; font-size: .9rem; }
.btn:hover { background: var(--accent); color: #fff; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.pager a { text-decoration: none; }

/* Textseiten */
.prose { padding-top: 48px; padding-bottom: 72px; }
.prose p, .prose li { max-width: 70ch; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); padding: 22px; }
.contact-card h2 { margin-top: 0; font-size: .82rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-card .big { font-family: var(--serif); font-size: 1.25rem; word-break: break-word; }
.muted { color: var(--muted); font-size: .9rem; }

/* Fuß */
.site-footer { background: var(--ink); color: #d9dcdc; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.legal { display: flex; gap: 24px; align-items: flex-start; }

@media (max-width: 760px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header-inner { flex-direction: column; gap: 8px; }
  .brand img { width: 140px; }
  .hero { padding: 40px 0 16px; }
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .dims th, .dims td { padding: 8px 6px; }
  .pager { font-size: .85rem; }
}
