/* Grundlayout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f8f8;
}

/* Topbar mit Datum und Hinweis */
.topbar {
    background: #222;
    color: white;
    padding: 8px 0;
    position: relative;
    height: 50px;
}

.datum {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.hinweisbox {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    background: #e6b800;
    color: black;
    width: 250px;
    height: 30px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Haupt-Layout */
.layout {
    width: 1280px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header img {
    max-height: 70px;
}

.quicklinks img {
    width: 40px;
    height: 40px;
    margin-left: 15px;
    border-radius: 5px;
}

/* Top-Suchbegriffe */
.topsuchen {
    margin: 15px 0 5px 15px;
    font-size: 14px;
}

.topsuchen a {
    color: #e6b800;
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
}

.topsuchen a:hover {
    text-decoration: underline;
}

/* Sucheingabe */
.suchebox {
    margin: 10px 15px;
    display: flex;
    align-items: center;
}

.suchebox input {
    padding: 8px 12px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.suchebox button {
    margin-left: 10px;
    padding: 8px 15px;
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.suchebox button:hover {
    background: #e6b800;
    color: black;
}

/* Navigation */
.nav {
    display: flex;
    background: #fff;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.nav a {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.nav a.active {
    background: #e6b800;
    color: white;
}

.nav a:hover {
    background: #e6b800;
    color: white;
}

/* Hauptinhalt */
.content,
.footerbox {
    width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
}

/* Footerbereich */
.footerbox {
    background: #5c4033;
    color: white;
    font-size: 14px;
}

.footer {
    background: black;
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-size: 0.9em;
}

.footer a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Suchergebnisse */
.suchresult {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
}

.suchresult h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #222;
}

.suchresult p {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #444;
}

.suchresult small {
    display: block;
    color: #888;
    font-size: 12px;
}

.suchresult .link {
    margin-top: 8px;
    font-size: 13px;
    color: #0073aa;
    word-break: break-word;
}
