body {
    background-color: #262626;
    color: #d0d0d0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    padding: 0 0 2rem 0;
}

.title {
    background-color: #1878d0;
    color: #dcdcdc;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.title-text {
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.title img {
    vertical-align: middle;
    height: 80px;
    width: auto;
}

.menu {
    line-height: 2.0;
    background-color: #383838;
    border: 1px solid #737373;
    border-radius: 0.3em;
    padding: 0.4rem 0.8rem;
    margin: 1rem 0;
    color: #ffffff;
}

.menu a{
    padding: 2px 10px;

}

h2 {
    color: #d4d4d4;
    font-weight: 500;
    margin-top: 0.2rem;
    margin-bottom: 0.7rem;
    padding-left: 7pt;
    letter-spacing: 0.2px;
}

h3 {
    color: #c8c8c8;
    font-weight: 500;
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    padding-left: 12px;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
}

p {
    margin: 0.5rem 0;
    padding-left: 7pt;
    color: #cfcfcf;
}

.block {
    margin-bottom: 1.5rem;
}

/* Dezente Button-Optik für die horizontalen Linkgruppen */
.block p a {
    display: inline-block;
    padding: 1px 6px;
    margin: 4px 6px;
    background-color: #2a2f33;      /* ruhiges, dunkles Grau */
    border: 1px solid #3a4248;      /* feine Kontur */
    border-radius: 3px;             /* dezente Rundung */
    color: #6aa7d8;                 /* dein ritterfips-Blau */
    text-decoration: none;
    line-height: 1.2; 
    transition: background 0.15s ease, border-color 0.15s ease;
}

.block p a:hover {
    background-color: #343b41;      /* leicht heller beim Hover */
    border-color: #6aa7d8;          /* dezente Blau-Betonung */
    color: #8bbce4;                 /* helleres Blau beim Hover */
}


a {
    color: #6aa7d8;
    text-decoration: none;
}

a:hover {
     color: #8bbce4;
     opacity: 0.90;
     background-color: rgba(255,255,255,0.05);
}

a.external {
    color: #8fbba6;
}
a.external:hover {
    color: #a4cdbc;
}

/* Externe Links in den Umwelt-Blöcken grün einfärben */
.block a.external {
    color: #8fbba6 !important;
}

.block a.external:hover {
    color: #a4cdbc !important;
}



p, h2, footer, .menu {
    padding-left: 12px;
}

.private {
    color: #FF8C00;
}

hr {
    border: none;
    border-top: 1px solid #444;
    margin: 0.8rem 0;
}

.wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

footer, .footer {
    margin-top: 2.5rem;
    padding-left: 7pt;
    font-size: 0.9rem;
    color: #9aa3ad;
    letter-spacing: 0.2px;
}

/* ----------------------------------------------------
   Zweispaltiges Layout: robust mit CSS Grid
   ---------------------------------------------------- */

.layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
    width: 100%;
}

/* Sidebar links */

.sidebar {
    /* Breite kommt aus grid-template-columns */
}

.cat-list {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}

.cat-list li {
    margin-bottom: 6px;
}

.cat-list a.active {
    font-weight: 600;
    color: #8bbce4;
    text-decoration: underline;
}

/* Rechte Spalte */

.content {
    min-width: 0;
}

/* Einträge */

.entry {
    padding: 8px 0;
    border-bottom: 1px solid #222;
}

.entry:last-child {
    border-bottom: none;
}

/* Titel innerhalb der Einträge – eigene Klasse wäre sauberer,
   aber wir lassen .title hier bewusst in Ruhe, damit dein Header
   oben nicht kaputtgeht. Stattdessen arbeiten die Einträge über
   das Markup (a.title / div.title) mit. */

.desc {
    font-size: 14px;
    color: #ccc;
    margin-top: 2px;
    max-width: 60rem;
}

/* Kontaktformular – ruhige, moderne Optik */
form {
    max-width: 520px;
    margin: 20px 0;
    padding: 0 4px;
}

form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #ddd;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 6px 8px;
    background: #1f1f1f;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #eee;
    font-size: 1em;
    margin-bottom: 14px;
    box-sizing: border-box;
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
form input[type="submit"],
form input[type="reset"] {
    padding: 6px 14px;
    margin-right: 10px;
    background: #2a2f33;
    border: 1px solid #3a4248;
    border-radius: 4px;
    color: #6aa7d8;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

form input[type="submit"]:hover,
form input[type="reset"]:hover {
    background: #343b41;
    border-color: #6aa7d8;
}

.weather-table {
      width: 100%;
      border-collapse: collapse;
      margin-left: auto;
      margin-right: auto;
}

.weather-table td {
      width: 50%;
      padding: 10px;

}

     table {
            border-collapse: collapse;
            border: medium solid grey;
            }
     td,th {vertical-align: middle;
            text-align: center;
            padding: .2em .2em .2em .2em;
            border: thin solid grey;
            }
     th {background-color:#b0e2ff;
        }
     .spalte {width: 16px;
             }
     .kopfspalte {background-color: #ffffe0;
                  padding: 0em 1em 0em 1em;
             }
     .kreis {width: 14px;
            height: 14px;
            border-radius: 7px;
            background-color: #ff8c00;
            }
     .dreieck {width: 0;
               height: 0;
               border-left: 7px solid transparent;
               border-right: 7px solid transparent;
               border-bottom: 14px solid #ff0000;
               }
     .italic{font-style: italic;
            }

/* Dunkles Tabellen-Design für die Phänologie-Seite */
.pheno-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #1e242b;      /* dunkles, ruhiges Grau-Blau */
    border: 1px solid #2f363e;      /* dezente Außenlinie */
    color: #e0e0e0;                 /* gut lesbarer Text */
}

.pheno-table th {
    background-color: #262d34;      /* leicht hellere Kopfzeile */
    padding: 8px 10px;
    border-bottom: 1px solid #3a424b;
    font-weight: 600;
    text-align: left;
}

.pheno-table td {
    padding: 2px 6px;
    border-bottom: 1px solid #2f363e;
}

/* Dezente Zebra-Streifen für bessere Lesbarkeit */
.pheno-table tr:nth-child(even) td {
    background-color: #23292f;
}


