/* Shopschere. Farben, Schrift und Formen aus der COUPONS4U-Brandpage (c4u_brandpage, DESIGN.md). */

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --red: #d93e24;
    --red-dark: #b8321c;
    --red-pale: #f3d2cb;
    --red-tint: #fdf1ee;
    --ink: #333f49;
    --ink-2: #5b6770;
    --ink-3: #8a959d;
    --line: #e4e8eb;
    --line-strong: #c9d0d5;
    --band: #f5f6f7;
    --white: #ffffff;

    --font: 'Quicksand', ui-rounded, system-ui, sans-serif;
    --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);

    --container: 1280px;
    --gutter: clamp(16px, 4vw, 48px);
    --section: clamp(72px, 10vw, 144px);
    --header-h: 64px;
}

@media (min-width: 860px) {
    :root { --header-h: 76px; }
}

/* ---------- Grundlagen ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-weight: 500;
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; }
b { font-weight: 700; }

::selection { background: var(--red); color: var(--white); }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 6px;
}

#main:focus { outline: none; }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 100;
    padding: .7em 1.1em;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
    width: 1em; height: 1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

kbd {
    display: inline-block;
    min-width: 1.7em;
    padding: .05em .45em;
    border: 1px solid var(--line-strong);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: var(--white);
    font: 700 .8125rem/1.5 var(--font);
    text-align: center;
    white-space: nowrap;
    vertical-align: .08em;
}

code.inline {
    padding: .1em .4em;
    border-radius: 6px;
    background: var(--band);
    font: 500 .9em var(--mono);
    overflow-wrap: anywhere;
}

/* ---------- Kopfzeile ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px -14px rgb(51 63 73 / .45); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: .6em;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}
.brand img { width: 36px; height: 36px; }

.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav a {
    position: relative;
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
}
.nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current='true']::after { transform: scaleX(1); }

@media (max-width: 639px) {
    .nav li:nth-child(n+3) { display: none; }
    .brand span { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 7vw, 96px) var(--section); }

.hero-grid {
    display: grid;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}
@media (min-width: 1000px) {
    .hero-grid { grid-template-columns: 5fr 7fr; }
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--red);
    font-weight: 700;
    font-size: .9375rem;
}

h1 {
    font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.lead {
    max-width: 44ch;
    margin-top: 22px;
    color: var(--ink-2);
    font-size: clamp(1.1rem, 1rem + .5vw, 1.375rem);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .85em 1.35em;
    border-radius: 12px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 24px -18px rgb(140 30 12 / .7);
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.button:hover { background: var(--red-dark); color: var(--white); }
.button:active { transform: translateY(1px); }
.button .icon { width: 1.15em; height: 1.15em; }

.release { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }

/* ---------- Fensterrahmen um Screenshots ---------- */

.window {
    overflow: hidden;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgb(51 63 73 / .55);
}
.window-bar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: var(--band);
    border-bottom: 1px solid var(--line);
}
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }

/* ---------- Abschnitte ---------- */

.section { padding-block: var(--section); }
.band { background: var(--band); }

.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
h2 {
    font-size: clamp(1.75rem, 1.15rem + 2.1vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1875rem; }

h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }

/* ---------- Installieren ---------- */

.os-switch {
    display: inline-flex;
    padding: 3px;
    margin-bottom: 36px;
    border-radius: 10px;
    background: var(--band);
}
.os-switch button {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .45em 1.2em;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink-2);
    font-weight: 700;
    cursor: pointer;
}
.os-logo { width: 1em; height: 1em; fill: currentColor; }
.os-switch [aria-selected='true'] {
    background: var(--white);
    color: var(--red);
    box-shadow: 0 1px 3px rgb(51 63 73 / .15);
}

.steps { counter-reset: step; display: grid; gap: clamp(48px, 6vw, 80px); }

.step {
    counter-increment: step;
    display: grid;
    gap: 24px 56px;
    align-items: start;
}
@media (min-width: 1000px) {
    .step { grid-template-columns: 5fr 7fr; }
}

.step-text { display: grid; gap: 14px; align-content: start; }
.step h3 { display: flex; align-items: center; gap: .6em; }
.step h3::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 1.75em; height: 1.75em;
    flex: none;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: .9em;
}
.step-text p { max-width: 52ch; }
div.os-panel { display: grid; gap: 14px; }
.os-panel[hidden] { display: none; }
.note { color: var(--ink-2); font-size: .9375rem; }

.command {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--ink);
    color: var(--white);
}
.command code {
    flex: 1;
    min-width: 0;
    padding: .85em 1em;
    font: 500 .9375rem/1.5 var(--mono);
    overflow-wrap: anywhere;
}
.copy {
    display: flex;
    align-items: center;
    gap: .45em;
    padding: 0 1.1em;
    border: 0;
    border-left: 1px solid rgb(255 255 255 / .14);
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: .9375rem;
    cursor: pointer;
    transition: background .2s var(--ease);
}
.copy:hover { background: rgb(255 255 255 / .08); }
.copy.is-copied { color: #9fe0b5; }

.step-shot { position: relative; }
.marked {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgb(51 63 73 / .55);
}
/* Nur der obere Teil von chrome://extensions, darunter ist die Seite leer */
.marked img { aspect-ratio: 2560 / 820; object-fit: cover; object-position: top; }
.mark {
    position: absolute;
    left: var(--x); top: var(--y);
    width: var(--w); height: var(--h);
    border: 3px solid var(--red);
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgb(217 62 36 / .18);
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .mark { animation: pulse 2.4s var(--ease) infinite; }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgb(217 62 36 / .18); }
    50% { box-shadow: 0 0 0 10px rgb(217 62 36 / 0); }
}

/* Puzzle-Menü als Zeichnung: Chrome ohne Fenster nimmt die Symbolleiste nicht auf */
.toolbar-mock {
    max-width: 520px;
    padding: 14px;
    border-radius: 12px;
    background: #dfe4ea;
    box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgb(51 63 73 / .55);
    font-family: system-ui, sans-serif;
    font-weight: 400;
    font-size: .9375rem;
}
.tb-row { display: flex; align-items: center; gap: 10px; }
.tb-url {
    flex: 1;
    padding: .45em 1em;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-2);
}
.tb-icon {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
}
.tb-icon .icon { width: 20px; height: 20px; stroke-width: 1.8; }
.tb-puzzle { background: rgb(51 63 73 / .1); outline: 2px solid var(--red); outline-offset: 2px; }
.tb-menu {
    width: min(300px, 100%);
    margin: 10px 0 0 auto;
    padding: 12px 6px 6px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 14px 30px -18px rgb(51 63 73 / .6);
}
.tb-menu p { padding: 0 10px 8px; font-weight: 600; }
.tb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--band);
}
.tb-item span { flex: 1; }
.tb-pin { width: 20px; height: 20px; color: var(--red); stroke-width: 1.8; }

.done {
    display: flex;
    align-items: center;
    gap: .7em;
    margin-top: clamp(48px, 6vw, 80px);
    padding: 1.1em 1.3em;
    border-radius: 12px;
    background: var(--red-tint);
    font-weight: 600;
}
.done .icon { width: 1.4em; height: 1.4em; color: var(--red); stroke-width: 2.6; }

/* ---------- Benutzen ---------- */

.usage { display: grid; gap: clamp(48px, 6vw, 88px); }

.usage-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px 28px;
    align-items: start;
}
.usage-item > div { display: grid; gap: 12px; max-width: 58ch; }
.usage-shot { grid-column: 1 / -1; }
@media (min-width: 1000px) {
    .usage-item { grid-template-columns: auto 4fr 7fr; }
    .usage-shot { grid-column: 3; }
}

.num {
    display: grid;
    place-items: center;
    width: 2.6rem; height: 2.6rem;
    border-radius: 15.33%;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 14px 24px -18px rgb(140 30 12 / .7);
}

.tools { display: grid; gap: 4px 0; margin-top: 4px; }
.tools dt { margin-top: 10px; font-weight: 700; }
.tools dd { color: var(--ink-2); }

.result-shot img {
    border-radius: 4px;
    box-shadow: 0 30px 50px -36px rgb(51 63 73 / .55);
}
figcaption { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }

/* ---------- Warum ---------- */

.why {
    display: grid;
    gap: 28px 56px;
    padding-block: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--line);
}
.why:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) {
    .why:has(.why-shot) { grid-template-columns: 5fr 7fr; }
}
.why-text { display: grid; gap: 14px; align-content: start; max-width: 62ch; }
.why-text p { color: var(--ink-2); }

.why-shot > img {
    border-radius: 10px;
    box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgb(51 63 73 / .55);
}

.compact-compare { display: grid; gap: 22px; }
.compare-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .9375rem; }
/* 1024 von 1600 Pixeln: so viel Platz nimmt die Seite während der Auswahl ein */
.compact-frame {
    display: grid;
    grid-template-columns: 64% 36%;
    background: repeating-linear-gradient(-45deg, var(--band) 0 10px, var(--white) 10px 20px);
}
.compact-empty {
    display: grid;
    place-items: center;
    color: var(--ink-3);
    font-weight: 700;
}

.infobar-mock {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgb(51 63 73 / .55);
    font-family: system-ui, sans-serif;
    font-weight: 400;
    font-size: .9375rem;
}
.ib-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    background: #e8eef7;
    border-bottom: 1px solid #c9d3e1;
}
.ib-button {
    flex: none;
    padding: .3em 1em;
    border: 1px solid #a8b6c9;
    border-radius: 999px;
    background: var(--white);
    color: #0b57d0;
    font-weight: 500;
}
.ib-page { display: grid; gap: 12px; padding: 24px; background: var(--white); }
.ib-page i { height: 12px; border-radius: 6px; background: var(--band); }
.ib-page i:nth-child(1) { width: 40%; height: 20px; }
.ib-page i:nth-child(3) { width: 70%; }

/* ---------- Hilfe ---------- */

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--line);
}
.faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 1em 1.2em;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 1.3em; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > :not(summary) { margin: 0 1.2em 1em; color: var(--ink-2); }
.faq details > .os-panel { color: inherit; }

/* ---------- Fußzeile ---------- */

.site-footer { padding-block: 40px; border-top: 1px solid var(--line); }
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    color: var(--ink-2);
    font-size: .9375rem;
}
.footer-inner img { width: auto; height: 40px; }
@media (max-width: 799px) {
    .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Einblenden, einmal ---------- */

@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(24px); }
    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: opacity .8s var(--ease), transform .8s var(--ease);
    }
}
