.hasepost-werbung-portal,
.hasepost-werbung-media-form-wrap {
    --hp-red: #b80000;
    --hp-ink: #111111;
    --hp-muted: #5a6675;
    --hp-line: #d8e0e8;
    --hp-soft: #f3f6f8;
    --hp-cream: #ffffff;
    --hp-yellow: #d9dee7;
    --hp-blue: #00679e;
    color: var(--hp-ink);
    font-family: inherit;
}

.hasepost-werbung-portal * {
    box-sizing: border-box;
}

.hasepost-werbung-portal {
    max-width: 100%;
    overflow-x: clip;
}

.hasepost-werbung-section {
    margin: 34px 0;
}

.hasepost-werbung-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    padding: 12px 0 18px;
    border-bottom: 1px solid var(--hp-line);
}

.hasepost-werbung-logo-row img {
    display: block;
    width: min(320px, 72vw);
    height: auto;
}

.hasepost-werbung-eyebrow {
    margin: 0 0 10px !important;
    color: var(--hp-red) !important;
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.hasepost-werbung-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: stretch;
    min-height: 520px;
    margin: 0 0 18px;
    padding: 36px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(184, 0, 0, 0.10), transparent 34%),
        linear-gradient(90deg, #fff, var(--hp-cream));
    max-width: 100%;
}

.hasepost-werbung-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hasepost-werbung-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.hasepost-werbung-hero-copy > p:not(.hasepost-werbung-eyebrow) {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--hp-muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.55;
}

.hasepost-werbung-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hasepost-werbung-primary-link,
.hasepost-werbung-secondary-link,
.hasepost-werbung-button,
.hasepost-werbung-form button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border: 1px solid var(--hp-ink);
    border-radius: 6px;
    background: var(--hp-ink);
    color: #fff !important;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    cursor: pointer;
}

.hasepost-werbung-secondary-link {
    background: #fff;
    color: var(--hp-ink) !important;
}

.hasepost-werbung-hero-preview {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
    padding: 18px;
    border: 1px solid #111827;
    border-radius: 8px;
    background: #fff;
    box-shadow: 10px 10px 0 var(--hp-blue);
}

.hasepost-werbung-preview-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--hp-muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hasepost-werbung-preview-story {
    margin: 22px 0;
    padding: 26px;
    border-radius: 8px;
    background:
        linear-gradient(rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.72)),
        linear-gradient(135deg, var(--hp-blue), var(--hp-red));
    color: #fff;
}

.hasepost-werbung-preview-story h2 {
    margin: 14px 0 10px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1;
    letter-spacing: 0;
}

.hasepost-werbung-preview-story p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.hasepost-werbung-preview-pill {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--hp-red);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hasepost-werbung-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.hasepost-werbung-preview-grid span {
    display: block;
    min-height: 86px;
    border-radius: 8px;
    background: var(--hp-soft);
}

.hasepost-werbung-preview-grid span:nth-child(2) {
    background: #e7eff3;
}

.hasepost-werbung-preview-grid span:nth-child(3) {
    background: #f8e8e9;
}

.hasepost-werbung-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0 0 40px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: var(--hp-line);
}

.hasepost-werbung-stats div {
    padding: 22px;
    background: #fff;
}

.hasepost-werbung-stats strong {
    display: block;
    margin-bottom: 8px;
    color: var(--hp-red);
    font-size: 1.35rem;
    line-height: 1;
}

.hasepost-werbung-stats span {
    color: var(--hp-muted);
    font-weight: 700;
}

.hasepost-werbung-section-heading,
.hasepost-werbung-products-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 18px;
}

.hasepost-werbung-section-heading h2,
.hasepost-werbung-products-head h2,
.hasepost-werbung-paths h2,
.hasepost-werbung-form-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1;
    letter-spacing: 0;
}

.hasepost-werbung-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hasepost-werbung-fit-grid article,
.hasepost-werbung-paths article {
    padding: 24px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: #fff;
}

.hasepost-werbung-fit-grid span {
    display: inline-flex;
    margin-bottom: 30px;
    color: var(--hp-blue);
    font-size: 0.84rem;
    font-weight: 900;
}

.hasepost-werbung-fit-grid h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.hasepost-werbung-fit-grid p,
.hasepost-werbung-paths p,
.hasepost-werbung-form-header p {
    margin: 0;
    color: var(--hp-muted);
    line-height: 1.55;
}

.hasepost-werbung-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hasepost-werbung-paths article {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.hasepost-werbung-paths article:first-child {
    background: var(--hp-red);
    color: #fff;
}

.hasepost-werbung-paths article:first-child .hasepost-werbung-eyebrow,
.hasepost-werbung-paths article:first-child p {
    color: rgba(255, 255, 255, 0.78) !important;
}

.hasepost-werbung-paths article:first-child .hasepost-werbung-primary-link {
    border-color: #fff;
    background: #fff;
    color: var(--hp-ink) !important;
}

.hasepost-werbung-products {
    padding-top: 12px;
}

.hasepost-werbung-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hasepost-werbung-tabs a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    color: var(--hp-ink);
    font-weight: 800;
    text-decoration: none;
}

.hasepost-werbung-tabs a.is-active {
    border-color: var(--hp-red);
    background: var(--hp-red);
    color: #fff;
}

.hasepost-werbung-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hasepost-werbung-card {
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: #fff;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.hasepost-werbung-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(24, 32, 43, 0.10);
}

.hasepost-werbung-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--hp-soft);
    color: inherit;
}

.hasepost-werbung-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hasepost-werbung-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: inline-flex;
    max-width: calc(100% - 24px);
    min-height: 30px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1.1;
}

.hasepost-werbung-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--hp-muted);
    font-weight: 900;
}

.hasepost-werbung-card-body {
    padding: 18px;
}

.hasepost-werbung-card-body h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.hasepost-werbung-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.hasepost-werbung-card-body p {
    margin: 0 0 14px;
    color: var(--hp-muted);
}

.hasepost-werbung-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.hasepost-werbung-bubbles li {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 88px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--hp-soft);
}

.hasepost-werbung-bubbles span {
    color: var(--hp-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hasepost-werbung-bubbles strong {
    color: var(--hp-ink);
    font-size: 0.95rem;
}

.hasepost-werbung-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.hasepost-werbung-price {
    color: var(--hp-ink);
    font-weight: 900;
}

.hasepost-werbung-process {
    padding: 26px;
    border-radius: 8px;
    background: var(--hp-soft);
}

.hasepost-werbung-process ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: hasepost-steps;
}

.hasepost-werbung-process li {
    position: relative;
    min-height: 170px;
    padding: 18px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: #fff;
    counter-increment: hasepost-steps;
}

.hasepost-werbung-process li::before {
    content: counter(hasepost-steps);
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--hp-red);
    color: #fff;
    font-weight: 900;
}

.hasepost-werbung-process strong,
.hasepost-werbung-process span {
    display: block;
}

.hasepost-werbung-process strong {
    margin-bottom: 8px;
}

.hasepost-werbung-process span {
    color: var(--hp-muted);
    line-height: 1.45;
}

.hasepost-werbung-detail-panel {
    display: grid;
    gap: 18px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--hp-line);
}

.hasepost-werbung-detail-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--hp-soft);
}

.hasepost-werbung-detail-image {
    display: none;
    margin: 0;
}

.hasepost-werbung-detail-image.is-active {
    display: block;
}

.hasepost-werbung-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hasepost-werbung-gallery-controls {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
}

.hasepost-werbung-gallery-controls button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(24, 32, 43, 0.88);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.hasepost-werbung-form-header {
    margin: 0 0 24px;
    padding: 30px 0 18px;
    border-bottom: 1px solid var(--hp-line);
}

.hasepost-werbung-form-header p {
    max-width: 760px;
    margin-top: 12px;
}

.hasepost-werbung-download,
.hasepost-werbung-assets,
.hasepost-werbung-order-upload,
.hasepost-werbung-notice,
.hasepost-werbung-success,
.hasepost-werbung-empty {
    padding: 16px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: #f8fafc;
}

.hasepost-werbung-success {
    border-color: #2e7d32;
    background: #edf7ed;
    color: #1b5e20;
}

.hasepost-werbung-order-upload {
    margin: 22px 0;
}

.hasepost-werbung-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 880px;
}

.hasepost-werbung-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 800;
}

.hasepost-werbung-form input,
.hasepost-werbung-form select,
.hasepost-werbung-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--hp-line);
    border-radius: 6px;
    padding: 9px 10px;
    color: var(--hp-ink);
    font: inherit;
}

.hasepost-werbung-form input[type="file"] {
    padding: 12px;
    background: #fff;
}

.hasepost-werbung-form-full {
    grid-column: 1 / -1;
}

.hasepost-werbung-form button {
    width: max-content;
}

@media (max-width: 1040px) {
    .hasepost-werbung-hero,
    .hasepost-werbung-paths {
        grid-template-columns: 1fr;
    }

    .hasepost-werbung-hero {
        min-height: 0;
    }

    .hasepost-werbung-hero-preview {
        min-height: 360px;
    }

    .hasepost-werbung-process ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hasepost-werbung-stats,
    .hasepost-werbung-fit-grid,
    .hasepost-werbung-grid {
        grid-template-columns: 1fr;
    }

    .hasepost-werbung-products-head,
    .hasepost-werbung-section-heading {
        display: block;
    }

    .hasepost-werbung-tabs {
        margin-top: 14px;
    }
}

@media (max-width: 680px) {
    .hasepost-werbung-hero {
        padding: 22px;
    }

    .hasepost-werbung-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.1rem);
        line-height: 1;
        overflow-wrap: anywhere;
    }

    .hasepost-werbung-hero-preview {
        min-height: 300px;
        box-shadow: none;
    }

    .hasepost-werbung-preview-grid,
    .hasepost-werbung-process ol,
    .hasepost-werbung-form {
        grid-template-columns: 1fr;
    }

    .hasepost-werbung-card-actions,
    .hasepost-werbung-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hasepost-werbung-primary-link,
    .hasepost-werbung-secondary-link,
    .hasepost-werbung-button,
    .hasepost-werbung-form button {
        width: 100%;
    }
}
