131 lines
3.6 KiB
CSS
131 lines
3.6 KiB
CSS
:root {
|
|
--bg: #f7f1e8;
|
|
--panel: #fffaf4;
|
|
--text: #3c332c;
|
|
--accent: #b7864f;
|
|
--accent-dark: #8f6437;
|
|
--border: #eadbc8;
|
|
--soft: #efe3d2;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
body {
|
|
margin: 0;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
color: var(--text);
|
|
background: linear-gradient(180deg, #fbf7f1, var(--bg));
|
|
}
|
|
.container, .page-wrap {
|
|
width: min(1100px, calc(100% - 32px));
|
|
margin: 0 auto;
|
|
}
|
|
.page-wrap { padding: 24px 0 48px; }
|
|
.site-header, .site-footer {
|
|
background: rgba(255,255,255,0.6);
|
|
backdrop-filter: blur(6px);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.site-footer { border-top: 1px solid var(--border); border-bottom: 0; padding: 20px 0; margin-top: 32px; }
|
|
.nav-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 18px 0;
|
|
}
|
|
.brand {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--accent-dark);
|
|
text-decoration: none;
|
|
}
|
|
.main-nav { display: flex; gap: 16px; align-items: center; }
|
|
.main-nav a, .user-menu span { color: var(--text); text-decoration: none; }
|
|
.user-menu { position: relative; padding: 10px 14px; background: var(--panel); border-radius: 999px; border: 1px solid var(--border); }
|
|
.user-menu:hover .dropdown { display: block; }
|
|
.dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
min-width: 180px;
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 18px;
|
|
overflow: hidden;
|
|
}
|
|
.dropdown a { display: block; padding: 12px 14px; }
|
|
.dropdown a:hover { background: var(--soft); }
|
|
.card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 26px;
|
|
padding: 24px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 15px 40px rgba(80, 58, 34, 0.08);
|
|
}
|
|
.hero-card { padding: 40px 32px; }
|
|
.form-card { max-width: 560px; }
|
|
input[type="text"], input[type="email"], input[type="password"] {
|
|
width: 100%;
|
|
margin: 8px 0 18px;
|
|
padding: 14px 16px;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--border);
|
|
background: #fff;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 12px 18px;
|
|
border-radius: 16px;
|
|
background: var(--accent);
|
|
color: #fff;
|
|
text-decoration: none;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
.btn-secondary { background: var(--accent-dark); }
|
|
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
.topic-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 18px;
|
|
}
|
|
.topic-box, .question-box, .contact-box {
|
|
background: #fff;
|
|
border: 1px solid var(--border);
|
|
border-radius: 20px;
|
|
padding: 18px;
|
|
}
|
|
.question-box { margin-bottom: 16px; }
|
|
.radio-row { display: flex; gap: 18px; }
|
|
.result-chart { width: 100%; max-width: 1000px; border-radius: 18px; border: 1px solid var(--border); }
|
|
.result-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
|
|
.result-table th, .result-table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; }
|
|
.flash-wrapper { margin-bottom: 16px; }
|
|
.flash {
|
|
padding: 14px 16px;
|
|
border-radius: 16px;
|
|
margin-bottom: 10px;
|
|
border: 1px solid var(--border);
|
|
background: #fff;
|
|
}
|
|
.flash.success { border-color: #9fc89f; }
|
|
.flash.warning { border-color: #e0b86d; }
|
|
.flash.danger { border-color: #d89f9f; }
|
|
.muted { color: #786a5d; }
|
|
@media (max-width: 700px) {
|
|
.nav-bar { flex-direction: column; gap: 12px; }
|
|
}
|
|
|
|
.user-menu {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.user-menu-dropdown {
|
|
position: absolute;
|
|
top: 100%; /* direkt unter dem Button */
|
|
left: 0;
|
|
margin-top: 0; /* GANZ WICHTIG */
|
|
padding-top: 0; /* falls vorhanden */
|
|
} |