/* Seite auf volle Höhe bringen */
html, body {
    height: 100%;
}

/* Body als Flex-Container: Inhalt + Footer */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    padding-top: 56px;  /* Navbar bleibt berücksichtigt */
    margin: 0;          /* Standard-Body-Margin weg */
}


section {
	padding: 150px 0 20px;
}

#kontaktformular input,
#kontaktformular textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

img {
	max-width: 100%;
}

pre,
code {
	background: #f8f8f8;
	color: #333;
}

pre, code {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    max-width: 100%;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title,
h2.title {
	font-size: 2.3rem;

}

.post-date {
    font-size: 1rem;
    color: #545454;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #eee;
	font-style: italic;
}

nav.navbar.navbar-dark .nav-link {
    color: #ffffff !important;
    font-size: 1rem !important;
}

nav.navbar.navbar-dark .nav-link:hover,
nav.navbar.navbar-dark .nav-link:focus {
    color: #f8f9fa !important;
}


/* Footer */
footer {
    position: relative;
    width: 100%;
    background-color: #212529; /* wenn du sicherstellen willst dass es dunkel bleibt */
    padding: 15px 0;
    font-size: 0.8em;
    line-height: 1.4;
     margin-top: auto;
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;
}

/* Plugins */
.plugin {
	margin-top: 3rem;
}

.plugin-label {
	font-size: 1em;
	text-transform: uppercase;
}

.plugin ul {
	list-style: none;
	padding: 0 0 0 10px;
}

.bi {
	margin-right: .5rem !important;
}

/* Standard-Links im Inhalt */
a {
    color: #0645ad;              /* dunkles Blau, guter Kontrast auf weiß */
    
}

a:visited {
    color: #0b0080;              /* etwas dunkler für besuchte Links */
}

a:hover,
a:focus {
    color: #0b0080;
   
}

.cc-badge {
    margin-right: 20px;  /* Abstand nach rechts */
    vertical-align: middle; /* optional, für bessere Ausrichtung */
}

.t0by-mail::before {
  content: attr(data-u) "@";
}

.t0by-mail::after {
  content: attr(data-d);
}

/* --- Kommentarbereich allgemein ---------------------------------- */

/* a) Abstand vom Beitrag zu den Kommentaren kleiner machen */
#comments {
    margin-top: 10px;      /* vorher wahrscheinlich deutlich mehr */
}

/* b) Abstand zwischen den einzelnen Kommentaren */
#comments .comment {
    margin-bottom: 1rem;   /* ca. eine Zeile */
}

/* c) Abstand zwischen letztem Kommentar und "Kommentar schreiben" */
#comments h3 {
    margin-top: 2rem;      /* ca. zwei Zeilen */
}

/* d) Name / E-Mail / Kommentar immer auf volle Breite */
#comments .comment-form input[type="text"],
#comments .comment-form input[type="email"],
#comments .comment-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

/* optional: etwas Abstand zwischen den Formular-Zeilen */
#comments .comment-form p {
    margin-bottom: 0.75rem;
}

/* Kommentarbereich näher an den Beitrag holen */
#comments.snicker-comments {
    margin-top: 10px !important;    /* statt 30px */
    padding-top: 5px;            /* statt 20px */
}

/* ============================================
   Kommentarbereich wie Kontaktformular stylen
   ============================================ */

/* Gesamter Kommentarbereich */
#comments {
    margin-top: 20px;
    padding-top: 0;
}

/* Überschriften im Kommentarbereich */
#comments h2,
#comments h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* Liste der Kommentare – Abstand nach unten */
#comments .snicker-comments-list {
    margin-bottom: 1.5rem;
}

/* Einzelner Kommentar – optisch wie "Block" im Formular */
#comments .snicker-comments-list .comment {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    background: #ffffff;
    margin-bottom: 0.75rem;
}

/* Name + Datum etwas dezenter formatieren */
#comments .comment-meta {
    font-size: 0.9rem;
    color: #545454;
    margin-bottom: 0.25rem;
}

#comments .comment-meta strong {
    font-weight: 600;
}

/* Kommentartext */
#comments .comment-comment {
    font-size: 1rem;
}

/* Formular-Container: oben etwas Luft */
#comments .comment-form {
    margin-top: 1.5rem;
}

/* Labels wie im Kontaktformular */
#comments .comment-form label {
    display: inline-block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

/* Eingabefelder – exakt wie Kontaktformular */
#comments .comment-form input[type="text"],
#comments .comment-form input[type="email"],
#comments .comment-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Abstände zwischen den Formularzeilen */
#comments .comment-form p {
    margin-bottom: 0.75rem;
}

/* Button an Kontaktformular-Stil anlehnen */
#comments .comment-form button[type="submit"],
#comments .comment-form button {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #343a40;
    background-color: #343a40;
    color: #ffffff;
    cursor: pointer;
}

#comments .comment-form button:hover,
#comments .comment-form button:focus {
    background-color: #000000;
}

/* Für die Anker, dass die Überschrift nicht verschwindet */
[id] {
    scroll-margin-top: 60px; /* Höhe der Navbar */
}
