:root {
    --accent: #ffcd00; /* Postbank Gelb */
    --primary: #003399; /* Dunkleres Blau für Authentizität */
    --secondary: #0066cc; /* Helleres Blau */
    --text: #333333; /* Dunklerer Text */
    --bg: #ffffff; /* Weißer Hintergrund */
    --surface: #f8f9fa; /* Leichter Grau für Flächen */
    --border: #e0e0e0;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif; /* Typische Schriftart für Banken */
    background: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.5;
}

header { display: none; }

main {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0 24px 0;
}

.page-center {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.layout {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 24px;
    align-items: stretch;
    min-height: 100vh;
}

.hero {
    min-height: calc(100vh - 56px - 48px);
    background: transparent;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.container {
    width: 100%;
    max-width: 500px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar {
    background: #fff;
    border-radius: 0;
    padding: 0 24px 0;
    box-shadow: none;
    border: 1px solid #e6e8ea;
    display: flex;
    flex-direction: column;
}

h2 {
    margin: 0 0 12px;
    font-size: 20px;
    color: var(--text);
}

.panel { width: 100%; }
.panel { flex: 1 1 auto; }

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel h2 + .info-list {
    border-top: 1px solid #e6e8ea;
    padding-top: 16px;
}
.info-list li {
    border-top: 1px solid #e6e8ea;
    padding: 16px 0;
}

.rowline {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    font-size: 0;
}
.icon.warn {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l9 16H3l9-16z"/><path d="M12 9v5"/><circle cx="12" cy="17.5" r="1"/></svg>');
}
.icon.services {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="12" rx="1.8"/><path d="M8 18h8"/><path d="M12 16v2"/></svg>');
}
.icon.lock {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="10" width="14" height="10" rx="2"/><path d="M7 10V8a5 5 0 0 1 10 0v2"/><circle cx="12" cy="15" r="1.6"/></svg>');
}

.info-list h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--text);
}

.info-list p {
    margin: 0 0 8px;
    font-size: 13px;
    color: rgba(11,33,74,0.85);
}

.info-list a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.info-list a:hover { text-decoration: underline; }

.thumb { margin-bottom: 8px; }
.thumb img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

h1 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.brand img {
    height: 32px;
    width: auto;
    display: block;
}

.small {
    height: auto !important;
    width: 100% !important;
    max-width: 100px;
}

.form-group { margin-bottom: 16px; }

/* Error message styled to match Postbank look */
.error {
    color: #b00020;
    background: rgba(176,0,32,0.06);
    border: 1px solid rgba(176,0,32,0.18);
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}

label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    color: var(--text);
    outline: none;
    font-size: 12px;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 4px rgba(0,51,153,0.3);
}

.btn-login {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    margin-top: 16px;
    font-size: 14px;
}

.btn-login:hover { background: var(--secondary); }

.links {
    margin-top: 14px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links a {
    color: var(--primary);
    text-decoration: underline;
}

.links a:hover { text-decoration: underline; }

.security-hints {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 13px;
    color: rgba(11,33,74,0.85);
    line-height: 1.5;
}

.security-hints strong {
    color: var(--text);
    display: block;
    margin-bottom: 6px;
}

footer {
    background: var(--primary);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    margin-top: 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover { text-decoration: underline; }

/* Sidebar Footer (gelber Block) */
.sidebar-footer {
    margin-top: auto;
    background: var(--accent);
    border-radius: 0;
    padding: 16px 24px;
    margin-left: -24px;
    margin-right: -24px;
}
.sidebar-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 14px;
}
.sidebar-footer .footer-links a {
    color: var(--primary);
    text-decoration: underline;
}
.sidebar-footer .legal {
    margin-top: 12px;
    font-size: 12px;
    color: #111;
}
