:root {
 /* Zentrale Farb-Variablen für die neue Alltagshelfer-Rubrik */
 --bg-color: #F8FAFC; /* Ganz helles, sauberes Graublau */
 --text-color: #0F172A; /* Tiefes Anthrazit für perfekte Lesbarkeit */
 --text-muted: #64748B; /* Dezentes Grau für Copyright-Texte & Beschreibungen */
 --accent-blue: #2563EB; /* Dynamisches Branding-Blau für Links & Buttons */
 --accent-purple: #7C3AED; /* Modernes Violett für Hover-Effekte */
 --card-bg: #FFFFFF; /* Weiße Kacheln, damit sie sich vom Hintergrund abheben */
 --border-color: #E2E8F0; /* Sehr feines Hellgrau für saubere Trennlinien */
/* Standard-Größen für HANDYS & TABLETS */
}



/* Standard-Größen für HANDYS & TABLETS */
h1, h2, h3 {
  color: var(--accent-blue);
  font-weight: 700;
  line-height: 1.2;
}





html,
body {
 width: 100%;
 height: 100%;
 margin: 0;
 padding: 0;
 background: var(--bg-color);
 color: var(--text-color);
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

p {
 color: var(--text-color);
 line-height: 1.6;
 font-size: 16px;
 margin-bottom: 15px;
}

/* Hauptüberschriften im klaren, kräftigen Blau */
h1, h2, h3 {

 color: var(--accent-blue);
 font-weight: 700;
 
}


/* Trennlinie im dezenten hellgrauen Verlauf */
.hr {
 border: 0;
 height: 1px;
 background-image: linear-gradient(to right, rgba(226,232,240,0), var(--border-color), rgba(226,232,240,0));
 margin: 25px;
}

.main-container {
    max-width: 1200px;
    margin: 40px auto 0 auto; /* Zentriert den Inhalt und gibt Abstand nach oben */
    padding: 0 20px;          /* Verhindert das Klatschen an den Bildschirmrand */
    box-sizing: border-box;
}

/* Optional: Falls du den Abstand zwischen H1 und H2 noch anpassen willst */
.main-container h1 {
    margin-bottom: 15px;
    font-size: 20px; /* Kannst du nach Wunsch anpassen */
}

.main-container h2 {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-muted); /* Macht die Unterüberschrift etwas dezenter */
}

MOBIL-REPARATUR FÜR FORMULARE & BUTTONS (FÜR SMARTPHONES)
 ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Sorgt dafür, dass Eingabefelder untereinander rutschen statt zu quetschen */
    .control-group {
        flex-direction: column;
        align-items: stretch !important;
        gap: 15px;
        padding: 15px;
    }

    /* 2. Zwingt die Formular-Eingabeboxen auf die volle nutzbare Breite */
    .control-group div, 
    .control-group input, 
    .control-group select, 
    .control-group button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* 3. WICHTIG: Erlaubt den Kategorie-Buttons den Textumbruch, falls der Text zu lang ist */
    .control-group div style*="display: flex" {
        flex-direction: column !important;
    }

    .control-group button.btn-dws, 
    .control-group button {
        white-space: normal !important; /* Erlaubt Zeilenumbruch im Button text */
        text-align: center;
        line-height: 1.4;
        padding: 12px 10px; /* Mehr Treffsicherheit für Finger */
    }

    /* 4. Verhindert, dass die Abo-Liste auf dem Handy seitlich rauswandert */
    .abo-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-delete {
        width: 100%;
        text-align: center;
        background: #FEE2E2; /* Macht den Löschen-Button auf dem Handy leichter erkennbar */
        padding: 8px;
    }
}
/* ==========================================================================
 ABSOLUTE MOBIL-REPARATUR FÜR COMPACT LAYOUT (SMARTPHONES UNTER 768px)
 ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Zwingt die Ergebniskarten untereinander, statt sie nebeneinander zu quetschen */
    .zwei-textkarten-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        gap: 15px !important;
    }

    /* 2. Repariert die einzelnen Infokarten, damit sie nicht ausbrechen */
    .textkarte.infokarte {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }

    /* 3. Verkleinert die riesigen Zahlen auf dem Handy auf ein stabiles Maß */
    #totalMonth, 
    #totalYear {
        font-size: 24px !important; /* Von 32px runtergeschraubt, damit nichts bricht */
        display: block !important;
        word-wrap: break-word !important;
    }

    /* 4. Reduziert das Padding der Control-Group, um wertvolle Pixel zu sparen */
    .control-group {
        padding: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. Macht Eingabefelder auf Handys etwas kompakter */
    input[type="text"], 
    input[type="number"], 
    select {
        font-size: 14px !important;
        padding: 10px !important;
    }
}


/* ==========================================================================
 SCHWEBENDES MENÜ (PC & ALLGEMEIN)
 ========================================================================== */
.floating-nav {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85); /* Weiß mit edlem Milchglas-Effekt */
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px); 
 border-bottom: 1px solid var(--border-color);
 box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.nav-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
 padding: 10px 20px;
}

.nav-logo {
 color: var(--accent-blue);
 font-size: 24px;
 font-weight: bold;
 letter-spacing: 0.5px;
 text-decoration: none;
}

.nav-links {
 display: flex;
 list-style: none;
}

.nav-links li {
 margin-left: 25px;
}

.nav-links a {
 color: var(--text-color);
 text-decoration: none;
 font-size: 16px;
 font-weight: 500;
 transition: color 0.25s ease;
}

/* Menü-Links wechseln beim Hovern elegant zu Blau */
.nav-links a:hover {
 color: var(--accent-blue);
}

/* Burger Button */
.burger-menu {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 flex-direction: column;
 justify-content: space-between;
 width: 30px;
 height: 21px;
}

.burger-menu .bar {
 width: 100%;
 height: 2px;
 background-color: var(--text-color);
 border-radius: 2px;
 transition: all 0.3s ease;
}

/* ==========================================================================
 HEADER BANNER BILD-OPTIMIERUNG (PC)
 ========================================================================== */
.site-header {
 width: 100%;
 margin: 0 auto;
 padding-top: 20px; /* Platzhalter wegen des schwebenden Menüs */
}

.site-header a {
 display: block;
 width: 100%;
}

.header-banner {
 width: 100%;
 height: auto;
 display: block;
 border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
 TEXTKARTEN & INFOKACHELN (SAAS-CARD-DESIGN)
 ========================================================================== */
.zwei-textkarten-container {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); 
 gap: 25px;
 max-width: 1200px;
 margin: 60px auto 100px auto; 
 padding: 0 20px;
 box-sizing: border-box;
}

.zwei-textkarten-container h2 {
    font-size: 1.0rem;
    color: var(--accent-blue);
    font-weight: normal;
    
}

.textkarte {
 display: flex;
 flex-direction: column;
 background-color: var(--card-bg);
 border: 1px solid var(--border-color);
 border-radius: 8px; /* Schöne, moderne Abrundung */
 padding: 30px; 
 text-decoration: none;
 color: var(--text-color); 
 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
 transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.textkarte h3 {
 color: var(--accent-blue);
 font-size: 22px;
 margin-bottom: 12px;
 font-weight: 600;
}

.textkarte p {
 color: var(--text-muted); /* Fließtext in Kacheln etwas dezenter */
 font-size: 15px;
 line-height: 1.6;
 margin-bottom: 0;
}

/* Interaktiver Hover-Effekt: Kachel hebt sich leicht und bekommt einen violetten Rahmen */
.textkarte:hover {
 transform: translateY(-4px); 
 border-color: var(--accent-purple);
 box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.1), 0 4px 6px -2px rgba(124, 58, 237, 0.05);
}

.textkarte.infokarte {
 cursor: default; 
}

.textkarte.infokarte:hover {
 transform: none; 
 border-color: var(--border-color);
 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
 FOOTER STYLING
 ========================================================================== */
.site-footer {
 background-color: #FFFFFF;
 border-top: 1px solid var(--border-color);
 padding: 30px 20px;
 margin-top: 50px;
}

.footer-container {
 max-width: 1200px;
 margin: 0 auto;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 15px;
}

.footer-links {
 display: flex;
 gap: 20px;
}

.footer-links a {
 color: var(--accent-blue);
 text-decoration: none;
 font-size: 14px;
 transition: color 0.25s ease;
}

.footer-links a:hover {
 color: var(--accent-purple); /* Wechselt beim Hovern zu Violett */
}

.footer-copy {
 color: var(--text-muted);
 font-size: 12px;
 text-align: center;
 letter-spacing: 0.5px;
}

/* ==========================================================================
 RESPONSIVE DESIGN (SMARTPHONES UNTER 768px)
 ========================================================================== */
@media (max-width: 768px) {
 .burger-menu {
 display: flex;
 }

 .nav-links {
 display: none;
 flex-direction: column;
 width: 100%;
 position: absolute;
 top: 100%;
 left: 0;
 background: rgba(255, 255, 255, 0.98); 
 backdrop-filter: blur(10px);
 padding: 10px 0;
 border-bottom: 1px solid var(--border-color);
 box-shadow: 0 10px 15px rgba(0,0,0,0.05);
 }

 .nav-links.active {
 display: flex;
 animation: fadeInDown 0.3s ease forwards;
 }

 .nav-links li {
 margin: 15px 0;
 text-align: center;
 margin-left: 0;
 }

 .nav-links a {
 font-size: 18px;
 display: block;
 width: 100%;
 }

 .nav-links a:active,
 .nav-links a:hover {
 color: var(--accent-blue);
 }

 .burger-menu.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
 .burger-menu.open .bar:nth-child(2) { opacity: 0; }
 .burger-menu.open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

 .zwei-textkarten-container {
 margin: 40px auto 60px auto;
 gap: 15px;
 }

 .textkarte {
 padding: 20px;
 }

 .textkarte h3 {
 font-size: 18px;
 margin-bottom: 8px;
 }

 .textkarte p {
 font-size: 14px;
 }
}

@media (max-width: 480px) {
 .footer-links {
 flex-direction: column;
 align-items: center;
 gap: 10px;
 }
}

@keyframes fadeInDown {
 from { opacity: 0; transform: translateY(-10px); }
 to { opacity: 1; transform: translateY(0); }
}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    background: #FFFFFF;
    color: #191970;
     p {
      color: #191970;
    }

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;

   .hr {
    border: 2px;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); 
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); 
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); 
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); 
    margin: 25px;
} 
 
}





.music-player-container {
  bottom: 20px;
  left: 50%;
  z-index: 1000;
}

.music-btn {
  background-color: #ffffff;
  border: 2px solid #000000;
  color: #191970;
  padding: 10px 15px;
  font-family: sans-serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Hover-Effekt */
.music-btn:hover {
  border-color: #ffd700;
  color: #9932cc;
}

/* Visueller Status, wenn die Musik läuft */
.music-btn.on {
  border-color: #9932cc;
  color: #9932cc;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}





/* ==========================================================================
   GLOBALES ÜBERSCHRIFTEN-STYLING (H1 & H2)
   ========================================================================== */
/* ==========================================================================
   GLOBALES ÜBERSCHRIFTEN-STYLING (H1 & H2) MIT LINKEM ABSTAND
   ========================================================================== */
h1 {
    color: #191970;
    font-size: 22px;
    //font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    
    /* ÄNDERUNG: Schafft links standardmäßig 20px Sicherheitsabstand zum Rand */
    padding-left: 10px; 
    padding-right: 10px; /* Rechts gleich mitgesichert für lange Titel */
}

h2 {
    color: #191970;
    font-size: 1.0rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
    
    /* ÄNDERUNG: Schafft auch hier links und rechts Platz */
    padding-left: 20px;
    padding-right: 20px;
}

h3 {
    color: #191970;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.3px;
    margin-bottom: 15px;
    
    /* ÄNDERUNG: Schafft auch hier links und rechts Platz */
    padding-left: 20px;
    padding-right: 20px;
}

/* Stil für benutzerdefinierte Body Links */
.body-link {
    color: #191970; /* Standardfarbe für Links */
    text-decoration: none; /* Keine Unterstreichung */
    font-weight: bold; /* Fettdruck */
}

/* Hover-Effekt für benutzerdefinierte Links */
.body-link:hover {
    color: #9932cc; /* Farbe beim Hover */
    text-decoration: underline; /* Unterstreichung beim Hover */
}


/* Stil für benutzerdefinierte Links */
.custom-link {
    color: #ffffff; /* Standardfarbe für Links */
    text-decoration: none; /* Keine Unterstreichung */
    font-weight: bold; /* Fettdruck */
}

/* Hover-Effekt für benutzerdefinierte Links */
.custom-link:hover {
    color: #9932cc; /* Farbe beim Hover */
    text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Ausrichtung für Links - links */
.align-left {
    text-align: left; /* Textausrichtung nach links */
}

/* Ausrichtung für Links - rechts */
.align-right {
    text-align: right; /* Textausrichtung nach rechts */
}

/* Zusätzliche Anpassungen */
.align-center {
    text-align: center; /* Textausrichtung in der Mitte */
}





/* ==========================================================================
   RESPONSIVE ÜBERSCHRIFTEN (SMARTPHONES unter 768px)
   ========================================================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 16px;
        margin-bottom: 15px;
        padding-left: 15px; /* Auf dem Handy minimal kompakter */
        padding-right: 15px;
    }

    h2 {
        font-size: 1.0rem;
        margin-bottom: 12px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h3 {
        font-size: 16px;
        margin-bottom: 12px;
        padding-left: 15px;
        padding-right: 15px;
    }
}


.text-reinweiss {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    padding-left: 20px;
}


p {
    color: #f3f4f6;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px; /* Schafft automatisch Platz nach unten zum nächsten Absatz */
}




/* ==========================================================================
   RESPONSIVE ÜBERSCHRIFTEN (SMARTPHONES unter 768px)
   ========================================================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 16px; /* Kompakter und perfekt lesbar auf Handys */
        margin-bottom: 15px;
    }

    h2 {
        font-size: 1.0rem; /* Verhindert unschöne Zeilenumbrüche auf kleinen Displays */
        margin-bottom: 12px;
    }
    
    h3 {
        font-size: 16px; /* Verhindert unschöne Zeilenumbrüche auf kleinen Displays */
        margin-bottom: 12px;
    }
}


/* ==========================================================================
   FARBVERLAUF: WEISS ZU GOLD (.gradient-text)
   ========================================================================== */
.gradient-text {
    /* Der Farbverlauf: Startet oben links  und verläuft nach unten rechts */
    background: linear-gradient(135deg, #191970 30%, #9932cc 90%); 
    
    /* Schneidet den Hintergrund exakt auf die Form der Buchstaben zu */
    background-clip: text;
    -webkit-background-clip: text;
    
    /* Macht die eigentliche Schriftfarbe transparent, damit der Hintergrund durchscheint */
    color: transparent;
    -webkit-text-fill-color: transparent;
    
    /* Verhindert, dass der Verlauf bei langen Überschriften unschön umbricht */
    display: inline-block; 
}





/* ==========================================================================
GLOBALE EINSTELLUNGEN & RESET
========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #191970;
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}




/* ==========================================================================
SCHWEBENDES MENÜ (PC & ALLGEMEIN)
========================================================================== */
.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(25,25,112);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Für Safari-Support */
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.nav-logo {
  color: #191970; 
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00ffff;
}

/* Burger Button standardmäßig auf dem PC verstecken */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.burger-menu .bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  color: #9932cc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
HEADER BANNER BILD-OPTIMIERUNG (PC)
========================================================================== */

.site-header {
  width: 100%;
  //margin-top: 200px; /* Ändern Sie die Zahl, um den Abstand anzupassen */
  //max-width: 1200px; /* Begrenzt die maximale Breite auf PC-Bildschirmen */
  margin: 0 auto;    /* Zentriert den gesamten Header auf großen Monitoren */
}

.site-header a {
  display: block;    /* Macht die gesamte Fläche des Bildes anklickbar */
  width: 100%;
}

.header-banner {
  width: 100%;       /* Das Bild passt sich immer der Breite des Bildschirms an */
  height: auto;      /* Verhindert, dass das Bild verzerrt oder gestaucht wird */
  display: block;    /* Entfernt einen kleinen, ungewollten HTML-Abstand unter Bildern */
}


/* ==========================================================================
RESPONSIVE DESIGN (SMARTPHONES unter 768px)
========================================================================== */
@media (max-width: 768px) {
  

  /* Burger-Button auf dem Handy anzeigen */
  .burger-menu {
    display: flex;
  }

  /* Navigation wird auf dem Handy zum versteckten Dropdown-Menü */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(25,25,112, 0.85);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    
  }

  /* Wenn das Menü per JavaScript geöffnet wird */
  .nav-links.active {
    display: flex;
    animation: fadeInDown 0.3s ease forwards;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
    margin-left: 0; /* Entfernt den PC-Link-Abstand links */
  }

  .nav-links a {
    font-size: 18px;
    display: block;
    width: 100%;
  }

  /* ANIMATION: 3 Striche verwandeln sich in ein X */
  .burger-menu.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .burger-menu.open .bar:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Animation für das geschmeidige Aufklappen des Handy-Menüs */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
MAIN SEITEN GESTALTUNG (KACHELN & TEXTE)
========================================================================== */
.zwei-textkarten-container {
    display: grid;
    /* BEHOBEN: Nutzt min() um sicherzustellen, dass die Boxen auf kleinen Handys niemals breiter als 100% werden */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); 
    gap: 25px;
    max-width: 1200px;
    margin: 60px auto 100px auto; 
    padding: 0 20px;
    box-sizing: border-box;
    background-color: transparent; 
}

.zwei-textkarten-container h2 {
    font-size: 1.0rem;
    color: var(--accent-blue);
    font-weight: normal;
    //color: var(--text-muted); /* Macht die Unterüberschrift etwas dezenter */
}


.textkarte {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF; 
    border: 1px solid rgba(25,25,112); 
    border-radius: 4px;
    padding: 30px; 
    text-decoration: none;
    color: #191970             
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Textkarte - Überschriften Styling */
.textkarte h3 {
    color: #191970; 
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Textkarte - Beschreibungstext Styling */
.textkarte p {
    color: #191970; 
    font-size: 15px;
    line-height: 1.6;
}

.textkarte:hover {
    transform: translateY(-5px); 
    border-color: #191970; 
    box-shadow: 0 10px 30px rgba(25,25,112); 
}

/* Verhindert den Hover-Effekt und den Zeigefinger bei reinen Infokarten */
.textkarte.infokarte {
    cursor: default; 
}

.textkarte.infokarte:hover {
    transform: none; 
    box-shadow: none; 
}

/* ==========================================================================
RESPONSIVE ANPASSUNG FÜR SMARTPHONES (Unter 768px)
========================================================================== */
@media (max-width: 768px) {
    .zwei-textkarten-container {
        margin: 40px auto 60px auto; /* Etwas kompakterer Abstand auf Mobilgeräten */
        gap: 15px; /* Weniger Abstand zwischen den Boxen auf dem Handy */
    }

    .textkarte {
        padding: 20px; /* Reduziert den 