/* Tillägg för den nya sajten (strategidokumentet). Bygger på site.css. */
.ny .nav a { padding: 0 22px; font-size: 17px; }
.ny .nav li:last-child a { padding-right: 6px; }
.ny .site-header .wrap { padding: 0 60px; }
.lead-in { font-size: 20px; line-height: 28px; margin-bottom: 1.4em; }
.crumb { font-size: 15px; margin-bottom: .8em; }
.questions { padding: 70px 0; background: linear-gradient(90deg, var(--grad-from), var(--page)); }
.cards { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards a { display: block; background: #fff; padding: 22px 24px; border-radius: 4px; color: var(--ink); height: 100%; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cards a:hover { box-shadow: 0 2px 10px rgba(0,0,0,.18); color: var(--ink); }
.cards strong { display: block; font-size: 20px; line-height: 26px; margin-bottom: .4em; }
.cards span { color: #5d646a; font-size: 16px; }
.expertise-teaser { padding: 70px 0; }
.shift .more-left { margin-top: 1rem; }
.cta-band { background: var(--alt); color: #fff; text-align: center; padding: 60px 0; }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { margin-bottom: 1em; }
.cta-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .cta-two { grid-template-columns: 1fr; gap: 36px; } }
/* Nyhetsbrevet som tredje väg (Bo 2026-11-17) */
.cta-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 1000px) { .cta-three { grid-template-columns: 1fr; gap: 36px; max-width: 640px; margin: 0 auto; } }
.newsletter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.newsletter input[type="email"] { flex: 1 1 220px; min-width: 0; max-width: 320px; font: inherit; font-size: 17px; padding: .55em .8em; border: 0; border-radius: .2em; color: var(--ink); background: #fff; }
.newsletter input[type="email"]:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.newsletter .btn { margin: 0; }
.newsletter .nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter .nl-msg, .newsletter .nl-small { flex-basis: 100%; margin: 0; }
.newsletter .nl-small { font-size: 14px; line-height: 20px; opacity: .85; }
.newsletter .nl-small a { color: #fff; text-decoration: underline; }
.qa { padding: 26px 0; border-top: 1px solid rgba(0,0,0,.12); }
.qa h2 { font-size: 22px; line-height: 28px; margin: 0 0 .5em; }
.qa .answer { font-size: 18px; }
.qa .next { font-size: 15px; margin-top: .8em; }
.draft { background: #fff3cd; border-left: 4px solid #e0a800; padding: 8px 12px; font-size: 14px; line-height: 20px; color: #5a4500; margin: .6em 0; }
.faq-group { margin-bottom: 2.4rem; }
.faq-group h2 a { color: var(--ink); }
.faq-group ul { padding-left: 1.2em; }
.faq-group li { margin-bottom: .35em; }
@media (max-width: 1100px) { .ny .nav a { padding: 0 14px; font-size: 16px; } }
@media (max-width: 900px) { .ny .nav a { padding: 0 24px; } .cards { grid-template-columns: 1fr; } .ny .site-header .wrap { padding: 0 24px; } }
.ask-ai { background: #fff; padding: 56px 0; border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); }
.ask-ai .prompt { background: var(--page); border-left: 4px solid var(--teal); padding: 14px 18px; font-size: 17px; line-height: 25px; margin: 1em 0; }
.ask-ai .btn { margin: 0 10px 8px 0; }
.ask-ai .btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #8a9196; font-weight: 300; }
.ask-ai .small { font-size: 15px; color: #5d646a; }
.filter { width: 100%; max-width: 560px; font: inherit; padding: 10px 14px; border: 1px solid #8a9196; border-radius: 3px; }
[hidden] { display: none !important; }

.examples { list-style: none; padding: 0; margin: 1em 0 1.4em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.example { width: 100%; text-align: left; font: inherit; font-size: 17px; line-height: 24px; background: var(--page); color: var(--ink); border: 1px solid #c3cdd1; border-left: 4px solid var(--teal); padding: 12px 16px; cursor: pointer; border-radius: 3px; }
.example:hover, .example:focus-visible { background: #fff; border-color: var(--teal); }
.example.copied::after { content: "  Copied"; color: var(--teal-dark); font-weight: 700; }
@media (max-width: 900px) { .examples { grid-template-columns: 1fr; } }

.ai-note { background: #e6f4f4; border-left: 4px solid var(--teal); padding: 10px 14px; font-size: 16px; line-height: 23px; margin: 0 0 1.4em; }

/* AI-ingången i tre steg */
.ask-steps { counter-reset: s; list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ask-steps li { counter-increment: s; background: var(--page); padding: 18px 20px 18px 62px; position: relative; border-radius: 3px; font-size: 17px; line-height: 24px; }
.ask-steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; text-align: center; line-height: 30px; }
.ask-steps strong { display: block; margin-bottom: .25em; }
@media (max-width: 900px) { .ask-steps { grid-template-columns: 1fr; } }
/* Kontakt: vem man ska kontakta */
.contact-who .primary { font-size: 20px; line-height: 28px; margin-bottom: .6em; }
.contact-who .actions .btn { margin: 0 10px 10px 0; }
.contact-who .second { font-size: 16px; color: inherit; opacity: .85; margin-top: 1em; }
.toc { padding-left: 1.2em; margin-bottom: 2em; }
.toc li { margin-bottom: .35em; }
.qa .more { font-size: 15px; margin-top: .6em; }
.questions-teaser { padding: 60px 0; }
.questions-teaser ul { padding-left: 1.2em; margin-bottom: 1.4em; }
.questions-teaser li { margin-bottom: .35em; }

/* Kopieringsikon i frågeknapparna */
.example { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.example .copy-ico { flex: none; color: var(--teal); opacity: .75; margin-top: 3px; }
.example:hover .copy-ico, .example:focus-visible .copy-ico { opacity: 1; }
.example.copied::after { content: none; }
.example.copied .copy-ico::after { content: "Copied"; font-size: 14px; font-weight: 700; color: var(--teal-dark); margin-left: 6px; vertical-align: top; }
.example.copied .copy-ico { display: inline-flex; align-items: center; opacity: 1; }

/* Omkopplare för kort version */
.short-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: .4em 0 1em; }
.short-switch .btn { margin: 0; }
.btn-toggle[aria-pressed="true"] { background: var(--teal) !important; color: #fff !important; box-shadow: none !important; font-weight: 700 !important; }

/* Tekniska data på Wine Refiner-sidan */
.tech-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; margin: 1em 0 1.6em; }
.tech-img { margin: 0; text-align: center; }
.tech-img img { max-width: 100%; height: auto; max-height: 560px; width: auto; }
table.tech { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 22px; margin: 0 0 1em; background: #fff; }
table.tech caption { text-align: left; font-weight: 700; padding: 0 0 .4em; }
table.tech th, table.tech td { border: 1px solid #d3dade; padding: 8px 12px; text-align: left; vertical-align: top; }
table.tech thead th { background: var(--page); }
table.tech tbody th { font-weight: 400; color: #4a5258; }
.table-scroll { overflow-x: auto; }
.prose h4 { font-size: 17px; margin: 1em 0 .3em; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } .tech-img img { max-height: 420px; } }

.qa .look { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; align-items: start; }
.qa .look img { width: 160px; height: auto; }
@media (max-width: 600px) { .qa .look { grid-template-columns: 1fr; } .qa .look img { width: 130px; } }

/* Fyrfältsmodellen */
.q4 { margin: 1.2em 0 1em; }
.q4-x { display: grid; grid-template-columns: 1fr 1fr; margin-left: 44px; text-align: center; font-weight: 700; font-size: 15px; color: var(--teal-dark); padding-bottom: 6px; }
.q4-body { display: grid; grid-template-columns: 36px 1fr; gap: 8px; }
.q4-y { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.q4-y span { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-weight: 700; font-size: 15px; color: var(--teal-dark); align-self: center; }
.q4-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.q4-cell { background: #fff; border: 1px solid #d3dade; border-radius: 4px; padding: 14px 16px; font-size: 16px; line-height: 22px; display: flex; flex-direction: column; gap: 4px; }
.q4-cell strong { font-size: 18px; line-height: 24px; }
.q4-tag { display: none; font-size: 13px; color: #5d646a; }
.q4-hl { border: 2px solid var(--teal); background: #eef8f8; }
@media (max-width: 600px) {
  .q4-x, .q4-y { display: none; } .q4-body { grid-template-columns: 1fr; }
  .q4-grid { grid-template-columns: 1fr; grid-template-rows: none; } .q4-tag { display: block; }
}

/* Generationstrappan */
.ladder { list-style: none; padding: 0; margin: 1em 0; display: grid; gap: 6px; counter-reset: l; }
.ladder li { counter-increment: l; background: #fff; border: 1px solid #d3dade; border-left: 4px solid var(--teal); border-radius: 3px; padding: 10px 14px 10px 46px; position: relative; font-size: 17px; line-height: 24px; }
.ladder li::before { content: counter(l); position: absolute; left: 14px; top: 10px; font-weight: 700; color: var(--teal-dark); }
.ladder li:nth-child(2) { margin-left: 4%; } .ladder li:nth-child(3) { margin-left: 8%; } .ladder li:nth-child(4) { margin-left: 12%; }
@media (max-width: 600px) { .ladder li:nth-child(n) { margin-left: 0; } }

/* Kategorietikett i frågeknapparna */
.example .who { display: block; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }

/* Frågor med Ask ChatGPT / Claude / Perplexity */
.examples li, .ask-ai .starter { background: var(--page); border: 1px solid #c3cdd1; border-left: 4px solid var(--teal); border-radius: 3px; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.ask-ai .starter { margin: 0 0 1.2em; }
.q-text { margin: 0; font-size: 17px; line-height: 24px; }
.ai-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-link { display: inline-block; background: var(--teal); color: #fff !important; font-size: 14px; line-height: 20px; font-weight: 700; padding: 6px 12px; border-radius: 3px; text-decoration: none; }
.ai-link:hover, .ai-link:focus-visible { background: var(--teal-dark); }
.copy-other { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: #4a5258; cursor: pointer; text-decoration: underline; }
.copy-other .copy-ico { color: var(--teal); }
.copy-other.copied span:last-child { color: var(--teal-dark); font-weight: 700; text-decoration: none; }

/* Mellanrutan före Claude */
.claude-note { max-height: calc(100vh - 32px); overflow-y: auto; max-width: 560px; width: calc(100% - 32px); border: 0; border-radius: 6px; padding: 24px 26px; box-shadow: 0 10px 40px rgba(0,0,0,.25); color: var(--ink); }
.claude-note::backdrop { background: rgba(20,30,35,.55); }
.claude-note h3 { margin: 0 0 .6em; font-size: 22px; line-height: 28px; }
.claude-note p { font-size: 16px; line-height: 23px; margin: 0 0 .8em; }
.claude-note ul { font-size: 16px; line-height: 23px; margin: 0 0 .8em; padding-left: 1.2em; }
.claude-note li { margin: 0 0 .3em; }
.claude-note .prompt { font-size: 15px; line-height: 22px; }
.claude-note .actions { margin: 1em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
/* Språkväxlare EN | DE (Bo 2026-11-06) */
.ny .nav li.lang { display: flex; align-items: center; gap: 4px; margin-left: 10px; font-size: 15px; color: var(--ink); }
.ny .nav li.lang a, .ny .nav li.lang:last-child a { display: inline; padding: 0 4px; font-size: 15px; line-height: 50px; font-weight: 700; color: #8a9196; }
.ny .nav li.lang a[aria-current="true"] { color: var(--teal); }
@media (max-width: 900px) { .ny .nav li.lang { margin: 0; padding: 0 20px; } .ny .nav li.lang a, .ny .nav li.lang:last-child a { line-height: 48px; padding: 0 4px; } }
/* AI-deklaration under hero (Bo 2026-11-10) */
.ny .ai-declaration { background: #fff; padding: 48px 0 40px; text-align: center; border-bottom: 1px solid #e3e7ea; }
.ny .ai-declaration h2 { margin: 0 0 .5em; }
.ny .ai-declaration p { max-width: 860px; margin: 0 auto 1em; font-size: 19px; line-height: 29px; }
@media (max-width: 760px) { .ny .ai-declaration { padding: 36px 0 28px; text-align: left; } .ny .ai-declaration p { font-size: 17px; line-height: 26px; } }
