/* Vögele Optik – site styles. Design: canvas mockup "Vögele Optik Redesign" (square, Merriweather, black/white + logo yellow). */

:root {
    --ink: #111111;
    --ink-2: #505050;
    --muted: #666666;
    --line: #E6E6E6;
    --line-strong: #CCCCCC;
    --paper: #FFFFFF;
    --paper-2: #F5F5F5;
    --dark: #111111;
    --dark-2: #1A1A1A;
    --on-dark: #BBBBBB;
    --accent: #F8D800; /* yellow of the logo shield */
    --font: 'Merriweather', Georgia, serif;
    --wrap: 1320px;
    --gutter: 24px;
    --section: clamp(64px, 9vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; font-weight: 400; }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--muted); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: .02em; line-height: 1.2; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: var(--stack, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--row-gap, 12px); }
.row--between { justify-content: space-between; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr)); gap: var(--gap, 16px); }
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--reverse { flex-direction: row-reverse; }

/* type */
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.1; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); }
.h3 { font-size: clamp(22px, 2vw, 28px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.mark { font-style: italic; box-shadow: inset 0 -.22em 0 var(--accent); }
.rule { display: block; width: 48px; height: 2px; background: var(--accent); }
.prose { max-width: 46em; color: var(--ink-2); }
.prose h2 { font-size: 26px; color: var(--ink); margin: 1.6em 0 .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* buttons – square, tracked caps */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn svg { flex: none; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: var(--ink); }
.btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 12.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* header */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); border-bottom: 2px solid transparent; padding-top: 2px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.35; margin-right: 10px; padding: 4px 0; }
.nav__phone { font-size: 15px; color: var(--ink); }
.nav__status { font-size: 12.5px; color: var(--muted); }
.nav__contact:hover .nav__phone { text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.nav__toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu { display: none; border-top: 1px solid var(--line); padding: 8px 0 24px; }
.menu[data-open="true"] { display: block; }
.menu a.menu__link { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: 24px; font-weight: 300; border-bottom: 1px solid #EEE; }
.menu .row { padding-top: 20px; }
@media (max-width: 1180px) {
    .nav__links, .nav__actions .icon-btn, .nav__contact { display: none; }
    .nav__toggle { display: inline-flex; }
}
@media (max-width: 480px) {
    .nav__cta { display: none; }
    .nav__logo img { height: 38px; }
}

/* image box (object-fit cover) */
.cover { width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* hero slider (full width) */
.hero-slider { position: relative; background: var(--dark); color: #fff; }
.hero-slider__track { display: flex; height: clamp(520px, 78vh, 820px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero-slider__track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; display: flex; align-items: flex-end; }
.hero-slide__img { position: absolute; inset: 0; }
.hero-slide__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.hero-slide.is-active .hero-slide__img img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(17, 17, 17, .62) 0%, rgba(17, 17, 17, .32) 42%, rgba(17, 17, 17, 0) 72%); }
.hero-slide--light { color: var(--ink); }
.hero-slide--light::after { background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .45) 40%, rgba(255, 255, 255, 0) 68%); }
.hero-slide__content { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(96px, 14vh, 140px); }
.hero-slide__content > * { max-width: 620px; }
.hero-slide .eyebrow { display: block; color: var(--accent); }
.hero-slide--light .eyebrow { color: var(--ink-2); }
.hero-slide__title { font-weight: 300; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.08; margin: 18px 0 20px; }
.hero-slide--light .hero-slide__title { text-shadow: none; }
.hero-slide__text { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; margin: 0 0 32px; opacity: .92; }
.hero-slide__theme { font-size: 13px; margin-bottom: 12px; color: #fff; background: rgba(0, 0, 0, .6); padding: 8px 12px; display: inline-block; }
.hero-slider__controls { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero-slider__dots { display: flex; gap: 8px; }
.hero-slider__dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero-slider__dots button::before { content: ""; display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .45); transition: background .3s, height .3s; }
.hero-slider__dots button[aria-current="true"]::before { background: var(--accent); height: 3px; }
.hero-slider[data-theme="light"] .hero-slider__dots button::before { background: rgba(17, 17, 17, .3); }
.hero-slider[data-theme="light"] .hero-slider__dots button[aria-current="true"]::before { background: var(--ink); }
.hero-slider__nav { display: flex; align-items: center; gap: 6px; }
.hero-slider__count { font-size: 12px; letter-spacing: .2em; margin-right: 12px; color: #fff; }
.hero-slider[data-theme="light"] .hero-slider__count { color: var(--ink); }
.hero-slider__btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .6); background: rgba(17, 17, 17, .25); color: #fff; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.hero-slider__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero-slider[data-theme="light"] .hero-slider__btn { border-color: var(--ink); background: rgba(255, 255, 255, .5); color: var(--ink); }
.hero-slider[data-theme="light"] .hero-slider__btn:hover { background: var(--ink); color: #fff; }
.hero-slider--edit .hero-slider__track { height: auto; flex-direction: column; overflow: visible; gap: 24px; scroll-snap-type: none; }
.hero-slider--edit .hero-slide { min-height: 560px; }
@media (max-width: 700px) {
    .hero-slider__track { height: clamp(520px, 82vh, 700px); }
    .hero-slide::after { background: linear-gradient(0deg, rgba(17, 17, 17, .7) 0%, rgba(17, 17, 17, .3) 55%, rgba(17, 17, 17, .05) 100%); }
    .hero-slide--light::after { background: linear-gradient(0deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, 0) 100%); }
    .hero-slider__count, .hero-slider__btn[data-slider-prev] { display: none; }
}

/* page head */
.page-head { padding-block: 72px 56px; }
.page-head .h1 { max-width: 15em; margin-top: 20px; }
.page-head .lead { margin-top: 24px; }

/* instagram */
.ig__head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.ig__profile { display: flex; align-items: center; gap: 18px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bento__item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--dark-2); color: #fff; display: block; }
.bento__item:first-child { grid-column: span 2; grid-row: span 2; }
.bento__item img, .bento__item video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bento__item:hover img, .bento__item:hover video { transform: scale(1.03); }
.bento__type { position: absolute; right: 14px; top: 14px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.bento__over { position: absolute; inset: 0; background: rgba(17, 17, 17, .74); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 20px; opacity: 0; transition: opacity .3s; }
.bento__item:hover .bento__over, .bento__item:focus-visible .bento__over { opacity: 1; }
.bento__caption { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.bento__date { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* cards */
.card { border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .25s; background: #fff; }
a.card:hover { border-color: var(--ink); color: var(--ink); }
.card__media { height: 260px; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 26px; font-weight: 300; }
.facts { border: 1px solid var(--line); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: center; }
.facts .eyebrow { display: block; margin-bottom: 8px; }

/* brands */
.brand { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 18px; min-height: 190px; transition: border-color .25s; }
.brand:hover { border-color: var(--ink); color: var(--ink); }
.brand__logo { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 100px; padding: 12px; }
.brand__logo img { width: 85%; height: 80px; object-fit: contain; filter: grayscale(1); transition: filter .25s; }
.brand:hover .brand__logo img { filter: none; }
.brand__name { font-weight: 300; font-size: 18px; letter-spacing: .03em; display: flex; justify-content: space-between; align-items: center; }
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall a { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .25s; }
.logo-wall img { width: 82%; height: 70px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-wall a:hover { background: var(--paper-2); }
.logo-wall a:hover img { filter: none; opacity: 1; }
.logo-wall__more { gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; background: var(--ink) !important; color: #fff; }
.logo-wall__more:hover { background: var(--accent) !important; color: var(--ink); }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* service rows */
.service { padding-block: 56px; border-top: 1px solid var(--line); }
.service__img { min-height: 340px; height: 100%; max-height: 520px; overflow: hidden; background: var(--paper-2); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service .rule { margin-bottom: 20px; }
.service__img--square { aspect-ratio: 1 / 1; min-height: 0; height: auto; max-height: 560px; background: #fff; }
.service__img--square img { object-fit: contain; }
.impressions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.impressions__item { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.impressions__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .impressions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form--panel { background: var(--paper-2); padding: 28px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field input, .field select, .field textarea { padding: 14px; border: 1px solid #BBB; background: #fff; border-radius: 0; font-size: 15px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input, .field select { height: 52px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer; line-height: 1.2;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field select:hover, .field input:hover, .field textarea:hover { border-color: var(--ink); }
.field select::-ms-expand { display: none; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; line-height: 1.2; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input::placeholder, .field textarea::placeholder { color: #999; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field__error, .form__error { color: #B00020; font-size: 13px; }
.form__error { grid-column: 1 / -1; border-left: 3px solid #B00020; padding-left: 12px; }
.form__ok { border: 1px solid var(--ink); border-top: 6px solid var(--accent); padding: 24px; background: #fff; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices legend { font-size: 14px; margin-bottom: 8px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #BBB; background: #fff; font-size: 14px; transition: background .2s, border-color .2s; }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* appointment */
.booking { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.booking__main { flex: 999 1 560px; min-width: 0; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.booking__aside { flex: 1 1 300px; min-width: 0; background: var(--dark); color: #fff; padding: 32px; position: sticky; top: 110px; }
.booking__aside .eyebrow { color: var(--accent); }
.booking__aside a { color: #fff; }
.step { font-weight: 700; margin-bottom: 12px; }

/* shooting glasses */
.dark-hero { background: var(--dark); color: #fff; display: flex; flex-wrap: wrap; }
.dark-hero__text { flex: 1 1 520px; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px); }
.dark-hero__text .eyebrow { color: var(--accent); }
.dark-hero__text .lead { color: #DDD; }
.dark-hero__img { flex: 1 1 420px; min-height: 420px; }
.dark-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.steps { counter-reset: step; }
.steps__item { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.steps__num { width: 44px; height: 44px; border: 1px solid var(--ink); border-bottom: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 300; font-size: 18px; }
.quote { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; background: var(--paper-2); padding: clamp(24px, 4vw, 48px); }
.quote img { width: 200px; height: 240px; object-fit: cover; flex: none; }
.quote blockquote { margin: 0; flex: 1 1 320px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; font-style: italic; line-height: 1.4; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.product { border: 1px solid var(--line); padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.product img { max-height: 240px; width: auto; }

/* team */
.person { display: flex; flex-direction: column; gap: 10px; }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.team-note { margin: 0; padding: clamp(32px, 6vw, 64px) 0; text-align: center; font-weight: 300; font-style: italic; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.35; border-block: 1px solid var(--line); }
.job { border: 1px solid var(--line); border-top: 6px solid var(--accent); padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }

/* hours */
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.hours__row strong { font-weight: 700; }
.hours__row[aria-current="date"] strong::after { content: " · heute"; font-weight: 400; color: var(--muted); font-size: 14px; }

/* CTA band */
.cta { background: var(--paper-2); border-top: 1px solid var(--line); }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-block: 88px; }
.cta p { margin: 14px 0 0; }

/* footer */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: 14px; line-height: 1.9; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.footer__cols { border-bottom: 1px solid #2E2E2E; padding-block: 72px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; }
.footer__col h2 { font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: #888; margin-bottom: 10px; }
.footer__newsletter { display: flex; gap: 0; margin-top: 8px; }
.footer__newsletter input { flex: 1; min-width: 0; padding: 12px; border: 1px solid #444; background: transparent; color: #fff; border-radius: 0; }
.footer__newsletter button { border: 1px solid var(--accent); background: var(--accent); color: var(--ink); padding: 0 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.footer__legal { padding-block: 28px 36px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #888; }
.footer__legal a { color: #888; }

/* pimcore editmode helpers */
.pimcore_editable_image { min-height: 60px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
