/* ===============================
   EA1 b  
   Beitrag: Aya G. / Yunus A.
   =============================== */

/* Grundstruktur */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f6f1eb;
  color: #2e1c13;
}

/* Kopfbereich */
header {
  background: #4b2e23;
  color: #fff;
  text-align: center;
  padding: 25px 0 10px 0;
}

header h1 {
  margin: 0;
  font-size: 1.8em;
}

/* Navigation */
nav {
  background: #2f4560;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav li {
  display: inline-block;
  margin: 0 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}

nav a:hover {
  background: #4d6b8c;
}

/* Hauptinhalt */
main {
  max-width: 850px;
  margin: 40px auto;
  background: #fffaf6;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
  color: #2f4560;
}

/* Formular */
form {
  display: grid;
  gap: 1em;
}

label {
  font-weight: bold;
}

input[type="text"], select, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

input:focus, textarea:focus {
  outline: 2px solid #4d6b8c;
}

/* Buttons */
button, input[type="submit"] {
  background: #86614e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Links hier ausgrauen*/
.link-Archiv , .link-impressum{
  cursor: not-allowed;
  color: gray;
}

button:hover, input[type="submit"]:hover {
  background: #4b2e23;
}

button, input[type="submit"], nav a {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

article a {
  margin-bottom: 24px;
  display: inline-block;
}

/* Fußbereich */
footer {
  background: #362116;
  color: #f6f1eb;
  text-align: center;
  padding: 18px 0;
  margin-top: 40px;
  font-size: 0.95em;
}

/* Artikel auf der Startseite als kleine Karten darstellen */
main article {
  background: #fffdf9;
  padding: 16px 20px;
  margin: 16px 0;
  border-left: 4px solid #86614e;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* kleine Bewegung, wenn man mit der Maus über einen Artikel fährt */
main article:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Links im Text etwas hervorheben */
main article a {
  font-weight: bold;
  text-decoration: none;
}

/* Pseudoklassen für Links: noch nicht besucht, besucht, Hover, Fokus */
main article a:link {
  color: #2f4560;
}

main article a:visited {
  color: #5b3c2c;
}

main article a:hover,
main article a:focus {
  text-decoration: underline;
}

/* Formularblöcke luftiger machen */
main form div {
  margin-bottom: 0.9em;
}

/* Fieldset und Legend für die Radio-Fragen */
main fieldset {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: 1em;
  background: #fffaf6;
}

main legend {
  font-weight: bold;
  color: #2f4560;
}

/* Label und Eingabefelder Form-Formatierung */
main label {
  display: inline-block;
  margin-bottom: 0.25em;
}

main input[type="text"],
main select {
  max-width: 360px;
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

/* Fokus Zustand für Eingabefelder */
main input[type="text"]:focus,
main select:focus {
  border-color: #4d6b8c;
  box-shadow: 0 0 0 3px rgba(77, 107, 140, 0.25);
  outline: none;
}

/* Buttons ein bisschen plastischer machen */
main button,
main input[type="submit"] {
  background: #86614e;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
}

/* Hover und Active-Zustand für Buttons */
main button:hover,
main input[type="submit"]:hover {
  background: #4b2e23;
}

main button:active,
main input[type="submit"]:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}


