/* =============================================================
   GOOD COMMERCE – Unternehmenswebsite
   Corporate CSS (Dachmarke). Marken-Akzente nur in .brand-* Klassen.
   Farben: Gold #C9A53B / Highlight #E3C766 / Tiefe #A67C1E
           Schwarz #000 / Weiss #FFF
   Schrift: Montserrat (Corporate)
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --gold: #C9A53B;
  --gold-hi: #E3C766;
  --gold-deep: #A67C1E;
  --black: #000000;
  --ink: #111111;
  --white: #FFFFFF;
  --bg-dark: #0b0b0b;
  --bg-dark-2: #141414;
  --bg-light: #f7f6f3;
  --text-light: #eceae4;
  --text-muted: #b9b6ad;
  --border-dark: #2a2a2a;
  --border-light: #e4e1d8;

  /* Marken-Akzente (nur innerhalb der Marken-Kacheln/-Sektionen) */
  --good-designs: #B7AC92;   /* Sand/Taupe */
  --massi-morino: #C7A23A;   /* Gold auf Schwarz */
  --mia-milano: #C9D1CB;     /* Salbeigrau */
  --mia-milano-rose: #9B1B22;/* Rosen-Linie */
  --valino: #AC8E3C;         /* Antikgold */
  --valino-pastel: #cbb9a0;
  --montoi: #A8C6DE;         /* Pastellblau */
  --montoi-coral: #E5A593;   /* Koralle */

  --maxw: 1180px;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0,0,0,.28);
  --transition: .25s ease;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Accessibility: sichtbarer Fokus */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 6px; cursor: pointer;
  border: 2px solid var(--gold); transition: var(--transition);
  letter-spacing: .02em;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--black); }
.btn-on-light { border-color: var(--gold-deep); color: var(--gold-deep); background: transparent; }
.btn-on-light:hover { background: var(--gold-deep); color: var(--white); }
.btn-disabled { opacity: .5; cursor: default; pointer-events: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dark);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 146px;
}
.brand-logo {
  font-weight: 700; letter-spacing: .18em; font-size: 1.05rem;
  color: var(--white); text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.brand-logo span { color: var(--gold); }
.brand-logo-img-header { height: 120px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-light); font-size: .95rem; font-weight: 500;
  padding: 6px 2px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 146px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bg-dark); border-bottom: 1px solid var(--border-dark);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { border-top: 1px solid var(--border-dark); }
  .nav-links a { display: block; padding: 16px 22px; }
  .nav-links a::after { display: none; }
}

/* ---------- Sections / Layout ---------- */
section { padding: 74px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-darker { background: var(--black); color: var(--text-light); }
.section-light { background: var(--white); color: var(--ink); }
.section-muted { background: var(--bg-light); color: var(--ink); }
.section-dark h1, .section-dark h2, .section-dark h3,
.section-darker h1, .section-darker h2, .section-darker h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 60ch; }
.section-light .lead, .section-muted .lead { color: #5a574e; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: radial-gradient(1200px 600px at 70% -10%, #1c1a12 0%, var(--black) 60%);
  color: var(--white); padding: 120px 0 110px; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(201,165,59,.06) 100%);
  pointer-events: none;
}
.hero-inner { max-width: 760px; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { color: #d6d3ca; font-size: 1.18rem; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero { padding: 84px 0 60px; }
.page-hero .lead { color: #d6d3ca; }

/* ---------- Vertrauensblock ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.trust-item { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.trust-item h3 { color: var(--gold-hi); margin-bottom: .3em; }
.trust-item p { color: var(--text-muted); margin: 0; }

/* ---------- Marken-Kacheln (Grid) ---------- */
.brand-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
.brand-card {
  background: var(--bg-dark-2); border: 1px solid var(--border-dark);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}
.brand-card:hover { transform: translateY(-4px); border-color: var(--brand-accent, var(--gold)); }
.brand-swatch {
  display: block; background: var(--logo-bg, #ffffff); position: relative; overflow: hidden;
}
/* Wide-Logo 1:1, volle Breite, kein Zuschnitt (natürliches Seitenverhältnis) */
.brand-swatch .brand-logo-img { width: 100%; height: auto; display: block; }
/* Text-Fallback zentrieren, falls Logo-Datei fehlt */
.brand-swatch .placeholder-logo { align-self: center; }
/* Transparente Logos (Valino, Montoi): zentriert auf der Fläche, nicht zuschneiden */
.brand-logo-img.logo-contain { object-fit: contain; padding: 9%; box-sizing: border-box; }
/* Text-Fallback, falls Logo-Datei (noch) fehlt: Markenname in Akzentfarbe */
.brand-swatch .placeholder-logo {
  font-weight: 700; font-size: 1.35rem; letter-spacing: .02em;
  color: var(--brand-accent, #111); text-align: center; padding: 0 14px;
  align-items: center; justify-content: center; width: 100%;
}
.brand-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.brand-card-body h3 { color: var(--white); margin-bottom: .35em; }
.brand-card-body p { color: var(--text-muted); font-size: .96rem; flex: 1; }
.brand-card-link { margin-top: 16px; font-weight: 600; color: var(--brand-accent, var(--gold)); font-size: .92rem; }
.brand-card-link::after { content: " \2192"; }

/* ---------- Ueber-uns Teaser ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split .media-ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a1a, #222); border: 1px dashed #3a3a3a;
  display: flex; align-items: center; justify-content: center; color: #6a6a6a;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 0;
  position: relative; overflow: hidden;
}
.split .media-ph.has-photo { background: #decfbb; border-style: solid; border-color: #decfbb; }
/* Teamfoto vollständig zeigen (kein Zuschnitt) */
.media-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; border: 0; }

/* ---------- Story / Gründungsgeschichte ---------- */
.story { max-width: 780px; margin: 0 auto; }
.story-year {
  font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 700; line-height: 1;
  color: var(--gold); letter-spacing: -.02em; margin: 6px 0 18px;
}
.story h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.6rem); }
.story p { color: #d6d3ca; font-size: 1.12rem; margin: 0 0 1.2rem; }
.story .drop { font-size: 1.22rem; color: var(--text-light); }
.story-signature {
  margin-top: 6px; font-style: italic; color: var(--gold-hi); font-size: 1.05rem;
}
.story-rule { width: 56px; height: 4px; background: var(--gold); border-radius: 3px; margin: 30px 0; }

/* ---------- Werte ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.value-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 26px 22px;
}
.section-muted .value-card { background: var(--white); }
.value-card .num { font-weight: 700; color: var(--gold-deep); font-size: .85rem; letter-spacing: .18em; }
.value-card h3 { margin: 10px 0 .4em; color: var(--ink); }
.value-card p { color: #5a574e; font-size: .95rem; margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; }
.team-card {
  background: var(--bg-dark-2); border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.avatar-ph {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px;
  background: radial-gradient(circle at 50% 35%, #2c2c2c, #1a1a1a);
  border: 2px solid var(--gold-deep); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-size: 1.4rem;
}
.team-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .25em; }
.team-card .role-note { color: var(--text-muted); font-size: .85rem; margin: 0; }
.disclaimer { margin-top: 26px; font-size: .85rem; color: var(--text-muted); font-style: italic; }

/* ---------- Marken-Detailsektionen (marken.html) ---------- */
.brand-section { padding: 66px 0; border-top: 1px solid var(--border-dark); }
.brand-section:first-of-type { border-top: 0; }
.brand-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.brand-section.reverse .brand-layout { grid-template-columns: 1.2fr .8fr; }
.brand-section.reverse .brand-visual { order: 2; }
.brand-visual {
  aspect-ratio: 1 / 1; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--logo-bg, #ffffff); overflow: hidden;
}
.brand-visual .brand-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-visual .placeholder-logo { font-size: 2rem; font-weight: 700; color: var(--brand-accent, #111); text-align: center; padding: 0 20px; }
.brand-signal { height: 5px; width: 64px; background: var(--brand-accent, var(--gold)); margin-bottom: 20px; border-radius: 3px; }
.brand-info h2 { color: var(--white); }
.brand-info .target { color: var(--gold-hi); font-size: .92rem; font-weight: 500; margin: 14px 0 20px; }
.brand-info p { color: var(--text-muted); }

/* Überschriften einheitlich in Corporate-Schrift (Montserrat) – keine markenspezifischen Fonts */

/* ---------- Karriere ---------- */
.value-inline { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.value-inline li { color: var(--gold-hi); font-weight: 600; font-size: .9rem; }
.value-inline li:not(:last-child)::after { content: " ·"; color: var(--text-muted); margin-left: 18px; }
.job-list { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; }
.job-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 24px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.job-card h3 { margin: 0 0 .3em; color: var(--ink); }
.job-meta { color: #6a675e; font-size: .88rem; margin: 0 0 .4em; }
.job-card p { color: #5a574e; font-size: .95rem; margin: 0; max-width: 60ch; }
.job-card .btn { flex-shrink: 0; }

/* Aufklappbare Detail-Stellenanzeigen */
.jobs { display: flex; flex-direction: column; gap: 16px; margin-top: 34px; }
.job {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
}
.job[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.job > summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.job > summary::-webkit-details-marker { display: none; }
.job > summary h3 { margin: 0 0 .3em; color: var(--ink); font-size: 1.15rem; }
.job > summary .job-meta { margin: 0; }
.job-toggle { flex-shrink: 0; font-weight: 600; font-size: .9rem; color: var(--gold-deep); white-space: nowrap; }
.job-toggle::after { content: " +"; }
.job[open] .job-toggle::after { content: " –"; }
.job[open] .job-toggle { opacity: .8; }
.job-body { padding: 4px 26px 28px; border-top: 1px solid var(--border-light); }
.job-body h4 { margin: 22px 0 8px; color: var(--ink); font-size: 1rem; letter-spacing: .01em; }
.job-body p { color: #4c4a43; font-size: .96rem; margin: 0 0 .8rem; max-width: 70ch; }
.job-body ul { margin: 0 0 .8rem; padding-left: 1.2em; max-width: 70ch; }
.job-body li { color: #4c4a43; font-size: .96rem; margin-bottom: 6px; }
.job-body .btn { margin-top: 10px; }
.job-hook { font-size: 1.02rem; color: #33312b; font-weight: 500; }
.job-scarcity { font-size: .9rem; color: var(--gold-deep); font-weight: 600; margin-top: 4px; }

/* Karriere-Teaser auf der Startseite */
.jobs-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 30px; }
.job-chip {
  display: block; background: var(--bg-dark-2); border: 1px solid var(--border-dark);
  border-left: 4px solid var(--gold); border-radius: 10px; padding: 20px 22px;
  transition: transform var(--transition), border-color var(--transition);
}
.job-chip:hover { transform: translateY(-3px); border-color: var(--gold); }
.job-chip h3 { color: var(--white); font-size: 1.05rem; margin: 0 0 .35em; }
.job-chip p { color: var(--text-muted); font-size: .85rem; margin: 0; }
.job-chip .chip-cta { color: var(--gold-hi); font-weight: 600; font-size: .85rem; }
.job-chip .chip-cta::after { content: " \2192"; }
@media (max-width: 860px) { .jobs-teaser { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 46px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .96rem;
  border: 1px solid var(--border-light); border-radius: 6px; background: var(--white); color: var(--ink);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: #6a675e; margin-top: 8px; }
.contact-info { background: var(--bg-dark); color: var(--text-light); border-radius: var(--radius); padding: 30px; }
.contact-info h3 { color: var(--white); }
.contact-info p { color: var(--text-muted); font-size: .95rem; margin: 0 0 .6rem; }
.contact-info a { color: var(--gold-hi); }
.placeholder-tag { color: var(--gold); font-style: italic; }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal { max-width: 820px; }
.legal h2 { margin-top: 2em; color: var(--ink); font-size: 1.35rem; }
.legal h3 { margin-top: 1.4em; font-size: 1.05rem; }
.legal p, .legal li { color: #33312b; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--gold-deep); text-decoration: underline; }
.review-flag {
  background: #fff6e0; border: 1px solid var(--gold); border-radius: 8px;
  padding: 16px 18px; margin: 18px 0; font-size: .9rem; color: #6a5410;
}
.review-flag strong { color: var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--text-muted); padding: 58px 0 26px; border-top: 1px solid var(--border-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-col h4 { color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: .92rem; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-brand-logo { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer-brand-logo span { color: var(--gold); }
.footer-about { font-size: .92rem; max-width: 34ch; }
.footer-brandlink { display: inline-flex; align-items: center; gap: 8px; }
.footer-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.footer-bottom {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--border-dark);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: #7c7970;
}
.footer-bottom a { color: #7c7970; }
.footer-bottom a:hover { color: var(--gold-hi); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .split, .contact-layout, .brand-layout,
  .brand-section.reverse .brand-layout { grid-template-columns: 1fr; gap: 30px; }
  .brand-section.reverse .brand-visual { order: 0; }
  .split .media-ph { order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-grid, .value-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
