/* =====================================================================
   Handke — Juwelier und Goldschmiede · gemeinsames Stylesheet
   Optik: Hellgrau · schwarze Schrift · Gold-Akzente
   ===================================================================== */

:root {
  --bg: #e9e9e7;
  --bg-alt: #e1e1de;
  --bg-elev: #dcdcd9;
  --ink: #131313;
  --ink-soft: #45443f;
  --gold: #b8912f;
  --gold-deep: #9a7827;
  --line: rgba(0, 0, 0, 0.14);
  --line-soft: rgba(0, 0, 0, 0.08);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.12;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.eyebrow {
  color: var(--gold-deep);
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: 0.3em; margin-bottom: 1.1rem; display: block;
}
em { color: var(--gold); font-style: italic; }
.gold { color: var(--gold); }

/* Geschwungene Schreibschrift für die hervorgehobenen Display-Wörter */
.hero h1 em, h2 em, .page-header h1 em, .manifest .quote em {
  font-family: 'Pinyon Script', 'Cormorant Garamond', cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--gold-deep);
  font-size: 1.32em;
  line-height: 0.9;
  padding: 0 .04em;
}

/* ─────────────── Header ─────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1rem 0;
  background: transparent;
  transition: background .3s, padding .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(233, 233, 231, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: .55rem 0;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* Beide Logos links */
.brand-group { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.brand-group img { height: 40px; width: auto; transition: opacity .3s, height .3s; }
.site-header.scrolled .brand-group img { height: 34px; }
.brand-group .divider { width: 1px; height: 34px; background: var(--line); }
.brand-group a { display: inline-flex; }

/* Menü */
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2rem; }
.main-nav a, .main-nav .nav-label {
  font-size: .8rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink); font-weight: 400; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem 0; white-space: nowrap;
}
.main-nav a:hover, .main-nav .nav-label:hover { color: var(--gold-deep); }
.main-nav li.active > a, .main-nav li.active > .nav-label { color: var(--gold-deep); }
.main-nav li.active > a::after { content: ''; }
.has-sub > .nav-label::after {
  content: '▾'; font-size: .7em; color: var(--gold); transition: transform .25s;
}
.has-sub:hover > .nav-label::after, .has-sub:focus-within > .nav-label::after { transform: rotate(180deg); }

/* Dropdown */
.has-sub { position: relative; }
.submenu {
  list-style: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 200px; background: rgba(233,233,231,0.98);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.12);
  padding: .5rem 0; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.submenu li { display: block; }
.submenu a {
  display: block; padding: .6rem 1.4rem; letter-spacing: 0.14em; font-size: .76rem;
  border-left: 2px solid transparent;
}
.submenu a:hover { background: var(--bg-elev); border-left-color: var(--gold); color: var(--ink); }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 210;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink);
  transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────── Hero (Startseite) ─────────────── */
.hero { padding: calc(var(--header-h) + 4rem) 0 4rem; text-align: center; }
.hero .ornament { color: var(--gold); font-size: 1.4rem; letter-spacing: 1.1rem; margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 300; margin: 0 auto 1.1rem; max-width: 16ch; }
.hero .tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--ink-soft);
  max-width: 640px; margin: 0 auto;
}
.hero-figure { max-width: 1040px; margin: 3.5rem auto 0; padding: 0 2rem; }
.frame { position: relative; overflow: hidden; border: 1px solid #000; }
.frame::before {
  content: ''; position: absolute; inset: 0; border: 1px solid var(--gold);
  transform: translate(14px, 14px); z-index: -1;
}
.hero-figure .frame { aspect-ratio: 16/8; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.6rem; border: 1px solid #000; color: var(--ink);
  font-size: .76rem; text-transform: uppercase; letter-spacing: 0.22em;
  background: transparent; transition: all .3s; cursor: pointer;
}
.btn:hover { background: var(--gold); border-color: #000; color: #000; }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: var(--gold-deep); color: #fff; }

/* ─────────────── Sektionen ─────────────── */
section { padding: 6rem 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; line-height: 1.75; }
.divider-line { height: 1px; background: var(--line); max-width: 1240px; margin: 0 auto; }

/* Page-Header (Unterseiten) */
.page-header { padding: calc(var(--header-h) + 3.5rem) 0 2.5rem; text-align: center; }
.page-header h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 300; margin-bottom: .8rem; }
.page-header p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--ink-soft); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--gold-deep); }

/* ─────────────── Unikate-Block (Startseite, erster Block) ─────────────── */
.unikat { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4.5rem; align-items: center; }
.unikat-quote blockquote { margin: 0; }
.unikat-quote .quote-text {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.4; color: var(--ink);
}
.unikat-quote .quote-text::before { content: '„'; color: var(--gold); font-size: 1.2em; }
.unikat-quote .quote-text::after  { content: '“'; color: var(--gold); font-size: 1.2em; }
.unikat-quote .quote-text .more { color: var(--ink-soft); }
.unikat-quote cite { display: block; margin-top: 1.7rem; font-style: normal; font-size: .76rem; text-transform: uppercase; letter-spacing: .24em; color: var(--gold-deep); }
.unikat-fig { overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.10); }
.unikat-fig img { width: 100%; height: auto; display: block; }
@media (max-width: 920px) {
  .unikat { grid-template-columns: 1fr; gap: 2.2rem; }
  .unikat-quote { text-align: center; }
}

/* ─────────────── Kachel-Raster (freigestellt, weißer Hintergrund) ─────────────── */
.tile-grid { display: grid; gap: 2.4rem 1.8rem; align-items: start; }
.tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.tile { display: block; text-align: center; }
.tile .tile-img {
  aspect-ratio: 4/5; background: #fff; overflow: hidden;
  box-shadow: 0 16px 38px rgba(0,0,0,.07);
  transition: box-shadow .4s ease, transform .4s ease;
}
.tile .tile-img img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .6s ease; }
.tile:hover .tile-img { box-shadow: 0 26px 60px rgba(0,0,0,.13); transform: translateY(-5px); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile h3 {
  font-size: 1.7rem; margin-top: 1.3rem; color: var(--ink); transition: color .25s;
  position: relative; display: inline-block; padding-bottom: .5rem;
}
.tile h3::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .4s ease, left .4s ease;
}
.tile:hover h3 { color: var(--gold-deep); }
.tile:hover h3::after { width: 64%; left: 18%; }
/* Versatz / Zickzack */
.tile-grid.cols-3 .tile:nth-child(2) { transform: translateY(3rem); }
.tile-grid.cols-2 .tile:nth-child(2) { transform: translateY(3.4rem); }

/* Teaser-Reihe (Philosophie/Leistungen/Kontakt) */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.teaser {
  border: 1px solid var(--line); background: var(--bg-alt); padding: 2.4rem 2rem;
  display: flex; flex-direction: column; gap: .6rem; transition: background .3s, transform .3s;
}
.teaser:hover { background: var(--bg-elev); transform: translateY(-3px); }
.teaser .t-icon { width: 34px; height: 34px; color: var(--gold-deep); margin-bottom: .4rem; }
.teaser h3 { font-size: 1.5rem; }
.teaser p { color: var(--ink-soft); font-size: .95rem; }
.teaser .go { margin-top: auto; color: var(--gold-deep); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }

/* ─────────────── Kollektions-Galerie ─────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.piece { text-align: center; }
.piece .piece-img { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: var(--bg-elev); }
.piece img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.piece:hover img { transform: scale(1.04); }
.piece h3 { font-size: 1.3rem; margin-top: 1rem; }
.piece .p-sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-deep); margin-top: .2rem; }

/* Zwei-Spalten Intro (Bild + Text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split .split-img { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid #000; }
.split .split-img img { width: 100%; height: 100%; object-fit: cover; }
.split .split-img::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--gold); transform: translate(16px,16px); z-index: -1; }
.split p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.signature { margin-top: 1.6rem; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.35rem; color: var(--gold-deep); }

/* Video */
.video-block { max-width: 400px; margin: 0 auto; }
.video-block .frame { aspect-ratio: 9/16; }
.video-block video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-cap { text-align: center; font-style: italic; color: var(--ink-soft); margin-top: 1.2rem; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }

/* Leistungen-Karten */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--bg); padding: 2.4rem 1.8rem; transition: background .3s; }
.service-card:hover { background: var(--bg-alt); }
.service-icon { width: 36px; height: 36px; color: var(--gold-deep); margin-bottom: 1.1rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.svc-list { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; line-height: 1.9; color: var(--ink-soft); max-width: 840px; margin: 1.5rem auto 0; }

/* Trauringe: Zitat + Untertitel */
.tr-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.4; color: var(--ink); }
.tr-quote::before { content: '„'; color: var(--gold); }
.tr-quote::after  { content: '“'; color: var(--gold); }
.tr-cite { margin-top: 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .24em; color: var(--gold-deep); }
.tr-tag  { margin-top: 1.9rem; font-size: 1.15rem; color: var(--ink-soft); font-weight: 300; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info dt { font-size: .72rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .25em; margin: 1.8rem 0 .4rem; }
.contact-info dt:first-of-type { margin-top: 0; }
.contact-info dd { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; line-height: 1.4; }
.hours { background: var(--bg-elev); border: 1px solid var(--line); padding: 2.4rem; }
.hours h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.hours-row { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.hours-row:last-child { border: none; }
.hours-row .day { color: var(--ink-soft); }
.hours-row .time { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.map-embed { width: 100%; aspect-ratio: 16/7; border: 1px solid #000; margin-top: 2.5rem; filter: grayscale(0.2) contrast(1.02); }

/* Legal / Prosa */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.6rem 0 .5rem; font-family: 'Inter'; font-weight: 600; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: .8rem; }
.prose ul { padding-left: 1.2rem; }
.note { background: var(--bg-alt); border-left: 3px solid var(--gold); padding: 1rem 1.3rem; font-size: .9rem; color: var(--ink-soft); margin: 1.4rem 0; }

/* ─────────────── Footer ─────────────── */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-brand .footer-logos { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.footer-brand .footer-logos img { height: 34px; }
.footer-brand p { color: var(--ink-soft); font-size: .9rem; }
.footer-col h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .22em; color: var(--gold-deep); margin-bottom: 1rem; font-family: 'Inter'; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: var(--ink-soft); font-size: .92rem; }
.footer-col a:hover { color: var(--gold-deep); }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: var(--ink-soft); }
.footer-bottom .legal a { font-size: .78rem; color: var(--ink-soft); margin-left: 1.4rem; }
.footer-mark { color: var(--gold); letter-spacing: .4rem; }

/* ─────────────── Responsive ─────────────── */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .container { padding: 0 1.4rem; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 205;
    background: rgba(233,233,231,0.98); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; gap: 1.3rem; text-align: center; }
  .main-nav a, .main-nav .nav-label { font-size: 1rem; letter-spacing: .18em; justify-content: center; }
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: none; box-shadow: none; padding: .4rem 0 0;
    min-width: auto; display: block;
  }
  .submenu a { padding: .35rem 0; font-size: .82rem; color: var(--ink-soft); }
  .has-sub > .nav-label::after { content: ''; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split .split-img::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .teaser-grid { grid-template-columns: 1fr; }
  .tile-grid.cols-3, .tile-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .tile-grid.cols-3 .tile:nth-child(2), .tile-grid.cols-2 .tile:nth-child(2) { transform: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-figure .frame::before { display: none; }
}
@media (max-width: 560px) {
  .brand-group img { height: 32px; }
  .brand-group { gap: .7rem; }
  .tile-grid.cols-3, .tile-grid.cols-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
}
