
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


.box_immostart_right{
    float: right; width: 48%; background-color: #d3f279; text-align: center; padding: 20px 20px; color: black; border-radius: 5px;
}
    
.box_immostart_left{
    float: left; width: 48%; background-color: #fff671; text-align: center; padding: 20px 20px; color: black; border-radius: 5px;
}

.immostart .icon{
    width: 100%; font-size: 40px; margin-bottom: 10px; float: left;
}

.immostart .title{
    width: 100%; font-size: 32px; margin-bottom: 10px; float: left; line-height: 42px; font-weight: 500;
}

.immostart .subtext{
    width: 100%; font-size: 15px; float: left;
}

.nutzung ul{
    list-style: disc;
    margin: 10px 0 10px 30px;
}

.nutzung h2{
    margin-top: 20px;
}

/* bubble */

 .sparer-types {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        .sparer-type {
            flex: 1;
            border: 1px solid #ccc;
            padding: 1rem;
            border-radius: 10px;
            text-align: center;
        }
        .sparer-type img {
            max-width: 100%;
            height: 120px;
            object-fit: contain;
        }
        .slider-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
        }
       
        
        .logo {
            font-size: 1.5rem;
            font-weight: bold;
        }
        nav {
            float: right;
        }
        nav a {
            color: white;
            margin-left: 15px;
            text-decoration: none;
            font-weight: bold;
        }
        nav a:hover {
            text-decoration: underline;
        }
       
        
        .plutos-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 30px;
    gap: 30px;
    flex-wrap: wrap;
}

.speech-bubble {
    position: relative;
    background: #f0fdf4;
    border: 2px solid #2a7a2a;
    border-radius: 16px;
    padding: 24px 28px;
    flex: 1 1 65%;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    line-height: 1.6;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    right: -25px;
    top: 40px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #2a7a2a;
}

.plutos-image {
    flex: 1 1 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plutos-image img {
    max-width: 100%;
    height: auto;
    max-height: 290px;
}




/* bewertung.php */

 
        .summary, .section { margin: 2rem 0; }
        .summary p, .section p { margin: 0.5rem 0; }
        .chart-container { width: 100%; height: 300px; }
        .plutos { font-size: 80px; text-align: center; }
         
        
        .detail-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.detail-section {
    flex: 1 1 300px; /* min 300px, wächst mit */
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.detail-section h3 {
    margin-top: 0;
}
        
        .diagram-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.diagram-box {
    flex: 1 1 calc(33.333% - 2rem);
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    min-width: 280px;
}

.summary-box {
    flex: 1 1 calc(25% - 1rem);
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    text-align: center;
}

.summary-box h3, .summary-box h4 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.optimierung-kacheln {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.optimierung-card {
    flex: 1 1 280px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.margb_20{
    margin-bottom: 20px;
}

/* register */

.submit_register{
    margin-top: 25px;
}

  .register .form-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

  .register  .form-item {
        flex: 1 1 48%;
        min-width: 250px;
    }

   .register .form-item label {
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
        color: #374151;
    }

  .register  .form-item label i {
        margin-right: 8px;
    }

   .register .form-item input {
        width: 100%;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

  .register  .form-note {
        font-size: 0.9rem;
        color: #555;
        margin-top: 6px;
    }


.checkbox {
        margin-top: 20px;
        font-size: 0.95rem;
    }

    .checkbox label a {
        color: #2a7a2a;
        text-decoration: underline;
    }

    .error-box {
        margin-top: 20px;
        padding: 15px;
        background-color: #fde2e2;
        border-left: 5px solid #dc2626;
        border-radius: 8px;
    }

/* page 6 */

#confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: red;
  opacity: 0.8;
  transform: rotate(45deg);
  animation: fall 2.5s linear forwards; /* längere Animation */
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

    .info-boxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 40px;
    }

    .info-box {
        flex: 1 1 300px;
        border: 2px solid #111;
        border-radius: 20px;
        padding: 20px;
        background: #fff;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        transition: 0.3s;
    }
            
           

    .info-box i {
        font-size: 40px;
        margin-bottom: 10px;
        color: #2a7a2a;
    }

    .info-box h3 {
        font-weight: bold;
        margin-bottom: 10px;
    }
            
            .pulsing-button {
    padding: 12px 24px;
    background: #2a7a2a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    animation: pulseButton 1.5s infinite ease-in-out;
    transition: transform 0.3s ease;
}

@keyframes pulseButton {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.pulsing-button:hover {
    transform: scale(1.1);
}

    @media(max-width: 768px) {
        .animated-plutos { position: static; margin: 0 auto 20px; display: block; }
    }

.value-output{
    margin-left: -15px;
}

i, .icon{
    color: #2a7a2a !important;
}

.speech-bubble h1{
    line-height: 1.4;
}

.speech-bubble h2{
    font-size: 1.6rem;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif !important;
    background-color: #f1f1f1;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
   padding: 20px 30px;
    width: 90%;
}

 main.container {
            margin-top: 20px;
        }


header {
    background-color: #01b0aa;
    color: #fff;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
}

header nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

header nav a:hover {
    opacity: 0.8;
}

main {
    background-color: #fff;
    border-radius: 4px;
    padding: 30px;
    margin-top: 30px;
}
/* Footer */
.site-footer {
    background-color: #f0f0f0;
    color: #555;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

.site-footer a, footer a{
    text-decoration: none;
    color: #01b0aa;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #6b7280;
    font-size: 0.9rem;
}

h1, h2, h3 {
    color: #101840;;
    margin-bottom: 15px;
    overflow-wrap: break-word; /* moderner Standard */
    word-wrap: break-word;     /* ältere Browser */
    hyphens: auto;             /* optional, für Trennstriche bei Silbentrennung */
}

.button-link, button {
    display: inline-block;
    padding: 12px 16px;
    background-color: #2a7a2a;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-family: "Source Sans 3";
        font-size: 0.9rem;
}

.button-link:hover, button:hover {
    background-color: #101840;
    transform: translateY(-2px);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0 20px 0;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: "Source Sans 3";
     -webkit-appearance: none; /* iOS Safari */
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
    color: #374151;
}

form {
    margin: 0 auto;
}

input[type="checkbox"], input[type="radio"] {
    accent-color: #2a7a2a;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stepper-step {
    flex: 1;
    position: relative;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

.stepper-step::before {
    content: '';
    display: block;
    margin: 0 auto 8px;
    width: 20px;
    height: 20px;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    background: #fff;
}

.stepper-step.active {
    color: #01b0aa;
}

.stepper-step.active::before {
    border-color: #01b0aa;
    background: #01b0aa;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.progress-bar {
    background: #d1d5db;
    width: 100%;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar-inner {
    background-color: #2a7a2a;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    transition: width 0.4s ease;
}

.active_button{
    background-color: #2a7a2a !important;
    color: #fff !important;
}

.welcome-section {
    margin-bottom: 0px;
}

.plutos-section {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.plutos-section .text {
    flex: 1;
}

.plutos-section .plutos-image {
    flex: 0 0 auto;
    margin-left: 20px;
}

.timeline-section {
    margin-bottom: 40px;
}

.timeline-section h2{
    margin-left: 40px;
}

.timeline {
    border-left: 3px solid #2a7a2a;
    margin-left: 20px;
    padding-left: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.timeline-item h3{
    margin-bottom: 10px;
}

.timeline-item .icon {
    font-size: 1.8rem;
    margin-right: 15px;
    width: 40px;
}

.highlighted {
    background-color: #e0f2e9;
    padding: 15px;
    border-left: 5px solid #2a7a2a;
    border-radius: 8px;
}

.start-button {
    text-align: center;
    margin-top: 30px;
}

.start-button .button-link {
    background-color: #2a7a2a;
    font-size: 1.2rem;
    padding: 12px 30px;
}

.start-button:hover .button-link:hover{
    background-color: #101840;
}

/* Welcome Page */

.why-financial-advice h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .why-financial-advice p {
        line-height: 1.6;
    }

    .illustration {
        text-align: center;
        margin: 20px 0;
    }

    .section-boxes {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 0px;
    }

    .box {
        flex: 1 1 48%;
        border: 1px solid #111827;
        padding: 20px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .box img {
        max-height: 140px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .box h2 {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        gap: 10px;

    }

    .box h2 i {
        color: #2a7a2a;
    }

.why-financial-advice h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #101840;
}

.why-financial-advice p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.illustration {
    text-align: center;
    margin: 20px 0;
}

.dilemma, .solution {
    background-color: #f0f4f8;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.start-button {
    text-align: center;
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
}

/* Page 1 */


.page1 .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.page1 .form-item {
    display: flex;
    flex-direction: column;
}
.page1 .form-item.full-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}


/* Überschriften */
h1, h2, h3 {
    color: #101840;
    margin-bottom: 15px;
}

h3{
    margin-bottom: 30px;
    margin-top: 30px;
}

/* Eingabefelder */
input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
   font-size: 0.9rem;
    transition: border 0.3s ease;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
select:focus,
textarea:focus {
    border-color: #2a7a2a;
    outline: none;
}

/* Schieberegler (bereits optimiert, hier zusätzlich gestylt) */
input[type=range] {
    cursor: pointer;
}


/* Tabellen */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #01b0aa;
    color: #fff;
}

/* Fehler- und Erfolgsmeldungen */
.message {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: bold;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.pages_buttons{
    flex: 1 1 150px; 
    text-decoration: none; 
    background: #f9fafb; 
    border: 1px solid #d1d5db; 
    padding: 10px; 
    border-radius: 4px;
    text-align: center; 
    color: #111827;
    font-family: "Source Sans 3";
}

.pages_buttons:hover{
    background-color: #01b0aa;
}

/* Fortschrittsbalken */
.progressbar {
    width: 100%;
    background-color: #eee;
    border-radius: 10px;
    margin-bottom: 20px;
}

.progressbar > div {
    height: 20px;
    background-color: #01b0aa;
    border-radius: 10px;
    transition: width 0.5s ease;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
}


.slider-container {
    width: 100%;
    margin: 10px 0;
}

.slider-container input[type=range] {
    width: 100%;
    height: 25px;
    appearance: none;
    background: #ddd;
    border-radius: 10px;
    outline: none;
}

.slider-container input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    background: #01b0aa;;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    margin-top: -10px;
    transition: background 0.3s ease;
}

.slider-container input[type=range]::-webkit-slider-thumb:hover {
    background: #1e5a1e;
}

.slider-value {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Basis */
.goal-card {
  background: #fff;
  color: #111;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: background-color .15s, border-color .15s, color .15s;
}

/* Hover NUR auf Geräten mit echtem Hover, und NICHT wenn ausgewählt */
@media (hover:hover) and (pointer:fine) {
  .goal-card:hover:not(.is-selected) {
    border-color: #2a7a2a;
     background-color: #f0f0f0; /* leichtes Hover, kein Vollgrün */
      cursor: pointer;
  }
}

/* Ausgewählt: entweder via :has(:checked) ODER via .is-selected (JS) */
.goal-card:has(input[type="checkbox"]:checked),
.goal-card.is-selected {
  background-color: #2a7a2a;
  border-color: transparent;
  color: #fff;
}

/* Icons/Beschreibung übernehmen die Textfarbe der Karte */
.goal-card i{
    color: inherit !important;
}

.goal-card .desc {
  color: inherit !important;
    font-weight: 300;
}

.goal-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    
}

.goal-card .title {
    font-weight: 400;
    margin-bottom: 0.3rem;
}

/* Verstecke Checkbox zugänglich (nicht display:none; damit Focus/Toggle sauber bleibt) */
.goal-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}

.goal-card:has(input[type="checkbox"]:checked) i,
.goal-card.is-selected i {
  color: #fff !important; /* Weiß für ausgewählt */
}

@media (hover:hover) and (pointer:fine) {
  .goal-card:hover:not(.is-selected) i {
    color: #2a7a2a !important; /* Grün im Hover, nicht ausgewählt */
  }
}

/* Stil für ungeordnete Listen (ul) */
ul {
    list-style-type: none; /* Entfernt Standardaufzählungspunkte */
    padding-left: 0;       /* Entfernt standardmäßigen Abstand nach links */
    margin: 0;             /* Entfernt den Standard-Margin */
}


.auth-links {
    margin-top: 25px;
    font-size: 0.95rem;
    text-align: center;
    color: #374151;
}

.auth-links a {
    color: #2a7a2a;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: #01b0aa;
}

label i {
    margin-right: 8px;
    color: #2a7a2a !important;
}

.dashboard-tile {
    position: relative;
    flex: 1 1 200px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #111827;
    transition: background 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dashboard-tile .icon {
    font-size: 1.8rem;
    color: #2a7a2a;
}

.dashboard-tile .title {
    font-weight: 600;
    font-size: 1rem;
}

.dashboard-tile:hover {
    background-color: #eef6f3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}


/* Neuer Haken oben rechts */
.dashboard-tile .status-check {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 1rem;
    color: #111827;
}


.dashboard-tile.active_button {
    background-color: #e6f4ea;
    border-color: #2a7a2a;
    color: #FFF !important;
}
.dashboard-tile.active_button .icon, .active_button .status-check {
    color: #FFF !important;
}


.intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.intro-text {
    flex: 1 1 60%;
    min-width: 280px;
}

.intro-image {
    flex: 1 1 35%;
    text-align: center;
    margin-top: 20px;
}

.intro-image img {
    max-width: 100%;
    border-radius: 12px;
}

/* Page 4 Steps */

.step { display: none; animation: fadeIn 0.3s ease-in-out; }
.step.active { display: block; }
    
    .step-indicator .step-box {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Titel beim Hover anzeigen wie bei active */
.step-indicator .step-box:hover {
    background-color: #2a7a2a;
    color: white;
    padding: 10px 18px;
}

    
    .step-box .step-title {
    display: none;
    margin-left: 8px;
        opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
        visibility: hidden;
}

.step-box.active .step-title,
.step-box:hover .step-title {
    display: block;
    opacity: 1;
    visibility: visible;
}

.step-indicator {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.step-indicator .step-box {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    padding: 10px 16px;
    border-radius: 30px;
    background-color: #e0e0e0;
    min-width: 40px;
    height: 40px;
    transition: all 0.3s;
    white-space: nowrap;
}

.step-indicator .step-box.active {
    background-color: #2a7a2a;
    color: white;
    padding: 10px 18px;
}

    .summary.negative {
    color: #b91c1c; /* Rot */
    background: #fdecea;
}
    
.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.columns .field {
    flex: 1 1 calc(50% - 1rem);
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.summary {
    margin-top: 30px;
    background: #e6f4ea;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: #2a7a2a;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Nav Button */

nav .nav-button {
    background-color: #ffffff;
    color: #01b0aa;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 400;
    text-decoration: none;
    border: 2px solid #ffffff;
    transition: all 0.25s ease-in-out;
    margin-left: 35px;
}

nav .nav-button:hover {
    background-color: #e0f7f5;
    border-color: #01b0aa;
    color: #007f7c;
}


.headline_page6{
    margin-top: 0; text-align: center;
}


/* Empfehlungen */

.empfehlung-head{
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.empfehlung-container{
    max-width: 1200px;
    margin: 0 auto;
}

    #slider-container {
        margin: 0 auto;
    }

    .empfehlung {
        display: none;
        margin-bottom: 20px;
        border-radius: 6px;
    }

    .empfehlung.active {
        display: block;
    }

    .empfehlung h2 {
        font-size: 1.6rem;
        color: #2a7a2a;
    }

    .empfehlung p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

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

    .slider-controls button {
        padding: 10px 20px;
        font-size: 1rem;
        border: none;
        border-radius: 5px;
        background-color: #2a7a2a;
        color: white;
        cursor: pointer;
        margin: 0 15px;
    }

    .slider-controls button:hover {
        background-color: #1e5a1e;
    }

    #slide-progress {
        font-size: 1.2rem;
        font-weight: bold;
        margin-right: 20px;
    }
    
    .empfehlung-head {
    position: relative;
    width: 100%;
}

.empfehlung-head img {
    display: block;
    width: 100%;
    height: auto;
}

.slider-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: flex-start; /* <--- Text linksbündig im Container */
    align-items: end;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Begrenzung auf Container-Breite + linksbündig */
.slider-text {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 80px 0;
    color: #fff;
    font-size: 2.5rem;
    border-radius: 8px;
    text-align: left;
}
    
    .slider-text h1{
        color: #FFF;
        font-size: 3.35rem;
        width: 70%;
        line-height: 3.45rem;
        font-weight: 500;
                  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .slider-text p{
        font-weight: 400;
        width: 70%;
        font-size: 1.45rem;
                  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        line-height: 1.3;
    }
    
    .slider-content {
}
    
    .slider-content h2{
        font-size: 2rem;
        margin-bottom: 30px;
        font-weight: 500;
    }
    
    .benefit-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.25rem;
}

.benefit-icon {
    width: 36px;
    text-align: center;
    margin-top: 6px;
    flex-shrink: 0;
}

.benefit-icon i {
    color: #2a7a2a;
    font-size: 1.8rem;
}

.benefit-text {
    flex: 1;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
}
    
    .flexible{
        max-width: 100%;
        height: auto;
    }
    
    .highlight{
        color: #01b0aa;
    }
    .empfehlungen-uls{
        list-style-type: circle; margin-left: 30px; 
    }
    
    .empfehlungen-uls li{
        font-size: 1.05rem;
    }
    
    .section_white{
        float: left; width: 100%; background-color: #FFF; padding: 40px 0;
    }
    
    .section_grey{
        float: left; width: 100%; background-color: #f1f1f1; padding: 40px 0;
    }

    .less_pad{
        padding: 20px 0;
    }

    .less_pad p{
        margin-bottom: 0;
    }
    
    .left_45{
        float: left;
        width: 45%;
    }
    
    .left_50{
        float: left;
        width: 50%;
    }
    
    .left_475{
        float: left;
        width: 47.5%;
    }
    
    .left_58{
        float: left;
        width: 58%;
    }
    
    .left_75{
        float: left;
        width: 75%;
    }
    
     .right_30{
        float: right;
        width: 30%;
    }
    
    .right_35{
        float: right;
        width: 35%;
    }

    .right_325{
        float: right;
        width: 32.5%;
        margin-right: 45px;
    }
    
    .right_40{
        float: right;
        width: 40%;
    }
    
    .right_45{
        float: right;
        width: 45%;
        text-align: center;
    }
    
    .margr_15{
        margin-right: 15px;
    }

    .margr_30{
        margin-right: 30px;
    }

.desktop{
        display: block;
    }
    
    .mobile{
        display: none;
    }

@media (max-width: 1400px) {
 .empfehlung-container{
    max-width: 90%;
    margin: 0 auto;
}
    
    .slider-text {
        max-width: 90%;
        
    }
    
     .empfehlung-head{
    min-height: auto;
        height: auto;
}
}


 .upload-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 10px 20px;
        align-items: center;
        margin-bottom: 1rem;
    }

    .file-info {
        font-size: 0.9rem;
        color: green;
        margin-top: 0.2rem;
    }

@media (max-width: 900px) {
    
    .small-gap{
        gap: 20px;
    }
    
    .marg0{
        margin-left: 0 !important;
    }
    
    .upload-grid {
    grid-template-columns: 1fr 1fr;
    }
    
    .diagram-box:nth-of-type(3) {
    max-width: 48%;
        margin: 0 auto;
}
    
    .headline_page6{
        margin-top: 30px;
    }
    
    .plutos-image img {
    max-width: 100%;
    height: auto;
    max-height: 220px !important;
}
    
    .empfehlung-head{
    min-height: auto;
        height: auto;
}
    

    
    .slider-text {
    max-width: 90%;
    padding: 0 0 10px 0;
    font-size: 1.5rem;
}
    
    .slider-text p{
        width: 100%;
    }
    
    .slider-text h1{
        color: #FFF;
        font-size: 2.2rem;
        width: 100%;
        line-height: 2.45rem;
        font-weight: 500;

    }
    
    
    
    .left_45, .left_50, .left_475, .left_58, .left_75, .right_30, .right_325, .right_35, .right_40, .right_45{
        float: left;
        width: 100%;
    }
    
    .right_40, .right_30{
        text-align: center;
    }
    
    .right_30 img, .right_325 img, .right_35 img, .right_40 img, .right_45 img{
        max-width: 50% !important;
        text-align: center;
    }
    
    .right_325 canvas{
         max-width: 50% !important;
        text-align: center;
        height: auto !important;
        
        
    }
    
    .right_45 canvas{
         max-width: 80% !important;
        text-align: center;
        height: auto !important;
        
        
    }
    
    .right_45 img.mobile_smaller, .right_40 img.mobile_smaller{
        max-width: 40% !important;
    }
    
    .right_30 img.mobile_smaller{
        max-width: 30% !important;
    }
    
    .slider-controls {
    flex-direction: column;
    gap: 10px; /* optionaler Abstand zwischen den Elementen */
  }
    
   
    
}

@media (max-width: 768px) {
    
    .right_325 canvas{
         max-width: 80% !important;
        text-align: center;
        height: auto !important;
        
        
    }
    
    .box_immostart_right{
    padding: 15px 15px; 
}
    
.box_immostart_left{
    padding: 15px 15px; 
}

.immostart .icon{
    font-size: 30px;
}

.immostart .title{
  font-size: 30px;
    line-height: 32px;
    line-break: anywhere;
    
    }
    
    .right_45 img.mobile_smaller, .right_40 img.mobile_smaller{
        max-width: 50% !important;
    }
    
    .right_30 img.mobile_smaller{
        max-width: 40% !important;
    }
    
    
    .empfehlung-container h2{
        font-size: 1.65rem;
    }
    
    .desktop{
        display: none;
    }
    
    .mobile{
        display: block;
    }
    
        .right_30 img, .right_325 img, .right_35 img, .right_40 img, .right_45 img {
        max-width: 80% !important;
        text-align: center;
    }
    
    .plutos-image{
        margin-top: 25px;
    }
    
    .slider-text p{
        display: none;

    }
    
    .upload-grid {
    grid-template-columns: 1fr;
    }
    
    .diagram-box:nth-of-type(3) {
   max-width: 100%;
}
    
    /* speech bubble */
    
     .plutos-section {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .speech-bubble::after {
    content: "";
    position: absolute;
    left: 48%; /* oder anpassen, wo es sitzen soll */
    bottom: -40px; /* Abstand nach unten */
        top: unset;
        right: unset;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #2a7a2a; /* farbige Seite nach unten */
}

    .speech-bubble {
        flex: 1 1 100%;
        padding: 15px;
    }

    .plutos-image img {
        max-height: 200px;
    }
    
    .empfehlung-head{
    min-height: auto;
        height: auto;
}
    
    .slider-text, .slider-text h1 {
        width: 100%;
    }
    
    .summary-box {
        flex: 1 1 100%;
    }
    
    .slider-content h2 {
     line-height: 1.25;
        
    }
    
    .info-box i {
     margin-bottom: 0;   
    }
    
    .info-box h3 {
     margin-top: 15px;   
    }
    
    .message{
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    /* welcome page boxes */
    .box {
            flex: 1 1 100%;
        }
    
    .intro-image{
        margin-top: -20px;
    }
    
    .intro-flex{
            gap: 0;
    }
    
    .timeline{
        border-left: 0;
            margin-left: 0;
    padding-left: 0;
    }
    
    .timeline-item{
            align-items: baseline;
    }
    
    .timeline-section h2{
        margin-left: 0;
    }
    
    header{
        padding: 5px 20px;
    }
    
    .container {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
        }
    
     main.container {
            margin-top: 0;
        }
    
    nav .nav-button {
        background-color: #ffffff;
        color: #01b0aa;
        padding: 2px 4px;
        border-radius: 30px;
        margin-left: 10px;
        font-size: 12.5px;
    }
    
     .columns {
  flex-direction: column;
    gap: 1rem;
}
    
.page1 .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
    
    .headline_page6{
        margin-top: 10px; text-align: center;
    }    
    
    
}