/* praxis-dasein.ch – Versuch Elfenbein / Espresso, freigegeben 9. November 2026.
   Helle Navigation, Hauptfläche #FAF7F2, Texte/Buttons #2E241F.
   Keine zusätzliche Tönung oder Filter der Originalbilder. Inhalte bleiben unverändert.
   Die zuvor freigegebene responsive Navigationskorrektur bleibt erhalten. */
:root, .dark {
  --farbe-hintergrund: #FAF7F2;
  --farbe-flaeche: #F2ECE3;
  --farbe-espresso: #2E241F;
  --farbe-text: #2E241F;
  --farbe-text-sekundaer: #665B52;
  --farbe-gold: #B28A50;
  --farbe-linie: #DDD4C7;
  --background: #FAF7F2;
  --foreground: #2E241F;
  --primary: #2E241F;
  --primary-foreground: #FAF7F2;
  --secondary: #F2ECE3;
  --secondary-foreground: #2E241F;
  --accent: #B28A50;
  --accent-foreground: #2E241F;
  --card: #FAF7F2;
  --card-foreground: #2E241F;
  --popover: #FAF7F2;
  --popover-foreground: #2E241F;
  --muted: #F2ECE3;
  --muted-foreground: #665B52;
  --border: #DDD4C7;
  --input: #665B52;
  --ring: #665B52;
  --sidebar: #FAF7F2;
  --sidebar-foreground: #2E241F;
  --sidebar-primary: #2E241F;
  --sidebar-primary-foreground: #FAF7F2;
  --sidebar-accent: #F2ECE3;
  --sidebar-accent-foreground: #2E241F;
  --sidebar-border: #DDD4C7;
  --sidebar-ring: #665B52;
}
body, #root { background-color: #FAF7F2; color: #2E241F; }
/* Light navigation: no dark top band and no gold text as the default. */
header { background-color: #FAF7F2 !important; border-color: #DDD4C7 !important; }
header a, header button,
header > .container > div:first-child [class*="text-primary"],
header nav a, header nav button { color: #2E241F; }
header a:hover, header nav a:hover { color: #45362C; }
header .fixed.inset-0 { background-color: #FAF7F2; }
footer { background-color: #FAF7F2; color: #2E241F; }
footer a:hover { color: #45362C; }
h1, h2, h3 { color: #2E241F !important; }
h1 [class*="text-accent-foreground"] { color: #2E241F !important; }
#philosophie, #angebot, #arbeitsmittel, #kontakt { background-color: #F2ECE3 !important; }
.bg-\[\#F5F5F0\] { background-color: #FAF7F2 !important; }
.to-\[\#F5F5F0\] { --tw-gradient-to: #FAF7F2 !important; }
.via-\[\#F5F5F0\]\/50 { --tw-gradient-via: #FAF7F280 !important; }
[class*="text-[#2C4A52]"], [class*="text-[#2c4a52]"] { color: #2E241F !important; }
[class*="border-[#2C4A52]"] { border-color: #DDD4C7 !important; }
.bg-\[\#1a1a19\] { background-color: #2E241F !important; }
.text-\[\#34322d\], .text-\[\#858481\] { color: #665B52 !important; }
/* Primary actions are espresso, not pale gold. Secondary actions retain their outline. */
[data-slot="button"].bg-primary, button.bg-primary,
header [data-slot="button"][href^="mailto:"] {
  background-color: #2E241F !important; color: #FAF7F2 !important;
}
[data-slot="button"].bg-primary:hover, button.bg-primary:hover,
header [data-slot="button"][href^="mailto:"]:hover {
  background-color: #45362C !important; color: #FAF7F2 !important;
}
[data-slot="button"] svg { color: inherit; }
#buch p[style*="color: rgba(100, 116, 139"],
#buch p[style*="color:rgba(100,116,139"] { color: #665B52 !important; }
#buch span[style*="background: linear-gradient"] {
  background: #2E241F !important; color: #FAF7F2 !important;
}
#artikel-section { background-color: #FAF7F2; }
#artikel-section .artikel-card { background-color: #FAF7F2; border-color: #DDD4C7; }
#artikel-section .artikel-tag, #artikel-section .artikel-arrow { color: #665B52; }
#artikel-section .artikel-meta { color: #665B52; }
#livesignatur-section { background-color: #FAF7F2; }
#livesignatur-section .signaturx-principle,
#livesignatur-section .livesignatur-availability {
  background-color: #F2ECE3 !important;
  border-color: #DDD4C7 !important;
  border-left-color: #B28A50 !important;
  color: #2E241F !important;
}
#livesignatur-section .signaturx-principle strong { color: #2E241F; }
#livesignatur-section .livesignatur-copy { color: #2E241F !important; }
#arbeitsmittel .signaturx-worktool:hover { background-color: #FAF7F2; }
.roman3-edition-card { background: #F2ECE3; border-color: #DDD4C7; }
.roman3-edition-intro, .roman3-edition-intro strong,
.roman3-edition-date span, .roman3-italian-subtitle,
.roman3-italian-meta, .roman3-italian-meta strong { color: #2E241F; }
.roman3-edition-date { background-color: #FAF7F2; border-color: #B28A50; }
.roman3-edition-date b, .roman3-italian-kicker,
.roman3-trailer-embed .roman3-trailer-label { color: #665B52; }
.roman3-italian-book img { border-color: #DDD4C7; }
.roman3-trailer-embed video { border-color: #B28A50; }
#echo-overlay .echo-modal { background-color: #FAF7F2; color: #2E241F; }
#echo-overlay .echo-close, #echo-overlay .echo-subtitle,
#echo-overlay .echo-loading, #echo-overlay .echo-result .echo-quote,
#echo-overlay .echo-result .echo-source .echo-book-title { color: #2E241F; }
#echo-overlay .echo-input-wrap input { background-color: #FAF7F2; color: #2E241F; border-color: #665B52; }
#echo-overlay .echo-input-wrap input::placeholder { color: #665B52; }
#echo-overlay .echo-input-wrap button { background-color: #2E241F; color: #FAF7F2; }
#echo-overlay .echo-input-wrap button:hover { background-color: #45362C; }
#echo-overlay .echo-ask-again,
#echo-overlay .echo-result .echo-source .echo-book-link { color: #665B52; }
#echo-overlay .echo-result .echo-source { background-color: #F2ECE3; border-color: #DDD4C7; }
#echo-section .echo-banner { background-color: #FAF7F2; border-color: #B28A50; }
#echo-section .echo-banner .echo-cta, .echo-avatar-btn span { color: #665B52; }
.bg-white\/90 { background-color: #FAF7F2 !important; color: #2E241F !important; }
:is(h1,h2,h3)[class*="text-[#2C4A52]"],
:is(h1,h2,h3)[class*="text-[#2c4a52]"] { color: #2E241F !important; }
/* Ghost controls keep a readable icon when hovered or keyboard-focused. */
header button:hover, header button:focus-visible {
  background-color: #F2ECE3; color: #2E241F !important;
}
header button:hover svg, header button:focus-visible svg { color: #2E241F; }
/* Preserve every navigation item and the original interactions. */
header > .container { column-gap: 24px; }
header > .container > div:first-child { flex-shrink: 0; }
header > .container > div:first-child span { white-space: nowrap; }
header > .container > nav { flex-shrink: 0; gap: clamp(12px, 1.1vw, 18px); }
header > .container > nav > a, header > .container > nav > button { white-space: nowrap; font-size: 0.9rem; }
header > .container > nav > [data-slot="button"] { margin-left: 0; font-size: 0.78rem; }
@media (max-width: 767px) {
  header > .container > nav { display: none; }
  header > .container > div.md\:hidden { display: block; }
}
@media (min-width: 768px) {
  header > .container > nav { display: flex; }
  header > .container > div.md\:hidden { display: none; }
}
/* Compact spacing only for smaller desktop/tablet windows; no hidden laptop navigation. */
@media (min-width: 768px) and (max-width: 1279px) {
  header > .container { max-width: none; width: 100%; padding-inline: clamp(12px, 2vw, 24px); column-gap: 16px; }
  header > .container > div:first-child span { font-size: clamp(20px, 2.2vw, 24px); }
  header > .container > nav { gap: clamp(6px, 0.8vw, 12px); }
  header > .container > nav > a, header > .container > nav > button { font-size: clamp(11px, 1.3vw, 14.4px); }
  header > .container > nav > [data-slot="button"] { font-size: clamp(10px, 1.1vw, 12.5px); padding-inline: 10px; }
}
/* Approved readable laptop typography; all menu items remain on one line. */
@media (min-width: 1024px) {
  header > .container { max-width: none; width: 100%; padding-inline: 24px; column-gap: 18px; }
  header > .container > div:first-child span { font-size: 24px; }
  header > .container > nav { gap: 8px; }
  header > .container > nav > a, header > .container > nav > button { font-size: 15px; }
  header > .container > nav > [data-slot="button"] { font-size: 13px; padding-inline: 12px; margin-left: 0; }
}
@media (min-width: 1100px) {
  header > .container > nav { gap: clamp(10px, 0.9vw, 14px); }
  header > .container > nav > a, header > .container > nav > button { font-size: 16px; }
  header > .container > nav > [data-slot="button"] { font-size: 14px; }
}

/* Center the header within the same 1280px content grid; retain readable type. */
@media (min-width: 1024px) {
  header > .container { max-width: 1280px; width: 100%; margin-inline: auto; padding-inline: 32px; column-gap: 12px; }
  header > .container > nav { gap: 6px; }
}
@media (min-width: 1100px) {
  header > .container { column-gap: 18px; }
  header > .container > nav { gap: clamp(7px, calc(7px + (100vw - 1100px) * 0.04), 16px); }
}

/* Approved 10 November 2026: keep name and menu together; preserve all type, colors and mobile rules. */
@media (min-width: 1024px) {
  header > .container { justify-content: flex-start; }
}
@media (min-width: 1100px) {
  header > .container { column-gap: clamp(18px, calc(18px + (100vw - 1100px) * 0.09), 40px); }
}
