/*
    NCS-Immo, public site.

    Every value in the token block below was MEASURED on 02.11.2026 against the rendered styles
    of https://nc-solution.com and https://nc-solution.com/produkte/immo, through
    getComputedStyle. None of it is from memory, and two of the measurements contradict what was
    written down before:

      - The button orange is #E56800, not #FF8A37. The CTA on both the start page
        ("Projekt besprechen") and the product page ("Vorführung vereinbaren") computes to
        rgb(229, 104, 0).
      - #FF8A37 does exist, but 10 times in the whole document and in one role: the accent word
        inside the hero heading. #FD7800 is the icon colour, 247 occurrences.

    The deviation is reported rather than quietly unified, as ~/.claude/skills/werbematerial
    requires.
*/

:root {
    /* blue greys */
    --ink: #232D3A;              /* body text, footer background, header text */
    --ink-soft: #31465D;         /* hero background, navigation links */
    --ink-deep: #2B3B4D;         /* the second dark section on the product page */
    --ink-invert: #E1E7EE;       /* text on a dark ground */

    /* orange, in the three roles it actually has */
    --accent: #E56800;           /* primary button, product subtitles, active nav link */
    --accent-icon: #FD7800;      /* icon faces and strokes */
    --accent-word: #FF8A37;      /* the accent word in a heading */
    --accent-eyebrow: #BF5202;   /* the small caps line above a heading */

    /* surfaces and lines */
    --surface: #FFFFFF;
    --surface-alt: rgba(242, 245, 248, 0.6);
    --line: #E5E7EB;
    --line-soft: #E1E7EE;

    /* measurement, not taste: 1200 for the frame, 896 and 672 for text */
    --wrap: 1200px;
    --wrap-wide: 896px;
    --wrap-text: 672px;

    --section-space: 64px;
    --radius: 8px;
    --header-height: 65px;
}

/* ---------------------------------------------------------------------------- base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    /* the stack nc-solution.com uses, so the page survives an unreachable Google */
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin: 0 0 16px;
    color: var(--ink);
}

h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: -0.9px;
}

h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: -0.75px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

p {
    margin: 0 0 16px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

/*
    A visible focus ring on everything that takes focus. Removing it is the single most common
    way a site becomes unusable by keyboard, and nothing is gained by it.
*/
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 16px;
    top: 16px;
    z-index: 10;
    background: var(--surface);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-eyebrow);
}

/* ---------------------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-height);
}

.brand {
    display: flex;
    flex-direction: column;
    color: var(--ink);
    line-height: 1.2;
}

.brand:hover {
    text-decoration: none;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.brand-sub {
    font-size: 12px;
    color: var(--ink-soft);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav > a {
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
}

.nav > a.btn {
    color: var(--surface);
}

/* ---------------------------------------------------------------------------- sections */

.section {
    padding: var(--section-space) 0;
    background: var(--surface);
}

.section-alt {
    background: var(--surface-alt);
}

.section-dark {
    background: var(--ink-soft);
    color: var(--ink-invert);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--surface);
}

.section-deep {
    background: var(--ink-deep);
    color: var(--ink-invert);
}

.section-deep h2 {
    color: var(--surface);
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-eyebrow);
}

.section-dark .eyebrow,
.section-deep .eyebrow {
    color: var(--accent-word);
}

.lead {
    max-width: var(--wrap-wide);
    font-size: 20px;
    line-height: 32.5px;
}

.section-dark .lead,
.section-deep .lead {
    color: rgba(225, 231, 238, 0.9);
}

.narrow {
    max-width: var(--wrap-text);
}

.prose {
    max-width: var(--wrap-wide);
}

.prose h2 {
    margin-top: 40px;
}

.prose h3 {
    margin-top: 28px;
}

.prose ul {
    padding-left: 22px;
}

.prose li {
    margin-bottom: 6px;
}

.prose dl {
    margin: 0 0 16px;
}

.prose dt {
    font-weight: 600;
    margin-top: 12px;
}

.prose dd {
    margin: 0 0 4px;
}

/* ---------------------------------------------------------------------------- hero */

.hero {
    padding: 88px 0;
    background: var(--ink-soft);
    color: var(--ink-invert);
}

.hero h1 {
    color: var(--surface);
    max-width: var(--wrap-wide);
}

.hero .accent {
    color: var(--accent-word);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.hero-note {
    margin: 20px 0 0;
    font-size: 15px;
    color: rgba(225, 231, 238, 0.75);
}

/* ---------------------------------------------------------------------------- buttons */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border: 0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--surface);
}

.btn-primary:hover {
    background: var(--accent-eyebrow);
    color: var(--surface);
}

.btn-quiet {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--surface);
}

.btn-quiet:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--surface);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* ---------------------------------------------------------------------------- cards */

.cards {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 32px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
}

.card h3 {
    margin-bottom: 8px;
}

.card .card-sub {
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
}

.card ul {
    margin: 0;
    padding-left: 20px;
}

.card li {
    margin-bottom: 8px;
}

.step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--accent-icon);
    color: var(--surface);
    font-weight: 700;
}

/* ---------------------------------------------------------------------------- plans */

/*
    stretch and not start: the three packages carry a different number of lines, and with start
    each card ended at its own height - price and button stood at three different levels, which
    is what the user objected to on 02.11.2026. One bottom edge is the whole point.
*/
.plans {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 32px;
    align-items: stretch;
}

/*
    A column, so the foot can be pushed down with an auto margin. Without the flex context that
    margin does nothing and the cards would be equally tall with the button floating mid-card.
*/
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
}

/*
    The second border pixel comes off the padding, so the content of the recommended card starts
    at the same place as in the other two: 1 + 28 and 2 + 27 are both 29. Measured on 02.11.2026
    without it, the price and the button of the middle card sat one pixel higher than the others.
*/
.plan-recommended {
    border-color: var(--accent);
    border-width: 2px;
    padding: 27px;
}

.plan-flag {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--accent);
    color: var(--surface);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/*
    The foot holds the price and the button. margin-top: auto eats the leftover space above it,
    so however long the list is, the feet of all three cards line up.
*/
.plan-foot {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.plan-price {
    margin: 0 0 16px;
}

/* Two blocks, so the figure and its unit are always two lines - see the note in Preise.cshtml. */
.plan-price-amount {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

.plan-price-unit {
    display: block;
    font-size: 14px;
    color: var(--ink-soft);
}

.plan ul {
    margin: 0 0 24px;
    padding-left: 20px;
}

.plan li {
    margin-bottom: 8px;
}

/* ---------------------------------------------------------------------------- forms */

.form {
    max-width: var(--wrap-text);
    margin-top: 32px;
}

.field {
    margin-bottom: 24px;
}

.field > label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.field input[type="text"],
.field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--surface);
}

.field input:focus-visible {
    border-color: var(--accent);
}

.field .hint {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--ink-soft);
}

/*
    The address preview beside the subdomain field. The visitor is choosing a DNS label, and the
    only way to show that honestly is to show the whole address while they type it.
*/
.slug-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.slug-row input[type="text"] {
    flex: 1 1 220px;
    width: auto;
}

.slug-suffix {
    font-size: 16px;
    color: var(--ink-soft);
    white-space: nowrap;
}

.choice {
    display: block;
    margin-bottom: 12px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}

.choice:hover {
    border-color: var(--accent);
}

.choice input {
    margin-right: 10px;
}

.choice .choice-name {
    font-weight: 600;
}

.choice .choice-pitch {
    display: block;
    margin-top: 4px;
    margin-left: 28px;
    font-size: 15px;
    color: var(--ink-soft);
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
}

.consent input {
    margin-top: 5px;
}

/*
    The honeypot field. Taken out of the layout and out of sight, but still in the markup, which
    is the whole point: a form filler reads the markup. display:none would be the obvious choice
    and is the one some bots check for, so the field is moved off screen instead.
*/
.decoy {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* field-level validation messages, rendered by the validation tag helper */
.field-error {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #B42318;
}

/* ---------------------------------------------------------------------------- notices */

.notice {
    margin: 24px 0;
    padding: 20px 22px;
    border-radius: var(--radius);
    border-left: 4px solid var(--ink-soft);
    background: var(--surface-alt);
}

.notice-bad {
    border-left-color: #B42318;
    background: #FEF3F2;
}

.notice-good {
    border-left-color: #067647;
    background: #ECFDF3;
}

.notice-info {
    border-left-color: var(--accent-icon);
}

.notice :last-child {
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------------- footer */

.site-footer {
    background: var(--ink);
    color: var(--ink-invert);
    padding: 48px 0 24px;
}

.site-footer a {
    color: var(--ink-invert);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
}

.footer-brand {
    max-width: 420px;
}

.footer-brand p {
    color: rgba(225, 231, 238, 0.8);
    font-size: 15px;
}

.footer-name {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}

/*
    The language switch. Each language is a submit button, because storing a preference belongs in
    a POST - they are styled to read as links so the footer does not turn into a row of buttons.
*/
.language-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-top: 20px;
    font-size: 15px;
}

.language-label {
    color: rgba(225, 231, 238, 0.7);
}

.language-option {
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: var(--ink-invert);
    text-decoration: underline;
    cursor: pointer;
}

.language-option:hover {
    color: var(--accent-word);
}

.language-current {
    font-weight: 600;
    color: var(--accent-word);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(225, 231, 238, 0.2);
    font-size: 13px;
    color: rgba(225, 231, 238, 0.7);
}

/* ---------------------------------------------------------------------------- narrow screens */

@media (max-width: 720px) {
    h1 {
        font-size: 30px;
        line-height: 38px;
    }

    h2 {
        font-size: 25px;
        line-height: 32px;
    }

    .hero {
        padding: 56px 0;
    }

    .site-header {
        height: auto;
    }

    .header-inner {
        height: auto;
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ---------------------------------------------------------------------------- motion */

/*
    smooth scrolling and the blur are comfort, not content. Someone who asked their system for
    less motion gets less motion.
*/
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
