/* Basis-Einstellungen */
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; margin: 0; padding: 0; color: #333; background-color: #f4f7f6; }

/* Navigation */
header { background: #2c3e50; color: #fff; padding: 1rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
nav ul { display: flex; justify-content: center; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
nav ul li { margin: 5px 15px; }
nav ul li a { color: #fff; text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav ul li a:hover { color: #3498db; }

/* Inhalts-Layout */
main { max-width: 850px; margin: 20px auto; padding: 20px; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.05); border-radius: 8px; }
section { padding: 40px 0; border-bottom: 1px solid #eee; }
section:last-of-type { border-bottom: none; }
h2 { color: #2c3e50; border-left: 5px solid #3498db; padding-left: 15px; margin-bottom: 25px; }

/* Formular-Design */
form { display: grid; gap: 15px; max-width: 100%; }
label { font-weight: bold; margin-bottom: -10px; font-size: 0.9em; }
input, textarea { padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; width: 100%; box-sizing: border-box; }
input:focus, textarea:focus { outline: none; border-color: #3498db; box-shadow: 0 0 5px rgba(52,152,219,0.3); }
button { padding: 12px 20px; background: #3498db; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; font-weight: bold; transition: background 0.3s; }
button:hover { background: #2980b9; }

/* Rechtliche Boxen & Spam-Schutz */
.legal-box { background: #fdfdfd; padding: 20px; border: 1px solid #eee; border-radius: 5px; font-size: 0.95em; }
.spam-protected { unicode-bidi: bidi-override; direction: rtl; color: #3498db; font-weight: bold; cursor: pointer; text-decoration: underline; }
.privacy-hint { font-size: 0.8em; color: #7f8c8d; line-height: 1.4; }
.update-info { font-style: italic; color: #95a5a6; font-size: 0.85em; margin-bottom: 10px; }

/* Footer */
footer { text-align: center; padding: 30px; color: #7f8c8d; font-size: 0.9em; }

/* Mobile Optimierung */
@media (max-width: 600px) {
    nav ul { flex-direction: column; align-items: center; }
    main { margin: 10px; padding: 15px; }
}

