@import "body_base.css";
@import "colors.css";
@import "typography.css";
@import "buttons.css";
@import "navbar.css";
@import "footer.css";
@import "tooltip.css";


@supports (-webkit-touch-callout: none) {
    body {
        background-color: var(--bg-primary);
        background-image: radial-gradient(1200px 600px at 10% -10%, rgba(74, 158, 255, 0.08), transparent 60%),
        radial-gradient(1000px 500px at 100% 0%, rgba(188, 172, 125, 0.08), transparent 55%);
        background-attachment: fixed;
        color: var(--text-primary);
    }

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background: linear-gradient(
                180deg,
                var(--bg-primary),
                var(--bg-secondary)
        );
    }
}



/* Container mit Glassmorphism */
.app-container {
    display: contents;
    align-items: center;      /* zentriert alle direkten Kinder horizontal */
    /*background: rgba(37, 41, 56, 0.8);*/
    /* backdrop-filter: blur(20px); */
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(74, 158, 255, 0.2);
    padding: 30px;
    border-radius: 16px;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(74, 158, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1); */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    /* nur ein Schatten */
    text-align: center;
    width: 100%;
    position: relative;
}

/* Alle Texte im App-Container */
.app-container h1,
.app-container h2,
.app-container h3,
.app-container h4 {
}

.app-container p {
    color: #cbd5e1 !important;
}

/* Kleinere Texte */
.app-container small,
.app-container .subtitle {
    color: #94a3b8 !important;
}

/* Hover-Effekt für den Container */
.app-container:hover {
    border-color: rgba(74, 158, 255, 0.4) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(74, 158, 255, 0.2) !important;
}

/* Headings mit Glow */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    margin-top: 3%;
    margin-bottom: 2%;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
    text-align: center;
}



.hidden {
    display: none !important;
}

/* Headings mit Glow */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
    margin-bottom: 15px;
    font-weight: 500;
    /* Medium */
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

h1 {
    font-weight: 500;
    font-size: 2.5rem;
}

h2 {
    font-weight: 400;
    font-size: 2rem;
}

h3 {
    font-weight: 400;
    font-size: 1.5rem;
}

/* Links mit Glow-Akzent */
a {
    color: var(--warm-accent-medium);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--warm-accent-light);
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.5);
    text-decoration: underline;
}

p {
    margin-bottom: 15px;
}

details.details-config {
    margin-bottom: 25px;
    color:var(--text-primary);
}


.downloadbutton {
    width: 100%;
    padding: 10px;
}

section {
    margin-bottom: 40px;
}

table.config-table-fixed {
    width: 100%;
    table-layout: fixed;
}

.config-table-fixed th,
.config-table-fixed td {
    width: 33%;       /* jede Spalte gleich breit */
    text-align: center;
}


/* Forms */
/* Inputs mit dunklem Theme */
input,
textarea,
select,
select.appselect {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: var(--text-primary);
    padding: 12px;
    margin: 10px 0 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

select.unwidthed-appselect{
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: var(--text-primary);
    padding: 12px;
    margin: 10px 0 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.unwidthed-appselect option{
    background-color: var(--blue-dark);
    color: #fff;
}

input:focus,
textarea:focus,
select:focus,
select.appselect:focus {
    outline: none;
    border-color: var(--blue-glow);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}

.flex {
    display: flex
}

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

.mainapp {
  margin: 20px auto;              /* Oben 20px, zentriert mit Auto-Margin */
  max-width: 960px;               /* maximale Breite */
  width: calc(100% - 2 * 2%);     /* volle Breite minus je 3% Seitenabstand */
  gap: 24px;                      /* gleichmäßiger Abstand zwischen Items */
  box-sizing: border-box;         /* Padding in die Breite einrechnen */
  color: var(--text-primary);
}


.mainapp p,
.mainapp li,
.mainapp td,
.mainapp span {
    color: var(--text-primary, #f8f9fa);
}

.mainapp h1 {
    text-align: center;
}

.logo-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #ffffff;
    font-size: 20px;
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
    letter-spacing: 1px;
    margin-left: 20px !important;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Center the logo */
    flex: 0 0 auto;
    /* Take available space */
}

.logo {
    height: 50px;
    /* Adjust logo size */
    width: auto;
    /* Keep aspect ratio */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* links/rechts Abstand */
    width: 100%;
}


.nav-links-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.nav-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 2; /* größerer Bereich in der Mitte */
}

.nav-links-right a,
.nav-links-right span {
    color: var(--text-primary) !important;
    /* Helle Schrift */
    text-decoration: none;
    padding: 8px 16px;
    /* margin-left: 20px;  */
    transition: all 0.3s ease;
}


.nav-links-right a:hover {
    /* color: var(--blue-glow) !important; */
    color: var(--warm-accent-light) !important;
    background-color: rgba(74, 158, 255, 0.1);
    border-radius: 4px;
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.5);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1; /* nimmt Platz ein */
}

/* Nav Tools Links */
.nav-tools a {
    color: var(--text-primary) !important;
    margin-left: 0;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.2s ease;
    /* flex: 2; /* größerer Bereich in der Mitte */
}

.nav-tools a:hover {
    color: var(--warm-accent-light) !important;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.6);
    text-decoration: underline;
}

.burger {
    /* display: none; */
    font-size: 1.8em;
    background: none;
    color: var(--text-primary);
    border: none;
    cursor: pointer;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 30px;
        background-color: rgba(10, 11, 15, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px;
        border-radius: 8px;
        z-index: 1001;
    }

    .nav-links.show {
        display: flex;
    }
}


.vertical-center {
    /* Add these lines: */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center */
    height: 100%;
    /* Takes full height of its parent */
}

.config-table {
    width: 100%;
}

.portfolio-selection {
    margin-bottom: 20px;
}

.portfolio-selection-title {
    margin: 0 0 10px;
    font-weight: 600;
    text-align: left;
}

.portfolio-table th,
.portfolio-table td {
    text-align: center;
}

.portfolio-table .portfolio-name-cell {
    text-align: left;
    min-width: 160px;
}

.portfolio-select-cell {
    width: 240px;
}

.portfolio-select {
    cursor: pointer;
    min-width: 220px;
}

.portfolio-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.portfolio-info-cell {
    width: 70px;
}

.portfolio-info-button {
    background: transparent;
    border: none;
    padding: 0;
}

.portfolio-info-button .icon-inline {
    margin-left: 0;
}

.portfolio-info-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.portfolio-strategy-select {
    min-width: 220px;
}

.strategy-select-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.strategy-info-modal .strategy-info-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.strategy-info-modal .strategy-info-title {
    margin: 0 0 8px;
}

.strategy-info-modal .tool-description,
.strategy-info-modal .strategy-conditions,
.strategy-info-modal .strategy-info-empty {
    color: #cbd5e1;
}

.strategy-info-modal .strategy-info-empty {
    margin: 0;
    font-style: italic;
}

.portfolio-modal-title {
    margin: 0 0 10px;
    font-weight: 600;
    text-align: left;
}



.video-container {
    padding-bottom: 40px;
}

table.summary-table {
    width: 100%;
    /* border: 2px solid black; */
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 60px;
    overflow: visible;
}

.summary-table tr {
    position: relative; /* Position relativ setzen, damit z-index funktioniert */
}

.table-wrapper {
    overflow-x: auto;
}

.border-bottom {
    border-bottom: 1px solid black;
    padding: 10px 5px;
}

.summary-table th {
    border-bottom: 1px solid white;
}



.low-margin-heading {
    margin: 3px 3px 3px 3px;
}

.green_notification {
    background-color: #4caf50;
}

div.yellow_notification, span.yellow_notification{
    background-color: #fff699;
    color: var(--bg-primary) !important;
}

.red_notification {
    background-color: #ee6666;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notification.show {
    opacity: 1;
    visibility: visible;
}

table.result-table td {
    min-width: 220px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

table.result-table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 30px;
}

table.download-table td {
    min-width: 220px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

table.download-table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 30px;
}

span.input-ext {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    padding: 0;
}

span.coins-in-input {
    left: -65px;
}

span.dollar-in-input {
    left: -35px;
}

img.result-image {

    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

/* THIS IS FOR TRADINGVIEW
.result-chart {
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/

/* THIS IS FOR PLOTLY */
.result-chart {
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    display: block; /* wichtig: kein flexbox! */
    width: 800px;
    height: 600px;
    position: relative;
}

.js-plotly-plot .modebar-btn[data-title="Reset axes"] {
    background-color: #b09958 !important;
    color: white !important;
    border-radius: 5px;
}


#exit-result-chart:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
}


#result-div {
    position: relative;
}

img.shadow {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}




/* Slider mit Blau-Akzent */
.slider {
    -webkit-appearance: none;
    /* Override default CSS styles */
    appearance: none;
    height: 5px;
    /* Specified height */
    /* background: #c4b483; /* Grey background */
    background: rgba(74, 158, 255, 0.3);

    outline: none;
    /* Remove outline */
    opacity: 0.7;
    /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s;
    /* 0.2 seconds transition on hover */
    transition: opacity .2s;
    flex-grow: 1;
    border-radius: 4px;
}

.slider:hover {
    opacity: 1;
    /* Fully shown on mouse-over */
}

/*.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
/*appearance: none;
/*width: 15px; /* Set a specific slider handle width */
/*height: 15px; /* Slider handle height */
/*background: white;
/*cursor: pointer; /* Cursor on hover */
/*}*/

.slider::-webkit-slider-thumb {
    background: linear-gradient(135deg, var(--blue-glow), var(--blue-accent));
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Adds space between the elements */
}

.slider-label {
    margin-right: 10px;

}

.digit-text-input {
    width: 65px;
    height: 30px;
}

.right-padded-input {
    margin-right: 55px;
}

.bordered-table {
    border: 2px solid black;
}

.columns-border td,
.columns-border th {
    border-left: 1px solid #000;

}

.columns-border td:first-child,
.columns-border th:first-child {
    border-left: none;
}

.centered {
    text-align: center;
}

.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.center {
    display: block;        /* Link wird zu einem Block-Element */
    margin: 50px auto;     /* oben/unten 50px Abstand, links/rechts automatisch = zentriert */
    text-align: center;    /* Text innerhalb des Links bleibt mittig */
    width: fit-content;    /* passt sich der Breite des Textes an */
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 29px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.switchslider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    width: 50px;
}

.switchslider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.switchslider {
    background-color: #b09958;
}

input:focus+.switchslider {
    box-shadow: 0 0 1px #b09958;
}

input:checked+.switchslider:before {
    -ms-transform: translateX(21px);
    transform: translateX(21px);
}

/* Rounded sliders */
.switchslider.round {
    border-radius: 34px;
}

.switchslider.round:before {
    border-radius: 50%;
}

img.copy_clipboard_image {
    width: 18px;
    height: 18px;
    position: relative;
    top: 2px;
    left: -3px;
    cursor: pointer;
}

.disabled {
    color: #999999;
}

.slider.disabled {
    background: #dddddd;
}

.disabled-important {
    color: #999999 !important;
}
.disabled-important input {
    color: #999999 !important;
    background-color: #222 !important;
}

.social-icons {
    display: flex;
    /* Flexbox for social media icons */
    gap: 10px;
    /* Space between social media links */
}

.detail-settings {
    margin: 20px;
}

div.headingtooltip {
    font-size: 20px;
    background-color: var(--bg-primary);
}

div.ptooltip {
    margin-left: 10px;
}

select.appselect {
    width: 50%;
    /* background: linear-gradient(135deg, var(--silver-primary) 0%, var(--silver-light) 100%); */
    /* background-color: var(--silver-dark); */
    text-align: center;
    z-index: 1;
    /* color: black !important;*/
    /* text-emphasis-color: black;
    text-decoration-color: black;  */
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    /* You can adjust the width */
}

/* General reset for select element */
select {
    /* appearance: none;
    -webkit-appearance: none; /* For Safari */
    /* -moz-appearance: none; /* For Firefox */
    background-color: #f4f4f9;
    border: 2px solid #c5c5d1;
    border-radius: 6px;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    color: #333;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* position: relative; */
}

/* Hover and focus states */
select:hover,
select:focus {
    border-color: #b09958;
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
}

/* Custom arrow (dropdown icon) */
select::after {
    content: '▼';
    /* Custom dropdown icon */
    position: absolute;
    right: 15px;
    top: 45%;
    transform: translateY(-55%);
    font-size: 12px;
    pointer-events: none;
    color: #b09958;
}

/* Remove default arrow in Firefox */
select::-ms-expand {
    display: none;
}

/* Style options inside the select */
select option {
    padding: 10px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
}

/* Optional: Disabled select styling */
select:disabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* Custom dropdown arrow */
.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-70%);
    font-size: 15px;
    pointer-events: none;
    color: #b09958;
}

select option {
    color: black;
    /* oder z.B. var(--text-primary), wenn du es anpassen willst */
    /* background-color: white; kannst du hier auch steuern */
}

.configinput {
    width: 100%;
}

.config-heading {
    margin-top: 20px;
}

.nochange {
    all: unset;
    /* background-color: var(--blue-dark);  */
    /* oder rgba(255,255,255,0.9) für silbernen Schimmer */
    color: black;
    /* dunkle Schrift auf hellem Silber */
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notification.show {
    opacity: 1;
    visibility: visible;
}

.landing-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    padding: 50px;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens */
}

.image-card {
    flex: 1 1 calc(33.33% - 40px);
    max-width: 300px;
    text-align: center;
    perspective: 1000px;
}

.image-card .flip-box {
    position: relative;
    width: 100%;
    height: auto;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    /* Ensures 3D flipping */
}

.image-card:hover .flip-box {
    transform: rotateY(180deg);
    /* Flips the card on hover */
}

.image-card img,
.image-card .flip-box .back {
    width: 100%;
    /* height: auto; */
    height: 170px;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-card .flip-box .back {
    position: absolute;
    top: 0;
    left: 0;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    border-radius: 8px;
}

.itemTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.itemTable th,
.itemTable td {
    align-items: flex-start;
    padding: 10px;
    padding-right: 0 !important;
    margin-right: 0 !important;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.itemTable th {
    background-color: #f2f2f2;
}

.remove-btn {
    color: #ff0000;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.remove-btn:hover {
    color: #cc0000;
}

.itemTable-row {
    transition: background-color 0.3s;
}
.itemTable-row:hover {
    background-color: var(--bg-primary);
}

.itemTable-cell:nth-child(1) {
    width: 85%;
}

.itemTable-cell:nth-child(2) {
    width: 10%;
    text-align: center;
}

.itemTable-cell:nth-child(3) {
    width: 5%;
}

.image-card h3 {
    margin: 10px 0 0;
    font-size: 1.2rem;
    color: #333;
}

@media (max-width: 768px) {
    .image-card {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .image-card {
        flex: 1 1 100%;
    }
}

.double-slider-container {
    position: relative;
    width: 80%;
    height: 50px;
}

.double-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 8px;
    background-color: #ddd;
    border-radius: 4px;
}

.double-logslider-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #BCA669;
    border-radius: 50%;
    cursor: pointer;
    touch-action: none;
}

.double-logslider-label {
    margin-top: 10px;
    text-align: center;
    position: relative;
    top: -20px;
}

/* Reduce the spacing between the checkboxes */
.checkbox-group div {
    margin: 2px 0;
    /* Small margin for tighter spacing */
}

.checkbox-group input {
    margin: 0;
    /* Remove any extra margin around the checkbox */
    margin-right: 8px;
}




.password-wrapper {
    position: relative;
    display: inline-block;
}

.password-wrapper input {
    /* padding-right: 2.5rem; /* space for icon */
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    color: #666;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

button.counter-control {
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
    background-color: var(--blue-dark);
}

button.counter-control:hover {
    background-color: var(--blue-dark-hover);
}

.strategy-count,
.counter-control {
    display: inline-block;
    vertical-align: middle;
}

.strategy-counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.edit-icon {
    font-size: 16px;
    color: #888;
}

.edit-icon:hover {
    color: #333
}

.rename-input {
    font-size: 14px;
    padding: 2px 6px;
    height: 24px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    background-color: #f9f9f9;
}

.icon-inline {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    vertical-align: middle;
    margin-left: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.icon-inline:hover {
    opacity: 0.8;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    /* background: white; */
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    background: rgb(0, 0, 0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.sort-icon {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    line-height: 10px;
    vertical-align: middle;
    text-align: center;
}

.sort-arrow {
    display: block;
    /* ← stacked */
    font-size: 9px;
    line-height: 10px;
    height: 10px;
    color: #bbb;
    /* ← default: hellgrau */
    transition: color 0.2s;
}

.sort-arrow.active {
    color: #333;
    /* ← aktiv: dunkelgrau */
}

div.toggle-button.active{
    color: var(--bg-primary) !important;
}

/*
.hero-section-light .container {
  background: transparent;
  max-width: 1200px !important;
  width: 100vw !important;;
  left: 50% !important;;
  transform: translateX(-50%) !important;;
  padding: 0 20px !important;;
  color: var(--text-primary);
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

*/

/* Ersetze die aktuelle Regel für .hero-section-light .container */
.hero-section-light .container {
  background: transparent;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  color: var(--text-primary);
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

/* Sections dürfen schrumpfen, nicht fix breiter werden */
.section-container-a { max-width: 900px; width: 100%; padding: 0 16px; }

/* Karten/Stats: Spalten auf Mobile umbrechen */
.section-cards,
.workflow-cards,
.stats-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .section-cards, .workflow-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .section-cards { grid-template-columns: repeat(4, 1fr); }
  .workflow-cards { grid-template-columns: repeat(3, 1fr); }
}


/* Plotly-Chart responsiv */
.result-chart {
  display: block;
  width: 100%;
  max-width: 800px;   /* Desktop-Deckel */
  aspect-ratio: 4 / 3;  /* erhält Verhältnis ohne fixe Höhe */
  height: auto;       /* keine starre Höhe */
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.15);
}


.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-bottom: 30px;
}
.video-wrapper iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}


/* Hamburger-Button nur auf Mobile anzeigen */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  padding: 8px 12px;
  color: var(--text-primary);
  cursor: pointer;
}
@media (max-width: 900px) {
  .mobile-nav-toggle { display: inline-block; }
  /* Die große mittige Linkleiste auf Mobile ausblenden */
  .nav-tools { display: none; }
}

/* Off-Canvas-Drawer + Backdrop */
.mobile-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: saturate(110%) blur(2px);
  z-index: 999;
}
.mobile-drawer {
  position: fixed; top: 0; left: 0;
  width: min(80vw, 320px); height: 100vh;
  background: rgba(10, 11, 15, 0.98);
  border-right: 1px solid rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 220ms ease;
  z-index: 1000;
  padding: 20px 16px;
  box-sizing: border-box;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-close {
  background: transparent; border: 0; color: var(--text-primary);
  font-size: 1.6rem; line-height: 1;
  position: absolute; right: 8px; top: 6px; cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; margin-top: 24px; gap: 8px; }
.drawer-link {
  color: var(--text-primary); text-decoration: none; padding: 10px 6px;
  border-radius: 8px;
}
.drawer-link:focus, .drawer-link:hover {
  background: rgba(255,255,255,0.06);
}

/* Body Scroll lock wenn Drawer offen */
.no-scroll { overflow: hidden; }


table { width: 100%; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 768px) {
  .bleed-out { width: 100%; max-width: 100%; margin-left: 0; transform: none; }
}




.hero-title-light {
    padding-top: 3%;
    padding-bottom: 3%;
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(90deg, #ffffff 0%, #cccccc 25%, #999999 50%, #cccccc 75%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-light {
    font-size: 1.2rem;
    margin-top: 1%;
    margin-bottom: 1%;
    color: #444;
    line-height: 1.6;
}


.primary-gradient-outline {
    /* Transparenter Hintergrund */
    background: transparent;
    /* Dünner, abgerundeter Rahmen mit Gradient */
    border: 2px solid;
    border-radius: 32px;
    /* Für die "Pillenform", je nach Höhe ggf. anpassen */
    padding: 12px 32px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* Gradient-Rahmen */
    border-image: linear-gradient(90deg, #a259ff 0%, #3f5efb 100%);
    border-image-slice: 1;
    /* Für einen subtilen Glow-Effekt */
    box-shadow: 0 0 8px 0 rgba(162, 89, 255, 0.25), 0 0 0 1px rgba(63, 94, 251, 0.12);
    transition: box-shadow 0.2s, border-image 0.2s;
}

.primary-gradient-outline:hover,
.primary-gradient-outline:focus {
    /* Glow verstärken bei Hover */
    box-shadow: 0 0 16px 2px rgba(162, 89, 255, 0.45), 0 0 0 2px rgba(63, 94, 251, 0.28);
    /* Gradient verschieben oder verstärken für mehr Dynamik */
    border-image: linear-gradient(90deg, #3f5efb 0%, #a259ff 100%);
    border-image-slice: 1;
    outline: none;
}

/* Paragraphs und allgemeiner Text */
p,
span,
li,
a,
small {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    /* regular */
}


@media (max-width: 768px) {
    .hero-title-light {
        font-size: 2rem;
    }

    .hero-subtitle-light {
        font-size: 1rem;
    }

    .mainapp {
        width: calc(100% - 2 * 1%);
        padding: 0 1%;
    }
    /* .button-primary {
        width: 100%;
    } */
}



.tool-description {
    font-size: 0.95rem;
    color: #555;
    /*margin-top: 8px;*/
}


details summary {
    cursor: pointer;
    font-weight: bold;
    padding: 10px 0;
    list-style: none;
}

details[open] summary::after {
    content: "–";
    float: right;
}

details:not([open]) summary::after {
    content: "+";
    float: right;
}

/*
details.no-icon summary::-webkit-details-marker {
    display: none;
}
details.no-icon summary::marker {
    content: "";
}
details.no-icon summary::after {
    content: none !important;
}

 */

.testimonial-screenshot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-screenshot-grid img {
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.coin-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coin-results-list li {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.coin-results-list li:hover {
    background-color: #f0f0f0;
    color: var(--bg-primary);
}

.coin-results-list img {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}


/* Grid: gibt den Karten Platz */
.strategy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    align-items: stretch;
    /* sorgt dafür, dass alle Karten gleich hochgezogen werden */
}


.strategy-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    min-height: 600px;
    height: auto;
    padding: 24px;
    background-color: rgba(18, 20, 30, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    flex-grow: 1;
    position: relative;
}

/* Hover-Effekt */
.strategy-card:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(74, 158, 255, 0.1);
}

/* Ausgewählt */
.strategy-card.selected {
    background-color: rgba(168, 143, 124, 0.1);
    border: 2px solid #a88f7c;
    box-shadow: 0 0 10px rgba(168, 143, 124, 0.3);
}

.strategy-card.selected a {
    background: linear-gradient(135deg, var(--warm-accent-light), var(--warm-accent-dark));
    color: #000;
    font-weight: bold;
    border: none;
}

/* Checkmark entfernt */
.strategy-card .checkmark {
    display: none;
}

/* Header */
.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* Bedingungen-Text */
.strategy-card .strategy-conditions {
    max-height: 100px;
    /* Zeigt nur die ersten ~3-4 Zeilen */
    overflow: hidden;
    position: relative;
}

.strategy-card.expanded .strategy-conditions {
    max-height: 500px;
    overflow: scroll;
    /* oder: none */
}

.strategy-card .show-more {
    cursor: pointer;
    color: var(--blue-glow);
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: center;
}

/* Button unten */
.strategy-card button {
    margin-top: auto;
    align-self: center;
    width: 100%;
    padding: 12px 20px;
}

.strategy-conditions.collapsed {
    max-height: 100px;
    overflow: hidden;
}

.strategy-card.expanded .strategy-conditions {
    max-height: none;
}


/* Größere Indikator-Karten */
.strategy-card {
    min-width: 340px;
    max-width: 420px;
    min-height: 260px;
    overflow-y: auto;
    max-height: 500px;
    padding: 28px 28px 22px 28px;
    font-size: 1.07rem;
}


.strategy-card h3 {
    margin-top: 0px !important;
    /* statt 20px */
    margin-bottom: 12px !important;
    /* statt 15px, optional enger */
    font-size: 1.2rem !important;
    /* optional: etwas kleiner, wenn es zu wuchtig ist */
}

.strategy-card h3,
.strategy-card h2,
.strategy-card h4 {
    margin-top: 0;
}

/* Variante der Strategy-Card speziell für Schritt 5 */
.strategy-card.strategy-card--step5 {
    /* Größe wie bisher, aber ohne eigenes Scrollen */
    min-width: 340px;
    max-width: 420px;
    min-height: 260px;

    /* Card selbst soll nicht scrollen */
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden; /* verhindert horizontalen Scrollbalken */
}

/* Bedingungen-Text in Step 5:
   - initial „angeteasert“
   - vollständiger Inhalt dann über .expanded-Klasse der Card */
.strategy-card.strategy-card--step5 .strategy-conditions {
    max-height: 110px;   /* ~3–4 Zeilen */
    overflow: hidden;
}

/* Wenn die Card expanded ist, alles anzeigen */
.strategy-card.strategy-card.expanded .strategy-conditions {
    max-height: none;
    overflow: visible;
}

/* Optional: kleiner Abstand nach unten, damit Button nicht klebt */
.strategy-card.strategy-card--step5 .show-more {
    margin-bottom: 8px;
}



.show-more {
    color: var(--blue-glow);
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: right;
}

.badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
}


.highlighted-tier {
    background-color: #fdf8ef;
    border: 2px solid #b09958;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.badge-preset {
    /* background-color: #4caf50;*/
    background-color: var(--warm-accent-medium);
    color: black;
}

.badge-custom {
    /* background-color: #2196f3; */
    background-color: #c0b588;
    color: white;
}

.strategy-conditions {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0 20px 0;
    color: #555;
}

/* Tabs */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

div.toggle-container.visible-tabs {
    max-width: 1200px;
}


.indicator-tab.hidden {
    display: none;
}

.indicator-timeline {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px;
    margin-top: 10px;
}

.indicator-node {
    min-width: 180px;
    background-color: rgba(18, 20, 30, 0.95);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    backdrop-filter: blur(15px);
}

.indicator-node:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.indicator-triggered {
    border-color: #4caf50;
    background-color: rgba(18, 20, 30, 0.95);
}

.indicator-soon {
    border-color: var(--satin-bronze);
    background-color: rgba(18, 20, 30, 0.95);
}

.indicator-open {
    border-color: #ccc;
    background-color: rgba(18, 20, 30, 0.95);
}

.status-icon {
    font-size: 18px;
    margin-bottom: 4px;
    display: block;
}

.indicator-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #f8fafc;
    text-align: center;
}


.indicator-value {
    font-size: 0.9rem;
    margin-top: 2px;
    color: #555;
}

.indicator-status-label {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 4px;
}

.indicator-points {
    font-size: 0.85rem;
    color: #777;
    margin-top: 6px;
}


/* Coin-specific Table View */
.indicator-view-block {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.indicator-summary {
    flex: 0 0 240px;
    background-color: rgba(18, 20, 30, 0.95);
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    color: #f8fafc;
    /* Textfarbe einheitlich */
}


.indicator-summary h4 {
    margin-top: 0;
    font-size: 1.1rem;
    color: black;
}

.indicator-summary .info {
    font-size: 0.9rem;
    color: #444;
    margin-top: 6px;
}

.coin-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.coin-list-table th,
.coin-list-table td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.coin-list-table img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 4px;
}


#progress-bar-overview {
    background: linear-gradient(to right, #2b3540, #06b6d4) !important;
    border-radius: 5px;
    height: 8px;
    transition: width 0.4s ease;
}

.clickable {
    cursor: pointer;
}




#br-cc-tabs,
.visible-tabs {
    margin-top: 20px;
    margin-bottom: 20px;
    /* padding: 10px; */
    background: transparent;
    /* entfernt den abgesetzten Hintergrund */
    border: none;
    /* optional: entfernt äußeren Rand */
    box-shadow: none;
    /* optional: entfernt Schatten */
    display: flex;
    justify-content: space-between;
    /* verteilt die Buttons gleichmäßig */
    width: 100%;
    /* nimmt volle Breite des Containers */
    gap: 10px;
    /* optional: Abstand zwischen den Buttons */
}

.switch-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 10px;
}

.switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch-label {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}


/* Chart-Container für Vorschau und Modal */
.chart-container {
    width: 100%;
    min-height: 110px;
    height: 130px;
    border-radius: 8px;
    background: #faf9f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 12px;
}

@media (max-width: 700px) {
    .strategy-card {
        min-width: 95vw;
        max-width: 100vw;
        height: auto;
    }

    .chart-container {
        height: 120px;
        min-height: 70px;
    }
}

/* Fullscreen-Button Style */
.fullscreen-btn {
    background: whitesmoke;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    font-size: 1.1em;
    transition: background 0.15s;
}

.fullscreen-btn:hover {
    background: #f1efe7;
}

.app-container {
    background-color: white;
    /* padding: 30px; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}


.app-container.fullscreen .visible-tabs.toggle-container {
    position: static !important;
    box-shadow: none !important;
    /* falls du einen Schatten hast */
    top: auto !important;

}
/* Main-App Fullscreen */
.app-container.fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: #f8f7f2 !important;
    z-index: 10010;
    overflow-y: auto;
    box-shadow: none !important;
    padding: 30px 32px 32px 32px !important;
    padding-top: 0 !important;
    /* statt 30px */
    border-radius: 0 !important;

}

/* Grid Fullscreen */
.app-container.fullscreen .strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px 24px;
}

/* Fullscreen-Schließen-Button */
.fullscreen-exit-btn {
    position: fixed;
    top: 22px;
    right: 36px;
    z-index: 11000;
    background: #e9e6d6;
    border: none;
    border-radius: 7px;
    padding: 8px 16px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    transition: background 0.18s;
}

.fullscreen-exit-btn:hover {
    background: #f1efe7;
}

.app-container.fullscreen #fullscreen-btn {
    display: none !important;
}

#unmapped-section .remove-btn {
    background: none !important;
    color: #d32d2d; /* bleibt rot */
    /* box-shadow: none !important;
    padding: 0 !important;
    border: none !important; */
}

.button-row {
    display: flex;
    gap: 12px;
    justify-content: flex-end; /* oder flex-start/center nach Geschmack */
    margin-top: 14px;
}

.button-row button,
.button-row .button-primary {
    width: auto;
    min-width: 0;
    flex: 1 0 0;
    white-space: nowrap;
}
.button-row a {
    display: inline-block;
}

.button-row button,
.button-row .button-primary {
    flex: 1 1 0;
}


.custom-number-input {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.custom-number-input input.number-input {
    width: 75px;
    text-align: right;
    position: relative;
    top: 5px;
    padding: 4px 6px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-number-input .number-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.custom-number-input .number-btn:hover {
    background: #e0e0e0;
}

.counter-control {
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    padding: 2px 6px;
    font-size: 14px;
    border-radius: 4px;
    background: #eee;
    color: #444;
    border: 1px solid #ccc;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.counter-control:hover {
    background: #ddd;
    color: #222;
}


/* Honeypot: visually hidden, still in DOM */
input[name="website_bot_field"] {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Optional defense: make autofill unlikely */
input[name="website_bot_field"]::-webkit-contacts-auto-fill-button { visibility: hidden; display: none; }

a.button-primary.disabled {
    background: #ccc;
    border-color: #aaa;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
}

.pricing-table {
    table-layout: fixed;
    width: 100%;
}

.pricing-table th,
.pricing-table td {
    word-wrap: break-word;
    vertical-align: top;
}




/* Überschreibt die bestehenden Styles mit !important */
.section-container-a {
    max-width: 900px;
    margin: 5% auto !important;
    align-items: center;
    /* margin: 5% 5%; */
    /* # background-color: rgba(26, 29, 41, 0.9) !important; */
    /* backdrop-filter: blur(15px) !important; */
    background: rgba(11, 3, 3, 0.1);
    /* leicht transparent */
    backdrop-filter: blur(5px) !important;
    /* weicher Blur */
    -webkit-backdrop-filter: blur(5px) !important;
    /* Safari Suppor

    margin: 40px 0 !important;
    /* Mindestabstände, auch angepasst an mobile */
    /* statt z.B. 40px */
    /* border: 1px solid rgba(74, 158, 255, 0.1) !important; */
    border-radius: 12px;


    z-index: 1;
    position: relative;
    isolation: isolate;


    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 3% 2%;      /* Rundum 20px Innenabstand */
    box-sizing: border-box; /* inkl. Padding in die max-width rechnen */
}


/* Text in der section-container-a Box */
.section-container-a h1,
.section-container-a h2,
.section-container-a h3,
.section-container-a h4 {
    /* margin-top: 20px; */
    /* Abstand nach oben */
    margin-top: 0 !important;
    color: #f8fafc !important;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3) !important;
}

.section-container-a p {
    color: #cbd5e1 !important;
}

/* Alle Textelemente in der Box */

.section-container-a * {
    color: #cbd5e1;
}

div.info {
    color: #cbd5e1 !important;
}


.section-container-a strong {
    color: #f8fafc !important;
}


/* Pseudo-Element für den Rahmen */
.section-container-a::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;             /* Rahmendicke */
    background: linear-gradient(
            45deg,
            rgba(196, 100, 255, 0.3) 0%,
            rgba(54, 90, 200, 0.3) 50%,
            rgba(44, 168, 199, 0.3) 100%
    );
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Inhalt über dem Rahmen */

/* TOR20250716 commented this out since it lead to the tooltip not working!
.section-container-a > * {
  position: relative;
  z-index: 2;
}

 */



/* Content-Bereich nimmt alles außer Footer ein */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--text-primary);
}

.content-section {
    margin: 0;
    padding: 20px;
    /* Nur innen, nicht außen */
    background: transparent;
    /* Falls ein Hintergrund gesetzt ist */
    border: none;
    /* Falls ein Border gesetzt ist */
    color: var(--text-primary);
}

.content-section p{
    margin: 0;
    padding: 20px;
    /* Nur innen, nicht außen */
    background: transparent;
    /* Falls ein Hintergrund gesetzt ist */
    border: none;
    /* Falls ein Border gesetzt ist */
    color: var(--text-primary) !important;
}


form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(74, 158, 255, 0.2);
    /* Dein Theme-Border */
    background: transparent;
}

legend {
    margin: 0;
    padding: 0 10px;
}

table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    width: 100%;
}

td {
    margin: 0;
    padding: 2px;
    border: none;
}

tr {
    margin: 0;
    padding: 1%;
    padding-top: 0px;
    border: none;
}

.copy_clipboard_image {
    margin-left: 0.5%;
    filter: invert(1);
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary) !important;
    padding: 1%;
    border-top: 1px solid var(--warm-accent-light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: none;
}

.cookie-consent-banner p {
    color: var(--text-primary) !important;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-banner__message {
    flex: 1;
}

.cookie-consent-banner__message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-consent-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    display: none;
}

.text-muted {
    color: var(--silver-dark)
}

.link-box {
    z-index: 5 !important;
    /* margin-left: 5px; */
    /* margin: 1%; */
    /* float: right; */
    margin-right: 2%;
    margin-top: 5%;
    position: relative;
    float:right;
    background-color: var(--blue-dark);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 1rem;
    /* transition: background 0.2s ease, color 0.2s ease; */
}

.link-box a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 500;
}

.link-box a:hover {
    color: var(--warm-accent-light);
    text-decoration: underline;
}

.alert {
    /* background-color: #000; */
}

.alert-success {}

/* In styles.css */

/* 1. Grid-Container für Cards (USPs) */
.section-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 1%
}

/* 2. Grid-Container für Workflow */
.workflow-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 1%
}

/* 3. Card-Grundstil (USPs und Workflow) */
.section-card,
.workflow-step {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

/* 4. Icon-Abstand */
.section-card .icon,
.workflow-step .icon {
    font-size: 2em;
    margin-bottom: 12px;
}

/* 5. Überschrift in der Card */
.section-card h3,
.workflow-step h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #f8fafc;
}

/* 6. Fließtext in der Card */
.section-card p,
.workflow-step p {
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}

/* 7. CTA-Bereich unter den Sections */
.cta-container {
    text-align: center;
    margin-top: 16px;
}
.cta-note {
    font-size: 0.96rem;
    color: #94a3b8;
    margin-top: 8px;
}

/* 1. Basis-Container zentrieren und Abstände definieren */
.trust-stats {
    max-width: 900px;
    margin: 1%;            /* unten 30px, zentriert */
    padding-top: 15px;              /* Abstand nach oben */
}

/* 2. Flex-Grid für die vier Claims */
.trust-stats .stats-list {
    display: flex;
    justify-content: space-between; /* gleichmäßige Verteilung */
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* 3. Einzelner Claim */
.trust-stats .stats-item {
    flex: 1 1 140px;                /* wächst, schrumpft, mind. 140px */
    text-align: center;
}

/* 4. Icon-Styling */
.trust-stats .stats-item .icon {
    font-size: 1.7em;
    display: block;
    margin-bottom: 8px;
}

/* 5. Claim-Text */
.trust-stats .stats-item .label {
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.2;
}

/* 6. Responsive Adjustments */
@media (max-width: 600px) {
    .trust-stats .stats-item {
        flex: 1 1 100%;               /* auf kleinen Bildschirmen full-width */
    }
}

/* 1) Universelle Box-Hülle  */
.box-wrapper {
    background: rgba(15, 23, 42, 0.35);      /* dezente Glasfläche */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 158, 255, 0.18);
    border-radius: 14px;
    padding: 26px;
    margin: 40px auto;                       /* oben/unten 40 px, zentriert */
    max-width: 980px;                        /* einheitliche Breite */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-align: center;
}

/* 2) Optionaler Titel-mainAbstand in jeder Box  */
.box-wrapper > h2:first-child,
.box-wrapper > h1:first-child {
    margin-top: 0;
}

/* Bullet-Points in allen Karten/Boxen ausblenden */
.section-cards,
.section-cards li,
.workflow-cards,
.workflow-cards li,
.box-wrapper ul,
.box-wrapper li {
    list-style: none;   /* entfernt • */
    margin: 0;          /* kein zusätzlicher Einzug */
    padding: 0;         /* kein linker Innenabstand */
}



.itemTable-cell{
    background-color: var(--blue-dark) !important;
    color: var(--silver-2) !important;
}



.appselect option {
    background-color: var(--blue-dark);
    color: #fff;
}




.interval-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.button-secondary.interval-btn.active {
    /*
    background: var(--blue-dark-hover);
    position: relative;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);

     */
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.pricing-table {
    max-width: 1600px !important;
    border: 0.5px solid #234 !important;
    border-radius: 20px;
    border-collapse: separate;  /* wichtig für runde Ecken + Spaltengrenzen */
    border-spacing: 0;          /* verhindert doppelte Ränder */
    width: 100%;
    font-family: Arial, sans-serif;
    overflow: visible;
}

.pricing-table th,
.pricing-table td {
    border-left: 0.5px solid #234 !important;
    padding: 12px 20px;
    text-align: center;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    border-left: none; /* linker Rand bei erster Spalte entfällt */
}

.pricing-table th {
    font-weight: bold;
    border-bottom: none !important;
}

.pricing-table tr:not(:last-child) td{
    border-bottom: none !important; /* z. B. Linie nur zwischen den Spalten */
}

.pricing-table tr(:last-child) td{
border-bottom: 0.5px solid #234 !important; /* z. B. Linie nur zwischen den Spalten */
}

.pricing-table tr:hover td,
.pricing-table tr:hover th {
    background-color: var(--blue-dark) !important;
}

.pricing-table td {
    transition: background-color 0.4s ease !important;
}


div.ribbon {
    position: relative;
    top: -12px;
    right: -130px;
    width: 180px;
    background-color: #e63946;  /* kräftiges Rot */
    color: white;
    text-align: center;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 4px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
    pointer-events: none;
}


.pricing-tier {
    position: relative;
    overflow: visible; /* wichtig, damit das Badge rausstehen darf */
}

/* Ribbon absolut platzieren */
.ribbon {
    position: absolute;
    top: 12px;
    right: -40px;
    width: 140px;
    background-color: #e63946;
    color: white;
    text-align: center;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
    pointer-events: none;
}

button.button-primary.pricing-button{
    padding: 10px;
}


img.svg-color-flip {
    filter: invert(1);
}

a.step-nav {
    min-height: 60px;
}

/* Make the video scale within its container */
.video-container video,
.video-container .plyr {
width: 100%;
height: auto;
/* max-width: 800px;      /* tune for your layout */
}
.video-container {
display: grid;
place-items: start;    /* or center */
gap: 0.5rem;
}

/* Video wrapper is for cloudflare, which video-container is for plyr  */
  .video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;   /* oder 1 / 1 für Quadrat */
    background: #000;        /* optional */
    overflow: hidden;
      margin-bottom: 30px;
  }
  .video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }


/* Force dropdown menus to have dark background + white text */
.plyr__menu__container {
    background: #1e1e1e !important;  /* dark gray */
    color: #fff !important;
}

/* Menu items */
.plyr__menu__container .plyr__control {
    color: #fff !important;
}

/* Hover/focus state */
.plyr__menu__container .plyr__control:hover,
.plyr__menu__container .plyr__control[aria-expanded="true"] {
    background: #333 !important;
    color: #ffd700 !important; /* optional: gold highlight to match dein Style */
}
/* Timeline hover tooltips (the time label) */
.plyr__tooltip {
    background: #1e1e1e !important;  /* dark bg */
    color: #fff !important;          /* white text */
    border-radius: 4px;
    font-size: 13px;
    padding: 2px 6px;
}

/* Optional: arrow (the little pointer) */
.plyr__tooltip::before {
    border-top-color: #1e1e1e !important;
}

.plyr { width: 100%; }

/* Im Fullscreen keine Max-Breiten/-Höhen erben */
.plyr--fullscreen,
.plyr--fullscreen .plyr__video-wrapper {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
}

/* Video selbst soll Fläche ausfüllen, Seitenverhältnis bewahren */
.plyr--fullscreen video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* oder 'cover', wenn du randlos willst */
}

/* Falls dein Container begrenzt: im Fullscreen Grenzen aufheben */
.plyr--fullscreen .video-container,
.plyr--fullscreen #cmc-video {
    max-width: none !important;
}


.plyr--fullscreen .app-container,
.plyr--fullscreen .mainapp,
.plyr--fullscreen .video-container {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  padding: 0 !important;
}

div.video-guide-links {
    display: flex;
    justify-content: space-between; /* erster ganz links, zweiter ganz rechts */
    width: 100%;                    /* Container volle Breite */
    margin-top: 20px;               /* optionaler Abstand */
}

@media (max-width: 600px) {
    div.video-guide-links {
        flex-direction: column;
        gap: 12px;
    }
}

.text-left{
    text-align: left;
}


/* === Countdown (scoped) === */
.cd {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    /* Karte/Glas kommt von .box-wrapper */
}

.cd-segment {
    display: grid;
    align-content: center;
    justify-items: center;
    min-width: clamp(72px, 18vw, 150px);
    padding: 10px 8px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(74, 158, 255, 0.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.cd-value {
    font-size: clamp(40px, 10vw, 60px);
    line-height: 1;
    font-weight: 800;
    color: var(--text-primary, #f8fafc);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.cd-label {
    margin-top: 6px;
    font-size: clamp(11px, 2.6vw, 15px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.cd-sep {
    display: grid;
    align-items: center;
    padding: 0 4px;
    font-size: clamp(32px, 8vw, 64px);
    line-height: 1;
    color: var(--warm-accent-light, #b09958);
    user-select: none;
}

.cd-note {
    margin: 8px 0 0;
    font-size: 14px;
    color: #cbd5e1 !important;
    opacity: 0.95;
}

.cd-live {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.35);
    color: #d1fae5;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* subtle tick animation on second change */
.cd-tick { animation: cd-tick 180ms ease-out; }
@keyframes cd-tick {
    0% { transform: scale(1.00); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1.00); }
}

/* Mobile: tighten separators */
@media (max-width: 420px) {
    .cd-sep { padding: 0; }
}


.share-btn{
    max-width: 25px;
    background: none;
    border: none;
        padding: 4px 6px 4px 4px;
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
}

/*
.share-btn {
    background: none;
    border: none;
    padding: 4px 6px 4px 4px;
    margin-left: 10px;
    color: #b09958;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;

    border-radius: 50%;
}
.share-btn:hover,
.share-btn:focus {
    opacity: 1;
    color: #d9b655;
}
*/


.tiles-2x3.section-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 900px) {
    .tiles-2x3.section-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .tiles-2x3.section-cards { grid-template-columns: 1fr; }
}
.tile-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 80px;
    margin-bottom: 10px;
    background: rgba(15,23,42,0.35);

}
.section-card small.subtitle { display: block; margin-top: 8px; }

.section-card {
    /* smoother + flüssiger */
    transition: transform 320ms cubic-bezier(.22,.61,.36,1),
                box-shadow 320ms ease;
    will-change: transform;
    backface-visibility: hidden;
    transform-origin: center center;
    cursor: pointer;
}

.section-card:hover,
.section-card:focus-visible {
    transform: translateY(-2px) scale(1.045);
    box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

/* optional: noch sanfter beim Loslassen */
.section-card:active {
    transform: translateY(0) scale(1.02);
}

/* optional: respektiert Systemeinstellung „Bewegung reduzieren“ */
@media (prefers-reduced-motion: reduce) {
    .section-card {
        transition: none;
    }
}


a.section-card ,
a.section-card a:visited {
    text-decoration: none !important;
    color: inherit; /* übernimmt deine Überschrift-Farbe */
}

a.section-card a:hover {
    text-decoration: none !important;
}

#widgets-container {
    max-width: 100% !important;
    margin: 0 auto;
    width: 800px !important;
}


.register-text-input, .login-text-input{
    width: 350px;
}

.form-row input[name="newsletter"]
{
    margin-top: 0px;
}

.form-row input[name="tos"]{
    margin-bottom: 5px;
}


/* === FAQ: 2-Spalten-Layout === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;          /* Reihen- und Spaltenabstand */
  align-items: start;
}

/* Stacked auf kleineren Screens */
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* einzelne FAQ-Karte – optisch kompatibel zu deinem Theme */
.faq-item {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(74, 158, 255, 0.18);
  border-radius: 12px;
  padding: 4px 12px;
}

/* Titel etwas größer; nutzt deine vorhandenen summary-Styles */
.faq-item summary {
  font-size: 1.05rem;
  line-height: 1.35;
}

/* leichter Akzent, wenn geöffnet */
.faq-item[open] {
  border-color: rgba(74, 158, 255, 0.4);
}

/* optional: Innenabstand für Content */
.faq-item > *:not(summary) {
  margin-top: 6px;
}

.large-bordered-image{
    border-radius: 50px;
}


.small-bordered-image{
    border-radius: 30px;
}


.about-us-team-subheading{
margin-top: 6px;
margin-bottom: 0px;
}

.about-us-team-text{
    margin-top: 0px;
}

ul.keep-bullets { list-style: disc !important; padding-left: 1.25rem; margin: 0.25rem 0; }
ol.keep-bullets { list-style: decimal !important; padding-left: 1.25rem; margin: 0.25rem 0; }
li.keep-bullets { list-style: inherit !important; }

.team-item--compact {
  display: flex;
  align-items: center;
  gap: 12px;
}
.team-item--compact img { flex: 0 0 auto; }
.team-item--compact .team-text {
  display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto;
}
.team-item--compact h3 {
  margin: 0;
  text-align: left !important; /* überschreibt globales Centering */
  font-size: 1.15rem;
  line-height: 1.25;
}

img.small-faq-image {
    display: block;       /* entfernt inline-image baseline effects */
    align-self: flex-start; /* falls der Container flex ist → Bild nach oben */
}


/* --- Dropdown Nav --- */
.nav-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-tools .has-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-tools .nav-link {
    display: inline-block;
    padding: 8px 0 8px 20px;
}

.nav-tools .dropdown-toggle {
    /* kleines Caret rechts neben dem Hauptlink */
    inline-size: 20px;
    block-size: 20px;
    margin-left: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    /* Icon (▼) via before */
}
.nav-tools .dropdown-toggle::before {
    content: "▾";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: var(--text-primary);
    opacity: 0.9;
}
.nav-tools .dropdown-toggle:hover::before,
.nav-tools .dropdown-toggle:focus::before {
    color: var(--warm-accent-light);
}

/* Das Dropdown-Panel */
.nav-tools .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px;
    margin-top: 0;
    background: rgba(18, 20, 30, 0.98); /* passend zu deinem Dark-Glassmorphism */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74,158,255,0.2);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    display: none;
    z-index: 1002;
}

/* Items im Dropdown */
.nav-tools .dropdown-item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-primary) !important;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, text-shadow 0.15s ease;
}
.nav-tools .dropdown-item:hover,
.nav-tools .dropdown-item:focus {
    background: rgba(74,158,255,0.12);
    color: var(--warm-accent-light) !important;
    text-shadow: 0 0 8px rgba(74,158,255,0.5);
}

/* Hover/Fokus öffnet Dropdown (Desktop & Tastatur) */
.nav-tools .has-dropdown:hover > .dropdown,
.nav-tools .has-dropdown:focus-within > .dropdown,
.nav-tools .has-dropdown.open > .dropdown { /* .open = per JS (Mobile/Touch) */
    display: block;
}

/* Optional: leicht nach rechts versetzte Submenüs */
.nav-tools .has-dropdown .dropdown {
    transform-origin: top left;
    animation: dd-fade 120ms ease-out;
}

.nav-tools .has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 10px;       /* Größe des Puffers – ggf. 6–12px feinjustieren */
    /* kein background – unsichtbar */
}

@keyframes dd-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive: auf kleineren Screens Dropdown vollbreiter "Sheet"-Look */
@media (max-width: 768px) {
    .nav-tools {
        gap: 0;
        flex-wrap: wrap;
    }
    .nav-tools .has-dropdown {
        width: 100%;
    }
    .nav-tools .has-dropdown > .dropdown {
        position: static;
        width: 100%;
        margin: 6px 0 12px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }
    .nav-tools .dropdown-item {
        width: 100%;
    }
}

/* === Screenshot Carousel === */
.screenshot-carousel {
  position: relative;
  max-width: 900px;
  margin: 24px auto;
  padding: 12px 48px;                /* Platz für Pfeile */
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(74,158,255,0.20);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    isolation: isolate;
}

.sc-viewport {
  overflow: hidden;
    border-radius: 12px;
}

.sc-track {

  position: relative;

  border-radius: 12px;          /* Rundungen hier definieren */
  overflow: visible;

  display: flex;
  gap: 14px;
  transition: transform 360ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
  padding: 6px 0;
  margin: 0;
  list-style: none;

}

.sc-slide {
  flex: 0 0 calc(33.333% - 9.3px);
  border-radius: 12px;
    position: relative;
  background: rgba(18,20,30,0.95);
  border: 1px solid rgba(74,158,255,0.20);
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.sc-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;        /* erzwingt 2:1-Kacheln */
  object-fit: contain;        /* nichts wird abgeschnitten */
    background-color: rgb(30, 26, 26);   /* Discord-Dunkel */
  display: block;
    border-radius: inherit;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

/*
.sc-slide:hover img {
  transform: scale(1.2);
  filter: contrast(1.05) saturate(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}


 */

.sc-slide:hover {
  z-index: 50;                 /* über Nachbarn */
  transform: scale(1.07);      /* feinjustierbar (1.08–1.2) */
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  filter: contrast(1.05) saturate(1.02);
    border-radius: inherit;
}



/* Pfeile */
.sc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inline-size: 40px;
  block-size: 40px;
  border-radius: 50%;
  border: 1px solid rgba(74,158,255,0.30);
  background: rgba(15,23,42,0.75);
  color: var(--text-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  z-index: 100;
}

.sc-btn:hover { transform: translateY(-50%) scale(1.06); border-color: rgba(74,158,255,0.60); }
.sc-btn:active { transform: translateY(-50%) scale(0.98); }

.sc-btn-prev { left: 8px; }
.sc-btn-next { right: 8px; }

/* Dots */
.sc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.sc-dots button {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 999px;
  background: rgba(74,158,255,0.35);
  border: none;
  cursor: pointer;
}
.sc-dots button[aria-current="true"] {
  background: var(--warm-accent-light);
}

@media (max-width: 5000px) {
  .sc-slide { flex-basis: calc(50% - 7px); }    /* 2 sichtbar */
}
@media (max-width: 760px) {
  .screenshot-carousel { padding: 10px 36px; }
  .sc-slide { flex-basis: 100%; }               /* 1 sichtbar */
}


.bleed-out {
  /* bricht aus dem 960px-Container aus und nutzt die volle Viewport-Breite */
  width: 100vw;
  max-width: 1600px;                 /* Cap, damit es nicht zu breit wirkt */
  margin-left: 50%;
  transform: translateX(-50%);
    padding-inline: 48px;
  /* Pfeil-Padding kannst du lassen; passt sich an */
}

.bleed-out-center {
  /* bricht aus dem 960px-Container aus und nutzt die volle Viewport-Breite */
  width: 100vw;
  max-width: 1600px;                 /* Cap, damit es nicht zu breit wirkt */
    padding-inline: 48px;
  /* Pfeil-Padding kannst du lassen; passt sich an */
}



/* Text tiles inside slides */
.sc-slide {
  /* already has: border-radius, bg, border, shadow, transition */
}

.sc-tile {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 16px 18px;
  min-height: 220px;                 /* Höhe der Kachel */
  /* background: rgb();       /* Discord-like */
  border-radius: inherit;            /* übernimmt Rundung von .sc-slide */
}

.sc-tile-title {
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.sc-tile-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary, #cbd5e1);
  margin: 0;
}

.sc-tile-meta {
  font-size: 0.85rem;
  opacity: .8;
  color: var(--text-secondary, #cbd5e1);
}

/* Optional: CTA-Button in Kachel */
.sc-tile .sc-btn-inline {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(74,158,255,0.35);
  background: rgba(15,23,42,0.6);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sc-tile .sc-btn-inline:hover { transform: translateY(-1px); border-color: rgba(74,158,255,0.6); }


br.big-break {
    display: block;
    margin-bottom: 1em; /* oder px-Wert */
    content: "";
}



html { scroll-behavior: smooth; }


.no-li-item{
    list-style: none;
    padding-left: 10px;
  margin-left: 0;
}


.mt-100 { margin-top: 100px !important; }




/* NEU AB HIER */

/* Basislesbarkeit & Scaling */
html { font-size: 16px; line-height: 1.5; }
body { -webkit-text-size-adjust: 100%; }

/* Medien nie breiter als Container */
img, video, iframe { max-width: 100%; height: auto; display: block; }

/* Verhindere horizontales Scrollen durch volle-Viewport-Elemente */
html, body { overflow-x: hidden; }


/* --- Mobile nav override (ganz ans Ende der CSS-Datei!) --- */
@media (max-width: 900px) {
  /* Große Linkleisten ausblenden */
  .navbar .nav-tools,
  .navbar .nav-links-right {
    display: none !important;
  }

  /* Hamburger zeigen */
  .navbar .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    font-size: 1.6rem;
    line-height: 1;
  }

  /* Logo & Brand eng nebeneinander */
  .navbar .logo { max-height: 40px; height: auto; }
  .navbar .nav-left { gap: 8px; }
}

/* Drawer über allem + Body lock */
.mobile-drawer { z-index: 1000 !important; }
.mobile-drawer-backdrop { z-index: 999 !important; }
.no-scroll { overflow: hidden !important; }


/* Mobile Navbar: Logo mittig, Hamburger links */
@media (max-width: 900px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
  }

  .nav-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .mobile-nav-toggle {
    position: absolute;
    left: 0;
  }

  .logo-container {
    margin: 0 auto;
  }

  .nav-brand { display: none; } /* Nur Logo, kein Text */
}

.drawer-group { margin-bottom: 10px; }
.drawer-toggle {
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 10px;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
}
.drawer-submenu {
  display: none;
  flex-direction: column;
  padding-left: 12px;
}
.drawer-submenu a { padding: 6px 0; font-size: 0.95rem; }
.drawer-group.open .drawer-submenu { display: flex; }


/* Checkbox-Labels: responsive max-width */
.centered-container .form-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
  width: 100%;
  max-width: 350px;  /* Desktop-Deckel */
}

/* Checkbox auf gleiche Linie */
.centered-container .checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  flex: 0 0 auto;
}

/* Mobile: volle Breite nutzen */
@media (max-width: 600px) {
  .centered-container .form-label {
    max-width: 100%;
  }
}

/* Standard: Mobile-Only Elemente ausblenden */
.mobile-only { display: none; }

/* Control-Center-Navi und Tabs auf Mobile ausblenden, Dropdown zeigen */
@media (max-width: 900px) {
  /* include bullrun_control_center_nav.html */
  #br-cc-tabs { display: none !important; }
  /* Desktop-Tab-Leiste */
  #tag-tabs   { display: none !important; }
  /* Mobile Dropdown stattdessen zeigen */
  .mobile-only { display: block !important; }
}

/* Styling für das Dropdown */
.tag-select-wrapper { margin: 10px 0 16px; }
.tag-select {
  width: 100%;
  max-width: 480px;      /* Desktop-Deckel */
  padding: 12px 10px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary, #fff);
}
.tag-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(176,153,88,0.35);
}


/* 3) Nur auf dieser Seite: echtes Tabellenlayout reaktivieren */
.page-portfolio #portfolio-table {
  display: table;          /* überschreibt globales display:block */
  /* overflow: visible;       /* keine unnötige Scrollbar erzwingen */
  width: 100%;
  table-layout: fixed;     /* gleichmäßigere Spaltenbreiten */
      margin: 0 auto;
}


/* 5) Erste Spalte (Icons) und CMC-/Action-Spalten haben feste Breite,
      damit die Tabelle optisch mittig wirkt und nicht "links zieht" */
.page-portfolio #portfolio-table col.icon      { width: 36px; }
.page-portfolio #portfolio-table col.name      { width: 200px; }
.page-portfolio #portfolio-table col.cmc       { width: 44px; }
.page-portfolio #portfolio-table col.action    { width: 44px; }


/* Mobile: Tabelle darf breiter als Viewport sein → horizontal scrollen */
@media (max-width: 900px) {
  .page-portfolio #portfolio-table {
    min-width: 860px;     /* genug Breite für 10–11 Spalten */
    table-layout: auto;   /* natürlicher Fluss statt fixed */
  }
  /* Lesbarkeit: Meiste Zellen nicht umbrechen, Name darf umbrechen */
  .page-portfolio #portfolio-table th,
  .page-portfolio #portfolio-table td {
    white-space: nowrap;
  }
  .page-portfolio #portfolio-table td[data-name],
  .page-portfolio #portfolio-table .name {
    white-space: normal;
  }
}

.page-portfolio .table-scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 800px) {
    /* === Coin-Indikatoren: Table mobil scrollbar machen === */
    .indicator-view-block {
        align-items: stretch; /* statt nur flex-start, damit die Höhe passt */
        gap: 16px;
        flex-wrap: wrap; /* bleibt, damit auf Mobile gestapelt wird */
    }

    /* Rechter Bereich, der die Tabelle hält */
    .indicator-view-block .table-wrap {
        flex: 1 1 0;
        min-width: 0; /* WICHTIG: erlaubt Schrumpfen im Flex-Container */
        overflow-x: auto; /* horizontaler Scroll auf dem Wrapper */
        -webkit-overflow-scrolling: touch; /* smooth scroll auf iOS/Android */
    }

    /* Semantik für die Tabelle wiederherstellen und Breite erzwingen */
    .table-wrap .coin-list-table {
        display: table; /* überschreibt globales display:block für table */
        width: max-content; /* wird so breit wie der Inhalt -> erzeugt Overflow */
        min-width: 520px; /* kleiner Deckel, damit es sicher Overflow gibt */
        table-layout: auto;
    }

    /* Erste Spalte darf nicht zu stark quetschen, aber auch umbrechen */
    .coin-list-table td:first-child,
    .coin-list-table th:first-child {
        white-space: nowrap; /* Icons + Name in einer Zeile halten */
    }
}

/* Auf sehr kleinen Screens beide Spalten full-width untereinander */
@media (max-width: 700px) {
  .indicator-summary { flex: 1 1 100%; }
  .indicator-view-block .table-wrap { flex: 1 1 100%; }
}

/*
.strategy-card button{
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}


 */

/* Pricing-Table: echtes Tabellenlayout + Scroll über den Wrapper, nicht die Tabelle */
.pricing-table {
  display: table !important;
  table-layout: fixed;
  width: 100%;
  overflow: visible !important; /* keine eigene Scrollbar in der Tabelle */
}

#pricing-table-container {
  overflow-x: auto;     /* Scrollbar sitzt am Container */
  -webkit-overflow-scrolling: touch;
}

/* Optional: Kopf- und Body-Spalten akkurater ausrichten */
.pricing-table thead, .pricing-table tbody {
  display: table-row-group; /* falls etwas anderes überschreibt */
}
.pricing-table tr  { display: table-row;    }
.pricing-table th,
.pricing-table td  { display: table-cell;   }


/* Desktop: Tabelle sichtbar, Cards aus */
.pricing-cards { display: none; }

/* Mobile: Cards untereinander, Tabelle aus */
@media (max-width: 800px) {
  .pricing-table { display: none !important; }
  .pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-card {
    background: rgba(18, 20, 30, 0.95);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
  .pricing-card.recommended {
    border-color: #b09958;
    box-shadow: 0 0 0 2px rgba(176,153,88,0.25) inset;
  }
  .pricing-card__header {
    display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px;
  }
  .pricing-card__badge {
    background: var(--warm-accent-medium);
    color: #000; border-radius: 999px; padding: 2px 8px; font-size: .85rem;
  }
  .pricing-card__price .old { color:#888; text-decoration: line-through; }
  .pricing-card__price .current { font-size: 1.4rem; margin: 4px 0; }
  .pricing-card__price .per { color:#999; font-size:.95rem; }
  .pricing-card__features { list-style:none; padding:0; margin:12px 0; display:flex; flex-direction:column; gap:6px; }
  .pricing-card__features .feature-row { display:flex; justify-content:space-between; gap:12px; }
  .pricing-card__features .feature-row.muted { opacity:.55; }
  .pricing-card__cta { margin-top: 12px; display:flex; }
  .pricing-card__cta .disabled { pointer-events:none; opacity:.5; }
}

/* MOBILE: Feature-Zeilen in den Pricing-Cards 50/50 (links Label, rechts Wert) */
@media (max-width: 800px) {
  .pricing-cards .pricing-card .pricing-card__features .feature-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* exakt 50/50 */
    align-items: center;
    gap: 8px;
  }
  .pricing-cards .pricing-card .pricing-card__features .feature-name {
    justify-self: start;
    text-align: left;
    overflow-wrap: anywhere;     /* lange Labels umbrechen statt schieben */
    padding-right: 6px;
  }
  .pricing-cards .pricing-card .pricing-card__features .feature-value {
    justify-self: end;
    text-align: right;
    white-space: nowrap;         /* Werte/Icons rechts bündig, nicht umbrechen */
    overflow: hidden;
    text-overflow: ellipsis;     /* falls doch zu lang */
    padding-left: 6px;
  }
}

/* === FIX: Mobile-Feature-Zeilen sauber zweispaltig, ohne Überlappungen === */
@media (max-width: 800px) {
  /* 1) Elternliste nicht mehr als Flex, sonst „kämpft“ sie gegen Grid in den Zeilen */
  .pricing-cards .pricing-card .pricing-card__features {
    display: block !important;
    gap: 0 !important;                 /* Gap kommt über Zeilen-Padding */
  }

  /* 2) Jede Zeile = 2-Spalten-Grid (50/50) */
  .pricing-cards .pricing-card .pricing-card__features .feature-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;    /* exakt 50/50 */
    align-items: start;
    column-gap: 12px;
    row-gap: 6px;
    padding: 8px 0;
  }

  /* 3) Spalten robust: Block-Level, normaler Zeilenumbruch, darf umbrechen */
  .pricing-cards .pricing-card .pricing-card__features .feature-name,
  .pricing-cards .pricing-card .pricing-card__features .feature-value {
    display: block;
    line-height: 1.35;
    white-space: normal !important;    /* überschreibt evtl. frühere nowraps */
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;            /* falls sehr lange Wörter/Werte */
  }

  .pricing-cards .pricing-card .pricing-card__features .feature-name {
    text-align: left;
    justify-self: start;
    padding-right: 6px;
  }

  .pricing-cards .pricing-card .pricing-card__features .feature-value {
    text-align: left;
    justify-self: end;
    padding-left: 6px;
  }
}

/* Abstand in den Zellen */
.summary-table.history-table th,
.summary-table.history-table td {
    padding-right: 22px; /* Innenabstand: oben/unten 12px, rechts/links 16px */
}

.summary-table th,
.summary-table td {
    white-space: nowrap;              /* Verhindert Umbrüche im Header */
}

.td-flex {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}


.truncate16 {
    max-width: 16ch;       /* ca. 16 Zeichen breit */
    overflow: hidden;
    text-overflow: ellipsis;
}


/* --- Live Event Banner --- */
.site-banner {
  /* width: 100%;  */
  /* volle Breite des Viewports */
  background: linear-gradient(90deg, rgba(15,23,42,0.95), rgba(26,29,41,0.95));
  border-bottom: 1px solid rgba(74, 158, 255, 0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  position: relative;
  z-index: 998; /* unter dem Mobile-Drawer (999/1000), über dem Content */
}

.site-banner .banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.banner-eyebrow {
  background: var(--warm-accent-medium);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.banner-text {
  color: #e5e7eb;
  font-size: 0.98rem;
}


.banner-close {
  background: transparent;
  border: 0;
  color: #cbd5e1;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.banner-close:hover { color: #fff; }

@media (max-width: 900px) {
  .site-banner .banner-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "text close"
      "cta  cta";
    row-gap: 8px;
  }
  .banner-eyebrow { display: none; }
  .banner-text   { grid-area: text; font-size: 0.96rem; }
  .banner-cta    { grid-area: cta; justify-self: stretch; text-align: center; }
  .banner-close  { grid-area: close; }
}






/* === Breiter Container für Pricing ====================================== */
/* Erweitert deine bisherige 1600px-Grenze nur für den Pricing-Bereich */
.pricing-wrap {
  width: 100%;
  max-width: min(92vw, 1880px); /* groß, aber noch responsiv */
  margin: 0 auto;
}

/* Optional: Full-bleed Variante, wenn du wirklich jeden Pixel willst
.pricing-wrap.pricing-wrap--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
*/

/* === Pricing Grid – weniger Umbrüche, größere Karten ==================== */
/* Standard: auto-fit mit großer Mindestbreite => breite Karten, 1–3 Spalten */
.pricing-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); /* <- größere Mindestbreite */
}

/* „Zwei Spalten erzwingen“ (Breit-Modus) */
@media (min-width: 1024px) {
  .pricing-grid.pricing-grid--two {
    grid-template-columns: repeat(2, minmax(520px, 1fr)); /* richtig breite Karten */
  }
}

/* Für sehr große Screens können wir noch leicht vergrößern */
@media (min-width: 1600px) {
  .pricing-grid {
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  }
}

/* === Card Basis (wie zuvor, kleine Feinheiten für weniger Umbrüche) ===== */
.pricing-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(18, 20, 30, 0.95);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 16px;
  padding: 24px 26px 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 158, 255, 0.4);
  box-shadow: 0 10px 34px rgba(0,0,0,0.35), 0 0 18px rgba(74,158,255,0.12);
}

/* Highlight */
.pricing-card.is-recommended {
  background-color: rgba(168, 143, 124, 0.10);
  border: 2px solid #a88f7c;
  box-shadow: 0 0 14px rgba(168, 143, 124, 0.28);
}

/* Header */
.pricing-card__header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 12px;
}
.pricing-card__title {
  margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: .2px;
  color: var(--text-primary, #f8fafc);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Titel bricht seltener */
}
.pricing-card__badge {
  background: var(--warm-accent-medium);
  color: #000; border-radius: 999px; padding: 5px 12px;
  font-size: .82rem; font-weight: 800;
}

/* Preisbereich */
.pricing-card__price { margin: 8px 0 12px; }
.pricing-card__price .old { text-decoration: line-through; opacity: .6; font-size: 1rem; }
.pricing-card__price .current { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-top: 2px; }
.pricing-card__price .per, .pricing-card__price .savings {
  display: inline-block; font-size: 1rem; opacity: .85; margin-top: 4px; margin-right: 10px;
}

/* Features – etwas größere Zeilenhöhe und weniger Umbrüche */
.pricing-card__features { list-style: none; margin: 12px 0 0; padding: 0; }
.pricing-card__features li {
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; margin: 8px 0;
  color: #cbd5e1;
}
.pricing-card__features li::before { content: "•"; opacity: .9; margin-top: 2px; }

/* CTA – Button darf umbrechen, aber mit angenehmer Optik */
.pricing-card__cta { margin-top: auto; display: flex; gap: 10px; }
.pricing-card__cta .button-primary {
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 14px 18px;
  font-size: 1.02rem;
}

/* Disabled */
.pricing-card__cta a.disabled, .pricing-card__cta .button-primary.disabled {
  pointer-events: none; opacity: .5; cursor: not-allowed;
}

/* Optionales Ribbon */
.pricing-card .ribbon {
  position: absolute; top: 12px; right: -40px; width: 140px;
  background-color: #e63946; color: #fff; text-align: center;
  font-size: 0.78rem; font-weight: 800; padding: 4px 0;
  transform: rotate(45deg); box-shadow: 0 2px 4px rgba(0,0,0,.3); z-index: 5; pointer-events: none;
}

/* Farben vererben */
.pricing-card, .pricing-card * { color: var(--text-primary, #f8fafc); }
.pricing-card p, .pricing-card span, .pricing-card li { color: #cbd5e1; }


/* OVERRIDE: Pricing-Seite darf breiter sein als die generischen 960px */
.mainapp.pricing-wrap {
  max-width: min(95vw, 1880px) !important; /* überschreibt .mainapp:960px */
  width: 100%;
}

/* Das Grid bleibt breit – 3 Karten, wenn Platz ist */
.pricing-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
}
@media (min-width: 1600px) {
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); }
}


/* Grid: automatisch so viele Karten wie passen, jede max. 500px */
.pricing-grid {
  display: grid;
  gap: 24px;
  align-items: start;
  justify-content: center; /* Karten mittig, wenn weniger passen */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Jede Karte capped auf 500px */
.pricing-card {
  max-width: 500px;
  width: 100%;
  min-width: 0; /* wichtig fürs Shrinking */
}

.pricing-card__features { list-style: disc; padding-left: 1.2rem; }
.pricing-card__features li::before { content: none; } /* falls vorher gesetzt */

/* === PRICING LAYOUT: exakt 3 Spalten ab breitem View, sonst 1 === */
.pricing-grid,
.pricing-grid.pricing-grid--3-1 {
  display: grid;
  gap: 24px;
  align-items: stretch;     /* Items füllen die Zeilenhöhe */
  justify-content: center;  /* Grid mittig ausrichten */
}

/* Desktop/Breit: exakt 3 Spalten à 500px */
@media (min-width: 1500px) {
  .pricing-grid,
  .pricing-grid.pricing-grid--3-1 {
    grid-template-columns: repeat(3, 500px);
  }
}

/* Darunter: direkt 1 Spalte (kein 2er-Zwischenschritt) */
@media (max-width: 1599.98px) {
  .pricing-grid,
  .pricing-grid.pricing-grid--3-1 {
    grid-template-columns: 1fr;
  }
}


/* Kartenbreite: "fix" 500px. In der 1-Spalten-Ansicht darf sie auf 100% gehen. */
.pricing-card {
  width: 500px;        /* fix im 3-Spalten-Layout */
  max-width: 100%;     /* darf in der 1-Spalte nicht aus dem Viewport ragen */
  height: 100%;        /* wichtig für "gleich hohe Karten" im Grid */
  display: flex;       /* für sauberes Vertikal-Layout */
  flex-direction: column;
}

/* Header: Titel darf umbrechen, Badge nie umbrechen */
.pricing-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Wrapping erlauben, damit der Titel mehrzeilig werden kann,
     das Badge kann (falls zu eng) in die nächste Zeile springen – aber sein Text umbrecht NICHT. */
  flex-wrap: wrap;
}

/* Titel: kein Ellipsis, echtes Umbrechen */
.pricing-card__title {
  margin: 0;
  font-weight: 700;
  white-space: normal;     /* <-- statt nowrap */
  overflow: visible;       /* Ellipsis/Clipping aus */
  text-overflow: clip;     /* Sicherheitshalber */
}

/* Badge: niemals innerhalb des Badges umbrochen werden */
.pricing-card__badge {
  white-space: nowrap;     /* <-- Kernanforderung */
  display: inline-block;
  max-width: 100%;
}


/* Preis-/Features-/CTA-Abschnitte sollen sich harmonisch verteilen */
.pricing-card__price { margin-bottom: 12px; }
.pricing-card__features { margin-top: 12px; }

/* CTA immer nach unten drücken */
.pricing-card__cta {
  margin-top: auto;          /* drückt CTA an das Kartenende */
  display: flex;
}

.pricing-card__cta .button-primary {
  width: 100%;
}


/* <= 1499px: exakt eine Spalte, mittig */
@media (max-width: 1599.98px) {
  .pricing-grid,
  .pricing-grid.pricing-grid--3-1 {
    /* Eine Spalte mit fixer Maxbreite – die Spalte selbst wird zentriert */
    grid-template-columns: min(100%, 500px);
    justify-content: center;   /* zentriert die(n) Grid-Track */
    justify-items: center;      /* fallback: zentriert Items innerhalb des Tracks */
  }

  /* Card darf schmaler als 500px werden (kleine Phones), bleibt aber bei 500px gedeckelt */
  .pricing-card {
    width: 100%;
    max-width: 500px;
  }
}


/* Preisbereich: gleiche Höhe für alle Tiers */
.pricing-card__price {
  margin: 8px 0 12px;
  min-height: 130px;   /* Höhe angleichen – je nach Bedarf anpassen */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* Single-Card-Layout: Karte auch auf breiten Screens zentrieren */
.pricing-grid.pricing-grid--single {
  display: grid;
  grid-template-columns: min(100%, 500px); /* eine Spalte, max. 500px breit */
  justify-content: center;                 /* zentriert den Grid-Track */
  justify-items: center;                   /* zentriert das Item innerhalb des Tracks */
  gap: 24px;
}

/* Karte darf im Single-Layout flexibel werden, bleibt aber gedeckelt */
.pricing-grid--single .pricing-card {
  width: 100%;
  max-width: 500px;      /* ggf. deinen Card-Cap hier spiegeln */
  margin: 0 auto;        /* zusätzliche Sicherheit für Zentrierung */
  height: 100%;
}

.calendly-inline-widget iframe{
    height: 100% !important;
}


/* Weiches Scrollen zu #special-offer */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

span.black-text{
    color: #000000;
}
small.gray-text{
    color: #444444 !important;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10050;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  /* Nutzt dein Dark-Theme + warme Akzente */
  background: linear-gradient(135deg, var(--warm-accent-medium), var(--warm-accent-light));
  color: #0b0e14; /* guter Kontrast auf warmem Verlauf */
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(0,0,0,0.2);
}

.sticky-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}

.sticky-cta .sticky-sub {
  opacity: 0.9;
  font-weight: 600;
}

/* Auf Mobile als Bottom-Bar */
@media (max-width: 700px) {
  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    border-radius: 14px;
    padding: 14px 16px;
  }
}

/* Optional: dezenten Teaser-Link stylen */
.jump-offer { font-weight: 600; text-decoration: underline; }
.jump-offer:hover { text-underline-offset: 2px; }

.validation-table th, td {
    padding-left: 10px;
    padding-right: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}


.row-modified {
  outline: 1px solid rgba(120,160,255,0.6);
  background: rgba(120,160,255,0.06);
}
.row-deleted {
  outline: 1px solid rgba(120,160,255,0.6);
  background: rgba(120,160,255,0.06);
}

.edit-icon {
  cursor: pointer;
  opacity: 0.7;
}
.edit-icon:hover {
  opacity: 1;
}

.row-check {
  cursor: pointer;
  transform: scale(1.1);
}

#sv-mappingTable {
    table-layout: fixed;
    width: 100%;
}

#sv-mappingTable th:nth-child(2),
#sv-mappingTable td:nth-child(2) {
    padding: 0;              /* WICHTIG */
    text-align: center;
}
#sv-mappingBody {
    overflow-y: scroll; /* IMMER Scrollbar */
    overflow: visible;
}
#sv-mappingBody, td, tr {
    overflow: visible; /* Wichtig: Verhindert, dass das Dropdown abgeschnitten wird */
}
html {
    scrollbar-gutter: stable;
}

.mapping-img {
    width: 22px;
    height: 22px;
    display: block;          /* verhindert Inline-Spacing */
    margin: auto;
}

td.img-col {
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    text-align: center;
}

.action-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 22px;
  white-space: nowrap;

  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: bold;

  border: 1px rgba(255, 255, 255, 0.3) !important;
  box-sizing: border-box;
  text-transform: none;
}
.action-badge:hover {
    background: #1e293b;
  border: 1px solid #ffffff !important;
  color: white;
}

.mapping-table td {
  vertical-align: middle;
    overflow: visible;
}

.conf-action-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}

.table-wrap{
  display:flex;
  justify-content:center;
}

#portfolio-list{
  width: min(900px, 100%) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}






.loading-container {
    text-align: center;
    margin-top: 20px;
}




table.admin-panel td, th{
    padding-right: 15px !important;
}






/* Zweifach-Toggle (Segmented Control) */
.toggle-group {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9); /* Dark-Background wie dein Theme */
    border: 1px solid rgba(74, 158, 255, 0.35);
    gap: 2px;
}

/* Radio-Inputs verstecken, wir klicken nur noch auf die Labels */
.toggle-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Basisstil für beide Optionen */
.toggle-group .toggle-option {
    padding: 6px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: nowrap;
    user-select: none;
    color: #cbd5e1; /* wie dein normaler Text */
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Checked-Zustand stylen: aktive Seite des Toggles */
.toggle-group input[type="radio"]:checked + .toggle-option {
    background: var(--warm-accent-medium);
    color: var(--bg-primary);
    box-shadow: 0 0 10px rgba(176, 153, 88, 0.5);
    font-weight: 600;
}






/* ===========================
   FUNNEL FLOW STYLES
============================ */

/* Grundlayout für den Funnel-Bereich */
.funnel-main {
    padding: 24px 0 40px;
}

/* Box-Wrapper im Funnel: leicht enger, linksbündiger Content */
.box-wrapper.funnel-step {
    text-align: left;
    max-width: 880px;
    padding: 32px 28px;
}

@media (max-width: 640px) {
    .box-wrapper.funnel-step {
        padding: 20px 16px;
        margin: 24px auto;
    }
}

/* Globaler Funnel-Header (über allen Steps) */
.funnel-header {
    text-align: center;
    margin-bottom: 24px;
}

.funnel-title {
    font-size: 2.1rem;
    margin: 0 0 8px 0;
}

.funnel-subtitle {
    font-size: 0.98rem;
    max-width: 540px;
    margin: 0 auto;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.5;
}

/* Wrapper für Step-Leiste oben/unten */
.funnel-progress-wrapper {
    margin-bottom: 20px;
}

/* Footer-Bereich unterhalb des Step-Contents (z. B. zweite Leiste) */
.funnel-footer {
    margin-top: 24px;
}

/* -------------------------------------------------
   Step-Progress-Leiste
-------------------------------------------------- */

.step-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.step-progress-item {
    flex: 1 1 0;
    text-align: center;
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text-secondary, #cbd5e1);
    background: rgba(15, 23, 42, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Alle „fertigen“ Steps (inkl. aktuellem) */
.step-progress-item.active {
    border-color: var(--blue-glow, #4a9eff);
    box-shadow: 0 0 0 1px rgba(74, 158, 255, 0.4);
}

/* Der aktuell aktive Step */
.step-progress-item.current {
    background: linear-gradient(135deg, #4a9eff, #b09958);
    color: #0b1120;
    font-weight: 600;
}

/* Mobile: Progress-Badges etwas luftiger stapeln */
@media (max-width: 640px) {
    .step-progress {
        border-radius: 16px;
        padding: 8px 6px;
    }

    .step-progress-item {
        flex: 1 1 45%;
        font-size: 0.78rem;
        padding: 6px 8px;
    }
}

/* -------------------------------------------------
   Step-Content Struktur (gilt für alle Steps)
-------------------------------------------------- */

.funnel-step-content {
    margin-top: 4px;
}

/* Optionaler Wrapper innerhalb der einzelnen Steps */
.funnel-step-inner {
    display: flex;
    flex-direction: column;
}

/* Step-spezifischer Header (z. B. „Schritt 1 …“) */
.funnel-step-header {
    margin-bottom: 18px;
}

.funnel-step-title {
    font-size: 1.35rem;
    margin: 0 0 6px 0;
}

.funnel-step-description {
    font-size: 0.95rem;
    color: var(--text-secondary, #cbd5e1);
    max-width: 640px;
    line-height: 1.55;
}

/* Body-Bereich: Formular, Quiz, Karten etc. */
.funnel-step-body {
    display: flex;
    flex-direction: column;
}

/* -------------------------------------------------
   Funnel-Formulare (auf bestehenden Form-Styles aufbauend)
-------------------------------------------------- */

.funnel-form .form-row {
    margin-bottom: 16px;
}

.funnel-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Checkbox-Reihen im Funnel etwas kompakter */
.funnel-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.funnel-form .checkbox input[type="checkbox"] {
    margin-top: 2px;
}

/* Fehlerdarstellung im Funnel */
.funnel-form .form-error {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #fca5a5;
}

.upload-error {
    margin-top: 4px;
    font-size: 2rem;
    font-weight: bold;
    color: #fca5a5;
}

/* CTA-Button-Reihe – auf bestehende .button-row aufsetzen */
.funnel-cta-row {
    margin-top: 22px;
}

/* In Funnel-Box: Buttons rechtsbündig / mobil untereinander */
.funnel-step .button-row {
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .funnel-step .button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .funnel-step .button-row .button-primary,
    .funnel-step .button-row button,
    .funnel-step .button-row a {
        width: 100%;
    }
}


/* ===========================
   FUNNEL FLOW STYLES
============================ */

/* Grundlayout für den Funnel-Bereich */
.funnel-main {
    padding: 24px 0 40px;
}

/* Box-Wrapper im Funnel: leicht enger, linksbündiger Content */
.box-wrapper.funnel-step {
    text-align: left;
    max-width: 880px;
    padding: 32px 28px;
}

@media (max-width: 640px) {
    .box-wrapper.funnel-step {
        padding: 20px 16px;
        margin: 24px auto;
    }
}

/* Globaler Funnel-Header (über allen Steps) */
.funnel-header {
    text-align: center;
    margin-bottom: 24px;
}

.funnel-title {
    font-size: 2.1rem;
    margin: 0 0 8px 0;
}

.funnel-subtitle {
    font-size: 0.98rem;
    max-width: 540px;
    margin: 0 auto;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.5;
}

/* -------------------------------------------------
   Fortschrittsanzeige: "Schritt X / Y" + Progressbar
-------------------------------------------------- */

.funnel-progress-wrapper {
    margin-bottom: 20px;
}

.funnel-progress-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.funnel-progress-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary, #cbd5e1);
    white-space: nowrap;
}

.funnel-progress-bar {
    position: relative;
    flex: 1 1 auto;
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
    background: radial-gradient(circle at 0% 50%, rgba(148, 163, 184, 0.5), transparent 65%),
                rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.funnel-progress-bar-fill {
    position: absolute;
    inset: 0;
    width: 0; /* wird per inline-style gesetzt */
    border-radius: inherit;
    background: linear-gradient(90deg,
        var(--blue-glow, #4a9eff),
        var(--gold, #b09958)
    );
    box-shadow: 0 0 16px rgba(74, 158, 255, 0.6);
    transition: width 180ms ease-out;
}

@media (max-width: 640px) {
    .funnel-progress-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .funnel-progress-label {
        text-align: left;
    }
}

/* -------------------------------------------------
   Step-Content Struktur (gilt für alle Steps)
-------------------------------------------------- */

.funnel-step-content {
    margin-top: 4px;
}

/* Optionaler Wrapper innerhalb der einzelnen Steps */
.funnel-step-inner {
    display: flex;
    flex-direction: column;
}

/* Step-spezifischer Header (z. B. „Schritt 1 …“) */
.funnel-step-header {
    margin-bottom: 18px;
}

.funnel-step-title {
    font-size: 1.35rem;
    margin: 0 0 6px 0;
}

.funnel-step-description {
    font-size: 0.95rem;
    color: var(--text-secondary, #cbd5e1);
    max-width: 640px;
    line-height: 1.55;
}

/* Body-Bereich: Formular, Quiz, Karten etc. */
.funnel-step-body {
    display: flex;
    flex-direction: column;
}

/* -------------------------------------------------
   Funnel-Formulare (auf bestehenden Form-Styles aufbauend)
-------------------------------------------------- */

.funnel-form .form-row {
    margin-bottom: 16px;
}

.funnel-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Checkbox-Reihen im Funnel etwas kompakter */
.funnel-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.funnel-form .checkbox input[type="checkbox"] {
    margin-top: 2px;
}

/* Fehlerdarstellung im Funnel */
.funnel-form .form-error {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #fca5a5;
}

/* CTA-Button-Reihe – auf bestehende .button-row aufsetzen */
.funnel-cta-row {
    margin-top: 22px;
}

/* In Funnel-Box: Buttons rechtsbündig / mobil untereinander */
.funnel-step .button-row {
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .funnel-step .button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .funnel-step .button-row .button-primary,
    .funnel-step .button-row button,
    .funnel-step .button-row a {
        width: 100%;
    }
}


.funnel-input-center {
    display: flex;
    justify-content: center;
}

.funnel-input-center input {
    text-align: left; /* überschreibt center-Effekt */
    max-width: 360px; /* optional */
}

/* ===========================
   FUNNEL STEP 1: INPUT CENTER FIX
============================ */

/* Nur im Funnel: Rows zentrieren das Kind-Element */
.funnel-step-inner .form-row {
    text-align: center;   /* zentriert inline/inline-block-Elemente */
}

/* Das eigentliche Input-Feld:
   - als inline-block, damit text-align: center es zentriert
   - Breite begrenzt
   - Text IM Feld bleibt links
*/
.funnel-step-inner .form-row .register-text-input {
    display: inline-block;
    max-width: 360px;
    width: 100%;
    text-align: left;
}


/* ===========================
   FUNNEL STEP 4 – QUIZ STYLES
============================ */

/* Card-ähnlicher Block für jede Frage */
.quiz-question {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
}

/* Frage-Titel deutlicher machen */
.quiz-question-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #e5e7eb; /* etwas heller als normaler Text */
    margin-bottom: 15px;
}

/* Container für Antwortoptionen */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 3px;
}

/* Einzelne Antwortoptionen */
.quiz-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

/* Radio-Button minimal eingerückt */
.quiz-option input[type="radio"] {
    margin-top: 4px;
    margin-bottom: 0px;
}

/* Error-Meldungen direkt unter der Frage */
.quiz-question .form-error {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #fca5a5;
}


/* ===========================
   FUNNEL STEP 4 – SPACING FIX
============================ */

/* Weniger Abstand unten zwischen Fragen */
.quiz-question {
    margin-bottom: 12px !important;
    padding: 16px 18px;
}

/* Mehr Luft zwischen Titel → erste Antwort */
.quiz-options {
    margin-top: 10px !important;
    gap: 3px !important;  /* viel kompakter */
}

/* Jede Option selbst */
.quiz-option {
    gap: 6px;   /* leicht kompakter */
    padding: 2px 0; /* minimaler vertical padding für tight layout */
}


.example-portfolio-table.summary-table th, td{
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
}


/* --- RADIO BUTTON BASE ------------------------------------------------ */

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(74, 158, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

/* Hover-Effekt */
.radio-option:hover {
    border-color: rgba(74, 158, 255, 0.55);
    box-shadow: 0 0 14px rgba(74, 158, 255, 0.15);
    transform: translateY(-1px);
}

/* Native Input verstecken */
.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* --- CIRCLE ------------------------------------------------------------ */

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(74, 158, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

/* Innerer Punkt */
.radio-circle::after {
    content: "";
    width: 10px;
    height: 10px;
    background: rgba(74, 158, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.4);
    transition: all 0.25s ease;
}

/* --- CHECKED STATE ----------------------------------------------------- */

.radio-option input[type="radio"]:checked + .radio-circle {
    border-color: var(--blue-glow);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.45);
}

.radio-option input[type="radio"]:checked + .radio-circle::after {
    opacity: 1;
    transform: scale(1);
}

/* --- CHECKED CARD ------------------------------------------------------ */

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: var(--warm-accent-light);
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.4);
    font-weight: 600;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radio-option span {
    display: inline-flex;
    align-items: center;
}



/* === Funnel Step 1 – CTA Button Fix === */

/* Speziell im Funnel: Button sauber darstellen, auch auf Mobile */
.funnel-cta-row .button-primary {
    /* Flex aus .button-row neutralisieren */
    flex: 0 0 auto;

    /* vernünftige Darstellung */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;          /* auf Mobile schön breite CTA */
    max-width: 360px;
    margin: 12px auto 0;  /* zentriert, kein %-Margin mehr */

    padding: 12px 50px;   /* feste px statt 1.3% */
    font-size: 1rem;
    line-height: 1.2;
    min-height: 44px;     /* gut klickbar auf Touchscreens */

    white-space: normal;  /* darf umbrechen statt sich zu quetschen */
}

/* Auf größeren Screens ruhig wieder automatisch */
@media (min-width: 641px) {
    .funnel-cta-row .button-primary {
        width: auto;
        margin-top: 16px;
    }
}


/* === Smaller, subtler Secondary Button === */
.funnel-cta-row.button-secondary {
    padding: 8px 20px;        /* statt 12px 28px – deutlich kompakter */
    font-size: 0.9rem;        /* etwas kleiner als primary */
    border-radius: 24px;      /* etwas enger, wirkt weniger voluminös */
    letter-spacing: 0.04em;   /* dezenter */
}

/* Hover-Effekt weiterhin nice, aber nicht zu dominant */
.funnel-cta-row.button-secondary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 4px 12px rgba(255, 255, 255, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}


/* Spezielles Layout nur für das Live-Event-Banner */
#live-event-banner .banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;              /* auf Mobile darf es umbrechen */
    align-items: center;
    justify-content: center;      /* Text + Button in der Mitte */
    gap: 12px;
    color: var(--text-primary);
}

/* Text im Banner zentrieren */
#live-event-banner .banner-text {
    text-align: center;
}


/* CTA-Button im Live-Banner: nur so breit wie nötig */
#live-event-banner .banner-cta {
    display: inline-flex;          /* damit Padding sauber greift */
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 0;
    max-width: none;               /* überschreibt evtl. globale Regeln */

    padding: 8px 20px;             /* kannst du nach Geschmack anpassen */
    white-space: nowrap;           /* Button bleibt einzeilig */
    text-align: center;
}


.copy_clipboard_image.inline_image {
    width: 22px;
    height: 22px;
    display: inline-block;      /* explizit inline */
    margin-left: 4px;           /* kleiner Abstand zum Code */
    position: relative;
    top: 1px;
    cursor: pointer;
    filter: invert(1);
}


.pricing-card__promo {
    text-align: center;
    font-size: 1.1rem;
    margin: 8px 0 12px 0;
    color: #fff;
    font-weight: 700;
    background: #1e293b;
    padding: 6px 10px;
    border-radius: 8px;
}


/* Standard: auto-fit mit großer Mindestbreite => breite Karten, 1–3 Spalten */
.pricing-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

/* „Zwei Spalten erzwingen“ (Breit-Modus) */
@media (min-width: 1024px) {
  .pricing-grid.pricing-grid--two {
    grid-template-columns: repeat(2, minmax(520px, 1fr));
  }
}


.strategy-card button.share-btn.share-btn-no-padding {
    padding: 0;
}


.portfolio-strategy-select.appselect.appselect-100pctw{
    width: 100%;
}
