/* ARTIVOY-Optik nach Designentwurf 02 (Markenwelten): Galerie-Elfenbein, Tinte, Riviera-Blau, Edles Gold.
   Wird nach styles.css geladen und überschreibt dessen Farben, Navigation und Buttons. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: local("Inter Regular"), local("Inter-Regular"), url("fonts/inter-regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: local("Inter Medium"), local("Inter-Medium"), url("fonts/inter-medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: local("Inter SemiBold"), local("Inter-SemiBold"), url("fonts/inter-semibold.woff") format("woff"); }
/* Cormorant einbinden (Dateien laut fonts/README.txt in fonts/ ablegen, dann Kommentarzeichen entfernen):
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/CormorantGaramond-Medium.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/CormorantGaramond-SemiBold.woff2") format("woff2"); }
*/

:root {
  --bg: #F8F6F1;          /* Galerie-Elfenbein */
  --paper: #FFFFFF;
  --ink: #111111;         /* Tinte */
  --navy: #163A5F;        /* Riviera-Blau */
  --navy-2: #1F4B78;
  --gold: #B88A2A;        /* Edles Gold: Linien, Icons auf Blau */
  --gold-light: #D2A94A;
  --gold-dark: #86621A;   /* Gold für Text auf hellem Grund (Kontrast >= 4,5:1) */
  --muted: #55606B;
  --line: rgba(22, 58, 95, 0.16);
  --soft: #EFEBE1;
  --radius-btn: 10px;
  --radius-tile: 10px;
  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Iowan Old Style", Georgia, serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { background: var(--bg); color: var(--ink); }

/* Überschriften */
h1, h2, h3, .tagline, .type-head { font-family: var(--serif); font-weight: 500; letter-spacing: 0.005em; color: var(--navy); }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
.eyebrow, .nav-group-title { letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600; color: var(--gold-dark); }

/* Kopfzeile: hell, mit Goldlinie */
.topbar { position: relative; background: var(--bg); color: var(--navy); border-bottom: 1px solid var(--gold); padding-block: 16px; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); opacity: 0; }
.topbar h1 { color: var(--navy); font-weight: 500; }
.topbar .eyebrow { color: var(--gold-dark); letter-spacing: 0.28em; }
.topbar .back-link { color: var(--muted); }
.topbar .back-link:hover { color: var(--navy); }
.brand-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-av { width: 54px; height: 54px; flex: none; color: var(--gold); }
.brand-av.big { width: 72px; height: 72px; }
.member-pill { background: var(--navy); border-color: var(--navy); color: #fff; border-radius: var(--radius-btn); }
.member-pill span { color: #D6DEE9; }
.member-pill strong { color: var(--gold-light); }
.lang-btn, .acc-btn { border: 1px solid rgba(22,58,95,.3); border-radius: var(--radius-btn); background: #fff; color: var(--navy); }
.lang-btn:hover, .acc-btn:hover { border-color: var(--gold); }
.lang-btn:focus-visible, .lang-menu button:focus-visible, .acc-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.acc-dot { background: rgba(22,58,95,.35); }
.acc-dot.on { background: var(--ok); }

/* Seitennavigation: blaue Kachel + Goldlinien-Icon */
.side-nav { background: var(--bg); border-right: 1px solid var(--line); gap: 4px; padding: 20px 14px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid transparent; border-radius: 12px; padding: 6px 10px 6px 6px; color: var(--navy); font-weight: 500; background: transparent; }
.nav-item > span { min-width: 0; }
.nav-item .ic { flex: none; box-sizing: content-box; width: 20px; height: 20px; padding: 7px; border-radius: var(--radius-tile); background: var(--navy); color: var(--gold); transition: transform .15s ease, box-shadow .15s ease; }
.nav-item:hover { background: rgba(255,255,255,.7); }
.nav-item:hover .ic { transform: translateY(-1px); }
.nav-item.active { background: #fff; border-color: var(--line); font-weight: 600; box-shadow: 0 1px 2px rgba(22,58,95,.08); }
.nav-item.active .ic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); }
.nav-item:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.nav-group-title { margin: 20px 10px 6px; }
.nav-more { border-top: 1px solid var(--gold); }
.nav-more summary { color: var(--navy); font-weight: 500; }
.nav-more-items .nav-item { padding: 8px 12px; font-weight: 400; font-size: .92rem; }
.nav-more-items .nav-item.active { font-weight: 600; border-left: 3px solid var(--gold); }

/* Buttons */
.primary, .secondary { border-radius: var(--radius-btn); font-weight: 500; transition: background .15s, border-color .15s, box-shadow .15s; }
.primary { background: var(--navy); border: 1px solid var(--navy); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.primary:hover:not(:disabled) { background: var(--navy-2); }
.secondary { background: #fff; border: 1px solid rgba(22,58,95,.3); color: var(--navy); }
.secondary:hover:not(:disabled) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.secondary.danger { color: var(--bad); border-color: var(--bad); }
.primary:focus-visible, .secondary:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.link-btn { display: inline-flex; align-items: center; text-decoration: none; }

/* Karten, Felder, Abschnittsköpfe */
.panel, .metric, .call-card { border-radius: 6px; background: var(--paper); border-color: var(--line); box-shadow: 0 1px 2px rgba(22,58,95,.06); }
input, select, textarea { border-radius: 8px; border-color: rgba(22,58,95,.25); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--gold); }
.section-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--gold), var(--gold)) left bottom / 64px 2px no-repeat; }
.site-footer { background: var(--navy); }
.site-footer .link-button { color: var(--gold-light); }

/* Gestaltungsseite */
.tagline { font-size: 1.6rem; color: var(--gold-dark); font-style: italic; margin: 4px 0 18px; }
.swatches { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.swatch { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.swatch .chip { height: 56px; border-radius: 4px; border: 1px solid var(--line); margin-bottom: 6px; }
.swatch small { color: var(--muted); }
.type-head { font-size: 2.2rem; margin: 0 0 6px; }
.type-body { margin: 0 0 10px; font-size: 1rem; }
.app-tiles { list-style: none; margin: 8px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.app-tile { display: grid; justify-items: center; gap: 8px; width: 88px; text-align: center; font-size: .85rem; color: var(--ink); }
.app-tile .tile { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--navy); color: var(--gold); box-shadow: 0 6px 14px rgba(22,58,95,.22); }
.app-tile .tile .ic { width: 38px; height: 38px; }
.app-tile.small .tile { width: 52px; height: 52px; border-radius: 14px; box-shadow: none; }
.app-tile.small .tile .ic { width: 26px; height: 26px; }
.nav-demo { display: grid; gap: 6px; max-width: 280px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.rules { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Mobil: Pillenleiste */
@media (max-width: 900px) {
  .side-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-item { width: auto; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; background: #fff; gap: 8px; }
  .nav-item .ic { width: 16px; height: 16px; padding: 6px; border-radius: 999px; }
  .nav-item.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
  .nav-item.active .ic { box-shadow: none; }
  .nav-more-items .nav-item { padding: 8px 14px; border-left: 1px solid var(--line); }
  .nav-more-items .nav-item.active { border-left: 1px solid var(--gold); }
  .brand-av { width: 42px; height: 42px; }
  .nav-demo { max-width: none; }
}
@media (max-width: 640px) { .brand-wrap { gap: 10px; } .topbar h1 { font-size: 1.5rem; } .brand-av.big { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav-item .ic { transition: none; } .nav-item:hover .ic { transform: none; } }
.app-shell { grid-template-columns: 250px minmax(0, 1fr); }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; } }
.nav-item > span { overflow-wrap: break-word; hyphens: manual; }

/* Portfolio & Verkauf (Künstlerbereich) */
.pf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.pf-werk { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 14px; }
.pf-thumb, .pf-portrait { width: 120px; height: 120px; object-fit: cover; border-radius: 6px; background: #ece8dd; border: 1px solid var(--line); }
.pf-portrait { width: 96px; height: 96px; border-radius: 50%; }
.pf-portrait-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pf-bilder { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0; padding: 0; }
.pf-bilder li { display: grid; gap: 6px; justify-items: start; } .pf-bilder img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #ece8dd; }
.pf-bild-btn { display: flex; flex-direction: column; gap: 4px; align-items: stretch; } .pf-bild-btn .secondary { min-height: 36px; padding: 4px 8px; font-size: .82rem; }
.pf-nachricht { white-space: pre-wrap; padding: 10px 12px; background: var(--bg); border-left: 3px solid var(--gold); }
@media (max-width: 560px) { .pf-werk { grid-template-columns: 1fr; } .pf-thumb { width: 100%; height: 180px; } }
