:root {
    --bg: #f9f4ef;
    --surface: #ffffff;
    --accent: #c49b63;
    --text: #1f1f1f;
    --muted: #938f9b;
    --shadow: 0 20px 40px rgba(22, 12, 5, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(249, 244, 239, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.2rem 0;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
}

.brand span {
    color: var(--accent);
}

.main-nav a {
    margin-right: 1.25rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:last-child {
    margin-right: 0;
}

.cta {
    text-decoration: none;
    color: #fff;
    background: var(--text);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pill-link {
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid var(--text);
    color: var(--text);
    background: transparent;
}

.pill-link.subtle {
    border-color: transparent;
    color: var(--muted);
}

.hero {
    padding: 8rem 0 4rem;
}

.maintenance-banner {
    background: #fff4e5;
    border: 1px solid rgba(195, 124, 16, 0.2);
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.maintenance-banner strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.maintenance-locked {
    background: #fff;
    border: 1px dashed rgba(31, 31, 31, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 640px;
}

.maintenance-gate {
    padding: 6rem 0;
}

.maintenance-gate__inner {
    background: var(--surface);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.maintenance-gate__inner p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
}

.muted-text {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

.hero__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0 0 1rem;
}

.lead {
    font-size: 1.1rem;
    color: #423b37;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
}

.btn.ghost {
    border: 1px solid var(--text);
    color: var(--text);
    background: transparent;
}

.hero__chat {
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: 1.5rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 420px;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-label {
    margin: 0;
    font-weight: 600;
}

.chat-status {
    font-size: 0.85rem;
    color: var(--muted);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.7);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.chat-bubble {
    padding: 1rem;
    border-radius: 1rem;
    background: #f4efe8;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.chat-bubble.outgoing {
    background: #1f1f1f;
    color: #fff;
    margin-left: auto;
}

.chat-bubble p {
    margin: 0.4rem 0;
}

.chat-author {
    font-size: 0.8rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    color: var(--muted);
}

.chat-bubble.outgoing .chat-author {
    color: rgba(255, 255, 255, 0.7);
}

.chat-bubble time {
    font-size: 0.75rem;
    color: var(--muted);
}

.chat-bubble.outgoing time {
    color: rgba(255, 255, 255, 0.6);
}

.chat-input {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 0.5rem 0.5rem 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.chat-input span {
    color: var(--muted);
    font-size: 0.9rem;
}

.chat-input button {
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
}

.section {
    padding: 5rem 0;
}

.blog-hero {
    background: #f1ebe4;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-card__date,
.blog-meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.blog-card h2 {
    margin: 0;
    font-size: 1.5rem;
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h2 a:hover {
    text-decoration: underline;
}

.blog-detail__content {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    line-height: 1.7;
}

.blog-detail__content p {
    margin-bottom: 1.2rem;
}

.blog-detail__content .blog-image {
    margin: 2rem 0;
    text-align: center;
}

.blog-detail__content .blog-image img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.blog-detail__content .blog-image figcaption {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.how-hero {
    background: var(--surface);
    padding: 4rem 0 2rem;
}

.how-hero--image {
    padding-bottom: 0;
}

.how-hero__layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.how-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.how-hero__media {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.how-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.how-hero .lead {
    max-width: 720px;
}

.how-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.quick-highlight {
    background: #111;
    color: #fff;
    padding: 0;
}

.quick-highlight__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(196, 155, 99, 0.25), rgba(0, 0, 0, 0.8));
    box-shadow: var(--shadow);
}

.quick-highlight__card .btn {
    flex-shrink: 0;
}

.notice-legacy {
    background: #fffdfa;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.notice-legacy__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.how-carousel {
    position: relative;
    padding: 0 5rem;
}

.how-carousel__viewport {
    overflow: hidden;
}

.how-carousel__track {
    display: flex;
    gap: 1.5rem;
    scroll-snap-type: x proximity;
    padding-bottom: 0.75rem;
}

.how-card {
    flex: 0 0 clamp(240px, 28vw, 300px);
    scroll-snap-align: start;
}

.how-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    position: relative;
    padding-top: 2.75rem;
}

.how-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(196, 155, 99, 0.25);
    color: #4a2b16;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1.5rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(196, 155, 99, 0.5);
    white-space: nowrap;
}

.how-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    padding: 0;
}

.how-carousel__nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.how-carousel__nav--prev {
    left: 1rem;
}

.how-carousel__nav--next {
    right: 1rem;
}

@media (max-width: 720px) {
    .how-carousel {
        padding: 0 1rem;
    }

    .how-carousel__nav {
        display: none;
    }

    .how-card {
        flex-basis: min(85vw, 320px);
    }
}

.how-card__head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 8.25rem;
    justify-content: flex-start;
}

.how-card__head h2 {
    margin: 0;
    line-height: 1.3;
}

.how-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.how-card__summary {
    margin: 0;
    line-height: 1.5;
}

.how-card__list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.how-card__list li {
    margin-bottom: 0.35rem;
}

.how-card__footer {
    margin-top: auto;
}

.how-card__footer .pill-link {
    width: 100%;
    text-align: center;
}

.how-detail {
    background: #fffdf8;
}

.how-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.how-step {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.how-detail__highlights {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.how-detail__highlights ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.how-detail__highlights li {
    margin-bottom: 0.4rem;
}

.how-detail__cta {
    background: radial-gradient(circle at top right, rgba(196, 155, 99, 0.18), rgba(196, 155, 99, 0.05));
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.how-detail__cta p {
    margin: 0.75rem 0 1.25rem;
    color: var(--muted);
}

.parcel-overview {
    background: #fffdfa;
}

.parcel-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.parcel-checklist {
    margin: 1.25rem 0 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.parcel-checklist li {
    line-height: 1.5;
}

.guideline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.download-card,
.address-card {
    background: var(--surface);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.document-link {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.process-richtext__content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    line-height: 1.6;
    max-width: 860px;
}

.process-list {
    list-style: disc;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    line-height: 1.6;
}

.legacy-btn {
    background: #402312;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 12px 25px rgba(64, 35, 18, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pickup-hint {
    background: #fffdfa;
}

.pickup-hint__card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
}

.pickup-hint__items {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.6;
}

.pickup-flow {
    background: #fff;
}

.pickup-card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.pickup-steps {
    margin: 0;
    padding-left: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    line-height: 1.5;
}

.pickup-steps--secondary {
    margin-top: 1.5rem;
}

.pickup-richtext {
    background: #fffdfa;
}

.pickup-richtext__content {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    line-height: 1.6;
}

.walkin-flow {
    background: #fffdfa;
}

.walkin-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.walkin-steps {
    margin: 0;
    padding-left: 1.3rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.walkin-details {
    background: #fff;
}

.walkin-details__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.walkin-details__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    line-height: 1.6;
}

.retail-flow {
    background: #fff;
}

.retail-flow__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.retail-steps {
    margin: 0;
    padding-left: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    line-height: 1.6;
}

.retail-details {
    background: #fffdfa;
}

.retail-details__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.retail-details__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    line-height: 1.6;
}

.retail-details__hint {
    background: rgba(64, 35, 18, 0.06);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: #3a2317;
}

.faq-hero {
    background: #fffdfa;
}

.faq-hero__layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.faq-hero__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.faq-admin-notice {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    background: rgba(31, 31, 31, 0.07);
    font-size: 0.95rem;
}

.faq-admin-notice a {
    color: var(--accent);
    text-decoration: underline;
}

.faq-list {
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.faq-card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.6;
}

.faq-card h2 {
    margin: 0;
}

.faq-card p:last-child {
    margin-bottom: 0;
}

.digital-hero {
    position: relative;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6rem 0;
    overflow: hidden;
    --digital-hero-image: url("../so_funktionierts/digitaler_kuerschner_pelzankauf_de.jpg");
}

.digital-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--digital-hero-image) center/cover no-repeat;
    opacity: 0.35;
    filter: grayscale(0.2);
}

.digital-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 720px;
}

.digital-steps {
    background: #fffdfa;
}

.digital-steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.digital-step {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.digital-payout {
    background: #fff;
}

.digital-payout__card {
    background: #111;
    color: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.digital-admin {
    background: #fff;
    padding-top: 2rem;
}

.digital-admin__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.digital-admin__form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.digital-admin__form input {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.85rem;
    padding: 0.85rem;
    font: inherit;
    min-width: 260px;
}

.faq-card__meta {
    font-weight: 600;
    color: var(--muted);
    margin: 0;
}

.faq-empty {
    background: var(--surface);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.faq-api {
    background: #fffdfa;
}

.faq-api__layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.faq-api__code {
    background: #111;
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    font-family: "Space Mono", "Courier New", monospace;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.faq-admin {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-admin__form {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-admin__hint {
    background: rgba(196, 155, 99, 0.12);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: #3a2317;
}

.faq-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.faq-field textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.85rem;
    padding: 0.85rem;
    font: inherit;
    resize: vertical;
}

.faq-field textarea[name="question"] {
    min-height: 80px;
}

.faq-admin__list {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.faq-admin__items {
    display: grid;
    gap: 1.5rem;
}

.faq-admin__item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-admin__item header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-weight: 600;
}

.faq-admin__toolbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.faq-admin__toolbar .pill-link {
    font-weight: 500;
    border-color: rgba(0, 0, 0, 0.15);
}

.pill-link--danger {
    color: #a83232;
    border-color: rgba(168, 50, 50, 0.3);
}

.faq-admin__preview {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.faq-admin__label {
    margin: 0.5rem 0 0;
    font-weight: 600;
    color: var(--muted);
}

.faq-admin__label:first-of-type {
    margin-top: 0;
}

.faq-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-edit-form[hidden] {
    display: none !important;
}

.faq-admin__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.faq-admin__toolbar form {
    display: inline;
}

.tool-hero__note {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--muted);
}

.tool-overview {
    background: #fffdfa;
}

.tool-overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    line-height: 1.6;
}

.tool-warning {
    background: #fff;
}

.tool-warning__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    line-height: 1.6;
}

.tool-links {
    background: #fffdfa;
}

.tool-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.tool-link-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
}

.tool-link-card p {
    margin: 0;
}

.tool-link-card a {
    color: var(--accent);
    text-decoration: none;
}

.tool-faq {
    background: #fff;
}

.tool-faq__card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.tool-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tool-benefits {
    background: #fffdfa;
}

.tool-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tool-benefits__card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    line-height: 1.6;
}

.legacy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(64, 35, 18, 0.3);
}

.legacy-btn--compact {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    box-shadow: 0 8px 16px rgba(64, 35, 18, 0.2);
}

.legacy-note {
    background: rgba(64, 35, 18, 0.08);
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #3a2317;
}

.section.muted {
    background: #f1ebe4;
}

.section__header h2 {
    margin: 0.5rem 0 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.steps {
    display: grid;
    gap: 1rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--surface);
    padding: 1.2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.step span {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

.contact__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.contact-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 0.85rem;
    font: inherit;
    background: #fdfcfb;
}

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer__links a {
    margin-left: 1rem;
    color: var(--muted);
    text-decoration: none;
}

.flash-container {
    width: min(900px, 90%);
    margin: 1rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alert {
    border-radius: 0.9rem;
    padding: 0.9rem 1.2rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.alert--success {
    background: #e3f5ea;
    color: #1c6b37;
}

.alert--error {
    background: #fdeaea;
    color: #a82424;
}

.alert--info {
    background: #edf4ff;
    color: #1b4a8f;
}

.auth__inner {
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form label {
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-form input {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 0.85rem;
    font: inherit;
}

.dashboard {
    padding: 4rem 0;
}

.dashboard-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 2.5rem;
}

.admin-blog {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-blog__form,
.admin-blog__list {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
}

.admin-blog__form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-blog__form input,
.admin-blog__form textarea,
.admin-blog__form select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 0.85rem;
    font: inherit;
    background: #fff;
}

.blog-upload {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-upload__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-upload__status {
    font-size: 0.85rem;
    color: var(--muted);
}

.blog-upload__status.is-error {
    color: #a82424;
}

.blog-admin-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-admin-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.75rem;
}

.blog-admin__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.blog-admin__actions form {
    margin: 0;
    display: inline;
}

.admin-shortcut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--surface);
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.maintenance-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: space-between;
    background: var(--surface);
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.maintenance-card form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.maintenance-card form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
}

.maintenance-card select {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.65rem 0.9rem;
    font: inherit;
    min-width: 160px;
}

.stat-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.stat-card strong {
    font-size: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: 1rem;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.data-table th {
    font-size: 0.85rem;
    letter-spacing: 0.1rem;
    color: var(--muted);
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.evaluation-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
}

.filter-field select,
.filter-field input[type="search"] {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    font: inherit;
    min-width: 200px;
    background: #fff;
}

.filter-field input[type="search"] {
    min-width: 260px;
}

.data-table--interactive th:first-child,
.data-table--interactive td:first-child {
    width: 2.5rem;
    text-align: center;
}

.table-toggle {
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.table-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.table-toggle__chevron {
    border: solid var(--text);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.table-toggle--open .table-toggle__chevron {
    transform: rotate(-135deg);
}

.detail-row td {
    background: rgba(249, 244, 239, 0.6);
    padding: 0;
}

.detail-panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-meta p {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--muted);
}

.detail-meta strong {
    display: block;
    margin-top: 0.2rem;
}

.detail-meta span {
    color: var(--muted);
    font-size: 0.9rem;
}

.valuation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.detail-item {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 0 1px rgba(196, 155, 99, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.detail-item header p {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: var(--muted);
}

.detail-item header strong {
    display: block;
}

.detail-note {
    margin: 0;
    color: #4f4a46;
    min-height: 3rem;
}

.detail-item label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
}

.detail-item input {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.7rem;
    font: inherit;
}

.media-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
}

.valuation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.valuation-actions label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
}

.valuation-actions select {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.7rem;
    font: inherit;
    background: #fff;
}

.pager {
    margin: 1.5rem 0 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.pager__link {
    text-decoration: none;
    border: 1px solid var(--text);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    color: var(--text);
}

.pager__link.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.event-log {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.event-log th,
.event-log td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem;
    font-size: 0.85rem;
    text-align: left;
}

.event-log th {
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.event-log td {
    word-break: break-word;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.evaluation-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    margin-top: 2.5rem;
}

.evaluation-card + .evaluation-card {
    margin-top: 2rem;
}

.evaluation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-grid label,
.item-card label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 500;
}

.form-grid input,
.item-card input,
.item-card textarea {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.85rem;
    padding: 0.85rem;
    font: inherit;
    background: #fdfcfb;
}

.item-card textarea {
    resize: vertical;
}

.item-collection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.25rem;
    padding: 1.5rem;
    background: #fffdf9;
    box-shadow: inset 0 0 0 1px rgba(196, 155, 99, 0.12);
}

.item-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.item-card__header h3 {
    margin: 0;
    font-size: 1rem;
}

.remove-item {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--muted);
}

.remove-item[aria-disabled="true"] {
    opacity: 0.4;
    cursor: not-allowed;
}

.file-label input[type="file"] {
    border: 1px dashed rgba(0, 0, 0, 0.25);
    padding: 0.75rem;
    border-radius: 0.85rem;
    background: rgba(249, 244, 239, 0.6);
}

.add-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px dashed var(--accent);
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}

.add-item-btn span {
    font-size: 1.4rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-note {
    margin: 0;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.status-pill--offen {
    background: #fff6e8;
    color: #c37c10;
}

.status-pill--geschlossen,
.status-pill--erledigt {
    background: #e3f5ea;
    color: #1c6b37;
}

.status-pill--in_review {
    background: #edf4ff;
    color: #1b4a8f;
}

@media (max-width: 640px) {
    .main-nav {
        display: none;
    }

    .header__inner {
        justify-content: space-between;
    }

    .header__actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
