/* Content & Page Specific Decorations */

.loesungen {
    position: relative;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: var(--weyel-color-text);
    margin-bottom: var(--weyel-space-6, 32px);
}

.loesungen::before {
    content: "SOLUTION";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--weyel-color-black);
    opacity: 0.06;
    z-index: -1;
    height: 118px;
    top: -49px;
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    pointer-events: none;
}
.partner {
    position: relative;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: var(--weyel-color-text);
    margin-bottom: var(--weyel-space-6, 32px);
}

.partner::before {
    content: "UNSERE PARTNER";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--weyel-color-black);
    opacity: 0.06;
    z-index: -1;
    height: 118px;
    top: -49px;
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    pointer-events: none;
}
.leistungen {
    position: relative;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: var(--weyel-color-text);
    margin-bottom: var(--weyel-space-6, 32px);
}

.leistungen::before {
    content: "SERVICE";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--weyel-color-black);
    opacity: 0.06;
    z-index: -1;
    height: 118px;
    top: -49px;
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    pointer-events: none;
}
.home-boxes {
  margin-top: -75px;
}

/* 404 Page */
.error-404-section {
    position: relative;
    overflow: hidden;
    padding: var(--weyel-space-8) 0 var(--weyel-space-9);
    background: linear-gradient(180deg, var(--weyel-color-surface-muted) 0%, var(--weyel-color-white) 100%);
}

.error-404-section::before {
    content: "404";
    position: absolute;
    top: 30px;
    right: 4%;
    font-size: clamp(120px, 18vw, 260px);
    line-height: 1;
    font-weight: 900;
    color: var(--weyel-color-blue);
    opacity: 0.06;
    pointer-events: none;
}

.error-404-section::after {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -130px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82, 174, 50, 0.18) 0%, rgba(82, 174, 50, 0) 70%);
    pointer-events: none;
}

.error-404-card {
    position: relative;
    z-index: 1;
    background: var(--weyel-color-white);
    border-radius: var(--weyel-radius-lg);
    border-top: 6px solid var(--weyel-color-blue);
    box-shadow: var(--weyel-shadow-medium);
    padding: 56px 64px;
}

.error-404-card .error-404-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 var(--weyel-space-4);
    color: var(--weyel-color-blue);
    font-size: var(--weyel-font-size-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.error-404-card .error-404-badge::before {
    content: "";
    width: 32px;
    height: 2px;
    background-color: currentColor;
}

.error-404-card .error-404-title {
    margin: 0 0 var(--weyel-space-4);
    color: var(--weyel-color-text);
    font-size: 72px;
    font-weight: 800;
    line-height: 0.95;
}

.error-404-card .error-404-text {
    margin: 0;
    max-width: 760px;
    color: var(--weyel-color-text-muted);
    font-size: var(--weyel-font-size-lg);
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--weyel-space-4);
    margin-top: var(--weyel-space-6);
}

.error-404-actions .wp-element-button {
    margin-top: 0;
}

.error-404-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--weyel-color-blue);
    text-decoration: none;
    font-weight: 700;
    transition: color var(--weyel-transition-base), gap var(--weyel-transition-base);
}

.error-404-link:hover {
    color: var(--weyel-color-green);
    gap: 14px;
}

.error-404-search-wrap {
    margin-top: var(--weyel-space-8);
    padding-top: var(--weyel-space-6);
    border-top: 1px solid var(--weyel-border-color-light);
}

.error-404-search-label {
    display: block;
    margin-bottom: var(--weyel-space-3);
    color: var(--weyel-color-text);
    font-weight: 600;
}

.error-404-search-form {
    display: flex;
    align-items: stretch;
    background: var(--weyel-color-bg-soft-alt);
    border: 1px solid var(--weyel-border-color-soft);
    border-radius: var(--weyel-radius-md);
    overflow: hidden;
}

.error-404-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--weyel-color-text);
    font-family: var(--weyel-font-family-base);
    font-size: var(--weyel-font-size-md-plus);
    padding: 14px var(--weyel-space-4);
}

.error-404-search-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(7, 104, 177, 0.2);
}

.error-404-search-input::placeholder {
    color: var(--weyel-color-text-subtle);
}

.error-404-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: var(--weyel-color-blue);
    color: var(--weyel-color-white);
    font-family: var(--weyel-font-family-base);
    font-weight: 600;
    padding: 0 var(--weyel-space-5);
    cursor: pointer;
    transition: background-color var(--weyel-transition-base);
}

.error-404-search-button:hover {
    background: var(--weyel-color-green);
}

.error-404-search-button i {
    font-size: var(--weyel-font-size-sm);
}
