/* Kontaktformular auf den Stadtseiten – erzeugt aus den Styles der Startseite (index.php). */
#kontakt { scroll-margin-top: 150px; }
.contact-section .section-title {
    color: #1874BB;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}
.liquid-btn.liq-page-wobble {
    animation: jellyWobble 0.75s cubic-bezier(0.25,0.46,0.45,0.94) !important;
    transform-origin: center center !important;
}
.liquid-btn-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .liquid-btn-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .liquid-btn {
        min-width: 0 !important;
        width: 100%;
    }
}
.liquid-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0 32px;
    height: 58px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.4px;
    transition: box-shadow 0.3s ease;
    border-radius: 100px;
}
.liquid-btn.liq-green {
    animation-delay: 1.4s;
}
.liquid-btn .liq-water {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
}
.liquid-btn .liq-fill {
    position: absolute;
    bottom: -8%;
    left: -10%;
    width: 120%;
    padding-bottom: 120%;
    border-radius: 44%;
    transform: translateY(40%) rotate(0deg);
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
    animation: liqSpin 5.5s linear infinite;
}
.liquid-btn:hover .liq-fill,
        .liquid-btn:focus .liq-fill {
    animation: liqSpinHover 3.5s linear infinite;
}
.liquid-btn.liq-blue .liq-fill {
    background: radial-gradient(ellipse at 38% 52%,
    #6ec6ff 0%, #2a95e0 30%, #1874BB 55%, #0d5a96 80%, #083f6e 100%);
}
.liquid-btn.liq-blue {
    box-shadow: 0 8px 32px rgba(24,116,187,0.55),
    0 0 0 2.5px rgba(24,116,187,0.45) inset;
}
.liquid-btn.liq-green .liq-fill {
    background: radial-gradient(ellipse at 38% 52%,
    #6fffa5 0%, #30e872 30%, #25D366 55%, #128C7E 80%, #0a5c54 100%);
}
.liquid-btn.liq-green {
    box-shadow: 0 8px 32px rgba(37,211,102,0.55),
    0 0 0 2.5px rgba(37,211,102,0.4) inset;
}
.liquid-btn .liq-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.28);
    pointer-events: none;
}
.liquid-btn .liq-label i {
    font-size: 18px;
}
.liquid-btn::before {
    content: '';
    position: absolute;
    top: 4px; left: 12%; right: 12%;
    height: 32%;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    filter: blur(5px);
    z-index: 1;
    pointer-events: none;
}
.liquid-btn.liq-jiggling {
    animation: liqJiggle 0.6s cubic-bezier(0.36,0.07,0.19,0.97) !important;
    transform-origin: center center !important;
}
.liq-drop {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: liqSplash 0.75s ease-out forwards;
}
.liq-blue  .liq-drop {
    background: radial-gradient(circle, rgba(140,210,255,0.75) 0%, rgba(24,116,187,0.25) 100%);
}
.liq-green .liq-drop {
    background: radial-gradient(circle, rgba(130,255,190,0.75) 0%, rgba(37,211,102,0.25) 100%);
}
.contact-section {
    padding: 60px 0;
    background: #fff;
}
.contact-section .section-title {
    margin-bottom: 5px;
}
.contact-section h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
}
.contact-intro {
    margin-bottom: 30px;
}
.contact-intro p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}
.contact-intro strong {
    color: #333;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-image img {
    border-radius: 15px;
    width: 100%;
}
.contact-form {

}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.form-row.full {
    grid-template-columns: 1fr;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.form-group label .required {
    color: #1874BB; font-size: 12px;
}
.form-group input,
        .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}
.form-group input:focus,
        .form-group textarea:focus {
    outline: none;
    border-color: #1874BB;
}
.form-group textarea {
    height: 150px; resize: vertical;
}
.btn-submit {
    background: #1874BB;
    color: #fff;
    padding: 14px 35px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit:hover {
    background: #145f99;
}
.form-group label .optional {
    color: #8a94a3; font-size: 12px; font-weight: 500;
}
.form-group .field-error {
    display: none; color: #c0392b; font-size: 12.5px; margin-top: 5px;
}
.form-group.has-error .field-error {
    display: block;
}
.form-group.has-error input,
        .form-group.has-error textarea {
    border-color: #e74c3c; background: #fff8f7;
}
.hp-field {
    position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.form-hint {
    font-size: 13px; color: #6b7c93; margin: 2px 0 14px;
}
.form-privacy {
    font-size: 12px; color: #8a94a3; line-height: 1.6; margin-top: 14px;
}
.form-privacy a {
    color: #1874BB;
}
.form-message {
    margin-top: 15px; padding: 14px 16px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 14px;
}
.form-message.error {
    background: #fdecea; color: #a93226;
}
.contact-form [hidden] {
    display: none !important;
}
.otp-panel, .success-panel {
    text-align: center; padding: 34px 24px; border-radius: 16px; background: #f6faff; border: 1px solid #d9e8f6;
}
.otp-icon, .success-icon {
    width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; background: #e3f0fb; color: #1874BB;
}
.success-icon {
    background: #e2f6e6; color: #1e8e3e; font-size: 30px;
}
.otp-panel h3, .success-panel h3 {
    font-size: 22px; color: #0b2f52; margin: 0 0 10px;
}
.otp-lead, .success-panel p {
    font-size: 15px; line-height: 1.65; color: #40536b; margin: 0 0 22px;
}
.otp-inputs {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 14px;
}
.otp-inputs input {
    width: 48px; height: 58px; padding: 0; text-align: center; font-size: 26px; font-weight: 700; color: #0b2f52; border: 1.5px solid #cfdbe8; border-radius: 10px; background: #fff; font-family: 'Roboto', sans-serif; transition: border-color .2s, box-shadow .2s;
}
.otp-inputs input:focus {
    outline: none; border-color: #1874BB; box-shadow: 0 0 0 4px rgba(24,116,187,.15);
}
.otp-inputs.error input {
    border-color: #e74c3c; background: #fff8f7;
}
.otp-inputs.shake {
    animation: otpShake .4s;
}
.otp-note {
    min-height: 20px; color: #c0392b; font-size: 13.5px; font-weight: 600; margin-bottom: 14px;
}
.otp-note.ok {
    color: #1e8e3e;
}
.otp-links {
    margin-top: 18px; font-size: 14px; color: #8a94a3;
}
.link-btn {
    background: none; border: none; padding: 0; color: #1874BB; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline;
}
.link-btn:disabled {
    color: #9aa7b6; cursor: default; text-decoration: none;
}
.otp-hint {
    font-size: 12.5px !important; color: #8a94a3 !important; margin: 14px 0 0 !important;
}
.success-ref {
    display: inline-block; margin: 0 0 18px; padding: 8px 16px; border-radius: 8px; background: #fff; border: 1px dashed #b6cfe6; color: #0b2f52; font-weight: 700; letter-spacing: .5px;
}
@media (max-width: 480px) {
    .otp-inputs {
        gap: 6px;
    }
    .otp-inputs input {
        width: 42px; height: 52px; font-size: 22px;
    }
    .otp-panel, .success-panel {
        padding: 28px 16px;
    }
}
@media (max-width: 768px) {
    .top-anbieter-grid, .wichtig-grid, .faq-grid, .seo-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-image {
        display: none;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
@keyframes liqSpin {
    to {
        transform: translateY(40%) rotate(360deg);
    }
}
@keyframes liqSpinHover {
    to {
        transform: translateY(4%) rotate(360deg);
    }
}
@keyframes liqJiggle {
    0% {
        transform: scale(1)          rotate(0deg);
    }
    15% {
        transform: scale(1.07,0.93)  rotate(-1.5deg);
    }
    30% {
        transform: scale(0.94,1.07)  rotate(1.5deg);
    }
    45% {
        transform: scale(1.04,0.97)  rotate(-0.8deg);
    }
    60% {
        transform: scale(0.98,1.02)  rotate(0.5deg);
    }
    80% {
        transform: scale(1.01,0.99)  rotate(0deg);
    }
    100% {
        transform: scale(1)          rotate(0deg);
    }
}
@keyframes liqSplash {
    0% {
        transform: scale(0); opacity: 0.95;
    }
    35% {
        opacity: 0.6;
    }
    100% {
        transform: scale(20); opacity: 0;
    }
}
@keyframes otpShake {
    0%,100% {
        transform: translateX(0);
    }
    20%,60% {
        transform: translateX(-7px);
    }
    40%,80% {
        transform: translateX(7px);
    }
}
@keyframes jellyWobble {
    0% {
        transform: scale(1,1);
    }
    18% {
        transform: scale(1.05,0.93);
    }
    36% {
        transform: scale(0.95,1.06);
    }
    54% {
        transform: scale(1.04,0.96);
    }
    72% {
        transform: scale(0.97,1.03);
    }
    88% {
        transform: scale(1.02,0.99);
    }
    100% {
        transform: scale(1,1);
    }
}
