@charset "UTF-8";

:root {
    --primary: var(--color-primary);
    --accent: var(--color-accent);
    --third: #004756;
    --border: #e6eef2;
    --text: #0f2a33;
    --back: #f0f4f8;
    --card: var(--color-card);

    /* Extended color system (used across newer components) */
    --color-primary: #143d4c;
    --color-primary-dark: #0d2933;
    --color-primary-light: #1d5468;
    --color-accent: #f26d17;
    --color-accent-dark: #d95c0e;
    --color-accent-text: #c2530d;
    --color-ink: #10242c;
    --color-text: #10242c;
    --color-text-muted: #5a6b73;
    --color-line: #e3e9ec;
    --color-border: #e3e9ec;
    --color-back: #f6f8f9;
    --color-back-strong: #eef2f4;
    --color-card: #ffffff;

    /* Shadows */
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --shadow1: 0 18px 40px rgba(0,0,0,.08);
    --shadow-sm: 0 1px 2px rgba(16, 36, 44, 0.06);
    --shadow-md: 0 4px 14px rgba(16, 36, 44, 0.09);
    --shadow-lg: 0 16px 40px rgba(16, 36, 44, 0.12);

    /* Ankaufspreis (ap-*) component tokens */
    --ap-primary: #143d4c;
    --ap-primary-dark: #143d4c;
    --ap-ink: #143d4c;
    --ap-body: #0f2a33;
    --ap-surface: #ffffff;
    --ap-border: #e6eef2;
    --ap-radius: 16px;
    --ap-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(242, 109, 23, .12);
    --ap-shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 40px rgba(242, 109, 23, .12);

    /* Type / layout */
    --font-family-base: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --container-max: 1200px;
    --section-space: clamp(3.5rem, 2.4rem + 4vw, 6.5rem);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
}

/* ============================================================
   RESET & BASE ELEMENTS
   ============================================================ */

*, ::before, ::after {
    box-sizing: border-box;
}

html {
    text-size-adjust: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: #143d4c;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0px;
    cursor: pointer;
    padding: 0px;
}

ul, ol {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

h1, h2, h3,h4 {
    margin: 0px;
    color: var(--primary);
    line-height: 1.2;
    font-family: sans-serif;
}
main section h3 {
    margin-bottom: 10px;
}

p {
    margin: 12px 0 12px;
    line-height: 1.7;
    color: #4b535b;
    text-align: justify;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
}

h2 {
  width: fit-content;
}

h2:after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 10px auto 18px;
  background: var(--accent);
  border-radius: 2px;
}

h2+p,
.section-head h1+p {
    margin-top: 16px
}



/* ============================================================
   GLOBAL LAYOUT UTILITIES
   ============================================================ */

.container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto; padding-inline: 16px; min-width: 0px;
}

.split {
    display: grid;
    gap: 20px;
    align-items: start;
    min-width: 0px;
}

.split > * {
    min-width: 0px;
}

main section {
    padding-block: 40px;
}

main > section.hero {
    background: #f0f4f8;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.icon {
    width: 46px;
    object-fit: contain;
}

@media (min-width: 900px) {
    .container {
        padding-inline: 24px;
    }

    .split {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero .split {
        align-items: center;
    }
}

@media (min-width: 1200px) {
    main section {
        /* padding-block: 72px; */
    }
}



/* ============================================================
   BUTTONS 
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 999px;
    text-decoration: none;
    max-width: 100%;
    text-align: center;
    text-wrap: balance;
    cursor: pointer;
    transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out
}

.btn:focus-visible {
    outline: 2px solid #143d4c;
    outline-offset: 2px
}

.btn-outline {
    background: rgba(0,0,0,0);
    border-color: rgba(20,61,76,.25);
    color: var(--color-primary)
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: var(--color-back)
}

/*Rounded here to the 8px this family mostly already
   used, and given one shared transition timing. */
.btn-primary,
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* "btn btn-primary btn-sm" phone CTA, which previously had no ".btn-sm" rule to shrink it and so
   rendered at full ".btn-primary" size inside the nav bar. */
.btn-sm {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 13.5px;
    gap: 6px;
}

a.btn-primary:focus-visible,
a.btn-outline-dark:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background: #f26d17;
    color: #fff;
}

.btn-primary:hover {
    background: #143d4c;
}

.btn-primary:hover {
    box-shadow: rgba(255, 112, 32, 0.35) 0px 4px 14px;
}

.btn-outline-dark, .btn-reject {
    background: #fff;
    color: #0f2a33;
    border: 1px solid #cfd8dc;
    box-shadow: #003d4d14 0px 1px 3px;
}

.btn-outline-dark:hover, .btn-reject:hover {
    box-shadow: 0 3px 8px rgba(20, 61, 76, .05), 0 10px 24px rgba(20, 61, 76, .09);
    transform: translateY(-1px);
}

.btn-outline-dark:hover, .btn-reject:hover {
    border-color: #143d4c;
}

.btn-outline-dark {
    color: #143d4c;
    border-color: #003d4d38;
}

.btn-primary i {
    margin-right: 8px;
}

.btn-primary:hover, .btn-outline-dark:hover {
    text-decoration: none;
}

.btn-outline-dark i {
    margin-right: 8px;
}

/* Transition timing aligned to the 0.2s used by the rest of the
   "solid CTA" family. */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #143d4c;
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    /* background: #f26d17; */
    /* color: #fff; */
    transform: translateY(-4px);
}

/* CONSISTENCY: radius brought from 12px to 8px, padding aligned to
   match ".kv-btn"/".cta-button" */
.ap-cta {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #ffffff;
    color: #143d4c;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.ap-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    color: #f26d17;
}

.ap-cta i {
    font-size: 14px;
}



/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    --header-h: 76px;
    background: var(--color-card);
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.site-header.is-scrolled {
    border-bottom-color: var(--color-line);
    box-shadow: 0 1px 2px rgba(16, 36, 44, 0.06);
}


/* ============================================================
   HEADER INNER
   ============================================================ */

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding-block: 12px;
}


/* ============================================================
   LOGO
   ============================================================ */

.logo {
    flex-shrink: 0;
}

.logo img {
    max-width: 160px;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
}


/* ============================================================
   DESKTOP MENU
   ============================================================ */

.menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.menu-list {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 1.6vw, 1.6rem);
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ============================================================
   DESKTOP MENU CENTERING
   Only 1200px and above
   ============================================================ */

@media (min-width: 1200px) {

    .menu {
        position: relative;
        flex: 1;
        justify-content: flex-end;
    }

    .menu-list {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

}


/* ============================================================
   MENU LINKS
   ============================================================ */

.menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0;
    background: none;
    border: 0;
    color: #143d4c;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 150ms ease-out;
}

.menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #f26d17;
    transition: width 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-link:hover::after { width: 100%; }
.menu-link:hover,
.menu-link:focus-visible {
    color: #f26d17;
}

.menu-link:focus-visible {
    outline: 2px solid #143d4c;
    outline-offset: 2px;
    border-radius: 2px;
}

.menu-link[aria-current="page"],
.menu-link[data-current="true"] {
    color: var(--color-primary);
    font-weight: 600;
}

.menu-link[aria-current="page"]::after,
.menu-link[data-current="true"]::after {
    transform: scaleX(1);
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .menu-link::after {
        transition: none;
    }

}


/* ============================================================
   DROPDOWN
   ============================================================ */

.dropdown {
    position: relative;
}

.dropdown-icon {
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-75%) rotate(45deg);
    transition: transform 150ms ease-out;
    pointer-events: none;
}

.dropdown > button.menu-link {
    padding-right: 14px;
}

.dropdown.is-open .dropdown-icon {
    transform: translateY(-25%) rotate(-135deg);
}


/* ============================================================
   DESKTOP DROPDOWN
   ============================================================ */

@media (min-width: 992px) {

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 14px);
        left: 50%;
        width: 300px;
        max-height: 60vh;
        margin: 0;
        padding: 8px;
        overflow-y: auto;
        background: var(--color-card);
        border: 1px solid var(--color-line);
        border-radius: 12px;
        box-shadow: 0 16px 40px rgba(16, 36, 44, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, -6px);
        transition:
            opacity 150ms ease-out,
            transform 150ms ease-out,
            visibility 150ms ease-out;
        list-style: none;
    }

    .dropdown-menu[hidden] {
        display: none;
    }

    .dropdown.is-open::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 14px;
    }

    .dropdown.is-open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .dropdown-menu a {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 6px;
        color: #143d4c;
        font-size: 1rem;
        text-decoration: none;
        transition:
            background-color 150ms ease-out,
            color 150ms ease-out;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:focus-visible {
        background: #fff1e6;
        color: #f26d17;
    }

    .dropdown-menu a[aria-current="page"] {
        color: var(--color-primary);
        font-weight: 600;
        box-shadow: inset 2px 0 0 var(--color-primary);
    }

}


/* ============================================================
   DESKTOP DROPDOWN - REDUCED MOTION
   ============================================================ */

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {

    .dropdown-menu {
        transition: opacity 150ms ease-out;
        transform: translate(-50%, 0);
    }

}


/* ============================================================
   MOBILE NAV TOGGLE
   ============================================================ */

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -8px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 6px;
    color: var(--color-primary);
    cursor: pointer;
}

.nav-toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle-bars span {
    width: 24px;
    height: 2.5px;
    background: #143d4c;
    border-radius: 2px;
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}


/* ============================================================
   MOBILE MENU ICON - OPEN STATE
   ============================================================ */

.site-header.is-open .nav-toggle-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .nav-toggle-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ============================================================
   MOBILE / TABLET MENU
   Up to 992px
   ============================================================ */

@media (max-width: 992px) {

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 22;
    }

    .site-header.is-open {
        z-index: 21;
    }

    .menu {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 20;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: min(340px, 88vw);
        height: 100dvh;
        gap: 0;
        padding:
            calc(76px + env(safe-area-inset-top, 0px))
            20px
            calc(20px + env(safe-area-inset-bottom, 0px));
        background: var(--color-card);
        border-left: 1px solid var(--color-line);
        box-shadow: 0 16px 40px rgba(16, 36, 44, 0.12);
        overflow: hidden;
        transform: translateX(100%);
        transition: transform 300ms ease-out;
        overscroll-behavior: contain;
    }

    .site-header.is-open .menu {
        transform: translateX(0);
    }

    .site-header.is-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 19;
        background: rgba(16, 36, 44, 0.45);
    }


    /* --------------------------------------------------------
       MOBILE MENU LIST
       -------------------------------------------------------- */

    .menu-list {
        position: static;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden auto;
        transform: none;
        overscroll-behavior: contain;
    }

    .menu-list > li {
        flex-shrink: 0;
        border-bottom: 1px solid var(--color-line);
    }


    /* --------------------------------------------------------
       MOBILE MENU LINKS
       -------------------------------------------------------- */

    .menu-link {
        width: 100%;
        min-height: 52px;
        justify-content: space-between;
        font-size: 1rem;
    }

    .menu-link::after {
        display: none;
    }

    .menu-link[aria-current="page"],
    .menu-link[data-current="true"] {
        box-shadow: inset 3px 0 0 var(--color-primary);
        padding-left: 12px;
    }


    /* --------------------------------------------------------
       MOBILE DROPDOWN BUTTON
       -------------------------------------------------------- */

    .dropdown > button.menu-link {
        padding-right: 20px;
    }

    .dropdown-icon {
        right: 8px;
    }


    /* --------------------------------------------------------
       MOBILE DROPDOWN MENU
       -------------------------------------------------------- */

    .dropdown-menu {
        display: none;
        max-height: min(15rem, 40dvh);
        margin: 0 0 12px;
        padding-left: 16px;
        border: 0;
        border-left: 2px solid var(--color-line);
        border-radius: 0;
        box-shadow: none;
        overflow: hidden auto;
        overscroll-behavior: contain;
        opacity: 1;
        visibility: visible;
        transform: none;
        list-style: none;
    }

    .dropdown-menu:not([hidden]) {
        display: block;
    }

    .dropdown.is-open > .dropdown-menu {
        display: block;
        border-left-color: var(--color-primary);
    }

    .dropdown-menu a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px;
        color: var(--color-text-muted);
        font-size: 1rem;
        text-decoration: none;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a[aria-current="page"] {
        color: var(--color-primary);
    }


    /* --------------------------------------------------------
       MOBILE MENU ACTIONS
       -------------------------------------------------------- */

    .menu-actions {
        flex-shrink: 0;
        padding-top: 20px;
    }

    .menu-actions .btn {
        width: 100%;
    }

}

/* ===============
   Breadcrumb
   ================ */

.breadcrumb-nav {
  padding: 14px 0;
  background: #f8fbfc;
  border-bottom: 1px solid #d7e0e2;
}

.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.breadcrumb::-webkit-scrollbar {
  display: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* Separator before every item except the first */
.breadcrumb li:not(:first-child)::before {
  content: "›";
  margin-right: 8px;
  color: #8fa2a8;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}

/* Breadcrumb links */
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: #f26d17;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease;
}

/* Home icon */
.breadcrumb a i {
  margin-right: 5px;
  color: #143d4c;
  font-size: 16px;
}

/* Hover */
.breadcrumb a:hover {
  color: #143d4c;
}

.breadcrumb a:hover i {
  color: #143d4c;
}

/* Current page */
.breadcrumb-current {
  color: #143d4c;
  font-weight: 600;
}

/* ============================================================
   TABLE OF CONTENTS (.toc)
   ============================================================ */

.toc {
  margin-top: -10px;
  position: relative;
  z-index: 5;
}

.toc details {
  background: #ffffff;
  border: 1px solid #d7e0e2;
  border-radius: 14px;
  box-shadow: 0 10px 30px -8px rgba(10, 34, 41, 0.18);
  padding: 1rem 1.3rem;
}

.toc summary {
    font-size: 16px;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:#5c6f78;
    font-weight:700;
    cursor:pointer;
    margin-bottom:0;
    list-style-position:inside;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.toc details[open] summary {
    margin-bottom:.9rem;
}

.toc summary::after {
  content: '+';
  font-size: 1.3rem;
  color: #f26d17;
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toc ol {
    list-style:none;
    counter-reset:toc;
    columns: 3;
    column-gap: 40px;
    margin:0;
    padding:0;
}

.toc li {
    counter-increment:toc;
    margin-bottom: .85rem;
    break-inside:avoid;
    font-size:.95rem;
    line-height:1.5;
}

.toc li::before {
    content:counter(toc,decimal-leading-zero);
    color:#f26d17;
    font-weight: 600;
    font-size: 1rem;
    margin-right: .4rem;
}

.toc a {
    color: var(--color-text-muted);
    font-weight:600;
    text-decoration:none;
    text-decoration-thickness:1.5px;
    font-size: 1rem;
    transition:color .15s ease;
}

.toc a:hover {
    color: var(--color-primary);
}

.toc a:focus-visible {
    outline:3px solid #f26d17;
    outline-offset:3px;
    border-radius:3px;
}

@media (max-width:560px) {
    .toc ol{
        columns:1;
    }
}

/* ----------------------
   HERO
   ---------------------- */

.hero h1 {
    margin-bottom: 12px;
}

.hero > .container > div:first-child > p {
    max-width: 576px;
    margin-bottom: 20px;
}

/* ----------------------
   HERO STATS
   ---------------------- */

.hero-stats {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.hero-stats .stat {
    min-width: max-content;
    width: auto;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "ic num"
        "ic lbl";
    gap: 2px 12px;
    align-items: center;

    padding: 14px 16px;

    background: #ffffff;
    border: 1px solid #e2e8ee;
    border-radius: 12px;

    box-shadow: 0 4px 18px rgba(0, 61, 77, 0.07);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.hero-stats .stat:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: #143d4c;
    box-shadow: 0 10px 28px rgba(0, 61, 77, 0.11);
}

.hero-stats .stat-icon {
    grid-area: ic;

    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: linear-gradient(
        145deg,
        rgba(242, 109, 23, 0.16),
        rgba(242, 109, 23, 0.06)
    );

    border: 1px solid rgba(242, 109, 23, 0.2);

    font-size: 20px;
    box-sizing: border-box;
}

.hero-stats .stat-icon::before {
    margin: 0;
    color: var(--accent);
}

.hero-stats .stat-num {
    grid-area: num;
    white-space: nowrap;

    font-size: 16px;
    color: var(--primary);
}

.hero-stats .stat-label {
    grid-area: lbl;
    white-space: nowrap;

    font-size: 16px;
    font-weight: 600;
    color: #5c6670;
}


/* 768–1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-stats {
        gap: 16px;
    }

    .hero-stats .stat {
        padding: 14px;
    }
}


/* 521–767px */
@media (min-width: 521px) and (max-width: 767px) {
    .hero-stats {
        gap: 14px;
    }

    .hero-stats .stat {
        padding: 12px 14px;
    }
}


/* Mobile */
@media (max-width: 520px) {
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        width: 90%;
        max-width: 90%;
        gap: 14px;
    }

    .hero-stats .stat {
        width: 100%;
        min-width: 0;

        grid-template-columns: auto auto minmax(0, 1fr);
        grid-template-areas: "ic num lbl";
        gap: 0 10px;

        padding: 12px 14px;
    }

    .hero-stats .stat-num,
    .hero-stats .stat-label {
        white-space: nowrap;
    }
}

/* ----------------------
   HERO BUTTONS
   ---------------------- */

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.hero-btn.orange {
  background: #ffffff;
  border-color: #f26d17;
  color: #143d4c;
}

.hero-btn.orange:hover {
  background: #f26d17;
  border-color: #f26d17;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(242, 109, 23, 0.35);
}

.hero-btn.dark {
  background: #ffffff;
  border-color: #143d4c;
  color: #143d4c;
}

.hero-btn.dark:hover {
  background: #143d4c;
  border-color: #143d4c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(20, 61, 76, 0.25);
}

.hero-btn:focus-visible {
  outline: 3px solid #f26d17;
  outline-offset: 3px;
}

.hero-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(20, 61, 76, 0.12);
}



/* ----------------------
   KONTAKT
   ---------------------- */
.kontakt .split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
}

/* Tablet */
@media (max-width: 900px) {
    .kontakt .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .kontakt .split {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* ==============================
   1st bild
   ============================== */

.hero-bild img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 16px
}

:is(.hero-bild img) {
    margin-inline: auto; 
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    direction: ltr;
    text-align: left;
}

.checklist li {
    position: relative;
    padding-left: 24px;
    line-height: 1.55;
    color: rgb(92, 102, 112);
}

.checklist li::after {
    content: "\E809";
    font-family: Icons;
    font-weight: 900;
    position: absolute;
    left: 0px;
    top: 7px;
    font-size: 14px;
    line-height: 1;
    color: var(--accent);
}

ol.checklist {
    counter-reset: n 0;
}

ol.checklist li {
    counter-increment: n 1;
    padding-left: 28px;
}

ol.checklist li::before {
    content: counter(n) ".";
    position: absolute;
    left: 0px;
    top: 0px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

ol.checklist li::after {
    display: none;
}





/* ============================================================
   ABLAUF (3 Schritte)
   ============================================================ */

.ablauf-schritten {
  background: #f0f4f8;
}
.ablauf-grid {
  padding-top: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: schritt;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: left;
  position: relative;
}
.ablauf-grid > li {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 1.6rem;
  border: 1px solid #d7e0e2;
  box-shadow: 0 2px 8px rgba(10, 34, 41, 0.06);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ablauf-grid > li:hover {
  transform: translateY(-4px);
  box-shadow: rgba(255, 112, 32, 0.35) 0px 4px 14px;
}
.ablauf-icon {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgb(207, 216, 220);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ablauf-icon .icon {
  width: 40px;
  height: 40px;
  fill: none;
}
.step-num {
  position: absolute;
  top: -8px;
  left: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.ablauf-grid h3 {
  margin-bottom: 1.2rem;
  color: #143d4c;
}
.ablauf-cta {
  margin-top: 40px;
  text-align: center;
}
/* Tablet: 2 Spalten statt hart auf 1 zu springen */
@media (max-width: 900px) {
  .ablauf-grid,
  .vorteile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Mobile: 1 Spalte — ohne das bleiben 3 Spalten auf jedem Screen erzwungen */
@media (max-width: 640px) {
  .ablauf-grid,
  .vorteile-grid {
    grid-template-columns: 1fr;
  }
  .ablauf-icon {
    width: 56px;
    height: 56px;
  }
  .ablauf-icon .icon {
    width: 24px;
    height: 24px;
  }
  .step-num {
    top: -6px;
    left: -6px;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

/* ============================================================
   DOKUMENTE (Unterlagen-Checkliste + Video)
   ============================================================ */

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    align-items: stretch;
}

.docs-grid > * {
    min-width: 0px;
}

.documents-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(221, 231, 236);
    border-radius: 18px;
    box-shadow: rgba(0, 71, 86, 0.05) 0px 10px 28px;
    overflow: hidden;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    border-bottom: 1px solid rgb(221, 231, 236);
    transition: background 0.2s;
    min-width: 0;
}

.document-item:last-child {
    border-bottom: none;
}

.document-item:hover {
    background: rgb(248, 251, 252);
}

.document-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0%;
    min-width: 0;
}

.document-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #f26d17;
}

.document-name {
    flex: 1 1 0%;
    min-width: 0;
    color: #4b535b;
    font-size: 16px;
    line-height: 1.5;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0px 10px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge.required {
    background: #fff1e6;
    color: #f26d17;
    /* border: 1px solid rgba(255, 107, 26, 0.25); */
}

.badge.optional {
    background: #eef6f8;
    color: #007c89;
    border: 1px solid #eef6f8;
}

@media (max-width: 640px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }
    .document-item {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .document-name {
        font-size: 15px;
        white-space: normal;
        word-break: break-word;
    }
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: rgb(15, 23, 36);
}

.video-embed, .video-btn {
    min-width: 0px;
}

:is(.video-btn, .video-play) {
    position: absolute;
    inset: 0px;
}

.video-btn {
    width: 100%;
    height: 100%;
    padding: 0px;
    border: 0px;
    cursor: pointer;
    background: transparent;
}

.video-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    font-size: 48px;
    color: rgb(255, 255, 255);
}

.video-embed iframe {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    border: 0px;
}

@media (max-width: 900px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .document-item {
        gap: 12px;
        padding: 10px;
    }

    .document-name {
        font-size: 14px;
    }

    .badge {
        min-height: 26px;
    }

    .video-play {
        font-size: 38px;
    }
}

.note-box {
    position: relative;
    margin-top: 35px;
    padding: 20px 24px 20px 64px;
    background: #007c8914;
    border-left: 5px solid #f26d17;
    border-radius: 16px;
}

.note-box::before {
    content: "i";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--third);
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .note-box {
        padding: 60px 16px 16px;
    }

    .note-box::before {
        top: 20px;
        left: 20px;
        transform: none;
    }
}



/* ============================================================
   VORTEILE
   ============================================================ */

.vorteile-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vorteile-grid > li {
  background: #ffffff;
  border: 1px solid #d7e0e2;
  border-radius: 22px;
  padding: 29px;
  box-shadow: 0 2px 8px rgba(10, 34, 41, 0.06);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vorteile-grid > li:hover {
  transform: translateY(-5px);
  box-shadow: rgba(255, 112, 32, 0.35) 0px 4px 14px;
}

.vorteile-karte-dark {
  background: #143d4c !important;
  border-color: #143d4c !important;
}

.vorteile-karte-dark h3,
.vorteile-karte-dark p {
  color: #f4f8f9;
}

.vorteile-grid .icon {
  width: 40px;
  height: 40px;
}

.vorteile-grid > li > div:first-child {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.vorteile-karte-dark > div:first-child {
  background: rgba(244, 248, 249, 0.1);
}

.vorteile-grid h3 {
  font-size: 17px;
}

@media (max-width: 960px) {
  .vorteile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .vorteile-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   SERVICES / LEISTUNGEN
   ============================================================ */

.services {
    background: rgb(255, 255, 255);
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .leistungen-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-inline: auto;
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .leistungen-grid {
        grid-template-columns: 1fr;
        margin-inline: auto;
    }
}

.leistungen-karte {
    display: flex;
    flex-direction: column;
    min-width: 0px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.leistungen-karte {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(226, 232, 238);
    border-radius: 8px;
    box-shadow: rgba(0, 61, 77, 0.04) 0px 1px 2px;
}

.leistungen-karte:hover {
    transform: translateY(-4px) scale(1.01);
    transition: transform 0.3s ease;
    box-shadow: rgba(0, 61, 77, 0.1) 0px 8px 24px;
}

.leistungen-karte > img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s;
}

.leistungen-karte:hover > img {
    transform: scale(1.04);
}

.leistungen-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    padding: 15px;
}

.text-link {
    color: #f26d17;
    font-weight: 600;
}

.text-link:hover {
    color: #143d4c;
}

.leistungen-content .text-link {
    margin-top: auto;
    padding-top: 16px;
    align-self: flex-start;
}

.leistungen-content h3 {
	margin-top: 8px;
    margin-bottom: 8px;
	transition: .2s ease;
}

.leistungen-content p {
    margin: 0px;
    font-size: 14px;
}



/* ============================================================
   ANKAUFSPREIS (ap-section: factors, cases, summary)
   ============================================================ */

.ap-section {
background: #f0f4f8;
}

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

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .ap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-inline: auto;
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .ap-grid {
        grid-template-columns: 1fr;
        margin-inline: auto;
    }
}

.ap-card {
    border-top: 4px solid transparent;
    position: relative;
    min-width: 0px;
    background: var(--ap-surface);
    border-radius: 16px;
    padding: clamp(24px, 3vw, 32px);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.ap-card:hover, .ap-card:focus-within {
    transform: translateY(-4px) scale(1.01);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 40px rgba(242, 109, 23, .12);
    border-top-color: #f26d17;
}

.ap-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ap-step {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: rgba(242, 109, 23, 0.12);
    color: #a8420a;
    border-radius: 14px;
    font-size: 30px;
    font-weight: 700;
}

.ap-card:hover .ap-step {
    background: #f26d17;
    color: #ffffff;
}

.ap-card h3 {
    margin: 0px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--ap-ink);
}

.ap-card p {
    margin: 0px;
    font-size: 16px;
}

.ankauf-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ankauf-fahrzeug {
    min-width: 0;
    margin: 0;
}

.ankauf-fahrzeug article {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(20, 61, 76, 0.12);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(20, 61, 76, 0.04),
        0 6px 20px rgba(20, 61, 76, 0.06);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.ankauf-fahrzeug:hover article {
    transform: translateY(-4px);
    border-color: rgba(20, 61, 76, 0.18);
    box-shadow: rgba(255, 112, 32, 0.35) 0px 4px 14px;
}


/* =========================================
   Image
   ========================================= */

.ankauf-bild {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f7f8;
}

.ankauf-bild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.ankauf-fahrzeug:hover .ankauf-bild img {
    transform: scale(1.035);
}


/* =========================================
   Content
   ========================================= */

.ankauf-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
}

.ankauf-info h3 {
    margin: 0 0 16px;
    color: #143d4c;
    font-size: 20px;
    font-weight: 600;
}


/* =========================================
   Vehicle Data
   ========================================= */

.ankauf-daten {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 20px;
    margin: 0;
    padding: 0;
}

.ankauf-daten dt,
.ankauf-daten dd {
    min-width: 0;
    margin: 0;
    font-size: 15px;
}

.ankauf-daten dt {
    color: #5f6f75;
    font-weight: 500;
}

.ankauf-daten dd {
    color: #143d4c;
    font-weight: 600;
    text-align: right;
}


/* =========================================
   Price + Location
   ========================================= */

.ankauf-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 61, 76, 0.10);
}

.ankauf-meta > strong {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    color: #f26d17;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.ankauf-ort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 7px;
    margin: 0;
    padding: 0;
    color: #143d4c;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.ankauf-ort i {
    flex: 0 0 auto;
    color: #f26d17;
    font-size: 14px;
}


/* =========================================
   Large Tablet
   ========================================= */

@media (max-width: 1000px) {
    .ankauf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 700px) {
    .ankauf-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ankauf-info {
        padding: 18px;
    }

    .ankauf-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ankauf-meta > strong {
        white-space: normal;
    }

    .ankauf-ort {
        justify-content: flex-start;
        text-align: left;
    }
}


/* =========================================
   Small Mobile
   ========================================= */

@media (max-width: 420px) {
    .ankauf-info {
        padding: 16px;
    }

    .ankauf-info h3 {
        font-size: 19px;
    }

    .ankauf-daten dt,
    .ankauf-daten dd {
        font-size: 14px;
    }

    .ankauf-meta > strong {
        font-size: 15px;
    }

    .ankauf-ort {
        font-size: 13px;
    }
}


/* =========================================
   Reduced Motion
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .ankauf-fahrzeug article,
    .ankauf-bild img {
        transition: none;
    }

    .ankauf-fahrzeug:hover article {
        transform: none;
    }

    .ankauf-fahrzeug:hover .ankauf-bild img {
        transform: none;
    }
}


.ap-summary {
    margin-top: clamp(32px, 4vw, 48px);
    background: linear-gradient(135deg, rgb(20, 61, 76), rgb(242, 109, 23));
    border-radius: var(--ap-radius);
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

.ap-summary-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.ap-summary-check {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgb(255, 255, 255);
    font-size: 24px;
}

.ap-summary strong {
    display: block;
    color: rgb(255, 255, 255);
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 700;
    margin-bottom: 6px;
}

.ap-summary p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .ap-summary {
        padding: 28px 22px;
        gap: 20px;
    }

    .ap-summary-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ap-summary-check {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .ap-card {
        padding: 15px;
    }

    .ap-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .ap-cta {
        width: 100%;
        align-self: center;
        white-space: normal;
        text-align: center;
    }
}



/* ============================================================
   VERGLEICH / COMPARISON (vs-table)
   ============================================================ */

@media (min-width: 640px) {
  .vs-wrap {
    overflow-x: auto;
    border: 1px solid #d7e0e2;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px -8px #d1d9db;
  }
}

.vs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 16px;
  background: #ffffff;
}

.vs-table thead th:first-child,
.vs-table tbody th {
  width: 15%;
}

.vs-table th,
.vs-table td {
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
}

.vs-table tbody th {
  width: 22%;
  font-weight: 600;
  color: #143d4c;
  font-size: 16px;
  background: #eaf0f1;
}

.vs-table td {
  color: #51686f;
  font-size: 16px;
  border-bottom: 1px solid #d7e0e2;
}

.vs-table strong {
  color: #143d4c;
}

.vs-table tbody tr:last-child td,
.vs-table tbody tr:last-child th {
  border-bottom: none;
}

.vs-table tbody tr + tr > * {
  border-top: 1px solid #d7e0e2;
}

.vs-table .is-us {
  background: #fff1e6;
  border-inline: 2px solid #f26d17;
}

.vs-table tbody tr:last-child .is-us {
  border-bottom: none;
}

.vs-table thead th {
  padding: 18px 22px;
  border-bottom: none;
  background: #143d4c;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.vs-table thead th:first-child {
  border-top-left-radius: 22px;
}

.vs-table thead th.is-us {
  background: #f26d17;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vs-tag {
  position: static;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #143d4c;
  font-size: 16px;
  vertical-align: middle;
}

.vs-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.vs-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
}

.vs-head-icon--other {
  background: #536d75;
  color: #a9c0c6;
}

.vs-head-icon--us {
  background: #f78b4b;
  color: #ffffff;
}
/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {

  .vs-table {
    display: block;
    background: transparent;
  }

  .vs-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .vs-table tbody,
  .vs-table tr,
  .vs-table th,
  .vs-table td {
    display: block;
  }

  .vs-table tr {
    background: #ffffff;
    border: 1px solid #d7e0e2;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(10, 34, 41, 0.08);
    transition:
      border-color 200ms ease-out,
      box-shadow 200ms ease-out,
      background-color 200ms ease-out;
    padding: 20px;
    margin-bottom: 16px;
  }

  .vs-table tbody tr + tr > * {
    border-top: 0;
  }

  .vs-table tbody th {
    width: auto;
    padding: 0 0 16px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #143d4c;
    background: transparent;
    border-bottom: 1px solid #d7e0e2;
  }

  .vs-table td {
    padding: 16px 0 0;
    color: #51686f;
    border-bottom: 0;
    font-size: 14px;
  }

  .vs-table td::before {
    content: attr(data-label);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #143d4c;
  }

  .vs-table .is-us {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(242, 109, 23, .35);
    border-left: 3px solid #f26d17;
    border-radius: 10px;
    background: #fff1e6;
    color: #12262d;
  }

  .vs-table .is-us::before {
    color: #143d4c;
  }

  .vs-table strong {
    color: #f26d17;
  }

  .vs-table .is-us strong {
    color: #143d4c;
  }
}

/* ============================================================
   BRANDS (Marken-Akkordeon)
   ============================================================ */

.brands {
    background: #f0f4f8;
}

.brand-card summary,
.accordion summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 40px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 150ms ease-out
}

.brand-card summary::-webkit-details-marker,
.accordion summary::-webkit-details-marker {
    display: none
}

.brand-card summary:focus-visible,
.accordion summary:focus-visible {
    outline: 2px solid #143d4c;
    outline-offset: 2px;
    outline-offset: -2px
}

.brand-card summary::before,
.brand-card summary::after,
.accordion summary::before,
.accordion summary::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 200ms ease-out
}

.brand-card summary::before,
.accordion summary::before {
    transform: translateY(-50%)
}

.brand-card summary::after,
.accordion summary::after {
    transform: translateY(-50%) rotate(90deg)
}

.brand-card details[open]>summary::after,
.accordion details[open]>summary::after {
    transform: translateY(-50%) rotate(0deg)
}

@media (prefers-reduced-motion: reduce) {
    .brand-card summary::before,
    .brand-card summary::after,
    .accordion summary::before,
    .accordion summary::after {
        transition: none
    }
}

.brand-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr)
}

@media (min-width: 640px) {
    .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (min-width: 992px) {
    .brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

.brand-grid.is-collapsed>li {
    display: none
}

.brand-grid.is-collapsed>li:nth-child(-n+5) {
    display: block
}

@media (min-width: 640px) {
    .brand-grid.is-collapsed>li:nth-child(-n+8) {
        display: block
    }
}

@media (min-width: 992px) {
    .brand-grid.is-collapsed>li:nth-child(-n+9) {
        display: block
    }
}

.brand-card {
    background: #fff;
    border: 1px solid #e3e9ec;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16,36,44,.05), 0 2px 8px rgba(16,36,44,.04);
    transition: border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out;
    padding-inline: 24px;
    align-self: start
}

.brand-card:hover {
    border-color: rgba(20,61,76,.28);
    box-shadow: 0 4px 14px rgba(16,36,44,.09)
}

.brand-card summary {
    padding-block: 16px;
    font-size: 1rem
}

.brand-card .accordion-body {
    padding-bottom: 20px;
    border-top: 1px solid var(--color-line)
}

.brand-card .accordion-body p {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.65
}

/* Shared "show more" toggle wrapper */
.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    text-align: center;
}

.section-cta .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 32px;
    border: 1px solid #143d4c;
    border-radius: 999px;
    background: #f0f4f8;
    /* box-shadow: 0 1px 2px #0f172a0d; */
    font: inherit;
    font-weight: 600;
    color: #143d4c;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 150ms ease-out,color 150ms ease-out,box-shadow 200ms ease-out,transform 200ms ease-out
}

.section-cta .btn-outline i {
    font-size: .8125rem;
    color: var(--color-accent)
}

.section-cta .btn-outline:hover {
    transform: translateY(-2px);
    background: #143d4c;
    color: #fff;
}
.section-cta .btn-outline:focus-visible {
    outline: 3px solid #f26d17;
    outline-offset: 2px
}



/* ============================================================
   REVIEWS (Kundenbewertungen)
   ============================================================ */

.rev-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.stars {
    color: #f26d17;
    letter-spacing: .08em
}

.rating-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 1rem
}

.review-track {
    display: flex;
    gap: 20px;
    padding-block: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain
}

.review-track::-webkit-scrollbar {
    display: none
}

.review-track:focus-visible {
    outline: 2px solid #143d4c;
    outline-offset: 2px;
    border-radius: 12px
}

.review-track > li {
    flex: 0 0 calc((100% - 20px) / 2);
    scroll-snap-align: start
}

@media (max-width: 640px) {
    .review-track > li {
        flex-basis: 100%
    }
}

@media (min-width: 992px) {
    .review-track > li {
        flex-basis: calc((100% - 20px * 2) / 3)
    }
}

@media (prefers-reduced-motion: reduce) {
    .review-track {
        scroll-behavior: auto
    }
}

.review-card {
    background: #fff;
    border: 1px solid #e3e9ec;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16,36,44,.05), 0 2px 8px rgba(16,36,44,.04);
    transition: border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out;
    display: flex;
    flex-direction: column;
    padding: 24px
}

.review-card blockquote {
    margin: 16px 0 24px;
    flex: 1 1 auto
}

.review-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-ink)
}

.review-card p::before {
    content: "„"
}

.review-card p::after {
    content: "„"
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-line)
}

.review-author > span:last-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 0
}

.review-author strong {
    font-size: 1rem
}

.review-author small {
    font-size: 1rem;
    color: var(--color-text-muted)
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--color-back-strong);
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 700
}

.kundenstandort {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgb(148, 163, 184);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.slider-controls > button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #b9c8cc;
  background: #ffffff;
  color: #143d4c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms cubic-bezier(0.22, 1, 0.36, 1),
    color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.slider-controls > button:hover:not(:disabled) {
  background: #f26d17;
  border-color: #f26d17;
  color: #ffffff;
}

.slider-controls > button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.slider-dot {
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border: 8px solid transparent;
  padding: 0;
  cursor: pointer;
  background-color: #b9c8cc;
  background-clip: padding-box;
  border-radius: 12px;
}
.slider-dot.is-active {
  border-width: 8px 1px;
  background-color: #f26d17;
  border-radius: 5px / 12px;
  transition: border-width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* ============================================================
   FAQ
   ============================================================ */


.accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.accordion>li {
    background: #fff;
    border: 1px solid #e3e9ec;
    border-left: 3px solid #f26d17;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16,36,44,.05), 0 2px 8px rgba(16,36,44,.04);
    transition: border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out;
    padding-inline: 24px;
}

.accordion>li:hover {
    box-shadow: rgba(255, 112, 32, 0.35) 0px 4px 14px;
}

.accordion>li:has(details[open]) {
    border-left-color: #f26d17;
}

.accordion summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 40px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #143d4c;
    transition: color 150ms ease-out;
    padding-block: 20px;
    font-size: 1.125rem;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary:focus-visible {
    outline: 2px solid #143d4c;
    outline-offset: 2px;
    outline-offset: -2px;
}

.accordion summary::before,
.accordion summary::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 200ms ease-out;
}

.accordion summary::before {
    transform: translateY(-50%);
}

.accordion summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.accordion details[open]>summary::after {
    transform: translateY(-50%) rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
    .accordion summary::before,
    .accordion summary::after {
        transition: none;
    }
}

.accordion .accordion-body {
    padding-bottom: 20px;
    border-top: 1px solid #e3e9ec;
}

.accordion .accordion-body p {
    margin-top: 16px;
    line-height: 1.7;
}

.faq .faq-all {
    margin-top: 32px;
    text-align: center
}

.faq .faq-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 32px;
    border: 1px solid #e3e9ec;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px #0f172a0d;
    font-weight: 600;
    color: #143d4c;
    text-decoration: none;
    transition: border-color 150ms ease-out,color 150ms ease-out,box-shadow 200ms ease-out,transform 200ms ease-out
}

.faq .faq-all-link i {
    font-size: .8125rem;
    color: var(--color-accent)
}

.faq .faq-all-link:hover {
    transform: translateY(-2px);
    border-color: #f26d17;
    box-shadow: rgba(255, 112, 32, 0.35) 0px 4px 14px;
}


/* ============================================================
   LOCATIONS
   ============================================================ */
.city-pills {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(200px, calc((100% - 3 * 12px) / 4)), 1fr));
  gap: 12px;
}

.city-pills.is-collapsed li:nth-child(n + 17) {
  display: none;
}

.city-pills a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-card);
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition:
    transform 150ms ease-out,
    border-color 150ms ease-out,
    background-color 150ms ease-out,
    color 150ms ease-out,
    box-shadow 150ms ease-out;
}

.city-pills a i {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-size: 0.82rem;
}

.city-pills a:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-accent) 14%, transparent);
}

.city-pills a:active {
  transform: translateY(-1px);
}

.city-pills a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.city-pills a.is-current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.city-pills a.is-current i {
  color: #fff;
}

#city-list-toggle i {
  transition: transform 150ms ease-out;
}

#city-list-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .city-pills a {
    transition:
      border-color 150ms ease-out,
      background-color 150ms ease-out,
      color 150ms ease-out,
      box-shadow 150ms ease-out;
  }

  .city-pills a:hover,
  .city-pills a:active {
    transform: none;
  }
}
/* ============================================================
   STADT-INFO*/

.stadt-info {
  position: relative;
  background-color: #f0f4f8;
}

.stadt-info,
.stadt-info * {
  box-sizing: border-box;
}

.stadt-info ::selection {
  background: #f26d17;
  color: #ffffff;
}

/* ---------- Grid + card shell ---------- */

.stadt-info .stadt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .stadt-info .stadt-grid {
    grid-template-columns: 1fr;
  }
}

.stadt-info .card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #dde6e7;
  box-shadow:
    0 1px 2px rgba(20, 61, 76, 0.06),
    0 10px 28px -14px rgba(20, 61, 76, 0.22);
  overflow: hidden;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

@media (hover: hover) {
  .stadt-info .card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 4px 10px rgba(20, 61, 76, 0.08),
      0 20px 36px -16px rgba(20, 61, 76, 0.28);
  }
}

/* ---------- Card header ---------- */

.stadt-info .card-header {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #143d4c;
  color: #ffffff;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16.5px;
}

.stadt-info .card-header::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: #f26d17;
  border-radius: 3px 3px 0 0;
}

.stadt-info .card-header i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 16px;
  color: #ffffff;
}

/* ---------- Scrollable table area ---------- */

.stadt-info .table-wrap {
  flex: 1;
  min-height: 0;
  max-height: 460px;
  overflow-y: auto;
  overflow-x: auto;
  border-top: 1px solid #dde6e7;
  scrollbar-width: thin;
  scrollbar-color: #dde6e7 transparent;
}

.stadt-info .table-wrap::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.stadt-info .table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.stadt-info .table-wrap::-webkit-scrollbar-thumb {
  background: #dde6e7;
  border-radius: 8px;
}

.stadt-info .table-wrap:hover::-webkit-scrollbar-thumb {
  background: #5b6b70;
}


/* ---------- Left card: Ortsteil / PLZ table ---------- */

.stadt-info .table-wrap > table:not(.info-table) {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.stadt-info .table-wrap > table:not(.info-table) thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eaf3f4;
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #1c5266;
  padding: 12px 16px;
  border-bottom: 1px solid #dde6e7;
  vertical-align: middle;
}

.stadt-info .table-wrap > table:not(.info-table) thead th:last-child {
  text-align: right;
}

.stadt-info .table-wrap > table:not(.info-table) tbody td {
  padding: 12px 16px;
  color: #143d4c;
  border-bottom: 1px solid #dde6ea;
  vertical-align: middle;
  font-weight: 500;
}

.stadt-info .table-wrap > table:not(.info-table) tbody tr:last-child td {
  border-bottom: none;
}

.stadt-info .table-wrap > table:not(.info-table) tbody td:last-child {
  text-align: right;
  font-weight: 600;
  color: #143d4c;
}

@media (hover: hover) {
  .stadt-info .table-wrap > table:not(.info-table) tbody tr:hover {
    background: #f8fbfc;
  }
}


/* ---------- Right card: Stadtinformationen table ---------- */

.stadt-info .info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.stadt-info .info-table tr {
  border-bottom: 1px solid #d7e0e2;
}

.stadt-info .info-table tr:last-child {
  border-bottom: none;
}

@media (hover: hover) {
  .stadt-info .info-table tr:hover {
    background: #f8fbfc;
  }
}

.stadt-info .info-table th[scope="row"] {
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  color: #143d4c;
  padding: 12px 16px;
  white-space: nowrap;
  vertical-align: middle;
}

.stadt-info .info-table th i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 9px;
  color: #f26d17;
  font-size: 13px;
}

.stadt-info .info-table td {
  text-align: right;
  padding: 12px 16px;
  font-weight: 500;
  color: #143d4c;
  vertical-align: middle;
}

.stadt-info .info-table td a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 16px;
  color: #143d4c;
  background: #ffffff;
  padding: 7px 14px;
  border: 1px solid #e3e9ec;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.stadt-info .info-table td a:hover {
  transform: translateY(-2px);
  border-color: #f26d17;
  box-shadow: 0 4px 14px rgba(255, 112, 32, 0.35);
}

.stadt-info .info-table td a:focus-visible {
  outline: 2px solid #143d4c;
  outline-offset: 2px;
}


/* ---------- Responsive tweaks ---------- */

@media (max-width: 520px) {

  .stadt-info .container {
    padding: 40px 20px 48px;
  }

  .stadt-info h2 {
    font-size: 30px;
  }

  .stadt-info .card-header {
    padding: 16px 18px;
    font-size: 15.5px;
  }

  .stadt-info .table-wrap > table:not(.info-table) thead th,
  .stadt-info .table-wrap > table:not(.info-table) tbody td {
    padding: 10px 12px;
    font-size: 13.5px;
  }

  /* Stack the label/value table */

  .stadt-info .info-table,
  .stadt-info .info-table tbody,
  .stadt-info .info-table tr,
  .stadt-info .info-table th,
  .stadt-info .info-table td {
    display: block;
    width: 100%;
  }

  .stadt-info .info-table tr {
    padding: 10px 12px;
  }

  .stadt-info .info-table th[scope="row"] {
    padding: 0 0 6px;
    white-space: normal;
    font-size: 13.5px;
  }

  .stadt-info .info-table td {
    text-align: left;
    padding: 0;
    font-size: 13.5px;
  }
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .stadt-info .card {
    transition: none;
  }

  .stadt-info .card:hover {
    transform: none;
  }

  .stadt-info .info-table td a {
    transition: none;
  }
}


/* ============================================================
   FAZIT
   ============================================================ */

/* MERGED: ".fazit-buttons" previously got its layout from a mixed
   selector shared with the unused ".hero-buttons"/"div.cta" rules, and
   its top spacing from ".fazit-section .fazit-buttons"*/

.fazit-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    margin-top: 24px;
}



/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,.72)
}

.footer-inner {
    display: grid;
    gap: 40px;
    padding-block:var(--section-space) 40px
}

@media (min-width: 640px) {
    .footer-inner {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (min-width: 992px) {
    .footer-inner {
        grid-template-columns:repeat(4, minmax(0, 1fr));
        gap: 48px
    }
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 1rem;
    transition: background-color 150ms ease-out,border-color 150ms ease-out
}

.footer-socials a:hover {
    border-color: #f26d17;
    color: #f26d17
}

.footer-socials a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.footer-heading {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1rem
}

.footer-links a {
    display: inline-block;
    color: #ffffffb8;
    transition: color 150ms ease-out
}

.footer-links a:hover {
    color: #f26d17
}

.footer-links a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.footer-links span {
    display: block;
    line-height: 1.6
}

.footer-links--icons li {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.footer-links--icons>li>i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 4px;
    text-align: center;
    font-size: 1rem;
    color: #f26d17
}

.site-footer .text-link {
    color: #fff
}

.site-footer .text-link::after {
    display: none
}

.site-footer .text-link:hover {
    color: #f26d17
}

.site-footer .text-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255,255,255,.6)
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block:20px
}

.trustpilot {
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(165deg, rgb(23, 74, 87), rgb(12, 45, 55));
    display: flex;
    flex-direction: column;
    gap: 9px;
}

:is(.trustpilot-header, .trustpilot-rating, .trustpilot-brand) {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trustpilot-brand-star {
    color: #f26d17;
    font-size: 18px;
}

.trustpilot-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: rgb(255 255 255);
}

.trustpilot-stars {
    color: #f26d17;
    font-size: 18px;
}

.trustpilot-score {
    font-weight: 700;
    color: rgb(255 255 255);
}

.trustpilot-note {
    margin: 0px;
    font-size: 12px;
    color: rgb(255 255 255 / 78%);
}

.trustpilot-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: #143d4c;
    border-color: #143d4c;
    border-radius: 7px;
    transition: background-color .2s ease,
                color .2s ease,
                transform .2s ease,
                border-color .2s ease;
}

.trustpilot-cta:hover {
    color: #fff;
    background: #f26d17;
    transform: translateY(-2px);
}



/* ============================================================
   CHATBOT WIDGET
   ============================================================ */

.chatbot-widget {
    position: fixed;
    right: 20px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px
}

.site-header.is-open ~ .chatbot-widget {
    display: none
}

.chatbot-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #f26d17;
    font-size: 1.125rem;
    box-shadow: 0 0 0 3px rgba(255,255,255,.92), 0 16px 40px rgba(16,36,44,.12);
    transition: background-color 150ms ease-out
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: rgba(255, 112, 32, 0.35) 0px 4px 14px;
}

.chatbot-toggle i {
    position: absolute;
    transition: opacity 150ms ease-out, transform 200ms ease-out
}

.chatbot-toggle .chatbot-toggle-close {
    opacity: 0;
    transform: rotate(-90deg)
}

.chatbot-toggle[aria-expanded=true] .chatbot-toggle-open {
    opacity: 0;
    transform: rotate(90deg)
}

.chatbot-toggle[aria-expanded=true] .chatbot-toggle-close {
    opacity: 1;
    transform: rotate(0)
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-toggle i {
        transition: opacity 150ms ease-out;
        transform: none
    }
}

.chatbot-panel {
    display: flex
}

.chatbot-panel[hidden] {
    display: none
}

.chatbot-panel {
    flex-direction: column;
    width: min(360px, 100vw - 40px);
    height: min(560px, 100dvh - 140px);
    overflow: hidden;
    background: var(--color-card);
    border: 1px solid var(--color-line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(16,36,44,.22)
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-primary);
    color: #fff
}

.chatbot-header h2 {
    font-size: 1rem;
    color: #fff
}

.chatbot-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff
}

.chatbot-ident {
    flex: 1 1 auto;
    min-width: 0
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 0;
    font-size: 1rem;
    color: rgba(255,255,255,.75)
}

.chatbot-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4ade80
}

.chatbot-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #fff
}

.chatbot-close:hover {
    background: rgba(255,255,255,.15)
}

.chatbot-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.chatbot-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-line)
}

.chatbot-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 16px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    transition: background-color 150ms ease-out
}

.chatbot-action--whatsapp {
    background: #12805c
}

.chatbot-action--whatsapp:hover {
    background: #0f6b4d;
    color: #fff
}

.chatbot-action--phone {
    background: #c2530d
}

.chatbot-action--phone:hover {
    background: var(--color-accent-dark);
    color: #fff
}

.chatbot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-line)
}

.chatbot-chips button {
    padding: 6px 12px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-card);
    font-size: 1rem;
    color: var(--color-text-muted);
    transition: border-color 150ms ease-out, color 150ms ease-out, background-color 150ms ease-out
}

.chatbot-chips button:hover {
    border-color: var(--color-primary);
    background: var(--color-back);
    color: var(--color-primary)
}

.chatbot-messages {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-back)
}

.chatbot-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.55
}

.chatbot-message.is-bot {
    align-self: flex-start;
    background: var(--color-card);
    border: 1px solid var(--color-line);
    color: var(--color-ink)
}

.chatbot-message.is-user {
    align-self: flex-end;
    background: var(--color-primary);
    color: #fff
}

.chatbot-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--color-card);
    border: 1px solid var(--color-line);
    border-radius: 12px
}

.chatbot-typing span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-text-muted);
    animation: chatbot-blink 1.2s infinite ease-in-out
}

.chatbot-typing span:nth-child(2) {
    animation-delay: .2s
}

.chatbot-typing span:nth-child(3) {
    animation-delay: .4s
}

@keyframes chatbot-blink {
    0%, 80%, 100% {
        opacity: .3
    }
    40% {
        opacity: 1
    }
}

@media (prefers-reduced-motion: reduce) {
    .chatbot-typing span {
        animation: none
    }
}

.chatbot-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--color-line)
}

.chatbot-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding-inline: 16px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    font-size: 1rem
}

.chatbot-form input:focus {
    outline: none;
    border-color: var(--color-primary)
}

.chatbot-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff
}

.chatbot-form button:hover {
    background: var(--color-primary-dark)
}



/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-container {
    position: fixed;
    inset: auto 0px 0px;
    z-index: 9999;
    padding: 16px;
    background: rgb(20, 61, 76);
    color: rgb(255, 255, 255);
    box-shadow: rgba(20, 61, 76, 0.35) 0px -6px 24px;
    animation: 0.35s ease-out 0s 1 normal none running cb-up;
}

.cookie-container[hidden] {
    display: none;
}

@keyframes cb-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-container {
        animation: none;
    }
}

.cookie-content {
    max-width: 1140px;
    margin: 0px auto;
    display: grid;
    gap: 12px;
}

.cookie-title {
    margin: 0px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.cookie-desc p {
    margin: 0px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-desc a {
    color: rgb(242, 109, 23);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-desc a:hover {
    color: rgb(255, 255, 255);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-buttons button {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 10px 22px;
    border: 2px solid;
    border-radius: 8px;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.cookie-buttons button:active {
    transform: scale(0.98);
}

.cookie-buttons button:focus-visible, .cookie-desc a:focus-visible {
    outline: rgb(242, 109, 23) solid 3px;
    outline-offset: 2px;
}

.btn-accept {
    background: rgb(242, 109, 23);
    border-color: rgb(242, 109, 23);
    color: rgb(255, 255, 255);
}

.btn-accept:hover {
    background: rgb(217, 92, 13);
    border-color: rgb(217, 92, 13);
}

.btn-reject {
    background: transparent;
    border-color: rgb(255, 255, 255);
    color: rgb(255, 255, 255);
}

.btn-reject:hover {
    background: rgb(255, 255, 255);
    color: rgb(20, 61, 76);
}

@media (min-width: 768px) {
    .cookie-container {
        padding: 20px 24px;
    }

    .cookie-content {
        grid-template-columns: 1fr auto;
        grid-template-areas: "title buttons" "desc buttons";
        align-items: center;
        column-gap: 32px;
    }

    .cookie-title {
        grid-area: title;
    }

    .cookie-desc {
        grid-area: desc;
    }

    .cookie-buttons {
        grid-area: buttons;
        flex-direction: column;
    }

    .cookie-buttons button {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}



/* ============================================================
   GLOBAL RESPONSIVE ADJUSTMENTS & PERFORMANCE
   ============================================================ */
main > section:nth-of-type(n + 3) {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.ablauf-schritten { contain-intrinsic-size: auto 650px; }
.dokumente { contain-intrinsic-size: auto 900px; }
.unser-vorteile { contain-intrinsic-size: auto 750px; }
.services { contain-intrinsic-size: auto 1500px; }
.ap-section { contain-intrinsic-size: auto 1400px; }
.comparison-section { contain-intrinsic-size: auto 1200px; }
.section.reviews { contain-intrinsic-size: auto 650px; }
.section.locations { contain-intrinsic-size: auto 650px; }
.fazit { contain-intrinsic-size: auto 300px; }

@media (min-width: 900px) {
    main h1 {
        font-size: 34px;
    }

    main section h2 {
        font-size: 26px;
    }
}

@media (min-width: 1100px) {
    main h1 {
        font-size: 38px;
    }
}

@media (max-width: 900px) {
    .hero .split {
        text-align: center;
    }

    .hero > .container > div:first-child > p {
        margin: 22px 0px 26px;
    }

    .fazit-buttons {
        justify-content: center;
    }

    .hero-bild {
        order: -1;
    }

    :is(.ablauf-grid, .vorteile-grid, .services > .container) {
        /* grid-template-columns: 2fr; */
        /* max-width: 448px; */
        margin-inline: auto;
    }
}

@media (max-width: 520px) {
    .fazit-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .fazit-buttons [class^="btn-"] {
        width: 100%;
        max-width: 352px;
        margin-inline: auto;
    }
}