/* Travelwide Modernisierung - Zusatz-CSS
   Wird nach css/style.css eingebunden und überschreibt nur modernisierte Seiten. */

.auto-style1 { font-size: small; }
.auto-style6 { font-size: medium; }

#breadcrump {
    margin-bottom: 12px;
}

#inhalt.tw-page {
    box-sizing: border-box;
    padding: 26px 28px 34px 28px;
    border: 1px solid #d8e1de;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.tw-page {
    font-size: 11pt;
    line-height: 1.68;
    color: #263238;
}

.tw-page h2 {
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    font-size: 31px;
    line-height: 1.2;
    color: #1f4d4f;
    border-bottom: 3px solid #0b8f1a;
    display: inline-block;
}

.tw-hero,
.tw-card,
.tw-offers {
    box-sizing: border-box;
    margin: 0 0 26px 0;
    padding: 28px;
    border: 1px solid #e2ebe7;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
}

.tw-hero {
    background: linear-gradient(135deg, #f7fbf9 0%, #ffffff 72%);
    border-color: #e5eeea;
}

.tw-lead {
    font-size: 12pt;
    margin-top: 0;
}

.tw-image-right,
.tw-image-left {
    max-width: 220px;
    height: auto;
    border-radius: 14px;
    border: 1px solid #d6d6d6;
    margin-bottom: 12px;
}

.tw-image-right {
    float: right;
    margin-left: 18px;
}

.tw-image-left {
    float: left;
    margin-right: 18px;
}

.tw-note {
    background: #f2f6f4;
}

.tw-note h3,
.tw-offers h3 {
    margin-top: 0;
    color: #1f4d4f;
    font-size: 18px;
}

.tw-offer-list {
    display: block;
    margin: 0;
    padding: 0;
}

.tw-offer {
    display: block;
    margin: 12px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f6faf8;
    border: 1px solid #dce8e3;
    text-decoration: none;
    color: #1f4d4f;
    font-weight: bold;
}

.tw-offer:hover {
    background: #eaf4ef;
    text-decoration: underline;
}

.tw-cta {
    text-align: center;
    margin: 38px 0 60px 0;
}

.tw-cta-button {
    display: inline-block;
    background: linear-gradient(180deg,#18b118,#008c00);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 22px;
    font-weight: 700;
    padding: 18px 42px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,128,0,0.25);
    transition: all .2s ease;
    border: 1px solid rgba(255,255,255,0.25);
}

.tw-cta-button:hover {
    background: linear-gradient(180deg,#20c020,#009900);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,128,0,0.35);
}

.tw-cta-button:after {
    content: " →";
    font-size: 24px;
}

.tw-top-link {
    display: inline-block;
    margin: 35px 0 60px 0;
    padding: 8px 16px;
    background: #f3f7f4;
    border: 1px solid #d8e5dc;
    border-radius: 20px;
    color: #1f4d4f;
    font-weight: 600;
    text-decoration: none;
}

.tw-top-link:hover {
    background: #eaf4ef;
    text-decoration: none;
}

.tw-clear {
    clear: both;
}

/* Neuer Footer nur fuer aktualisierte Seiten */
#footer.tw-footer {
    clear: both;
    width: 100%;
    min-height: 280px;
    height: auto;
    text-align: center;
    background-image: url('../images/hintergrund-footer.jpg');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: cover;
    padding: 0;
}

#footer.tw-footer.tw-footer-baltikum {
    background-image: url('../images/hintergrund-footer.jpg');
}

.tw-footer #footer-c {
    box-sizing: border-box;
    width: 967px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px 10px 34px 10px;
}

.tw-footer .footer1,
.tw-footer .footer2 {
    float: none;
    box-sizing: border-box;
    margin: 0;
    min-height: 210px;
    height: auto;
    border-right: 1px solid #909090;
}

.tw-footer .footer1 {
    width: 300px;
    padding-right: 28px;
}

.tw-footer .footer2 {
    width: 300px;
    padding-right: 28px;
}

@media (max-width: 700px) {
    .tw-image-right,
    .tw-image-left {
        float: none;
        display: block;
        max-width: 100%;
        margin: 0 auto 16px auto;
    }

    #inhalt.tw-page {
        padding: 18px;
        border-radius: 16px;
    }

    .tw-hero,
    .tw-card,
    .tw-offers {
        padding: 18px;
    }

    .tw-cta-button {
        font-size: 18px;
        padding: 15px 26px;
    }

    .tw-footer #footer-c {
        display: block;
        padding: 24px 18px 30px 18px;
    }

    .tw-footer .footer1,
    .tw-footer .footer2 {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #909090;
        padding: 0 0 18px 0;
        margin: 0 0 18px 0;
    }
    
    
    .tw-note {
    background: linear-gradient(135deg,#f7fbf9 0%,#eef6f2 100%);
    border: 1px solid #d9e8e0;
}

.tw-note h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #1f4d4f;
}

.tw-note p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #2d3a3a;
}
    
}
