/* Mailbox24 – Aussehen der bisherigen Seite (Joomla 3, Protostar) ohne Joomla und Bootstrap. */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 20px;
    border-top: 3px solid #0088cc;
    background: #f4f6f7;
    color: #4f4f4f;
    font: 16px/18px Arial, "Helvetica Neue", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: #0088cc; text-decoration: none; }
a:hover, a:focus { color: #005580; text-decoration: underline; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
p { margin: 0 0 9px; }
h1, h3 { margin: 12px 0; color: #4f4f4f; font-weight: bold; }
h1 { font-size: 26px; line-height: 28px; }
h3 { font-size: 18px; line-height: 20px; color: #000080; }
mark { background: #ff0; color: inherit; }

.page {
    max-width: 982px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .05);
}

/* Kopf: Bild über die ganze Kastenbreite, Logo, Gratismonat-Siegel, Kontakt in Rot */
.hero { position: relative; margin: -20px -20px 30px; }
main { display: flow-root; }
.hero-img { display: block; width: 100%; }
.hero-logo { position: absolute; top: 10px; left: 0; line-height: 0; }
.hero-badge { position: absolute; top: 37.05%; left: 2.04%; width: 34.7%; }
.hero-contact { position: absolute; top: 5px; left: 63.3%; color: #f00; }
.hero-contact a { color: #f00; }
.hero-contact p { margin: 0; padding: 1px 0; }
.hero-contact .line { display: flex; align-items: center; min-height: 26px; }
.hero-contact .line img { width: 24px; height: 24px; margin-right: 26px; }

/* Startseite */
.lead-title { margin: 0 0 9px; font-size: 16px; line-height: 18px; color: #000080; }
.features { margin: 36px 0 0; padding: 0; list-style: none; }
.features li { display: grid; grid-template-columns: 80px 1fr; column-gap: 30px; align-items: center; padding: 1px 3px 1px 0; }
.features li p { margin: 27px 0 9px; color: #000080; font-weight: bold; }
.cta { margin: 27px 0 36px; text-align: center; font-weight: bold; }
.button {
    display: inline-block;
    margin: 4px 2px;
    padding: 15px 32px;
    border: 0;
    border-radius: 7px;
    background: #4caf50;
    color: #fff;
    font: bold 16px/18px Arial, Helvetica, sans-serif;
    text-align: center;
    cursor: pointer;
}
.button:hover, .button:focus { background: #43a047; color: #fff; text-decoration: none; }
.button.paypal { background: #ffc439; color: #253b80; }
.button.paypal:hover, .button.paypal:focus { background: #f2ba36; color: #253b80; }
.footnote { font-size: 10.67px; }
.dark-link { color: #333; font-weight: bold; text-decoration: underline; }
.dark-link:hover { color: #000; }

/* Fuß */
.footer { margin-top: 36px; padding: 14px 25px; background: #bbe0e3; }
.footer-grid { display: grid; grid-template-columns: 75% 25%; align-items: center; }
.footer-grid > div { padding: 1px; }

/* Impressum */
.imprint-top { display: grid; grid-template-columns: 400px 75px 1fr; align-items: center; }
.imprint-top .contact { align-self: start; }
.imprint-top .contact p { margin-bottom: 9px; }
.imprint-top h3 { margin-top: 13px; }
.slider { position: relative; margin: 0 0 76px; aspect-ratio: 400 / 248; }
.slider > a, .slider > img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.slider > .on { opacity: 1; z-index: 1; }
.slider img { width: 100%; height: 100%; object-fit: cover; }
.slider .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.slider .play::before { content: ""; width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 40px no-repeat; }
.slider .dots { position: absolute; left: 0; right: 0; top: 100%; display: flex; justify-content: flex-end; }
.slider .dots button { width: 16px; height: 16px; margin: 20px 5px; padding: 0; border: 0; border-radius: 50%; background: #b7b7b7; cursor: pointer; }
.slider .dots button[aria-current="true"] { box-shadow: inset 0 0 0 4px #b7b7b7; background: #555; }
.imprint-way { display: grid; grid-template-columns: 1fr 325px; margin-top: 27px; }
.imprint-way .map { text-align: right; padding: 13px 0 12px; }
.imprint-legal { display: grid; grid-template-columns: 20% 1fr 20%; margin-top: 27px; }
.imprint-legal h3 { font-size: 18.67px; }

/* Bestellformular (Aussehen wie BreezingForms „breeze“) */
.order-intro { margin: 30px 0 30px; }
.order fieldset { margin: 0 17px 24px; padding: 8px 9px 7px; border: 1px solid #b3c5e1; border-radius: 9px; }
.order legend {
    margin-left: 1px; padding: 1px 9px; line-height: 21px;
    border: 1px solid #9fb6dc; border-radius: 6px;
    background: linear-gradient(#fbfcfe, #e9eff8);
    color: #214478; font-size: 17.6px;
}
.order fieldset fieldset { margin: 14px 0 12px; padding: 8px 9px 7px; border-color: #c9d2d6; }
.order fieldset fieldset legend { padding: 0 9px; line-height: 18px; border-color: #c2cbd0; background: linear-gradient(#fff, #edf0f2); color: #53676c; font-size: 16px; font-weight: bold; }
.order .section-text { margin: 0 0 10px; }
.order .info p { margin: 0 0 9px; }
.order .info ul { margin: 0 0 9px 25px; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0 0 10px; padding: 5px; border-radius: 5px; background: #f9fafc; font-size: 13px; }
.row label, .row .label { line-height: 18px; }
.row .req { color: #f00; }
.row input[type=text], .row input[type=email], .row input[type=tel], .row input[type=date], .row select, .row textarea {
    width: 100%; max-width: 410px; padding: 2px 4px; border: 1px solid #ccc; border-radius: 3px;
    background: #fff; color: #555; font: 13px Arial, Helvetica, sans-serif;
}
.row input { height: 24px; }
.row select { height: 28px; }
.row textarea { height: 100px; resize: vertical; }
.row input[readonly] { background: #fff; }
.row input[type=checkbox] { width: 15px; height: 15px; margin: 2px 0 0; }
.row .hint { grid-column: 2; margin-top: -6px; color: #777; font-size: 12px; }
.row.has-error { background: #fdf0f0; }
.row .error { grid-column: 2; color: #c00; font-weight: bold; }
.row-full { grid-template-columns: 1fr; }
.row-full .error { grid-column: 1; }
.check-line { display: flex; gap: 8px; align-items: flex-start; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.nav-buttons { display: flex; justify-content: space-between; margin: 0 17px 20px; }
.nav-buttons .next, .nav-buttons .submit { margin-left: auto; }
.btn-step {
    padding: 13px 14px; border: 1px solid #aab8cc; border-radius: 7px;
    background: linear-gradient(#fff, #e3e9f1); color: #214478; font: bold 12px Arial, Helvetica, sans-serif; cursor: pointer;
}
.btn-step:hover { background: #e3e9f1; }
.steps-on .step:not(.current) { display: none; }
.notice { margin: 0 17px 20px; padding: 12px 15px; border-radius: 5px; background: #fdf0f0; color: #a00; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
    margin: 0 17px 20px; padding: 12px 14px; border: 1px solid #b3c5e1; border-radius: 9px; background: #f9fafc;
}
.captcha .check-line { align-items: center; font-weight: bold; cursor: pointer; }
.captcha input[type=checkbox] { width: 20px; height: 20px; margin: 0; cursor: pointer; }
.captcha .req { color: #f00; }
.captcha-state { margin-left: auto; color: #777; font-size: 12px; }
.captcha.busy .captcha-state::before {
    content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px;
    border: 2px solid #b3c5e1; border-top-color: #214478; border-radius: 50%; animation: captcha-spin .8s linear infinite;
}
.captcha.solved .captcha-state { color: #2e7d32; font-weight: bold; }
.captcha.solved .captcha-state::before { content: "✓ "; }
.captcha.has-error { background: #fdf0f0; }
.captcha .error, .captcha-nojs { flex-basis: 100%; margin: 0; }
.captcha .error { color: #c00; font-weight: bold; }
@keyframes captcha-spin { to { transform: rotate(360deg); } }
.thanks { margin: 30px 0; }
.thanks .bank { margin: 12px 0; padding: 12px 15px; border-radius: 5px; background: #f9fafc; }

/* Kleine Bildschirme: Kontakt unter das Bild, Siegel aus (wie bisher unter 610 px) */
@media (max-width: 743px) {
    .hero { margin-bottom: 20px; }
    .hero-contact { position: static; padding: 12px 20px 0; }
    .hero-logo img { width: 160px; }
    .imprint-top, .imprint-way, .imprint-legal { grid-template-columns: 1fr; }
    .imprint-top .gap, .imprint-legal .gap { display: none; }
    .imprint-way .map { text-align: left; }
    .features li { grid-template-columns: 56px 1fr; column-gap: 16px; }
    .features li p { margin-top: 18px; }
    .order fieldset { margin: 0 0 24px; }
    .nav-buttons, .captcha { margin: 0 0 20px; }
    .row { grid-template-columns: 1fr; gap: 4px; }
    .row .hint, .row .error { grid-column: 1; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 609px) {
    .hero-badge { display: none; }
}
