*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f2f2f2;
    color: #1a1a1a;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; }

.dk-skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #1d66a3;
    color: #ffffff;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: underline;
    z-index: 1000;
    border-radius: 0 0 6px 0;
    transition: top 0.15s ease;
}
.dk-skip-link:focus { top: 0; }

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

:focus { outline: none; }
:focus-visible {
    outline: 3px solid #1d66a3;
    outline-offset: 3px;
    border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.dk-header {
    background: #ffffff;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ececec;
}
.dk-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1.5px;
    color: #1a1a1a;
}
.dk-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
}
.dk-nav a {
    text-decoration: none;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 4px;
}
.dk-nav a:hover,
.dk-nav a:focus-visible { text-decoration: underline; }
.dk-nav .dk-login {
    min-height: 36px;
    padding: 10px 28px 10px 14px;
    border-radius: 999px;
    background: #ffd400;
    color: #000000;
    font-weight: 500;
    line-height: 1;
    gap: 14px;
    text-decoration: none;
}
.dk-nav .dk-login:hover,
.dk-nav .dk-login:focus-visible {
    background: #ffd400;
    color: #000000;
    text-decoration: none;
}
.dk-nav .dk-login::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 16px;
    flex: 0 0 34px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-4.42 0-8 2.69-8 6v2h16v-2c0-3.31-3.58-6-8-6z'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-4.42 0-8 2.69-8 6v2h16v-2c0-3.31-3.58-6-8-6z'/></svg>") no-repeat center / contain;
}

.dk-main {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    flex: 1 0 auto;
}
.dk-breadcrumb {
    margin: 0 0 16px;
    font-size: 14px;
}
.dk-breadcrumb a {
    color: #1d66a3;
    text-decoration: underline;
}
.dk-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
}
.dk-subtitle {
    font-size: 14px;
    color: #1a1a1a;
    margin: 0 0 48px;
}
.dk-subtitle a {
    color: #1d66a3;
    text-decoration: underline;
}

.dk-intro-hero {
    margin: 0 0 16px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #ececec;
    background: #f5f5f5;
}
.dk-intro-hero img {
    display: block;
    width: 100%;
    height: auto;
}
.dk-intro {
    margin: 0 0 32px;
    padding: 28px 32px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #ececec;
}
.dk-intro-header {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.dk-intro-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #1d66a3;
    margin: 0 0 14px;
    line-height: 1.45;
}
.dk-intro-text {
    font-size: 14px;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.6;
    max-width: 72ch;
}

.dk-tiles-empty {
    margin: 0;
    padding: 24px 28px;
    font-size: 14px;
    color: #4a4a4a;
    background: #ffffff;
    border-radius: 4px;
    border: 1px dashed #d4d4d4;
    text-align: center;
}

.dk-tiles {
    display: grid;
    gap: 24px;
}
/* Raster abhängig von der Kachel-Anzahl (0 Kacheln: Section wird nicht gerendert) */
.dk-tiles[data-dk-tile-count="1"] {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
    margin-inline: auto;
}
.dk-tiles[data-dk-tile-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin-inline: auto;
}
.dk-tiles[data-dk-tile-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dk-tiles[data-dk-tile-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dk-tile {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dk-tile:hover,
.dk-tile:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dk-tile:focus-within {
    outline: 3px solid #1d66a3;
    outline-offset: 3px;
}
.dk-tile-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 208, 0, 0.22), transparent 30%),
        linear-gradient(135deg, #eef5ff 0%, #f8fbff 55%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}
.dk-tile-image svg {
    width: min(78%, 220px);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(29, 78, 216, 0.12));
}
.dk-tile-image-media {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 208, 0, 0.28), transparent 28%),
        linear-gradient(135deg, #dbeafe 0%, #eff6ff 55%, #ffffff 100%);
}
.dk-tile-image-offers {
    background:
        radial-gradient(circle at 80% 18%, rgba(255, 208, 0, 0.3), transparent 26%),
        linear-gradient(135deg, #f8fafc 0%, #e0f2fe 58%, #ffffff 100%);
}
.dk-tile-image-data {
    background:
        radial-gradient(circle at 22% 78%, rgba(255, 208, 0, 0.25), transparent 28%),
        linear-gradient(135deg, #eef2ff 0%, #ecfeff 58%, #ffffff 100%);
}
.dk-tile-image-booking {
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 208, 0, 0.28), transparent 28%),
        linear-gradient(135deg, #eef9ff 0%, #f0f7ff 58%, #ffffff 100%);
}
.dk-tile-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.dk-tile-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}
.dk-tile-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.dk-tile-title a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.dk-tile-title a:focus { outline: none; }
.dk-tile-title a:focus-visible { outline: none; }
.dk-tile-text {
    font-size: 14px;
    color: #4a4a4a;
    margin: 0 0 24px;
    flex: 1;
}
.dk-tile-cta {
    font-size: 14px;
    color: #1d66a3;
    text-decoration: underline;
    align-self: flex-start;
}
.dk-tile:hover .dk-tile-cta,
.dk-tile:focus-within .dk-tile-cta { text-decoration: none; }

.dk-footer {
    background: #ffffff;
    margin-top: 80px;
    padding: 56px 40px 24px;
    border-top: 1px solid #ececec;
    flex-shrink: 0;
}
.dk-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
}
.dk-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
}
.dk-footer-col h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
}
.dk-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dk-footer-col li { margin-bottom: 4px; }
.dk-footer-col a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    padding: 8px 4px;
    min-height: 44px;
}
.dk-footer-col a:hover,
.dk-footer-col a:focus-visible { text-decoration: underline; }
.dk-footer-bottom {
    border-top: 1px solid #ececec;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #4a4a4a;
}
.dk-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.dk-footer-legal a {
    color: #4a4a4a;
    text-decoration: none;
    display: inline-block;
    padding: 8px 4px;
    min-height: 44px;
}
.dk-footer-legal a:hover,
.dk-footer-legal a:focus-visible { text-decoration: underline; }

@media (max-width: 1100px) {
    .dk-tiles[data-dk-tile-count="3"],
    .dk-tiles[data-dk-tile-count="4"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }
    .dk-tiles[data-dk-tile-count="2"] {
        max-width: none;
    }
}
@media (max-width: 900px) {
    .dk-footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .dk-header { padding: 16px 20px; }
    .dk-nav { gap: 16px; font-size: 13px; }
    .dk-main { padding: 40px 20px 20px; }
    .dk-title { font-size: 28px; }
    .dk-intro { padding: 22px 20px; }
    .dk-intro-header { font-size: 18px; }
    .dk-tiles[data-dk-tile-count="1"],
    .dk-tiles[data-dk-tile-count="2"],
    .dk-tiles[data-dk-tile-count="3"],
    .dk-tiles[data-dk-tile-count="4"] {
        grid-template-columns: 1fr;
        max-width: none;
        margin-inline: 0;
    }
    .dk-footer { padding: 40px 20px 20px; }
    .dk-footer-cols { grid-template-columns: 1fr; gap: 32px; }
}
/* —— Dynamische Formulare (FormBuilder) im Kundenportal —— */
.dk-form-portal {
    margin-top: 40px;
}
.dk-form-portal .portlet-workflow.dk-form-portlet {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.dk-form-portal .portlet-title {
    padding: 18px 22px 14px;
    border-bottom: 1px solid #ececec;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 70%);
}
.dk-form-portal .portlet-title a {
    text-decoration: none;
    color: #1a1a1a;
}
.dk-form-portal .portlet-title .dk-intro-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: inline;
    letter-spacing: 0.02em;
}
.dk-form-portal .portlet-body {
    padding: 20px 22px 28px !important;
    background: #fafbfc;
}
.dk-form-portal .autoform .formitem {
    margin-bottom: 14px;
    padding: 14px 16px !important;
}
.dk-form-portal .autoform .formitem.filled {
    border-color: #c7d9f7 !important;
    background: #f8fbff !important;
}
.dk-form-portal .autoform .formitem label.control-label,
.dk-form-portal .autoform .formitem .control-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}
.dk-form-portal .autoform input[type="text"],
.dk-form-portal .autoform input[type="number"],
.dk-form-portal .autoform input[type="email"],
.dk-form-portal .autoform input[type="tel"],
.dk-form-portal .autoform select,
.dk-form-portal .autoform textarea {
    border-radius: 6px !important;
    border: 1px solid #d4d4d4 !important;
    background: #ffffff !important;
    padding: 10px 12px !important;
    font-size: 15px;
}
.dk-form-portal .autoform .media-element {
    position: relative;
    border: 1px dashed #b8c9e6 !important;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%) !important;
    min-height: 160px;
    max-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dk-form-portal .autoform .media-element .dropfiles,
.dk-form-portal .autoform .media-element img.dropfiles {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 4px;
}
.dk-form-portal .autoform .media-element--document img.dropfiles {
    display: none !important;
}
.dk-form-portal .autoform .media-element input[type="file"] {
    cursor: pointer !important;
}
.dk-form-portal .autoform .dropfilesstatustxt {
    display: block !important;
    margin-top: 8px;
    font-size: 12px;
    color: #475569;
    text-align: center;
    position: absolute;
    background-color: #ede2e299;
    width: 200px;
    border-radius: 3px;
    bottom: 27px;
}
.hidden  {
    display: none;
}
.dk-form-portal .lvt-btn.action.formSaverBtn,
.dk-form-portal .lvt-btn.formSaverBtn {
    border-radius: 999px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    background: #1d66a3 !important;
    border: none !important;
    color: #ffffff !important;
}
.dk-form-portal .lvt-btn.action.formSaverBtn:hover {
    filter: brightness(1.05);
}
.dk-form-portal .pull-right {
    float: none !important;
    margin-top: 20px;
}

/* —— Forms: Multi-Form-Layout (Sidebar + Content) —— */
.dk-forms-layout {
    display: grid;
    grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.dk-forms-nav {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.dk-forms-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dk-forms-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s, border-color 0.15s;
    min-height: 0;
}
.dk-forms-nav-item:last-child {
    border-bottom: none;
}
.dk-forms-nav-item:hover {
    background: #f8fafc;
}
.dk-forms-nav-item.active {
    background: #f0f7ff;
    border-left: 2px solid #1d66a3;
    padding-left: 8px;
}
.dk-forms-nav-icon {
    color: var(--lvt-green, #22c55e);
    font-size: 12px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.dk-forms-nav-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: #1a1a1a;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dk-forms-nav-status {
    font-size: 10px;
    color: #64748b;
    flex-shrink: 0;
    max-width: 3.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* —— Forms: Content-Panel —— */
.dk-forms-content,
.dk-forms-single {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.dk-forms-panel {
    display: none;
}
.dk-forms-panel.active {
    display: block;
}
.dk-forms-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 70%);
}
.dk-forms-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.02em;
}
.dk-forms-panel-body {
    padding: 24px;
    background: #fafbfc;
}

/* —— Forms: Responsive —— */
@media (max-width: 768px) {
    .dk-forms-layout {
        grid-template-columns: 1fr;
    }
    .dk-forms-nav {
        position: static;
    }
}

.media-gallery {
    background-color: #FFF;
    padding: 10px;
    margin: 10px 0px;
    border-radius: 4px;
}

/* Mediathek / Form-Hilfen: .lvt-radios, .lvt-dropper → datenkontrolle-components.css (body.dk-portal) */

/* PLZ-Sicherheitsabfrage (stepsharings.security = plz) */
.dk-plz-gate .dk-plz-gate-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-top: 8px;
}
.dk-plz-gate .dk-plz-gate-label {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: -4px;
}
.dk-plz-gate .dk-plz-gate-input {
    flex: 1 1 160px;
    min-width: 140px;
    max-width: 240px;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
}

.dk-login-btn {
    min-height: 36px;
    padding: 10px 28px 10px 14px;
    border-radius: 999px;
    background: #ffd400;
    color: #000;
    font-weight: 500;
    line-height: 1;
    gap: 14px;
    text-decoration: none;
    border: 0px;
}
.dk-plz-gate .dk-plz-gate-btn {
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #1d66a3;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}
.dk-plz-gate .dk-plz-gate-btn:hover {
    filter: brightness(1.06);
}
.dk-plz-gate .dk-plz-gate-error {
    margin-top: 14px;
    min-height: 1.25em;
    color: #b91c1c;
    font-size: 14px;
}

/* Kunden-Login (Modal) */
.dk-nav .dk-nav-dropdown {
    position: relative;
}
.dk-nav .dk-nav-dropdown-btn {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dk-nav .dk-nav-dropdown-btn:hover,
.dk-nav .dk-nav-dropdown-btn:focus-visible {
    border-color: #1d66a3;
    color: #1d66a3;
    text-decoration: none;
}
.dk-nav .dk-nav-dropdown-menu {
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    padding: 6px;
}
.dk-nav .dk-nav-dropdown-menu .dropdown-item {
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
}
.dk-nav .dk-nav-dropdown-menu .dropdown-item.active,
.dk-nav .dk-nav-dropdown-menu .dropdown-item:active {
    background: #eff6ff;
    color: #1d66a3;
}
.dk-nav a.is-active {
    font-weight: 700;
    color: #1d66a3;
}
.dk-kontodaten #lead-personal-data .dk-intro-header {
    font-size: 1.25rem;
    margin: 0 0 8px;
}
.dk-nav .dk-logout-form {
    margin: 0;
    display: inline;
}
.dk-nav .dk-logout-btn {
    font: inherit;
    cursor: pointer;
    border: none;
}

#dk-login-modal .modal-backdrop.show {
    backdrop-filter: blur(4px);
}
.dk-login-dialog {
    max-width: 440px;
}
.dk-login-modal-shell {
    overflow: hidden;
    border: none;
    border-radius: 20px;
}
.dk-login-modal-hero {
    position: relative;
    padding: 28px 28px 24px;
    color: #444;
    background: #EFEFEF;
  }
}
.dk-login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0.9;
}
.dk-login-modal-eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #444;
}
.dk-login-modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.dk-login-modal-lead {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #444;
    max-width: 34ch;
}
.dk-login-modal-body {
    padding: 24px 28px 28px;
    background: #ffffff;
}
.dk-login-panel + .dk-login-panel {
    margin-top: 0;
}
.dk-login-field {
    margin-bottom: 14px;
}
.dk-login-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}
.dk-login-input-wrap {
    position: relative;
}
.dk-login-input-wrap::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    opacity: 0.45;
    background: #334155;
    pointer-events: none;
}
.dk-login-input-wrap--mail::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dk-login-input-wrap--lock::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18 8h-1V6a5 5 0 00-10 0v2H6a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V10a2 2 0 00-2-2zm-7 8.73V17h2v-.27a2 2 0 11-2 0zM9 8V6a3 3 0 016 0v2H9z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18 8h-1V6a5 5 0 00-10 0v2H6a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V10a2 2 0 00-2-2zm-7 8.73V17h2v-.27a2 2 0 11-2 0zM9 8V6a3 3 0 016 0v2H9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dk-login-input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    font-size: 16px;
    line-height: 1.25;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.dk-login-input::placeholder {
    color: #94a3b8;
}
.dk-login-input:hover {
    border-color: #cbd5e1;
}
.dk-login-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #1d66a3;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}
.dk-login-error {
    margin: 0 0 12px;
    min-height: 1.25em;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.4;
}
.dk-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #111827;
    background: #ffd400;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.dk-login-submit:hover {
    filter: brightness(1.03);
    box-shadow: 0 6px 18px rgba(245, 196, 0, 0.5);
}
.dk-login-submit:active {
    transform: translateY(1px);
}
.dk-login-submit:disabled,
.dk-login-submit.is-loading {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}
.dk-login-forgot-wrap {
    margin: 18px 0 0;
    text-align: center;
}
.dk-login-link-btn {
    background: none;
    border: none;
    padding: 6px 4px;
    color: #1d66a3;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}
.dk-login-link-btn:hover {
    border-bottom-color: #1d66a3;
}
.dk-login-forgot-hint {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}
.dk-login-pw-rules {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.dk-login-pw-rules-title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}
.dk-login-pw-rules-list {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 13px;
    line-height: 1.45;
    color: #334155;
}
.dk-login-pw-rules-list li + li {
    margin-top: 6px;
}
.dk-login-actions-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dk-login-secondary-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.dk-login-secondary-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.dk-forgot-panel[hidden] {
    display: none !important;
}

/* Passwort zurücksetzen (eigenständige Seite, neues Portal) */
.dk-reset-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.dk-reset-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 48px;
}
.dk-reset-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.dk-reset-card .dk-login-modal-hero {
    border-radius: 20px 20px 0 0;
}
.dk-reset-card .dk-login-modal-body {
    border-radius: 0 0 20px 20px;
}
.dk-reset-password-check .form-group {
    margin-bottom: 14px;
}
.dk-reset-password-check .form-group > label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}
.dk-reset-password-check .input-group {
    display: block;
}
.dk-reset-password-check .input-group-addon {
    display: none;
}
.dk-reset-password-check .form-control {
    width: 100%;
    padding: 13px 14px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}
.dk-reset-password-check .form-control:focus {
    outline: none;
    border-color: #1d66a3;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
    background: #fff;
}
.dk-reset-password-check #password-alert {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}
.dk-reset-password-check #password-alert::before {
    content: "Beim Setzen des neuen Passworts gelten:";
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}
.dk-reset-password-check #password-alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.dk-reset-password-check #password-alert li {
    margin-top: 6px;
    padding-left: 0;
}
.dk-reset-password-check #password-alert li:first-child {
    margin-top: 0;
}
.dk-reset-password-check .pws-good .fa-times,
.dk-reset-password-check .pws-wrong .fa-check {
    display: none !important;
}
.dk-reset-password-check .password-strength-bar-container {
    margin-bottom: 12px;
}
.dk-reset-form .dk-login-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.btn-close {
    float: right;
    filter: grayscale(100%) brightness(200%);
}

/* Angebote (Portal-Inbox) */
.dk-offers-empty {
    margin: 0;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.dk-offers-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.dk-offers-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.dk-offers-inbox .dk-offers-table {
    margin: 0;
    font-size: 13px;
}
.dk-offers-inbox .dk-offers-table tbody {
    display: block;
    max-height: 360px;
    overflow-x: hidden;
    overflow-y: auto;
}
.dk-offers-inbox .dk-offers-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.dk-offers-inbox .dk-offers-table td {
    vertical-align: top;
    padding: 12px 14px;
}
.dk-offers-inbox .inbox-new {
    background: #f5f8ff;
}
.dk-offers-inbox .inbox-new .from,
.dk-offers-inbox .inbox-new .subject,
.dk-offers-inbox .inbox-new .time {
    font-weight: 700;
}
.dk-offers-inbox .from {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}
.dk-offers-inbox .from::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c6";
    padding-right: 6px;
}
.dk-offers-inbox .subject {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #4b5563;
}
.dk-offers-inbox .time {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: #6b7280;
}
.dk-offers-inbox .read {
    color: #2563eb;
    margin-right: 6px;
}
.dk-offers-actions-panel {
    border-top: 1px solid #e5e7eb;
    padding: 14px 16px;
    background: #f9fafb;
    font-size: 13px;
}
.dk-offers-pdf {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    min-height: 420px;
}
.dk-offers-pdf-toolbar {
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.dk-offers-pdf-toolbar a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #1d66a3;
}
.dk-offers-pdf-toolbar a:hover {
    text-decoration: underline;
}
.dk-offers-pdf-frame iframe {
    width: 100%;
    min-height: 70vh;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.dk-offers-adobe-hint {
    margin: 14px 0 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}
.btn-portal {
    border: 1px solid #1d66a3;
    background: #1d66a3;
    color: #fff;
    padding: 10px 14px;
    display: inline-block;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}
.btn-portal:hover,
.btn-portal:focus {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}
.btn-portal.btn-outline {
    background: #fff;
    color: #1d66a3;
}
.btn-portal.btn-outline:hover {
    background: #eff6ff;
}
.dk-offers .checkout-notice,
.dk-offers .checkout-notice-bottom {
    font-size: 12px;
    color: #4b5563;
}
.dk-offers-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: #f2f2f2;
    padding: 12px;
    overflow: auto;
}
.dk-offers-fullscreen .dk-offers-layout {
    height: calc(100vh - 24px);
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}
.dk-offers-fullscreen .dk-offers-pdf-frame iframe {
    min-height: calc(100vh - 120px);
}
.dk-offers-fs-hidden {
    display: none !important;
}
@media (max-width: 900px) {
    .dk-offers-layout {
        grid-template-columns: 1fr;
    }
    .dk-offers-pdf-frame iframe {
        min-height: 50vh;
    }
}
.dk-portal-data {
    margin: 0 0 32px;
}


/* Dokumente unterzeichnen (view-documents.php im Portal) */
.dk-portal #pdfpreviewDocuments .modal-dialog.modal-fullscreen,
.dk-portal #pdfpreviewDocuments.modal-fullscreen .modal-dialog {
    width: min(1320px, 96vw);
    max-width: 96vw;
    height: 92vh;
    margin: 4vh auto;
    padding: 0;
}
.dk-portal #pdfpreviewDocuments .modal-content {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.dk-portal #pdfpreviewDocuments .modal-header {
    flex-shrink: 0;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    position: relative !important;
}
.dk-portal #document-selec {
    margin-top: 0px !important;
}

.dk-portal #pdfpreviewDocuments .modal-footer {
    margin-top: -30px;
}
.dk-portal #pdfpreviewDocuments .modal-header .modal-title {
    font-size: 14px;
    line-height: 1.4;
}
.dk-portal #pdfpreviewDocuments .modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
    background: #f8fafc;
}
.dk-portal #document-selec.dk-documents-view {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.dk-portal #document-selec.dk-documents-view .dk-documents-row {
    flex: 1;
    max-height: none !important;
    height: auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
}
.dk-portal #document-selec .dk-documents-sidebar {
    height: 100% !important;
    max-height: none;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 12px 14px !important;
}
.dk-portal #document-selec .dk-documents-preview {
    height: 100% !important;
    margin-bottom: 0 !important;
    padding: 12px;
    background: #fff;
}
.dk-portal #document-selec .dk-documents-preview iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.dk-portal #document-selec .table {
    font-size: 12px;
    margin-bottom: 0;
}
.dk-portal #document-selec .table td,
.dk-portal #document-selec .table th {
    padding: 8px 6px;
    vertical-align: middle;
}
.dk-portal #document-selec .lvt-btn,
.dk-portal #document-selec .btn-portal {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    padding: 10px 14px;
}
.dk-portal #document-selec .lvt-btn.primary,
.dk-portal #document-selec #creatSignatur.lvt-btn.primary {
    background: #1d66a3;
    border-color: #1d66a3;
    color: #fff;
}
.dk-portal #document-selec .lvt-btn.primary:hover {
    background: #1e40af;
    border-color: #1e40af;
}
.dk-portal #document-selec > .modal-footer {
    flex-shrink: 0;
    position: static !important;
    width: 100% !important;
    bottom: auto !important;
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
.dk-portal #document-selec > .modal-footer .w-100 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.dk-portal #document-selec > .modal-footer > .w-100 > div[style*="float"] {
    float: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dk-portal #document-selec .form-control,
.dk-portal #document-selec input[type="text"],
.dk-portal #document-selec input[type="email"],
.dk-portal #document-selec input[type="tel"] {
    border-radius: 8px;
    border-color: #d1d5db;
    font-size: 14px;
}
.dk-portal #document-selec .label {
    font-size: 11px;
    font-weight: 600;
}
@media (max-width: 900px) {
    .dk-portal #pdfpreviewDocuments .modal-dialog.modal-fullscreen,
    .dk-portal #pdfpreviewDocuments.modal-fullscreen .modal-dialog {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    .dk-portal #pdfpreviewDocuments .modal-content {
        border-radius: 0;
    }
    .dk-portal #document-selec .dk-documents-row {
        flex-direction: column;
        overflow: auto;
    }
    .dk-portal #document-selec .dk-documents-sidebar {
        max-height: 45vh;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    .dk-portal #document-selec .dk-documents-preview {
        min-height: 40vh;
    }
}
.dk-portal .sel {
    padding: 8px 12px !important;
}