/* GardaCast — Tour-Offer Pro Design (v5.2.80 — + Longform-Marketing-Card via shortcode-body) */
.gc-to, .gc-to *, .gc-to *::before, .gc-to *::after { box-sizing: border-box; }

.gc-tour-offer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 2em 0 !important;
    padding: 0 !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e3a5f;
    -webkit-font-smoothing: antialiased;
}
.gc-tour-offer--error { background:#fff8e6; border-left:4px solid #f59e0b; color:#78350f; padding:1em !important; }
.gc-tour-offer__loading { padding:3em 1em; text-align:center; color:#94a3b8; font-size:0.95rem; }

/* === HERO — hellblauer Header (kein Bild) === */
.gc-to__hero {
    position: relative;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #e0e7ff 100%);
    border-bottom: 1px solid #c7d2fe;
}
.gc-to__hero-content {
    padding: 2em 2em 1.7em;
}
.gc-to__partner-tag {
    display: inline-block;
    background: #185FA5;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 0.35em 0.95em;
    border-radius: 999px;
    margin-bottom: 0.85em;
    box-shadow: 0 2px 6px rgba(24, 95, 165, 0.2);
}
.gc-to__title {
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 0.6em;
    color: #185FA5;
    letter-spacing: -0.01em;
}
.gc-to__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em 1.5em;
    font-size: 0.93rem;
    color: #334155;
}
.gc-to__meta-item { display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap; }
.gc-to__meta-item svg { width: 18px; height: 18px; color: #185FA5; flex-shrink: 0; opacity: 0.9; }
.gc-to__meta-item strong { font-weight: 700; color: #185FA5; }

/* === BODY === */
.gc-to__body { padding: 2em; }

.gc-to__section + .gc-to__section { margin-top: 2.2em; }
.gc-to__section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 1em;
    padding: 0 0 0.5em;
    border-bottom: 2px solid #185FA5;
    display: inline-block;
    letter-spacing: -0.01em;
}

/* === PREISE TABELLE === */
.gc-to__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.gc-to__table th, .gc-to__table td {
    padding: 0.85em 1.1em;
    text-align: left;
    vertical-align: middle;
    font-size: 0.95rem;
    line-height: 1.4;
}
.gc-to__table th {
    background: #f8fafc;
    color: #2c5282;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #e5e7eb;
}
.gc-to__table tr + tr td { border-top: 1px solid #f1f5f9; }
.gc-to__table tr:hover td { background: #fafbff; }
.gc-to__table td:nth-child(2), .gc-to__table td:nth-child(3) {
    font-weight: 700;
    color: #185FA5;
    font-size: 1rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.gc-to__small {
    margin: 0.6em 0 0;
    font-size: 0.78rem;
    color: #6b8bb5;
    font-style: italic;
}

/* === ETAPPEN — Refined Timeline mit Scroll-Animation === */
.gc-to__etappen {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}
/* Durchgehende Linie — exakt mittig durch Kreise (40px Kreis → 20px Mitte → left:19 für 2px-Linie) */
/* Linie selbst — dicker, mit Glow */
.gc-to__etappen::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(180deg, #185FA5 0%, #60a5fa 100%);
    border-radius: 2px;
    z-index: 0;
    box-shadow: 0 0 8px rgba(24, 95, 165, 0.25);
    transform-origin: top center;
    transition: transform 2.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.gc-to__etappen.is-animated::before { transform: scaleY(0); }
.gc-to__etappen.is-animated.is-visible::before { transform: scaleY(1); }
/* Live-Ball: pinker Glow-Dot reist von Tag 1 bis Tag N (animiert top, nicht translateY) */
.gc-to__etappen::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 11px; /* Start: Mitte des ersten Kreises (20px center - 9px ball-radius) */
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #fff 0%, #f9a8d4 35%, #ec4899 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 4px rgba(236, 72, 153, 0.18),
        0 0 22px 6px rgba(236, 72, 153, 0.7),
        0 0 44px 8px rgba(236, 72, 153, 0.4);
    z-index: 3;
    opacity: 0;
}
.gc-to__etappen.is-animated.is-visible::after {
    animation:
        gc-ball-travel 7s cubic-bezier(0.5, 0, 0.5, 1) infinite,
        gc-ball-pulse 1.1s ease-in-out infinite;
}
@keyframes gc-ball-travel {
    0%   { opacity: 0; top: 11px; transform: scale(0.8); }
    5%   { opacity: 1; top: 11px; transform: scale(1); }
    /* Reise von Tag 1 (top: 11px) bis Tag N (top: container-höhe - 29px) */
    92%  { opacity: 1; top: calc(100% - 29px); transform: scale(1); }
    100% { opacity: 0; top: calc(100% - 29px); transform: scale(0.8); }
}
@keyframes gc-ball-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(236, 72, 153, 0.18),
            0 0 22px 6px rgba(236, 72, 153, 0.7),
            0 0 44px 8px rgba(236, 72, 153, 0.4);
    }
    50% {
        box-shadow:
            0 0 0 8px rgba(236, 72, 153, 0.08),
            0 0 32px 10px rgba(236, 72, 153, 0.85),
            0 0 60px 14px rgba(236, 72, 153, 0.55);
    }
}

.gc-to__etappe {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1.4em !important;
    padding: 0 0 1.5em 0 !important;
    margin: 0 !important;
    position: relative;
    list-style: none !important;
}
.gc-to__etappe::before, .gc-to__etappe::marker { content: none !important; display: none !important; }
.gc-to__etappe:last-child { padding-bottom: 0 !important; }

.gc-to__etappe-day {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2.5px solid #185FA5 !important;
    color: #185FA5 !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px #fff, 0 2px 6px rgba(24, 95, 165, 0.18);
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.gc-to__etappe-content { flex: 1 1 auto !important; min-width: 0 !important; padding-top: 0.35em !important; margin: 0 !important; }
.gc-to__etappe-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #185FA5;
    margin-bottom: 0.25em;
    opacity: 0.85;
}
.gc-to__etappe-titel { margin: 0 0 0.4em; font-size: 1.08rem; font-weight: 700; color: #1e3a5f; line-height: 1.3; }
.gc-to__etappe-meta { display: flex; flex-wrap: wrap; gap: 0.3em 1em; font-size: 0.83rem; color: #4a6fa5; margin-bottom: 0.5em; }
.gc-to__etappe-meta span { display: inline-flex; align-items: center; gap: 0.35em; }
.gc-to__etappe-meta svg { width: 14px; height: 14px; opacity: 0.75; }
.gc-to__etappe-text { margin: 0; font-size: 0.93rem; line-height: 1.65; color: #2c5282; }

@media (prefers-reduced-motion: reduce) {
    .gc-to__etappen::before { transition: none; transform: scaleY(1) !important; }
    .gc-to__etappen::after { animation: none !important; opacity: 0 !important; }
}

/* === ZUSATZNÄCHTE — Card Grid === */
.gc-to__extras { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.gc-to__extras-card {
    background: linear-gradient(180deg, #fffbf5 0%, #fef7ec 100%);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1.1em 1.2em;
}
.gc-to__extras-card h4 { margin: 0 0 0.5em; font-size: 0.95rem; font-weight: 700; color: #92400e; }
.gc-to__extras-card .gc-to__extras-period { font-size: 0.78rem; color: #a16207; margin-bottom: 0.7em; opacity: 0.85; }
.gc-to__extras-card ul { margin: 0; padding: 0; list-style: none; }
.gc-to__extras-card li { display: flex; justify-content: space-between; gap: 0.8em; padding: 0.5em 0; font-size: 0.92rem; border-bottom: 1px dashed #fde68a; }
.gc-to__extras-card li:last-child { border-bottom: none; }
.gc-to__extras-card li strong { color: #185FA5; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* === LEISTUNGEN === */
.gc-to__leistungen { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.gc-to__leistungen-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.2em 1.3em;
}
.gc-to__leistungen-card h4 { margin: 0 0 0.7em; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.gc-to__leistungen-card.is-incl { background: #f0fdf4; border-color: #bbf7d0; }
.gc-to__leistungen-card.is-incl h4 { color: #15803d; }
.gc-to__leistungen-card.is-excl { background: #fef2f2; border-color: #fecaca; }
.gc-to__leistungen-card.is-excl h4 { color: #b91c1c; }
.gc-to__leistungen-card ul { margin: 0; padding: 0; list-style: none; font-size: 0.9rem; line-height: 1.6; }
.gc-to__leistungen-card li { padding: 0.25em 0 0.25em 1.5em; position: relative; color: #1f2937; }
.gc-to__leistungen-card.is-incl li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2315803d'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.gc-to__leistungen-card.is-excl li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b91c1c'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }

/* === INFO-ACCORDION === */
.gc-to__info-list { display: flex; flex-direction: column; gap: 0.5em; }
.gc-to__info-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: border-color 0.18s; }
.gc-to__info-item[open] { border-color: #185FA5; box-shadow: 0 1px 4px rgba(24, 95, 165, 0.08); }
.gc-to__info-label { cursor: pointer; padding: 0.95em 1.2em; font-weight: 600; color: #1f2937; font-size: 0.97rem; user-select: none; list-style: none; position: relative; padding-right: 2.6em; transition: background 0.15s; }
.gc-to__info-label::-webkit-details-marker { display: none; }
.gc-to__info-label:hover { background: #f8fafc; }
.gc-to__info-item[open] .gc-to__info-label { color: #185FA5; }
.gc-to__info-label::after {
    content: '';
    position: absolute;
    right: 1.2em;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s;
}
.gc-to__info-item[open] .gc-to__info-label::after { transform: translateY(-50%) rotate(180deg); }
.gc-to__info-body { padding: 0 1.2em 1.1em; font-size: 0.93rem; line-height: 1.65; color: #475569; }
.gc-to__info-body p { margin: 0 0 0.7em; }
.gc-to__info-body p:last-child { margin-bottom: 0; }

/* === CTA === */
.gc-to__cta { margin: 2em 0 0; text-align: center; padding: 1.5em; background: linear-gradient(135deg, #f0f6fc 0%, #fce7f3 100%); border-radius: 12px; }
.gc-to__cta-text { margin: 0 0 0.9em; font-size: 0.95rem; color: #475569; }
.gc-to__cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: #ec4899;
    color: #fff;
    padding: 0.95em 2em;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}
.gc-to__cta a:hover { background: #db2777; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4); }
.gc-to__cta a svg { width: 18px; height: 18px; }

/* === FOOTER === */
.gc-to__footer { margin: 1.5em 2em; padding: 1.2em 0 0; border-top: 1px solid #e5e7eb; font-size: 0.78rem; color: #6b8bb5; line-height: 1.5; text-align: center; }
.gc-to__footer a { color: #185FA5; text-decoration: none; font-weight: 600; }
.gc-to__footer a:hover { text-decoration: underline; }
.gc-to__updated { font-style: italic; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .gc-tour-offer { margin: 1em 0 !important; border-radius: 12px; }
    .gc-to__hero-content { padding: 1.4em 1.3em 1.2em; }
    .gc-to__title { font-size: 1.45rem; }
    .gc-to__meta { font-size: 0.85rem; gap: 0.3em 1em; }
    .gc-to__body { padding: 1.3em; }
    .gc-to__footer { margin: 1em 1.3em; }
    .gc-to__extras, .gc-to__leistungen { grid-template-columns: 1fr; }
    .gc-to__etappe { gap: 1em !important; padding-bottom: 1.3em !important; }
    .gc-to__etappe-day { width: 36px !important; height: 36px !important; min-width: 36px !important; font-size: 0.95rem !important; border-width: 2px !important; }
    .gc-to__etappen::before { left: 17px; top: 18px; bottom: 18px; }

    /* Tabelle wird zu Karten */
    .gc-to__table { display: block; border: none; }
    .gc-to__table thead { display: none; }
    .gc-to__table tbody { display: block; }
    .gc-to__table tr { display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 0.8em 1em; margin-bottom: 0.7em; }
    .gc-to__table tr + tr td { border-top: none; }
    .gc-to__table td { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8em; padding: 0.4em 0; border-bottom: 1px dashed #f1f5f9; font-size: 0.92rem; }
    .gc-to__table td:last-child { border-bottom: none; }
    .gc-to__table td::before { content: attr(data-label); font-weight: 600; color: #4a6fa5; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; flex: 0 0 auto; }
    .gc-to__table td:first-child { font-weight: 600; padding-top: 0.2em; color: #1f2937; }
}


/* === INTRO-BLOCK (Verkaufstext über Hero) === */
.gc-to__intro {
    padding: 1.6em 2em 1.4em;
    background: linear-gradient(135deg, #fffaf0 0%, #fef3e8 100%);
    border-bottom: 1px solid #fde68a;
}
.gc-to__intro-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ec4899;
    margin-bottom: 0.6em;
}
.gc-to__intro-title {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5em;
}
.gc-to__intro-text {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* === VIDEO === */
.gc-to__video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}
.gc-to__video-wrap iframe {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}
.gc-to__video-caption {
    margin: 0.6em 0 0;
    font-size: 0.85rem;
    color: #4a6fa5;
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .gc-to__intro { padding: 1.2em 1.3em; }
    .gc-to__intro-title { font-size: 1.1rem; }
    .gc-to__intro-text { font-size: 0.92rem; }
}


/* === H1 — SEO-optimierter Page-Title === */
.gc-to__h1 {
    margin: 0 !important;
    padding: 0.8em 2em 1em !important;
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 700;
    color: #185FA5;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    letter-spacing: -0.01em;
}
@media (max-width: 768px) {
    .gc-to__h1 { font-size: 1.15rem; padding: 0.7em 1.3em 0.8em !important; line-height: 1.35; }
}


/* === FOOTER — Veranstalter + Affiliate-Disclosure === */
.gc-to__veranstalter { margin-bottom: 0.4em; }
.gc-to__disclosure { font-size: 0.72rem; color: #6b8bb5; opacity: 0.85; line-height: 1.5; }


/* === LONGFORM MARKETING CARD (server-rendered aus shortcode-body) === */
.gc-tour-longform {
    display: block;
    width: 100%;
    margin: 1.5em 0 1em;
    padding: 1.8em 2em;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #1e3a5f;
}
.gc-tour-longform h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: #185FA5;
    margin: 0 0 0.7em;
    letter-spacing: -0.01em;
}
.gc-tour-longform h2:not(:first-child) { margin-top: 1.4em; }
.gc-tour-longform h3 { font-size: 1.15rem; color: #185FA5; margin: 1.2em 0 0.5em; font-weight: 700; }
.gc-tour-longform p {
    font-size: 1rem;
    line-height: 1.7;
    color: #1e3a5f;
    margin: 0 0 1em;
}
.gc-tour-longform p:last-child { margin-bottom: 0; }
.gc-tour-longform p em:last-child {
    display: inline-block;
    margin-top: 0.5em;
    font-style: italic;
    color: #2c5282;
    font-size: 1.05rem;
}
.gc-tour-longform strong { color: #185FA5; font-weight: 700; }
.gc-tour-longform a { color: #185FA5; text-decoration: underline; text-underline-offset: 2px; }
.gc-tour-longform a:hover { color: #ec4899; }
.gc-tour-longform ul, .gc-tour-longform ol { margin: 0 0 1em 1.4em; padding: 0; }
.gc-tour-longform li { margin-bottom: 0.4em; line-height: 1.6; color: #1e3a5f; }

@media (max-width: 768px) {
    .gc-tour-longform { padding: 1.3em 1.4em; margin: 1em 0 0.8em; }
    .gc-tour-longform h2 { font-size: 1.2rem; }
    .gc-tour-longform p { font-size: 0.95rem; }
}
