* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #f5f6f8;
    --card: #ffffff;
    --text: #1a2233;
    --muted: #6b7280;
    --accent: #e11d48;
    --accent-dark: #be123c;
    --border: #e5e7eb;
    --radius: 14px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
}

.logo span {
    color: var(--accent);
}

nav a {
    margin-left: 18px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--accent);
}

.hero {
    padding: 48px 0 32px;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.hero p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 24px;
}

.search {
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto;
}

.search input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
}

.search button,
.btn {
    padding: 12px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.search button:hover,
.btn:hover {
    background: var(--accent-dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 24px;
}

.chip {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.chip.active,
.chip:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

h2 {
    font-size: 1.4rem;
    margin: 28px 0 16px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card img,
.img-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.img-placeholder {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    font-size: 1.05rem;
    margin: 8px 0 4px;
}

.meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 6px;
}

.badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.featured-card {
    border: 2px solid var(--accent);
}

.newsletter {
    margin: 48px 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.newsletter form {
    display: flex;
    gap: 8px;
    max-width: 440px;
    margin: 16px auto 0;
}

.newsletter input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
}

.alert {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 12px 16px;
    border-radius: 10px;
    margin: 12px 0;
}

.empty {
    color: var(--muted);
    padding: 24px 0;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--card);
    padding: 36px 0 20px;
    margin-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 10px;
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.footer-social a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-admin {
    color: var(--muted) !important;
    font-size: 0.82rem !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    margin-top: 26px;
    padding-top: 16px;
    color: var(--muted);
    font-size: 0.85rem;
}

nav a.active {
    color: var(--accent);
}

.nav-cta {
    margin-left: 18px;
}

.hero-kicker {
    display: inline-block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 14px;
}

.hero-filters {
    justify-content: center;
    margin-top: 18px;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 32px 0 16px;
}

.section-head h2 {
    margin: 0;
}

.section-link {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
}

.section-link:hover {
    text-decoration: underline;
}

/* Wohnungskarten */
.card-media {
    position: relative;
}

.media-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.tier-tag,
.country-tag,
.sold-tag {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tier-tag {
    background: #161b26;
    color: #fbbf24;
}

.country-tag {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    margin-left: auto;
}

.sold-tag {
    background: #dc2626;
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.card-facts {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.card-foot .price {
    margin-top: 0;
}

.score {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 3px 10px;
    border-radius: 999px;
}

/* Paywall-Gate auf Karten */
.card-locked {
    position: relative;
}

.card-locked .card-media img {
    filter: blur(9px);
    transform: scale(1.06);
}

.card-lock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 42%, #fff 100%);
    display: flex;
    justify-content: center;
    text-align: center;
}

.lock-inner strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.lock-inner p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Upsell-Streifen */
.upsell-strip {
    margin: 40px 0;
    background: linear-gradient(120deg, #161b26, #1f2937);
    color: #fff;
    border-radius: var(--radius);
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.upsell-strip strong {
    font-size: 1.15rem;
}

.upsell-strip p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-top: 4px;
    max-width: 640px;
}

.upsell-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.upsell-strip .btn-outline {
    border-color: #475569;
    color: #fff;
}

.upsell-strip .btn-outline:hover {
    background: #fff;
    color: var(--text);
}

/* FAQ */
.faq {
    margin: 40px 0;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 0 18px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    padding: 15px 0;
    list-style: none;
    position: relative;
    padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: var(--accent);
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    color: var(--muted);
    padding-bottom: 16px;
}

/* Seitenkopf */
.page-intro {
    padding: 32px 0 8px;
}

.page-intro h1 {
    font-size: 2rem;
}

.page-intro p {
    color: var(--muted);
}

.page-intro a {
    color: var(--accent);
}

/* Archiv-Filter */
.filter-bar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin: 16px 0 22px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}

.filter-field span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    margin-bottom: 4px;
}

.filter-field input,
.filter-field select {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
}

.filter-field input:focus,
.filter-field select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: transparent;
}

.filter-merkmale {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
}

.check input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.filter-reset {
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.filter-reset:hover {
    color: var(--accent);
}

/* Deal-Detail */
.back {
    margin: 20px 0;
}

.back a {
    color: var(--muted);
    text-decoration: none;
}

.deal-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.deal-header h1 {
    font-size: 2rem;
    margin: 12px 0 6px;
}

.price-per-sqm {
    color: var(--muted);
}

.deal-intro {
    margin: 20px 0;
    font-size: 1.1rem;
}

.deal-facts {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 20px 0;
}

.deal-facts table {
    width: 100%;
    border-collapse: collapse;
}

.deal-facts td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.deal-facts td:last-child {
    text-align: right;
    font-weight: 700;
}

.deal-facts h3 {
    margin-top: 16px;
}

.deal-facts ul {
    padding-left: 20px;
}

.source-link {
    margin: 24px 0;
}

.lead-note {
    color: var(--muted);
}

/* Deal-Detail: Layout mit Seitenleiste */
.deal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
}

.deal-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.score-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.deal-header .tier-tag,
.deal-header .sold-tag {
    position: static;
    box-shadow: none;
}

.deal-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 6px 0;
}

.deal-price .price {
    margin-top: 0;
    font-size: 1.7rem;
}

.deal-gallery {
    margin-bottom: 8px;
}

.deal-image {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--border);
}

.deal-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0;
    background: none;
    cursor: pointer;
    flex: 0 0 auto;
    line-height: 0;
}

.thumb img {
    width: 84px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.thumb.active,
.thumb:hover {
    border-color: var(--accent);
}

.deal-notes {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin: 18px 0;
}

.deal-notes h2 {
    margin-top: 0;
    font-size: 1.15rem;
}

.deal-notes ul {
    padding-left: 20px;
    color: var(--muted);
}

.deal-notes li {
    margin-bottom: 5px;
}

.paywall {
    background: linear-gradient(140deg, #fff7ed, #ffffff);
    border: 2px solid #fed7aa;
    border-radius: var(--radius);
    padding: 26px;
    margin: 20px 0;
}

.paywall-kicker {
    color: #c2410c;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.paywall h2 {
    margin: 6px 0 14px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}

.check-list li {
    position: relative;
    padding: 6px 0 6px 28px;
    color: var(--text);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 6px;
    color: #059669;
    font-weight: 800;
}

.paywall-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.deal-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 84px;
}

.side-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.side-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
}

.side-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 10px;
}

.side-upsell {
    border: 2px solid var(--accent);
}

.side-upsell strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.side-list {
    list-style: none;
    padding: 0;
    margin-top: 8px;
}

.side-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.side-list li:last-child {
    border-bottom: none;
}

.side-list li span:first-child {
    color: var(--muted);
}

.side-list li span:last-child {
    font-weight: 700;
    text-align: right;
}

/* Regionen */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.region-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.region-card:hover,
.region-card.active {
    border-color: var(--accent);
}

.region-card.active {
    box-shadow: inset 3px 0 0 var(--accent);
}

.region-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Preise / Abo */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 840px;
    margin: 26px 0 40px;
    align-items: start;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}

.price-card-featured {
    border: 2px solid var(--accent);
    box-shadow: 0 14px 34px rgba(225, 29, 72, 0.12);
}

.price-badge {
    position: absolute;
    top: -14px;
    left: 28px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: 999px;
}

.price-name {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    color: var(--muted);
}

.price-amount {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 4px 0 2px;
}

.price-amount span {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 600;
}

.price-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.price-card .check-list li {
    font-size: 0.95rem;
}

.price-fineprint {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 12px;
}

.compare {
    margin: 40px 0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.95rem;
}

.compare-table th {
    background: #f8fafc;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.col-center {
    text-align: center;
    width: 110px;
}

.col-featured {
    background: #fff1f2;
}

.compare-table .yes {
    color: #059669;
    font-weight: 800;
}

.compare-table .no {
    color: #cbd5e1;
    font-weight: 800;
}

/* Anmeldung / Registrierung */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.auth-tabs a {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.auth-tabs a.active {
    color: var(--accent);
    border-color: var(--accent);
}

.auth-note {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 12px;
}

.auth-note a {
    color: var(--accent);
}

/* Admin */
.admin-body {
    background: #f1f2f4;
}

.admin-header {
    background: #161b26;
    color: #fff;
}

.admin-header .header-inner {
    height: 56px;
}

.admin-header nav a {
    color: #cbd5e1;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.stat-card .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-card .label {
    color: var(--muted);
    font-size: 0.9rem;
}

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-table th {
    background: #f8fafc;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.btn-secondary {
    background: #334155;
    color: #fff;
}

.btn-danger {
    background: #dc2626;
}

.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    max-width: 860px;
    margin: 20px 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.form-grid label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 4px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
}

.form-grid textarea {
    min-height: 120px;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.page-title {
    margin: 24px 0 8px;
    font-size: 1.8rem;
}

.subtitle {
    color: var(--muted);
    margin-bottom: 16px;
}

.muted {
    color: var(--muted);
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tag-published { background: #dcfce7; color: #166534; }
.tag-draft     { background: #f1f5f9; color: #475569; }
.tag-archived  { background: #fee2e2; color: #991b1b; }
.tag-pending   { background: #fef3c7; color: #92400e; }
.tag-approved  { background: #dcfce7; color: #166534; }
.tag-rejected  { background: #f1f5f9; color: #64748b; }

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 380px;
}

.login-card h1 {
    margin-bottom: 20px;
}

.login-card label {
    display: block;
    font-weight: 700;
    margin: 12px 0 4px;
}

.login-card input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.login-card .btn {
    width: 100%;
    margin-top: 20px;
}

.flash {
    padding: 10px 14px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 0.95rem;
}

.flash-success { background: #ecfdf5; color: #065f46; }
.flash-error   { background: #fef2f2; color: #991b1b; }

/* Rechtstexte (Impressum / Datenschutz) */
.legal-text {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    max-width: 820px;
}

.legal-text h2 {
    font-size: 1.1rem;
    margin: 24px 0 8px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .deal-layout { grid-template-columns: 1fr; }
    .deal-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .deal-side .side-card { flex: 1 1 260px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 1.8rem; }
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 8px; }
    nav a { margin-left: 0; margin-right: 14px; }
    .nav-cta { margin-left: 0; }
    .cards { grid-template-columns: 1fr; }
    .newsletter form, .search { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .upsell-strip { padding: 22px 20px; }
    .deal-price { flex-direction: column; gap: 4px; }
}