/* =============================================
   GEORG MARKFORT GmbH & Co. KG — Globales CSS
   Schriften: EB Garamond (Serif) + Lato (Sans)
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- LOKALE SCHRIFTEN ---- */
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/garamond-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/garamond-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/garamond-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --rot: #6a1112;
  --rot-hell: #a01a1b;
  --rot-dunkel: #4a0c0d;
  --dark: #1A1A18;
  --brown: #3D2B1F;
  --warm-gray: #F5F2ED;
  --text: #2C2C2A;
  --text-muted: #6B6460;
  --border: rgba(106,17,18,0.2);
  --ff-serif: 'EB Garamond', Georgia, serif;
  --ff-sans: 'Lato', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }  /* Sprungziele nicht unter der festen Navigation verstecken */
body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}

/* ---- NAVIGATION ---- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-toggle { display: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.aktiv { color: var(--rot); border-bottom-color: var(--rot); }

/* ---- BUTTONS ---- */
.btn-rot {
  display: inline-block;
  padding: .75rem 2.25rem;
  border: 1px solid var(--rot);
  color: var(--rot);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-rot:hover { background: var(--rot); color: #fff; }

.btn-hell {
  display: inline-block;
  padding: .75rem 2.25rem;
  border: 1px solid rgba(255,255,255,.5);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-hell:hover { background: #fff; color: var(--rot); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rot);
  text-decoration: none;
  margin-top: 1.5rem;
}
.link-arrow::after { content: '→'; }
.link-arrow:hover { color: var(--rot-dunkel); }

/* ---- LAYOUT ---- */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.section-body { color: var(--text-muted); max-width: 560px; }
.divider {
  width: 48px; height: 1px;
  background: var(--rot);
  margin: 1.5rem 0;
}

/* ---- PAGE HERO (Unterseiten) ---- */
.page-hero {
  background: var(--dark);
  color: #fff;
  padding: 4.5rem 2rem;
  text-align: center;
}

/* Roter Lichtschein im Header – gilt für Startseite, Trauringe und alle Unterseiten */
.hero, .hero-trauring, .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before, .hero-trauring::before, .page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(106,17,18,.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.page-hero .section-eyebrow { color: rgba(255,255,255,.4); }
.page-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
}

/* ---- TEAM (Startseite + Über uns) ---- */
.team-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.5rem 1.5rem;
  margin-top: 3rem;
}
.team-card {
  flex: 0 1 calc((100% - 3rem) / 3);
  background: #fff;
  border: .5px solid var(--border);
  display: flex; flex-direction: column;
}
.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #d8cdbf 0%, #a49384 100%);
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
/* Platzhalter, solange noch kein Foto da ist: Initialen */
.team-monogramm {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif);
  font-size: 4.5rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
}
.team-info { padding: 1.4rem 1.5rem 1.6rem; }
.team-info h4 {
  font-family: var(--ff-serif);
  font-size: 1.3rem; font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: .3rem;
}
.team-info .rolle {
  font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rot);
  margin-bottom: .7rem;
}
.team-info p { font-size: .88rem; color: var(--text-muted); }

/* ---- MARKENWAND (Uhren, Schmuck) ---- */
.marken-wand {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.marken-wand--5 { grid-template-columns: repeat(5, 1fr); }
.marke {
  position: relative;
  background: #fff;
  min-height: 150px;
  padding: 1.75rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
}
.marke img {
  max-width: 68%;
  max-height: 62px;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .8;
  transition: filter .35s ease, opacity .35s ease;
}
.marke--hoch img { max-height: 84px; }       /* fast quadratische Logos */
.marke--breit img { max-width: 80%; }        /* sehr flache Logos */
a.marke:hover img, a.marke:focus-visible img { filter: none; opacity: 1; }
.marke-name {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  color: #8a817c;
}
a.marke:hover .marke-name { color: var(--dark); }
.marke-link {
  position: absolute; top: .9rem; right: .9rem;
  width: 14px; height: 14px;
  color: #b9b0aa;
  transition: color .2s;
}
a.marke:hover .marke-link, a.marke:focus-visible .marke-link { color: var(--rot); }
a.marke:focus-visible { outline: 2px solid var(--rot); outline-offset: -2px; }
.marken-hinweis {
  margin-top: 1.25rem;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ---- FOOTER (hell) ---- */
footer {
  background: #fff;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 0;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo img { height: 64px; width: auto; display: block; }
.footer-inner p { font-size: .88rem; line-height: 1.8; }
.footer-inner h5 {
  font-family: var(--ff-serif);
  font-size: 1.1rem; font-weight: 400;
  color: var(--dark);
  margin-bottom: .9rem;
}
.footer-inner ul { list-style: none; }
.footer-inner ul li { font-size: .88rem; margin-bottom: .45rem; }
.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-inner a:hover { color: var(--rot); }
.footer-hinweis { margin-top: .9rem; color: var(--rot); }
.footer-bottom {
  max-width: 1080px; margin: 0 auto;
  border-top: .5px solid var(--border);
  padding: 1.4rem 0 1.8rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .78rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; margin-left: 1.5rem; }
.footer-bottom a:hover { color: var(--rot); }

/* ---- RESPONSIVE ---- */
/* ---- MOBILES MENÜ ---- */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 1.5px; width: 100%;
    background: var(--dark);
    transition: transform .25s ease;
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-toggle:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px -18px rgba(26,26,24,.25);
    padding: .5rem 0 1.25rem;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.offen { display: flex; }
  .nav-links li { border-top: .5px solid var(--border); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: .85rem;
    border-bottom: 0;
  }
  .nav-links a.aktiv { border-bottom: 0; box-shadow: inset 2px 0 0 var(--rot); }
}

@media (max-width: 960px) {
  .marken-wand, .marken-wand--5 { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .team-card { flex-basis: calc((100% - 1.5rem) / 2); }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .footer-bottom a { margin: 0 1.5rem 0 0; }
}
@media (max-width: 560px) {
  .team-grid { gap: 1rem .75rem; margin-top: 2rem; }
  .team-card { flex-basis: calc((100% - .75rem) / 2); min-width: 0; }
  .team-info h4, .team-info .rolle, .team-info p { hyphens: auto; overflow-wrap: anywhere; }
  .team-monogramm { font-size: 2.6rem; }
  .team-monogramm svg { width: 44px; height: 44px; }
  .team-info { padding: .9rem .85rem 1rem; }
  .team-info h4 { font-size: 1.02rem; }
  .team-info .rolle { font-size: .62rem; letter-spacing: .04em; margin-bottom: .45rem; }
  .team-info p { font-size: .76rem; line-height: 1.5; }
  .marken-wand, .marken-wand--5 { grid-template-columns: repeat(2, 1fr); }
  .marke { min-height: 120px; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
