@charset "utf-8";
/* CSS Document */
/* Globale Einstellungen */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0066CC;
    color: #fff;
    text-align: center;
}
/* Der halbtransparente Hintergrund über den ganzen Bildschirm */
/* Der Standardzustand: unsichtbar */
.modal-overlay {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Firefox- & Chrome-sichere Aktivierungsklasse */
.modal-overlay.is-visible {
    display: flex !important; /* Erzwingt das Anzeigen in allen Browsern */
    justify-content: center;
    align-items: center;
}

/* Das eigentliche Info-Fenster (optimiert für Smartphones) */
.modal-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 85%; /* Schmal genug für Handys */
    max-width: 450px; /* Begrenzung für Desktop-Ansicht */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Der Schließbutton (X) im oberen Eck */
.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 32px;
    font-weight: bold;
    color: #888888;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: #000000;
}

/* Inhaltstext-Anpassung */
.modal-content h2 {
    margin-top: 10px;
    font-size: 22px;
}
.modal-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

/* Der Haupt-Container für alles */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 0px;
}

/* Fixiertes Menü */
#mainmenue {
    position: sticky;
    top: 0;	/* Klebt direkt am oberen Rand */
    left: 0;
	width: 100%;
    background-color: #FFF;
    z-index: 1000;    /* Liegt über allem anderen */
    padding: 2px 0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Optional: Trennung zum Content */
	margin-bottom: 20px;
}

.nav-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* Erzwingt EINE Zeile */
    justify-content: space-between; /* Verteilt Buttons gleichmäßig */
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Verhindert extremes Auseinanderziehen auf 4K Monitoren */
    margin: 0 auto;
}

.nav-flex a {
    flex: 1; /* Jeder Link bekommt exakt den gleichen Platz (1/7 der Breite) */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px; /* Klickbereich vergrößern */
}

.nav-flex img {
    width: 100%;      /* Bild füllt den Link-Container aus */
    height: auto;     /* Proportionalität bleibt erhalten */
    max-width: 80px;  /* Verhindert, dass Icons auf dem Desktop riesig werden */
    min-width: 35px;  /* Verhindert den "Lupen-Effekt" auf kleinen Handys */
    aspect-ratio: 1 / 1; /* Erzwingt quadratische Form */
    object-fit: contain;
}
/* Der Container für die ganze Bar - OPTIMIERUNG */
.action-bar {
    position: -webkit-sticky; /* Für Safari-Support */
	position: sticky;
    top: 60px;
    display: flex;
	flex-wrap: wrap; /* Erlaubt das Umbrechen auf kleinen Handys */
    justify-content: space-between; /* Verteilt links, mitte, rechts gleichmäßig */
    align-items: center;
    background: #fff;
    z-index: 999;
    padding: 8px 5px; /* Etwas mehr vertikaler Platz */
    border-bottom: 1px solid #eee;
    margin: 20px 0;
    gap: 15px; /* Erzeugt einen minimalen Grundabstand zwischen allen Elementen */
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten nebeneinander */
    grid-template-rows: repeat(2, 1fr);    /* 2 Zeilen übereinander */
    gap: 10px;
    flex: 1; /* Nimmt 50% Platz ein */
    min-width: 280px;
}

/* Rechte Seite: Die doppelten Buttons */
.function-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1; /* Nimmt die andere Hälfte ein */
    min-width: 280px;
}

/* Button-Styling: Höhe & Zentrierung */
.btn-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50px; /* Hier stellst du die Höhe ein (über doppelt so groß wie bisher) */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
}


/* Die beiden großen äußeren Container - ANPASSUNG */
.action-item.main-btn {
    flex: 1;              /* Nutzen den restlichen verfügbaren Platz */
    min-width: 55px;      /* Verhindert zu starkes Zusammenquetschen */
    max-width: 80px;     /* Deckelt die Größe bei breiten Screens */
}

/* Gemeinsames Styling für BEIDE Buttons */
.portal-style-box, 
#messageDiv {
    width: 100%;            /* Füllt den Container voll aus */
    min-height: 40px;       /* Erzwingt exakt gleiche Höhe */
    padding: 4px 2px;
    border-radius: 4px;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.1;
    display: flex;          /* Zentriert Text vertikal */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* WICHTIG: Padding wird eingerechnet */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Linker Button: Mein Auftrag */
.portal-style-box {
    background: #0066CC;
    color: white;
}
.portal-style-box span { display: block; font-size: 9px; }

/* Rechter Button: Status (wird von JS gesteuert) */
#messageDiv.open { background-color: #28a745; color: white; }
#messageDiv.closed { background-color: #dc3545; color: white; }
#messageDiv.weekend { background-color: #FFD700; color: black; }

/* Verhindert, dass der Link den Button verkleinert */
.action-item.main-btn a {
    width: 100%;
    display: block;
    text-decoration: none;
}

/* Hover-Effekte für beide */
.portal-style-box:hover, #messageDiv:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
/* SVG Größen-Korrektur */
.action-item svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* Mobile Optimierung */
@media (max-width : 963px ){
    .action-bar { flex-direction: column; }
    #messageDiv, .portal-style-box { font-size: 14px; }
	.contact-grid, .function-side { width: 100%; }
}

/* Grundzustand für alle klickbaren Elemente in der Bar */
.action-item a, 
.action-item #messageDiv {
    transition: all 0.3s ease; /* Macht die Animation weich */
    cursor: pointer;
}

/* Die 4 kleinen Symbole in der Mitte - FIX */
.action-item.symbol {
    flex: 0 0 auto;       /* Sie dürfen nicht schrumpfen (0) oder wachsen (0) */
    width: 40px;          /* Feste Breite für jedes Icon-Gefäß */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 1. Effekt: Die Icons in der Mitte (SVG) */
.action-item.symbol a:hover svg {
    transform: scale(1.2); /* Vergrößert das Icon leicht */
    filter: brightness(1.2); /* Macht es etwas heller */
    stroke: #004499; /* Ändert die Linienfarbe (falls stroke genutzt wird) */
}

/* 2. Effekt: Der "Mein Auftrag" Button links */
.action-item .portal-style-box:hover {
    background-color: #004499; /* Dunkleres Blau beim Hover */
    box-shadow: 0 2px 8px rgba(0,102,204,0.3);
    transform: translateY(-2px); /* Hebt den Button leicht an */
}

/* 3. Effekt: Der Status-Button rechts (JS-gesteuert) */
#messageDiv:hover {
    filter: saturate(1.5) brightness(1.1); /* Verstärkt die jeweilige Farbe (Grün/Rot) */
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Diese Klassen werden von deinem JS gesetzt */
#messageDiv.open {
    background-color: #28a745; /* Sattes Grün */
    color: #ffffff;
}

#messageDiv.closed {
    background-color: #dc3545; /* Signalrot */
    color: #ffffff;
}

#messageDiv.weekend {
    background-color: #6c757d; /* Grau für Wochenende/Feiertag */
    color: #ffffff;
}

/* Sicherstellen, dass der Button immer sichtbar ist */
.action-item.main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inhalts-Bereiche */
.content-section {
    padding: 20px 0;
}

.content-section img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 5px;
}

/* Hero-Bild Styling */
.modern-hero {
    width: 100%;
    max-width: 1000px; /* Etwas breiter als der Text für Dynamik */
    margin: 0 auto 40px auto;
    overflow: hidden;
    border-radius: 8px; /* Leicht abgerundete Ecken für modernen Look */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02); /* Dezenter Zoom-Effekt */
}

/* Text-Anpassungen */
.about-section {
    line-height: 1.8; /* Mehr Zeilenabstand für bessere Lesbarkeit */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.subtitle {
    font-style: italic;
    color: #666;
    margin-top: -10px;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    color: #333;
    border-bottom: 2px solid #f0f0f0; /* Dezente Trennlinie */
    display: inline-block;
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}
 /* Die Überschrift verkleinern */
  .hero-text h2 {
    font-size: 1.5rem; /* Standard ist oft 2rem, hier kannst du variieren */
    text-align: center; /* Optional: Auch die Überschrift zentrieren? */
  }

  /* Den Textbereich als Blocksatz formatieren */
  .hero-text p {
    text-align: justify;
	padding-left: 20px;
    padding-right: 20px;  
    line-height: 1.6;    /* Erhöht die Lesbarkeit bei Blocksatz */
    hyphens: auto;       /* Trennt lange Wörter am Zeilenende */
      }

  /* Falls das Bild im Textfluss stört: */
  .hero-text img {
    display: block;
    margin: 20px auto;      /* Abstand oben und unten zum Text */
  }

/* Container für die Titel-Animation */
.hero-title-wrapper {
    position: relative;
    height: 80px; /* Höhe anpassen, damit das Logo nicht springt */
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    position: absolute;
    width: 100%;
    margin: 0;
    opacity: 0;
    text-align: center;
    /* Nutzt dieselbe Animation wie im Footer */
    animation: fadeSignature 12s infinite; 
}

/* Zeitlicher Versatz für die 3 Sprachen */
.hero-title.de { animation-delay: 0s; }
.hero-title.en { animation-delay: 4s; }
.hero-title.ru { animation-delay: 8s; }

/* Falls die Animation 'fadeSignature' noch nicht existiert oder anders sein soll: */
@keyframes fadeSignature {
    0% { opacity: 0; transform: translateY(10px); }
    5% { opacity: 1; transform: translateY(0); }
    28% { opacity: 1; }
    33% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

/* Das F im Kreis mit Unterstrich */
.f-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;      /* Größe des Kreises */
    height: 1.2em;
    border: 1.5px solid currentColor; /* Kreislinie */
    border-radius: 50%;               /* Macht es rund */
    font-size: 0.9em;                 /* F etwas kleiner im Kreis */
    text-decoration: underline;       /* Der Unterstrich für das F */
    margin-right: 2px;                /* Kleiner Abstand zum Wort Clean */
    vertical-align: middle;           /* Ausrichtung am Text */
    line-height: 1;
}

/* Optional: Damit das Wort 'Clean' nicht unterstrichen wird */
.symbol-wrapper {
    white-space: nowrap; /* Verhindert Zeilenumbruch zwischen Symbol und Wort */
}
/* Nur für die AGB-Inhalte, beeinträchtigt den Footer nicht */
.agb-content {
    width: 85%;
    max-width: 850px;
    margin: 0 auto;
    text-align: justify;
}
.agb-layout {
    width: 85%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
/* Abstand zwischen den Hauptpunkten (1-8) */
.agb-list > li {
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Einrückung und Abstand der Unterpunkte (a-i) */
.sub-list {
    margin-top: 15px; /* Abstand nach oben zum Text von Punkt 2 */
    margin-left: 20px; /* Einrücken der Liste */
    list-style-type: lower-latin;
}

.sub-list li {
    margin-bottom: 10px; /* Kleiner Abstand zwischen den einzelnen Buchstaben-Punkten */
}


/* Spezifische Styles für den Bereich Nasstextilpflege */
.ntp-section-container {
	width: 85%;
    max-width: 850px;
    margin: 20px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.ntp-header {
    text-align: center;
    border-bottom: 3px solid #3498db;
    margin-bottom: 35px;
    padding-bottom: 25px;
}

.ntp-title {
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    text-transform: uppercase;
    font-size: 2.2em;
}

.ntp-subtitle {
    color: #3498db;
    font-weight: 500;
    margin-top: 8px;
    display: block;
    font-size: 1.1em;
}

.ntp-h2 {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.5em;
    margin: 35px 0 20px 0;
    border-left: 5px solid #3498db;
    padding-left: 15px;
}

.ntp-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.ntp-generation-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.ntp-generation-box h3 {
    margin: 0 0 10px 0;
    font-size: 0.85em;
    color: #3498db;
    text-transform: uppercase;
    font-weight: 700;
}

.ntp-quote {
    font-style: italic;
    background: #f1f7fc;
    padding: 25px;
    border-radius: 6px;
    margin: 25px 0;
    border-right: 4px solid #3498db;
    color: #555;
}

.ntp-footer-banner {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: #0066CC;
    color: white;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .ntp-section-container { padding: 25px 15px; }
    .ntp-title { font-size: 1.6em; }
}



/* Footer & App-Links */
.signature-wrapper {
    position: relative;
    height: 40px; /* Höhe der Schreibschrift */
    margin-bottom: 20px;
}

.signature {
    font-family: 'Pacifico', cursive !important; /* Das !important erzwingt die Schrift */
    font-style: normal; /* Pacifico braucht kein extra italic */
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    animation: fadeSignature 12s infinite;
}

/* Zeitversetzte Animation für 3 Sprachen */
.signature.de {
    animation-delay: 0s;
}

.signature.en {
    animation-delay: 4s; /* Startet nach 1/3 der Zeit */
}

.signature.ru {
    animation-delay: 8s; /* Startet nach 2/3 der Zeit */
}

@keyframes fadeSignature {
    0% { opacity: 0; transform: translateY(5px); }
    5% { opacity: 1; transform: translateY(0); }  /* Schnelles Einblenden */
    28% { opacity: 1; }                            /* Haltezeit (ca. 3 Sek sichtbar) */
    33% { opacity: 0; transform: translateY(-5px); } /* Ausblenden */
    100% { opacity: 0; }                           /* Warten, bis die anderen durch sind */
}

.service-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-style: italic;
	margin-bottom: 15px;
}

.service-note svg {
    stroke: #48c9b0; /* Das neue weiche Blau-Grün */
}

.price-container {
	width: 85%;
	max-width: 850px;
    background-color: #fff;
    color: #0066CC;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 20px auto;
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
}

.shop-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #dae5f0;
    color: #333;
}

.category-row td {
    background-color: #eef5ff;
    padding: 20px 0;
}

.category-row h3 {
    margin: 0;
    color: #0066CC;
    font-size: 1.2rem;
}

.category-val {
    text-align: middle;
    font-weight: bold;
    color: #0066CC;
}

.price-val {
    text-align: right;
    font-weight: bold;
    color: #0066CC;
}


/* Das blaue Band selbst */
.footer-bottom-links {
    background-color: #003366; 
    margin-top: 10px !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0; /* Etwas Innenabstand für das blaue Band */
    text-align: center;
}

/* Der Link im Normalzustand (Weiß) */
.footer-bottom-links a {
    color: #ffffff !important;
    text-decoration: none; /* Entfernt den Unterstrich, falls gewünscht */
    font-weight: bold;
}

/* Der Link, wenn er bereits besucht wurde (Leichtgrau) */
.footer-bottom-links a:visited {
    color: #cccccc !important; /* Ein helles Grau */
}

/* Optional: Der Link beim Drüberfahren (Hover) */
.footer-bottom-links a:hover {
    color: #eeeeee !important;
    text-decoration: underline;
}

/* Grund-Layout der Karten */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: #fdfdfd;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
}

/* Der Farbakzent am linken Rand der Karten */
.info-card, .status-box-container { 
    border-left: 6px solid #f9f9f9 !important; /* Kräftiges Weis links */
    background-color: #f9f9f9;                /* Hellgrauer Hintergrund für Kontrast */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;                        /* Leicht abgerundete Ecken */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);   /* Dezentere Schatten */
}

/* Spezielle Farbe für das "Infoboard" (z.B. Grün/Grün) */
.infoboard-card {
    border-left-color: #27ae60 !important; 
}

/* Spezielle Farbe für "Termine" (z.B. das Rot von vorhin) */
.termine-card {
    border-left-color: #e74c3c !important;
}

/* Spezifisches Design für die blaue App-Card */
.app-promo-card {
    background-color: #003366 !important;
    color: white !important;
    border-left: none;
    flex: 1 1 100%; /* Nimmt die volle Breite ein */
	text-align: center;
}

.app-promo-card h2, .app-promo-card h3 {
    color: white !important;
    margin-bottom: 15px;
}

.dapeci-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: inline-block;
    text-align: left;
}

.dapeci-list li {
    margin-bottom: 8px;
}

#app {
    width: 100%;
    display: flex !important;
    justify-content: center !important; /* Zentriert die Liste im Container */
    padding: 0 !important;
    margin: 0 auto !important;
}

/* Die Liste selbst */
.app-logos {
    display: flex !important;
    flex-direction: row !important; /* Nebeneinander */
    justify-content: center !important; 
    align-items: center !important;
    
    /* DIE WICHTIGSTE ZEILE: */
    padding: 0 !important;         /* Entfernt den Standard-Links-Abstand der Liste */
    margin: 0 !important;          /* Entfernt äußere Abstände */
    list-style: none !important;   /* Keine Punkte */
    
    gap: 20px;                     /* Gleichmäßiger Abstand ZWISCHEN den Logos */
}

/* Die Listen-Elemente (li) */
.app-logos li {
    margin: 0 !important;          /* Verhindert, dass ein li einseitig drückt */
    padding: 0 !important;
    display: flex;
}

/* Die Bilder in den Links */
.app-logos img {
    display: block !important;
    margin: 0 auto !important;     /* Symmetrie innerhalb des Links */
    max-height: 90px;              /* Einheitliche Höhe für die Optik */
    width: auto;
}
/* Mobil-Optimierung: Logos untereinander, wenn es zu eng wird */
@media (max-width: 600px) {
    .app-logos {
        flex-direction: column !important;
        gap: 0px !important;
    }
}

/* Dunkelblaue Texte für die Info-Karten */
.blue-text {
    color: #003366 !important;
}

/* 1. Die Grundstruktur der Knöpfe (Gilt für alle im Normalzustand) */
.tag-info, .tag-termine, .tag-infoboard {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px; /* Abgerundeter Button-Look */
    font-size: 0.85em;
    font-weight: bold;
    color: #ffffff !important; /* Weißer Text */
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    
    /* STANDARD: Im inaktiven Zustand sind alle Knöpfe leicht blass */
    opacity: 1 !important; 
}

/* 2. Die Hintergrundfarben der Knöpfe (Bleiben immer gleich) */
.tag-info      { background-color: #003366 !important; } /* Sattes Blau */
.tag-termine   { background-color: #e74c3c !important; } /* Sattes Rot */
.tag-infoboard { background-color: #27ae60 !important; } /* Sattes Grün */


/* 3. DIE RETTUNG: Wenn ein konkreter Knopf AKTIV wird, schalten wir die Deckkraft auf 100% */
.tab-header label.tag-info.active {
    opacity: 1 !important;
}

.tab-header label.tag-termine.active {
    opacity: 1 !important;
}

.tab-header label.tag-infoboard.active {
    opacity: 1 !important;
}


/* 4. Randstreifen-Farben der Karten (Bleiben wie gehabt) */
.info-card.app-promo-card { border-left-color: #003366; } 
.info-card.holiday-card   { border-left-color: #e74c3c; } 
.info-card.infoboard-card { border-left-color: #27ae60; }
			
/* App-Logos Positionierung */
.app-logos {
    list-style: none;        /* Entfernt die Aufzählungspunkte */
    padding: 0;
    margin: 20px;
    display: flex;           /* Aktiviert das Nebeneinander-Layout */
    justify-content: center; /* Zentriert die Logos horizontal */
    align-items: center;     /* Zentriert die Logos vertikal zueinander */
    gap: 0px;                /* Abstand zwischen den Logos */
}

.app-logos li img {
    display: block;
    height: auto;
    max-width: 55%;          /* Hier kannst du die Größe aller Logos gleichzeitig steuern */
}

/* Bild-Positionierung */
.app-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: -30px;    /* Lässt den Text-Bereich leicht über das Bild ragen (App-Look) */
}

.app-small-img {
    width: 70%;              /* Bild nimmt nur halbe Breite ein */
    max-width: 750px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Begrenzt die Textbreite am PC auf ein angenehmes Maß */
.text-limit {
    max-width: 800px;        /* Gleiche Breite wie auf deiner History-Seite */
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px;         /* Sicherheitsabstand für Tablets */
    line-height: 1.6;        /* Bessere Lesbarkeit bei längeren Texten */
    text-align: center;      /* Optional: Falls der Text mittig sein soll */
}

/* Am Handy soll er weiterhin die volle Breite nutzen */
@media (max-width: 600px) {
    .text-limit {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Der blaue App-Portal Hintergrund */
.app-portal-style {
    background-color: #003366; /* Typisches Enlite-Dunkelblau - ggf. anpassen */
    color: #ffffff !important;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Weißer Text auf Blauem Grund */
.app-portal-style h1, 
.app-portal-style h2 {
    color: #ffffff !important;
    text-align: center;
}

.app-divider {
    width: 50px;
    height: 3px;
    background-color: #00aaff; /* Akzentfarbe (Hellblau) */
    margin: 15px auto;
}

.app-card {
    background: rgba(255, 255, 255, 0.05); /* Dezente Abhebung der Sektionen */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #00aaff; /* Blauer Akzentstreifen links */
}

.app-card p {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Den gesamten Footer-Block straffen */
.dapeci-footer {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Die Abstände der Überschriften (Name & Zeiten) minimieren */
.dapeci-footer h3 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    font-size: 1.1rem !important; /* Etwas kleiner für mehr Platz */
    line-height: 1.2 !important;
}

/* Die Service-Notizen und Adresszeilen enger zusammenrücken */
.dapeci-footer p, 
.dapeci-footer .service-note, 
.dapeci-footer .signature-wrapper {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
}

/* Die Sprachen-Unterschriften (Signature) nebeneinander statt untereinander */
.signature-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Falls es auf dem Handy zu eng wird, bricht es um */
    font-style: italic;
    font-size: 0.9rem;
}

/* Das Icon und den englischen Text in einer Zeile zentrieren */
.dapeci-footer .service-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px !important;
}

/* Nur Links innerhalb von .kontakt-links werden weiß */
.kontakt-links a {
    color: #ffffff;
    text-decoration: underline; /* Entfernt den Standard-Unterstrich */
}

/* Nur diese Links werden beim Drüberfahren hellgrau */
.kontakt-links a:hover {
    color: #d3d3d3;
    text-decoration: underline; /* Optional: Unterstrich nur beim Hovern */
}

/* Container & Tabs */
.tab-header {
    display: flex;
    gap: 5px;
    margin-bottom: 0;
}

.tab-header label {
    padding: 12px 20px;
    cursor: pointer;
    color: #ffffff; /* Deine Wunschfarbe für Links/Tabs */
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    transition: color 0.3s;
}

/* Hover-Effekt wie gewünscht in Hellgrau */
.tab-header label:hover {
    color: #d3d3d3;
}

/* Inhalts-Bereiche (Tab-Panes) */
.tab-pane {
    display: none;
    padding: 25px;
    border-left: 8px solid; /* Deine farbigen Balken */
}

/* --- Spezifische Farben für die 3 Bereiche --- */

/* 1. Info: Blauer Hintergrund, weißer Balken */
#content-info {
    background-color: #003366;
    border-left-color: #ffffff;
    color: #ffffff;
}
#tab1:checked ~ .tab-header label[for="tab1"] { background-color: #003366; }

/* 2. Termine: Weißer Hintergrund, roter Balken */
#content-termine {
    background-color: #ffffff;
    border-left-color: #e74c3c;
    color: #003366;
}
#tab2:checked ~ .tab-header label[for="tab2"] { background-color: #e74c3c; }

/* 3. Infoboard: Weißer Hintergrund, grüner Balken */
#content-board {
    background-color: #ffffff;
    border-left-color: #27ae60;
    color: #003366;
}
#tab3:checked ~ .tab-header label[for="tab3"] { background-color: #27ae60; }

/* Logik zum Einblenden */
input[type="radio"] { display: none; }
#tab1:checked ~ .tab-content-wrapper #content-info,
#tab2:checked ~ .tab-content-wrapper #content-termine,
#tab3:checked ~ .tab-content-wrapper #content-board {
    display: block;
}