html {
    scroll-behavior: smooth;
}

.navbar-utility .btn {
    white-space: nowrap;
}

.btn-header-outline {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.82rem 1.15rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-header-outline:hover {
    background: rgba(233, 196, 106, 0.16);
    border-color: rgba(233, 196, 106, 0.35);
    color: #fff;
}

.hero-section {
    overflow: visible;
}

.advisor-hero-panel {
    position: relative;
    width: min(100%, 460px);
    margin-left: auto;
    padding-bottom: 6.5rem;
}

.advisor-hero-portrait {
    padding: 0;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(180deg, #0f2434, #12293b);
    box-shadow: 0 28px 60px rgba(8, 27, 41, 0.18);
}

.advisor-hero-portrait img {
    width: 100%;
    max-width: none;
    margin: 0;
    display: block;
    object-fit: cover;
}

.advisor-profile-summary,
.advisor-intro-card,
.advisor-funnel-card,
.brand-surface,
.brand-embed-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14, 42, 59, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(8, 27, 41, 0.08);
}

.advisor-profile-summary {
    position: absolute;
    right: 24px;
    left: 24px;
    bottom: 0;
    margin-top: 0;
    padding: 1.3rem 1.4rem 1.45rem;
    z-index: 2;
}

.advisor-profile-summary h3 {
    color: var(--primary-deep);
    margin: 0.45rem 0 0.35rem;
    font-size: 1.45rem;
    line-height: 1.15;
}

.advisor-profile-roleline {
    color: #64748b;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.advisor-contact-mini {
    display: grid;
    gap: 0.4rem;
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.advisor-contact-mini a {
    color: var(--logo-teal);
}

.advisor-contact-line a {
    font-weight: 700;
}

.advisor-intro-card {
    padding: 2rem;
}

.advisor-section-kicker {
    display: inline-block;
    color: var(--logo-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.advisor-richtext,
.advisor-richtext p,
.brand-surface,
.brand-surface p,
.brand-surface li {
    color: #475569;
    line-height: 1.8;
}

.advisor-richtext p:last-child {
    margin-bottom: 0;
}

.advisor-funnel-card {
    padding: 1.9rem 2rem;
    background: #ffffff;
    border-color: rgba(14, 42, 59, 0.1);
}

.advisor-quicklink-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(14, 42, 59, 0.08);
}

.advisor-quicklink-card-last {
    border-bottom: 0;
}

.advisor-quicklink-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #eaf2f7;
    color: var(--logo-teal);
    font-size: 1.35rem;
    box-shadow: inset 0 0 0 1px rgba(18, 98, 130, 0.08);
}

.advisor-quicklink-card h3 {
    color: var(--primary-deep);
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.advisor-quicklink-card p {
    color: #6a7a89;
    margin-bottom: 0.95rem;
    line-height: 1.65;
}

.advisor-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.advisor-quick-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #f1f6f9;
    color: var(--primary-deep);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 0 1px rgba(18, 98, 130, 0.06);
}

.advisor-quick-links a:hover {
    background: var(--logo-teal);
    color: #fff;
}

#kontakt {
    scroll-margin-top: 110px;
}

.brand-page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 6rem 0;
    margin: 3rem auto 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.brand-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 27, 41, 0.82), rgba(8, 27, 41, 0.48));
}

.brand-page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 0 3rem;
}

.brand-page-hero h1,
.brand-page-hero p {
    color: #fff;
}

.brand-page-section {
    padding: 2rem 0 0;
}

.brand-surface,
.brand-embed-card {
    padding: 2rem;
}

.contact-form-mount {
    min-height: 180px;
}

.contact-form-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1.5rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14, 42, 59, 0.08);
    box-shadow: 0 18px 40px rgba(8, 27, 41, 0.08);
    color: #475569;
    text-align: center;
}

.contact-inline-msg {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-inline-msg.success {
    background: #e8f7ee;
    color: #17633f;
    border: 1px solid #bce5cb;
}

.contact-inline-msg.error {
    background: #fff0ee;
    color: #a43b2f;
    border: 1px solid #f2c5be;
}

.contact-field-error {
    margin-top: 0.45rem;
    color: #b42318;
    font-size: 0.86rem;
    line-height: 1.4;
}

.form-group.formerror .form-control {
    border-color: #d94f3d;
    box-shadow: 0 0 0 0.15rem rgba(217, 79, 61, 0.12);
}

.contact-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form-mount.is-loading {
    opacity: 0.92;
}

.brand-embed-card {
    position: relative;
}

.responsive-video {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

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

.tool-page-shell {
    padding: 3.5rem 0 5rem;
}

.tool-calculator-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.tool-page-intro {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 2.25rem;
    border-radius: 28px;
    border: 1px solid rgba(8, 27, 41, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 246, 249, 0.98)),
        linear-gradient(90deg, rgba(18, 98, 130, 0.04), rgba(233, 196, 106, 0.05));
    box-shadow: 0 24px 60px rgba(8, 27, 41, 0.08);
}

.tool-page-intro h1 {
    margin: 0.5rem 0 1rem;
    color: var(--primary-deep);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.tool-page-intro p,
.tool-page-intro li {
    color: #536577;
    line-height: 1.75;
}

.tool-page-sidecard,
.tool-page-image,
.tool-metric-card,
.tool-calculator-card,
.goldshop-package-card,
.retirement-tool-shell .card {
    border: 1px solid rgba(8, 27, 41, 0.08);
    box-shadow: 0 24px 60px rgba(8, 27, 41, 0.08);
}

.tool-page-sidecard,
.tool-page-image {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.tool-page-sidecard {
    padding: 1.5rem;
}

.tool-page-sidecard h3 {
    margin-bottom: 1rem;
    color: var(--primary-deep);
    font-size: 1.25rem;
}

.tool-checklist {
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tool-checklist li {
    position: relative;
    padding-left: 1.4rem;
}

.tool-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--logo-gold);
}

.tool-inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.tool-inline-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #eff5f8;
    color: var(--primary-deep);
    font-size: 0.92rem;
    font-weight: 700;
}

.tool-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 2rem;
}

.tool-metric-card {
    display: grid;
    gap: 0.4rem;
    padding: 1.35rem 1.45rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
}

.tool-metric-card strong {
    color: var(--primary-deep);
    font-size: 1.55rem;
}

.tool-metric-card span,
.tool-footnote,
.goldshop-detail-copy,
.tool-data-table td,
.tool-data-table th {
    color: #536577;
}

.tool-footnote {
    margin: 1rem 0 0;
    font-size: 0.92rem;
    line-height: 1.65;
}

.goldshop-package-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
}

.goldshop-package-head {
    padding: 1.45rem 1.5rem 1rem;
}

.goldshop-package-head h3 {
    margin: 0.35rem 0 0;
    color: var(--primary-deep);
    font-size: 1.45rem;
    line-height: 1.15;
}

.goldshop-package-image {
    max-height: 230px;
    object-fit: cover;
}

.goldshop-package-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.goldshop-package-list li {
    color: #536577;
    line-height: 1.55;
}

.goldshop-detail-card {
    padding: 2rem;
}

.goldshop-detail-copy,
.goldshop-detail-copy p,
.goldshop-detail-copy li {
    line-height: 1.75;
}

.tool-calculator-card,
.retirement-tool-shell .card {
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
}

.tool-calculator-card .card-header,
.retirement-tool-shell .card-header {
    padding: 1.35rem 1.75rem;
    border-bottom: 1px solid rgba(8, 27, 41, 0.08);
    background: linear-gradient(180deg, rgba(241, 246, 249, 0.95), rgba(255, 255, 255, 0.98));
}

.tool-calculator-card .card-title,
.retirement-tool-shell .card-header h2 {
    color: var(--primary-deep);
}

.tool-calculator-card .card-body,
.retirement-tool-shell .card-body {
    padding: 1.75rem;
}

.tool-calculator-card .form-control,
.tool-calculator-card input[type="number"],
.tool-calculator-card input[type="text"],
.tool-calculator-card input[type="date"],
.retirement-tool-shell .form-control,
.retirement-tool-shell input[type="number"],
.retirement-tool-shell input[type="text"],
.retirement-tool-shell input[type="date"] {
    min-height: 52px;
    border-radius: 16px;
}

.tool-calculator-card .input-group,
.retirement-tool-shell .input-group {
    position: relative;
}

.tool-calculator-card .input-group-text,
.retirement-tool-shell .input-group-text {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border: 0;
    background: transparent;
    color: #617486;
    padding: 0;
}

.tool-calculator-card .input-group > .form-control,
.retirement-tool-shell .input-group > .form-control {
    padding-right: 2.5rem;
}

.tool-highlight-surface {
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.2), rgba(241, 246, 249, 0.95));
}

.tool-data-table {
    margin-bottom: 0;
}

.tool-data-table th,
.tool-data-table td {
    padding: 0.95rem 0.8rem;
    border-color: rgba(8, 27, 41, 0.08);
    vertical-align: middle;
}

.tool-export-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tool-export-bar p {
    margin: 0;
    color: #536577;
    font-size: 0.92rem;
    line-height: 1.65;
}

.retirement-tool-shell .btn-outline-warning {
    border-color: rgba(233, 196, 106, 0.45);
    background: rgba(233, 196, 106, 0.12);
    color: var(--primary-deep);
    border-radius: 999px;
}

@media (max-width: 991.98px) {
    .navbar-utility {
        align-items: flex-start;
    }

    .hero-section {
        padding-top: 5rem;
    }

    .advisor-hero-panel {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding-bottom: 0;
    }

    .advisor-profile-summary {
        position: static;
        margin-top: 1rem;
    }

    .brand-page-hero {
        border-radius: 24px;
        padding: 4.5rem 0;
        margin-top: 2rem;
    }

    .brand-page-hero-inner,
    .advisor-intro-card,
    .brand-surface,
    .brand-embed-card {
        padding: 1.5rem;
    }

    .advisor-quicklink-card {
        grid-template-columns: 1fr;
    }

    .tool-page-shell {
        padding: 2.5rem 0 4rem;
    }

    .tool-page-intro,
    .goldshop-detail-card,
    .tool-calculator-card .card-body,
    .tool-calculator-card .card-header,
    .retirement-tool-shell .card-body,
    .retirement-tool-shell .card-header {
        padding: 1.5rem;
    }

    .tool-metric-grid {
        grid-template-columns: 1fr;
    }

    .tool-export-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .advisor-quick-links a,
    .btn-header-outline,
    .btn-gold-cta {
        width: 100%;
        justify-content: center;
    }

    .brand-page-hero-inner {
        padding: 0 1.25rem;
    }

    .tool-inline-tags {
        display: grid;
    }
}
