﻿/*   Neuer Bereich ab 02.04.26 */

.header-inner {
    justify-content: flex-start;
    min-height: 150px;
}

/* Beide Elemente auf gleiche Höhe bringen */
.header-logo img,
.header-text img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

/* Padding links */
.header-logo {
    padding-left: 1.5rem;
}

/* Mobile Verhalten */
@media (max-width: 767.98px) {
    .header-inner {
        justify-content: center;
    }

    .header-logo {
        padding-left: 0;
    }
}

.header-text img {
    height: 100px;
    width: auto;
    object-fit: contain;
    padding-top: 15px;
}

.marketing-check-section {
    position: relative;
    z-index: 2;
}

.marketing-check-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 2rem 1.25rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.marketing-check-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: var(--app-main-corporatedesign-color);
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.marketing-check-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--app-headercolor);
    margin-bottom: 1rem;
}

.marketing-check-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--app_subheadercolor);
    margin-bottom: 1rem;
    font-weight: 500;
}

.marketing-check-text,
.marketing-check-closing,
.marketing-check-highlight p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.marketing-check-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--app-headercolor);
    margin-bottom: 0.65rem;
}

.marketing-check-highlight {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.1rem;
    /*background: rgba(189, 210, 71, 0.12);*/
    background: rgb(var(--app-ci_snd-color-rgb) / 12%);
    border-left: 5px solid var(--app-ci_fst-color);
    border-radius: 14px;
}

.marketing-check-benefits {
    margin-bottom: 1.5rem;
}

.marketing-check-benefit {
    height: 100%;
    padding: 1rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    font-size: 0.98rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

.marketing-check-note {
    margin-bottom: 1.5rem;
}

.marketing-check-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.marketing-check-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    background: rgb(var(--app-ci_snd-color-rgb) / 6%);  /*#f5f6f7;*/
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.marketing-check-cta {
    min-height: 64px;
    border-radius: 18px;
    font-size: 1.08rem;
    font-weight: 700;
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.marketing-check-cta.btn-primary {
    background-color: var(--app-button-color);
    border-color: var(--app-button-color);
    color: var(--app-button--text-color);
}

.marketing-check-cta.btn-primary:hover,
.marketing-check-cta.btn-primary:focus {
    background-color: var(--app-button--hover-color);
    border-color: var(--app-button--hover-color);
    color: var(--app-button--hovertext-color);
}

@media (min-width: 768px) {
    .marketing-check-card {
        padding: 2.75rem 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .marketing-check-card {
        border-radius: 18px;
        padding: 1.5rem 1rem;
    }

    .marketing-check-lead {
        font-size: 1.45rem;
    }

    .marketing-check-cta {
        font-size: 1.4rem;
        min-height: 58px;
    }
}

.marketing-check-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 1.75rem 1rem; /* weniger Innenabstand */
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* Container breiter machen */
.marketing-check-section .col-xl-10 {
    max-width: 1000px; /* vorher enger */
}

/* Titel deutlich größer */
.marketing-check-title {
    font-size: clamp(3.0rem, 4.5vw, 4.0rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

/* Lead größer und präsenter */
.marketing-check-lead {
    font-size: 1.75rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Fließtext größer */
.marketing-check-text,
.marketing-check-closing,
.marketing-check-highlight p {
    font-size: 1.52rem;
    line-height: 1.7;
}

/* Zwischenüberschriften größer */
.marketing-check-subtitle {
    font-size: 1.7rem;
    font-weight: 700;
}

/* Benefit-Boxen größer */
.marketing-check-benefit {
    font-size: 1.45rem;
    padding: 1.1rem;
}

/* Tags größer */
.marketing-check-tag {
    font-size: 1.4rem;
    padding: 0.7rem 1rem;
}

/* CTA deutlich größer */
.marketing-check-cta {
    min-height: 72px;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Desktop etwas mehr Luft, aber nicht zu viel */
@media (min-width: 768px) {
    .marketing-check-card {
        padding: 2.2rem 1.8rem;
    }
}

/* Mobile noch kompakter, aber gut lesbar */
@media (max-width: 767.98px) {
    .marketing-check-card {
        padding: 1.4rem 0.9rem;
    }

    .marketing-check-title {
        font-size: 2.4rem;
    }

    .marketing-check-lead {
        font-size: 1.6rem;
    }

    .marketing-check-cta {
        font-size: 1.45rem;
        min-height: 60px;
    }
}

/*  Geolocation */
#geolocation .location-card {
                background: #fff;
                border: 1px solid #dfe3e8;
                border-radius: 22px;
                overflow: hidden;
            }

            #geolocation .location-card-body {
                padding: 2rem;
            }

            #geolocation h2 {
                font-size: 2rem;
                font-weight: 700;
                color: var(--app-headercolor);
            }

            #geolocation .location-intro {
                font-size: 1.08rem;
                line-height: 1.65;
                color: var(--app_subheadercolor);
            }

            #geolocation .map-frame {
                position: relative;
                border-radius: 18px;
                overflow: hidden;
                border: 1px solid #d9d9d9;
                background: #f6f7f8;
            }

            #geolocation .map-frame iframe {
                display: block;
                width: 100%;
                height: 460px;
                border: 0;
            }

            #geolocation .map-status {
                position: absolute;
                left: 1rem;
                bottom: 1rem;
                padding: 0.65rem 0.95rem;
                border-radius: 12px;
                background: rgba(255,255,255,0.94);
                box-shadow: 0 8px 22px rgba(0,0,0,0.08);
                font-size: 0.95rem;
                color: #333;
            }

            #geolocation .location-summary {
                background: #f8f9fa;
                border: 1px solid #e4e7ea;
                border-radius: 16px;
                padding: 1rem 1.25rem;
            }

            #geolocation .summary-label {
                font-size: 0.9rem;
                text-transform: uppercase;
                letter-spacing: 0.04em;
                color: #6c757d;
                margin-bottom: 0.35rem;
            }

            #geolocation .summary-address {
                font-size: 1.1rem;
                font-weight: 600;
                color: #212529;
            }

            #geolocation .manual-location-box {
                background: #f8f9fa;
                border: 1px solid #e4e7ea;
                border-radius: 16px;
                padding: 1.25rem;
            }

            @media (max-width: 767.98px) {
                #geolocation .location-card-body {
                    padding: 1.25rem;
                }

                #geolocation .map-frame iframe {
                    height: 340px;
                }

                #geolocation h2 {
                    font-size: 1.65rem;
                }

                #geolocation .btn-lg {
                    width: 100%;
                }
            }

.nearby-company-page {
  width: 100%;
  min-height: 100%;
  padding: 32px 16px 48px;
  box-sizing: border-box;
}

.nearby-company-shell {
  max-width: 980px;
  margin: 0 auto;
}

.nearby-company-header {
  text-align: center;
  margin-bottom: 28px;
}

.nearby-company-title {
  margin: 0 0 10px 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  color: #1e1e1e;
}

.nearby-company-subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

.nearby-company-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.nearby-company-card {
  width: min(60%, 720px);
  min-width: 280px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 18px 20px;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nearby-company-card.is-clickable {
  cursor: pointer;
}

.nearby-company-card.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.09);
  border-color: rgba(95, 58, 30, 0.24);
}

.nearby-company-card.is-selected {
  border-color: #5f3a1e;
  box-shadow: 0 10px 28px rgba(95, 58, 30, 0.16);
}

.nearby-company-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.nearby-company-name {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #1f1f1f;
}

.nearby-company-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(95, 58, 30, 0.08);
  color: #5f3a1e;
}

.nearby-company-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 12px;
}

.nearby-company-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nearby-company-meta-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #888;
}

.nearby-company-meta-value {
  font-size: 14px;
  line-height: 1.45;
  color: #2a2a2a;
}

.nearby-company-reason {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.nearby-company-custom-card {
  width: min(60%, 720px);
  min-width: 280px;
  background: #fff;
  border: 1px dashed rgba(95, 58, 30, 0.35);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  padding: 18px 20px;
  box-sizing: border-box;
}

.nearby-company-custom-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1f;
}

.nearby-company-custom-text {
  margin: 0 0 14px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.nearby-company-custom-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.nearby-company-input {
  flex: 1 1 260px;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  padding: 10px 14px;
  box-sizing: border-box;
  font-size: 15px;
  outline: none;
}

.nearby-company-input:focus {
  border-color: #5f3a1e;
  box-shadow: 0 0 0 3px rgba(95, 58, 30, 0.10);
}

.nearby-company-button {
  appearance: none;
  border: none;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #5f3a1e;
  color: #fff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nearby-company-button:hover {
  transform: translateY(-1px);
}

.nearby-company-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.nearby-company-linkbutton {
  appearance: none;
  border: none;
  background: transparent;
  color: #5f3a1e;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.nearby-company-inline-editor {
  display: none;
  margin-top: 14px;
}

.nearby-company-inline-editor.is-open {
  display: block;
}

.nearby-company-selection-info {
  margin: 22px auto 0;
  width: min(60%, 720px);
  min-width: 280px;
  padding: 14px 16px;
  background: rgba(95, 58, 30, 0.08);
  border-radius: 14px;
  color: #5f3a1e;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .nearby-company-card,
  .nearby-company-custom-card,
  .nearby-company-selection-info {
    width: min(88%, 720px);
  }
}

@media (max-width: 640px) {
  .nearby-company-card,
  .nearby-company-custom-card,
  .nearby-company-selection-info {
    width: 100%;
  }

  .nearby-company-meta {
    grid-template-columns: 1fr;
  }

  .nearby-company-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


.nearby-company-custom-card.is-clickable {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nearby-company-custom-card.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: rgba(95, 58, 30, 0.45);
}

.nearby-company-custom-card.is-selected {
  border-color: #5f3a1e;
  box-shadow: 0 10px 28px rgba(95, 58, 30, 0.16);
}

.nearby-company-input.is-valid {
  background-color: rgba(40, 167, 69, 0.15);
  border-color: rgba(40, 167, 69, 0.7);
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15);
}

.nearby-company-input.is-invalid {
  background-color: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.7);
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

/* Nuer Header ab 20.08.2026 */
.ss-app-header {
    background: rgba(247, 244, 238, 0.93);
    border-bottom: 1px solid #ddd4c3;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ss-app-header-inner {
    max-width: 1240px;
    height: 120px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);

    display: flex;
    align-items: center;
}

.ss-app-brand {
    display: flex;
    align-items: center;
    height: 120px;
}

.ss-app-brand img {
    height: clamp(88px, 9vw, 120px);
    width: auto;
    display: block;
}

@media (max-width: 759px) {

    .ss-app-header-inner {
        height: 92px;
    }

    .ss-app-brand {
        height: 92px;
    }

    .ss-app-brand img {
        height: 72px;
    }
}

/* Ende Neuer Logo-Block */

html,
body {
    background: #f7f4ee;
    color: #262220;
    font-family: Ebrima, "Segoe UI", Arial, sans-serif;
}

#appcontent {
    background: #f7f4ee;
    color: #262220;
}

/* Buttonbs */
.btn-primary {
    background-color: #083e96;
    border-color: #083e96;
    color: #f7f4ee;

    border-radius: 100px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #062f74;
    border-color: #062f74;
    color: #f7f4ee;
}

.marketing-check-card {
    background: #f7f4ee;
    border: 1px solid #ddd4c3;
    border-radius: 0;
    padding: 2.2rem 1.8rem;
    box-shadow: none;
}

.marketing-check-section {
    background: #efe8db;
}

.marketing-check-card {
    background: #f7f4ee;
}

/* ==========================================================================
   Beispielreport-Overlay (ufrm_servicesselect, Button "Beispielreport ansehen")
   ========================================================================== */
.ss-sample-pdf-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(20, 20, 20, 0.6);
}

.ss-sample-pdf-overlay[hidden],
.ss-sample-pdf-canvaswrap[hidden],
.ss-sample-pdf-pager[hidden],
.ss-sample-pdf-status[hidden] {
    display: none !important;
}

.ss-sample-pdf-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 920px;
    max-height: 100%;
    background: #f7f4ee;
    border: 1px solid #ddd4c3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.ss-sample-pdf-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #ddd4c3;
}

.ss-sample-pdf-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6d3b;
}

.ss-sample-pdf-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
}

.ss-sample-pdf-close {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: #222;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
}

.ss-sample-pdf-close:hover,
.ss-sample-pdf-close:focus-visible {
    border-color: #222;
}

.ss-sample-pdf-body {
    flex: 1 1 auto;
    min-height: 12rem;
    overflow: auto;
    padding: 1rem 1.25rem;
    background: #efe8db;
}

.ss-sample-pdf-status {
    padding: 3rem 1rem;
    text-align: center;
    color: #444;
}

.ss-sample-pdf-status--error {
    color: #9b2c2c;
}

.ss-sample-pdf-canvaswrap {
    width: 100%;
}

.ss-sample-pdf-canvaswrap canvas {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.ss-sample-pdf-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #ddd4c3;
}

.ss-sample-pdf-nav {
    padding: 0.35rem 0.9rem;
    color: #222;
    background: #fff;
    border: 1px solid #222;
    cursor: pointer;
}

.ss-sample-pdf-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

@media (max-width: 576px) {
    .ss-sample-pdf-overlay {
        padding: 0;
    }
    .ss-sample-pdf-dialog {
        height: 100%;
        max-width: none;
    }
}
