:root {
    --white: #ffffff;
    --text: #141821;
    --muted: #5f6677;
    --line: #e3e8f0;
    --dark: #101218;
    --accent: #e10600;
    --panel: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, sans-serif; color: var(--text); background: #fff; }
a { color: inherit; text-decoration: none; }
.v6-wrap { width: min(1260px, 92vw); margin: 0 auto; }

.v6-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 0 24px;
    background: transparent;
    border: 0;
}
.v6-topbar-inner {
    width: min(1300px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 20px 22px 20px 34px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(20, 24, 33, 0.13);
    backdrop-filter: blur(12px);
}
.v6-logo {
    font-family: Inter, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f1c33;
    letter-spacing: 0.01em;
}
.v6-logo span {
    color: var(--accent);
}
.v6-desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.v6-desktop-nav a {
    font-size: 1rem;
    font-weight: 600;
    color: #344661;
    padding: 11px 16px;
    border-radius: 999px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}
.v6-desktop-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.v6-desktop-nav a:hover {
    color: #14243d;
    background: #f4f6fa;
}
.v6-desktop-nav a:hover::after {
    transform: scaleX(1);
}
.v6-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.v6-topbar-cta {
    padding: 14px 24px;
    border-radius: 999px;
    box-shadow: none;
    border-color: transparent;
}
.v6-menu-btn {
    border: 1px solid #d3dcea;
    background: #fff;
    border-radius: 999px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    color: #273f61;
}
.v6-menu-btn span {
    width: 14px;
    height: 2px;
    background: #273f61;
    display: inline-block;
}

.v6-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(480px, 100vw);
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--line);
    z-index: 100;
    transform: translateX(102%);
    transition: transform 0.24s ease;
}
.v6-menu.active { transform: translateX(0); }
.v6-menu-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px;
}
.v6-menu-close {
    border: 1px solid #ddd;
    background: #fff;
    color: #273f61;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
}
.v6-menu nav {
    display: grid;
    gap: 8px;
    margin: 26px 0;
}
.v6-menu nav a {
    font-family: "Archivo Black", Inter, sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    padding: 8px 4px;
    color: #111827;
}
.v6-menu nav a:hover { color: var(--accent); }
.v6-menu-cta {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.v6-menu-cta p {
    margin: 0 0 10px;
    color: #4c5a70;
    line-height: 1.6;
    font-size: 0.92rem;
}
.v6-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}
.v6-menu-backdrop.active { opacity: 1; pointer-events: all; }

.v6-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: none;
    border: 1px solid transparent;
}
.v6-btn.dark { background: var(--accent); color: #fff; }

main { margin-top: 104px; }

.v6-hero {
    width: 100%;
    height: clamp(320px, 56vh, 520px);
    position: relative;
}
.v6-hero-image {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 340px at 50% 15%, rgba(255,255,255,0.82), transparent 62%),
        radial-gradient(1000px 380px at 75% 40%, rgba(139, 154, 176, 0.36), transparent 68%),
        linear-gradient(135deg, #40444f, #232833 64%, #20232b);
}

.v6-intro { padding: 74px 0 56px; }
.v6-intro h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2rem, 5.1vw, 3.8rem);
    line-height: 1.06;
    font-weight: 800;
    color: #111827;
}

.v6-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.v6-leistungen { padding: 28px 0 88px; }
.v6-word-art {
    font-family: "Archivo Black", Inter, sans-serif;
    font-size: clamp(2.6rem, 8.2vw, 7rem);
    line-height: 0.84;
    letter-spacing: -0.03em;
    position: relative;
}
.v6-word-art .underline {
    position: absolute;
    left: 10%;
    right: 20%;
    bottom: 12%;
    height: 18px;
    background: var(--accent);
}
.v6-leistung-list article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 18px;
}
.v6-leistung-list h2 {
    margin: 0 0 8px;
    font-family: "Archivo Black", Inter, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    color: #111827;
}
.v6-leistung-list p { margin: 0 0 10px; color: var(--muted); line-height: 1.68; }
.v6-leistung-list a { color: var(--accent); font-weight: 700; }

.v6-referenzen {
    padding: 90px 0;
}
.v6-referenzen h2 {
    margin: 0 0 20px;
    font-family: "Archivo Black", Inter, sans-serif;
    font-size: clamp(2.1rem, 5.3vw, 5rem);
}
.v6-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.v6-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.v6-card .media {
    height: 170px;
    background:
        radial-gradient(500px 180px at 72% 18%, rgba(80, 109, 160, 0.35), transparent 65%),
        linear-gradient(135deg, #dde3ed, #bfc9da);
}
.v6-card h3 { margin: 12px 12px 8px; font-size: 1.02rem; }
.v6-card p { margin: 0 12px 12px; color: var(--muted); }

.v6-abo {
    padding: 92px 0;
    background: #f8fafd;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.v6-abo-head { max-width: 760px; margin: 0 0 30px; }
.v6-abo-head h2 {
    margin: 0 0 12px;
    font-family: "Archivo Black", Inter, sans-serif;
    font-size: clamp(2.1rem, 5.3vw, 5rem);
    color: #111827;
}
.v6-abo-head p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 1.02rem; }
.v6-abo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 1100px) {
    .v6-abo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.v6-abo-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 26px 24px;
}
.v6-abo-card.is-featured {
    border-color: var(--accent);
    box-shadow: 0 18px 48px rgba(225, 6, 0, 0.12);
}
.v6-abo-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 16px;
}
.v6-abo-interval {
    font-family: "Archivo Black", Inter, sans-serif;
    font-size: clamp(1.2rem, 2.1vw, 1.6rem);
    color: #111827;
    line-height: 1.1;
    margin-bottom: 10px;
    white-space: nowrap;
}
.v6-abo-desc { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.v6-abo-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.v6-abo-list li {
    position: relative;
    padding-left: 26px;
    color: #344661;
    line-height: 1.5;
}
.v6-abo-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.v6-abo-btn { margin-top: auto; width: 100%; }
.v6-abo-note { margin: 22px 0 0; color: var(--muted); font-size: 0.92rem; }

.v6-extrablatt {
    padding: 92px 0;
}
.v6-extrablatt h2 {
    margin: 0 0 20px;
    font-size: clamp(1.9rem, 4.4vw, 3.5rem);
    line-height: 1.1;
}
.v6-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.v6-news {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.news-media {
    height: 180px;
    background:
        radial-gradient(500px 180px at 70% 20%, rgba(81, 114, 174, 0.3), transparent 64%),
        linear-gradient(135deg, #dce3ed, #bcc8da);
}
.v6-news h3 { margin: 12px 12px 8px; font-size: 1.16rem; }
.v6-news p { margin: 0 12px 14px; color: var(--muted); line-height: 1.63; }

.v6-editor { padding: 92px 0; }
.v6-editor-head { max-width: 820px; margin: 0 0 22px; }
.v6-editor h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
}
.v6-editor p { color: var(--muted); line-height: 1.66; }
.v6-editor-embed {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 24, 33, 0.10);
}
.v6-editor-embed iframe {
    display: block;
    width: 100%;
    height: 1100px;
    min-height: 600px;
    border: 0;
    background: #fff;
}

.v6-final {
    padding: 96px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.v6-final h2 {
    margin: 0 0 20px;
    font-family: "Archivo Black", Inter, sans-serif;
    font-size: clamp(2.4rem, 6vw, 5.7rem);
    line-height: 0.96;
    color: #111827;
}
.final-grid { align-items: start; }
.final-media {
    min-height: 360px;
    border: 1px solid var(--line);
    background:
        radial-gradient(520px 220px at 68% 18%, rgba(87, 122, 186, 0.28), transparent 64%),
        linear-gradient(135deg, #dce3ed, #bcc8da);
}
.final-copy h3 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}
.final-copy p { color: var(--muted); line-height: 1.7; }

.v6-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    font-size: 0.9rem;
    color: var(--muted);
    background: #f8fafd;
}

/* Dialoge */
.inquiry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 28, 40, 0.35);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}
.inquiry-overlay.active { opacity: 1; pointer-events: all; }
.inquiry-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    width: min(640px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    color: #0f1726;
    border: 1px solid #d7e0ee;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(22, 37, 57, 0.24);
    padding: 24px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.24s ease;
}
.inquiry-dialog.active { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.inquiry-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #d0dcea;
    background: #f7faff;
    color: #60708a;
}
.inquiry-title { margin: 0 0 4px; font-size: 1.35rem; }
.inquiry-subtitle { margin: 0 0 14px; color: var(--muted); }
.inquiry-progress { height: 6px; border-radius: 999px; background: #e8eef8; overflow: hidden; margin-bottom: 6px; }
.inquiry-progress-bar { height: 100%; width: 25%; background: linear-gradient(135deg, #b50000, var(--accent)); }
.inquiry-step-label { font-size: 0.78rem; color: #70829e; margin-bottom: 14px; }
.inquiry-step { display: none; }
.inquiry-step.active { display: block; }
.inquiry-step > p { color: var(--muted); margin-top: 0; }
.inquiry-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.inquiry-option { position: relative; }
.inquiry-option input { position: absolute; opacity: 0; pointer-events: none; }
.inquiry-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 14px 10px;
    border: 1px solid #d6dfed;
    border-radius: 10px;
    background: #fff;
}
.inquiry-option input:checked + .inquiry-option-card {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.14);
}
.inquiry-option-card small { color: #7a8ca8; }
.inquiry-form { display: flex; flex-direction: column; gap: 12px; }
.inquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inquiry-field { display: flex; flex-direction: column; gap: 5px; }
.inquiry-field label, .inquiry-field-label { font-size: 0.82rem; color: #3e5271; }
.inquiry-field input, .inquiry-field textarea {
    border: 1px solid #d3ddec;
    border-radius: 10px;
    padding: 11px 12px;
    color: #0f1726;
    background: #fff;
}
.inquiry-upload { border: 1.5px dashed #bfd0e7; border-radius: 12px; padding: 14px; background: #f8fbff; }
.inquiry-upload-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #7a8ca8; text-align: center; }
.inquiry-upload-input { position: absolute; opacity: 0; width: 0; height: 0; }
.inquiry-upload-selected { display: none; align-items: center; gap: 8px; }
.inquiry-upload-selected[aria-hidden="false"] { display: flex; }
.inquiry-upload-filename { flex: 1; }
.inquiry-upload-remove { width: 28px; height: 28px; border-radius: 999px; border: 1px solid #d0dcea; background: #fff; color: #60708a; }
.inquiry-checkbox { display: flex; gap: 8px; align-items: flex-start; color: #70829e; font-size: 0.84rem; }
.inquiry-checkbox a { color: var(--accent); text-decoration: underline; }
.inquiry-abo-interval { margin-top: 14px; }
.inquiry-nav { display: flex; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e4ebf5; }
.inquiry-btn-back { margin-right: auto; }
.inquiry-btn-submit.is-disabled { opacity: 0.6; pointer-events: none; }

/* Abo-Bestell-Dialog */
.abo-order-dialog .inquiry-field select {
    border: 1px solid #d3ddec;
    border-radius: 10px;
    padding: 11px 12px;
    color: #0f1726;
    background: #fff;
    font: inherit;
}
.abo-order-summary {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #f5f8fd;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.abo-order-design { display: flex; align-items: center; gap: 12px; min-width: 0; }
.abo-order-design img {
    width: 72px; height: 72px; object-fit: contain;
    background: #fff; border: 1px solid #e1e8f2; border-radius: 10px; flex: 0 0 auto;
}
.abo-order-design-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.abo-order-design-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #8090a8; }
.abo-order-design-name { font-weight: 700; color: #14233c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.abo-order-design-edit { font-size: 0.82rem; color: var(--accent); }
.abo-order-rhythm { text-align: right; }
.abo-order-rhythm-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #8090a8; }
.abo-order-rhythm strong { font-size: 1.05rem; color: #14233c; white-space: nowrap; }
.abo-order-status { margin: 10px 0 0; font-size: 0.9rem; min-height: 1.2em; }
.abo-order-status.is-ok { color: #128a3e; }
.abo-order-status.is-err { color: var(--accent); }
.inquiry-status { margin: 12px 0 0; font-size: 0.9rem; min-height: 1.2em; text-align: center; }
.inquiry-status.is-ok { color: #128a3e; }
.inquiry-status.is-err { color: var(--accent); }

/* Abo-Bestellung: Design-Upload + Vorschau */
.abo-order-interval-inline { color: var(--accent); font-weight: 600; }
.abo-upload-hint { margin: 0 0 8px; font-size: 0.82rem; color: #7a8ca8; line-height: 1.45; }
.abo-upload-dropzone { cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.abo-upload-dropzone.is-dragover { border-color: var(--accent); background: #fff4f3; }
.abo-upload-preview { margin-top: 12px; border: 1px solid #e1e8f2; border-radius: 12px; overflow: hidden; background: #fff; }
.abo-upload-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eef2f8; background: #f7faff; }
.abo-upload-filename { font-weight: 600; color: #14233c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abo-upload-remove { border: 1px solid #d0dcea; background: #fff; color: #60708a; border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 0.82rem; }
.abo-upload-remove:hover { border-color: var(--accent); color: var(--accent); }
.abo-upload-preview-body { display: flex; justify-content: center; align-items: center; padding: 12px; background: #f4f7fc; }
.abo-upload-img { max-width: 100%; max-height: 320px; object-fit: contain; border-radius: 6px; }
.abo-upload-pdf { width: 100%; height: 360px; border: 0; background: #fff; }

/* Toast: Hinweis zuerst Design erstellen */
.abo-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    z-index: 10000;
    max-width: min(560px, 92vw);
    background: #14233c;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(20, 24, 33, 0.28);
    font-size: 0.92rem;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.abo-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
    .v6-desktop-nav,
    .v6-topbar-cta { display: none; }
    .v6-topbar { top: 0; padding: 0 14px; }
    .v6-topbar-inner { padding: 14px 16px 14px 22px; gap: 14px; }
    .v6-logo { font-size: 1.15rem; }
    main { margin-top: 88px; }
    .v6-menu-btn { display: inline-flex; }
    .v6-grid-2,
    .v6-card-grid,
    .v6-news-grid,
    .v6-abo-grid { grid-template-columns: 1fr; }
    .v6-intro h1 { font-size: clamp(1.6rem, 8vw, 2.5rem); }
    .v6-word-art { font-size: clamp(2.1rem, 16vw, 4.5rem); }
    .inquiry-row { grid-template-columns: 1fr; }
    .inquiry-options { grid-template-columns: 1fr; }
}

@media (min-width: 981px) {
    .v6-menu-btn,
    .v6-menu,
    .v6-menu-backdrop {
        display: none !important;
    }
}
