/*----------- Allgemein -------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: Arial, sans-serif; color: #efefef; background: #000; overflow-x: hidden; scroll-padding-top: 80px; scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; padding-top: 60px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/*----------- Header ----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.header {
    position: fixed; top: 0; left: 0; right: 0; height: 60px; background: #fff; z-index: 20;
    border-top: 4px solid #fff; border-bottom: 2px solid #fff; box-shadow: inset 0 1px 0 #000, inset 0 -2px 0 #000;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 10px;
    font-size: 20px; line-height: 1; color: #000; white-space: nowrap;
}
.header a { color: inherit; text-decoration: none; }
.header-links  { grid-column: 1; justify-self: start; }
.header-mitte  { grid-column: 2; justify-self: start; display: none; }
.header-rechts { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }

/*----------- Hintergrundbilder------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.hintergrund { position: fixed; inset: 0; z-index: -1; }
.hintergrund img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: blur(4px) brightness(40%); transform: scale(1.01); }

/*----------- Footer ----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.footer { flex-shrink: 0; background: rgba(60, 60, 60, 0.7); border-top: 1px solid #888; padding: 12px 10px 20px; font-size: 15px; line-height: 1.2; text-align: left; color: #aaa; }
.footer a { color: #aaa; text-decoration: none; margin: 0 20px 0 0; }
.footer a:hover { color: #fff; text-decoration: none; }

/*----------- Inhalt ----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
main { flex: 1 0 auto; width: 100%; margin: 0; padding: 20px 10px 60px; font-size: 17px; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
main h1 { font-size: 30px; line-height: 1.2; font-weight: normal; padding-bottom: 20px; }
main h2 { font-size: 24px; line-height: 1.2; font-weight: normal; padding-top: 20px; padding-bottom: 10px; margin-bottom: 20px; border-bottom: 1px solid #fff; }
main p, main ul, main ol { margin-bottom: 1.1em; }
main ul, main ol { padding-left: 1.4em; }
main li { margin-bottom: 0.1em; }
main a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
main a:hover { text-decoration-thickness: 2px; }
main img { display: block; max-width: 100%; height: auto; margin: 20px 0; /* border: 1px solid #fff; */ }
.kontakt { unicode-bidi: bidi-override; direction: rtl; }

/*----------- Sroll innerhalb des Inhalts -------------------------------------------------------------------------------------------------------------------------------------------------*/
.scroll { overflow-x: auto; margin-bottom: 1.1em; }
table { border-collapse: collapse; min-width: 100%; }
th, td { border: 1px solid #ccc; padding: 6px 10px; text-align: left; font-size: 16px; }
pre, code { font-family: Consolas, monospace; font-size: 15px; }
pre { overflow-x: auto; padding: 12px; border: 1px solid #fff; margin-bottom: 1.1em; }

/*----------- Responsive Anpassung --------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media (min-width: 768px) {
    .header { gap: 35px; padding: 0 15px; font-size: 25px; }
    .header-mitte { display: block; }
    .footer { padding: 12px 15px 20px; }
    main { padding: 20px 15px 60px; }
}