/* ==========================================================================
   Freebie / Identitätsfinder Specific Styles
   ========================================================================== */

:root {
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
}

/* Base overrides & mobile scrollability */
html {
    -webkit-text-size-adjust: 100%;
}

body.freebie-page {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    color-scheme: light;
}

body.modal-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Ensure inputs never have dark backgrounds on mobile dark mode */
.freebie-page input,
.freebie-page textarea,
.freebie-page select,
.freebie-page button {
    color-scheme: light;
}

/* Prevent long words from overflowing on small smartphone screens */
.freebie-page h1,
.freebie-page h2,
.freebie-page h3,
.freebie-page h4,
.freebie-page p,
.freebie-page span,
.freebie-page label {
    overflow-wrap: break-word;
    word-break: break-word;
}

.freebie-page .main-header {
    background-color: var(--color-bg-base, #faf8f5);
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
    padding-top: env(safe-area-inset-top, 0);
}

.freebie-main {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f4f7f5 0%, #e8f0eb 100%);
}

/* Step Progress Indicator */
.step-progress-wrapper {
    width: 100%;
    height: 6px;
    background-color: #d1dcd5;
    border-radius: 4px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.step-progress-bar {
    height: 100%;
    background-color: var(--color-primary);
    transition: width 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Steps Container & Transitions */
.freebie-steps-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .freebie-steps-container {
        padding: 2rem 1.5rem;
    }
}

.freebie-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInStep 0.5s forwards ease-out;
    scroll-margin-top: 90px;
}

.freebie-step.active {
    display: block;
}

@keyframes fadeInStep {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

.freebie-step .section-header {
    margin-bottom: 2rem;
    text-align: left;
}

.freebie-step .section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Audio Player */
.audio-player-wrapper {
    background-color: #f8faf9;
    border: 1px solid #e1e9e4;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.audio-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

audio {
    width: 100%;
    height: 40px;
    outline: none;
}

/* Word Cloud */
.word-cloud-section {
    margin-bottom: 2.5rem;
}

.word-cloud-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.instruction {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.word-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.word-btn {
    background-color: white;
    border: 1px solid #d1dcd5;
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.word-btn:hover {
    border-color: var(--color-primary);
    background-color: #f4f7f5;
}

.word-btn.selected {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(122, 143, 130, 0.3);
}

/* Input Sections */
.input-section {
    margin-bottom: 3rem;
}

.input-section label {
    display: block;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.input-prefix-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #f8faf9;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e1e9e4;
}

.input-prefix-wrapper span {
    font-family: var(--font-secondary);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-text);
}

.input-prefix-wrapper input[type="text"],
.input-prefix-wrapper textarea.auto-resize {
    flex: 1 1 200px;
    min-width: 0;
    max-width: 100%;
    border: none;
    border-bottom: 2px dotted #c5d1ca;
    background: transparent;
    padding: 0.5rem;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s;
}

.input-prefix-wrapper textarea.auto-resize {
    resize: none;
    overflow: hidden;
    line-height: 1.5;
    min-height: 45px;
}

.input-prefix-wrapper input[type="text"]:focus,
.input-prefix-wrapper textarea.auto-resize:focus {
    border-bottom-color: var(--color-primary);
}

textarea {
    width: 100%;
    border: 1px solid #d1dcd5;
    border-radius: 8px;
    padding: 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text);
    resize: vertical;
    outline: none;
    transition: border-color 0.3s;
}

textarea:focus {
    border-color: var(--color-primary);
}

/* Action Inputs (Step 6) */
.action-inputs {
    background: #fdfbf7;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(122, 143, 130, 0.1);
    font-size: 1.2rem;
    line-height: 2.5;
    border-left: 4px solid var(--color-gold);
}

.action-inputs input[type="text"],
.action-inputs textarea.auto-resize,
.action-inputs input[type="date"],
.action-inputs input[type="time"] {
    border: none;
    border-bottom: 2px dotted #7a8f82;
    background: rgba(122, 143, 130, 0.05);
    border-radius: 4px 4px 0 0;
    font-family: var(--font-primary);
    padding: 0.4rem 0.8rem;
    margin: 0 0.5rem;
    outline: none;
    font-size: 1.1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.action-inputs textarea.auto-resize {
    resize: none;
    overflow: hidden;
    line-height: 1.5;
    min-height: 45px;
}

.action-inputs input:focus,
.action-inputs textarea:focus {
    background: rgba(122, 143, 130, 0.15);
    border-bottom: 2px solid #7a8f82;
}

.action-inputs span {
    font-weight: 400;
    color: #4a5d53;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.action-row {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Action Directions Grid */
.action-directions {
    margin-bottom: 2.5rem;
}

.action-directions h3 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.direction-card {
    background: #fdfbf7;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e1e9e4;
    transition: transform 0.2s, box-shadow 0.2s;
}

.direction-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(122, 143, 130, 0.1);
}

.direction-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.direction-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
    color: #4a5d53;
}

.direction-card ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.direction-card li {
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

/* Action Hints */
.action-hints {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.action-hints p {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.action-hints ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

/* Action Footer Note */
.action-footer-note {
    background: rgba(122, 143, 130, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-gold);
    margin-top: 2.5rem;
    color: #4a5d53;
}

.action-footer-note h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.action-footer-note p {
    line-height: 1.6;
    margin: 0;
}

/* Summary Box (Step 5) */
.summary-box {
    background: #e8f0eb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.summary-box h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.summary-box p {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.sum-highlight {
    font-weight: 600;
    font-style: italic;
    font-family: var(--font-secondary);
}

/* Template Cards (Step 5) */
.templates-section {
    margin-bottom: 2.5rem;
}

.template-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.template-card {
    cursor: pointer;
}

.template-card input[type="radio"] {
    display: none;
}

.template-card .card-inner {
    border: 2px solid #e1e9e4;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}

.template-card input[type="radio"]:checked + .card-inner {
    border-color: var(--color-primary);
    background-color: #f8faf9;
    box-shadow: 0 4px 15px rgba(122, 143, 130, 0.15);
}

.template-card h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.template-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
}

.template-card strong {
    color: var(--color-primary);
    background: rgba(122, 143, 130, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.template-card input[type="radio"]:checked + .card-inner strong {
    background: rgba(122, 143, 130, 0.2);
}

/* Intro Page Redesign */
.intro-content {
    max-width: 650px;
    margin: 0 auto;
}

.intro-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold);
    text-align: center;
    margin: 2rem 0;
    padding: 0 2rem;
    position: relative;
    line-height: 1.6;
}

.intro-quote::before, .intro-quote::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #c5d1ca;
    vertical-align: middle;
    margin: 0 15px;
}

.intro-lead {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.intro-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text);
}

.intro-features li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 1.2rem;
    top: 2px;
}

.intro-conclusion {
    background: rgba(122, 143, 130, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
    font-style: italic;
    color: #4a5d53;
    margin-bottom: 3rem;
}

.intro-audio {
    background: #fdfbf7;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(122, 143, 130, 0.08);
    border: none;
    margin-bottom: 2rem;
}

.audio-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.audio-header p {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.center-actions {
    text-align: center;
    border-top: none;
    padding-top: 1rem;
}

.center-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(122, 143, 130, 0.2);
}

/* Actions / Buttons */
.step-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: right;
}

.step-actions.split {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.action-buttons-right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.action-buttons-right .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Identity Card Print View (Step 7) */
.identity-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    scroll-margin-top: 90px;
}

.identity-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    width: 320px;
    max-width: 100%;
    height: 490px;
    border-radius: 16px;
    padding: 1.35rem 1.45rem 1.15rem 1.45rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
}

.identity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.identity-card.back {
    background: linear-gradient(135deg, #fdfbf7 0%, #f4f7f5 100%);
    color: var(--color-text);
    border: 1px solid #d1dcd5;
}

/* Inner concentric gold line frame */
.card-inner-frame {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(207, 170, 107, 0.55);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

.identity-card.back .card-inner-frame {
    border-color: rgba(207, 170, 107, 0.4);
}

.identity-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* Header Section */
.card-header {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    margin-bottom: 0.35rem;
}

.card-brand-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 0.25rem;
    line-height: 1.15;
}

.card-brand-bar .brand-title {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.card-brand-bar .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-gold);
}

.identity-card.back .card-brand-bar .brand-title {
    color: var(--color-primary-dark);
}

.identity-card.back .card-brand-bar .brand-sub {
    color: var(--color-gold);
}

.card-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-title {
    font-family: var(--font-secondary);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--color-gold);
    margin: 0;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.card-title::after {
    display: none;
}

.identity-card.back .card-title {
    color: var(--color-primary-dark);
}

.card-subtitle {
    font-family: var(--font-secondary);
    font-style: italic;
    font-size: 0.92rem;
    margin: 0.15rem 0 0 0;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.82);
}

.identity-card.back .card-subtitle {
    color: #5e7065;
}

.card-divider {
    width: 36px;
    height: 2px;
    background: var(--color-gold);
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* Body Section */
.card-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0.2rem;
    box-sizing: border-box;
}

.card-body::-webkit-scrollbar {
    width: 3px;
}
.card-body::-webkit-scrollbar-thumb {
    background: rgba(207, 170, 107, 0.4);
    border-radius: 3px;
}

.card-quote-mark {
    position: absolute;
    top: -0.85rem;
    left: -0.5rem;
    font-family: var(--font-secondary);
    font-size: 5rem;
    line-height: 1;
    color: rgba(207, 170, 107, 0.22);
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.card-quote-text {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    line-height: 1.52;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    word-break: break-word;
    width: 100%;
    margin: 0;
    transition: font-size 0.2s ease, line-height 0.2s ease;
}

/* Back Card Body */
.card-body-back {
    justify-content: flex-start;
    padding-top: 0.5rem;
}

.identity-card.back .action-text {
    font-family: var(--font-secondary);
    font-size: 1.02rem;
    line-height: 1.48;
    margin-bottom: 1.15rem;
    color: var(--color-text);
}

.identity-card.back .action-details p {
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: var(--color-text);
}

/* Footer Section */
.card-footer {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}

.card-footer-front .card-footer-note {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.identity-card.back .card-footer {
    border-top-color: #d1dcd5;
}

.card-footer-back .card-footer-text {
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--color-text-light);
    padding-right: 0.75rem;
    flex: 1;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
/* Custom Word Input */
.custom-word-wrapper {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-word-wrapper input {
    flex: 1;
    max-width: 200px;
    padding: 0.5rem 1.2rem;
    border: 1px solid #c5d1ca;
    border-radius: 20px;
    font-family: var(--font-primary);
    outline: none;
    font-size: 1rem;
    color: var(--color-text);
    background: #fdfbf7;
    transition: all 0.3s;
}

.custom-word-wrapper input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(122, 143, 130, 0.2);
}

.custom-word-wrapper button {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    border: none;
    background-color: var(--color-gold);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-word-wrapper button:hover {
    background-color: var(--color-primary);
    transform: scale(1.05);
}

/* Mood Images */
.mood-image-wrapper {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}

.image-overlay-text {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.image-overlay-text svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.mood-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section Header Soft Backgrounds */
.freebie-step:not(#step-0):not(#step-7) .section-header {
    background: rgba(207, 170, 107, 0.08); /* A very light wash of the gold color */
    padding: 2rem 2.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--color-gold);
}

#step-7 .section-header {
    background: rgba(122, 143, 130, 0.08); /* A light wash of the sage green for the finale */
    padding: 2rem 2.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--color-primary);
}

/* Identity Card Logo Badges */
.card-logo-badge {
    position: static;
    width: 44px;
    height: 44px;
    background: #fdfbf7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    flex-shrink: 0;
}
.card-logo-badge img {
    width: 170%;
    max-width: none;
    height: auto;
    transform: translate(-3%, 8%);
}

.card-logo-back {
    position: static;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: multiply;
    opacity: 0.8;
    flex-shrink: 0;
}
.card-logo-back img {
    width: 120%;
    max-width: none;
    height: auto;
    transform: translate(-2%, 5%);
}

/* ==========================================================================
   Landingpage Styles for Identitätsprofil
   ========================================================================== */
.landing-page-wrapper {
    padding-top: 110px;
    padding-bottom: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(180deg, #faf8f5 0%, #f4f7f5 50%, #faf8f5 100%);
}

.landing-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.badge-freebie {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary-light, #ecf1ed);
    color: var(--color-primary-dark, #5e7065);
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
}

.landing-hero {
    text-align: center;
}

.landing-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.1rem);
    color: var(--color-text-main);
    line-height: 1.25;
    margin-bottom: 2rem;
}

.hero-intro-text {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--color-text-muted);
    text-align: left;
    margin-bottom: 2.5rem;
}

.hero-intro-text p {
    margin-bottom: 1.35rem;
}

.lead-quote {
    font-size: 1.25rem;
    color: var(--color-text-main);
    font-weight: 400;
    line-height: 1.75;
}

.reflective-box {
    background: #ffffff;
    border: 1px solid rgba(122, 143, 130, 0.25);
    border-left: 4px solid var(--color-primary);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    margin: 2.25rem 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
}

.reflective-question {
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
}

.reflective-inner {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #4a5c50;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 0 !important;
}

.hero-highlight-box {
    background: var(--color-primary-light, #ecf1ed);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    margin: 2.5rem 0;
    text-align: center;
    color: var(--color-text-main);
    font-size: 1.15rem;
    line-height: 1.7;
    border: 1px solid rgba(122, 143, 130, 0.2);
}

.hero-highlight-box strong {
    color: var(--color-primary-dark, #4a5c50);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    display: block;
    margin-top: 0.65rem;
    font-weight: 500;
}

/* Sections */
.landing-section {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(122, 143, 130, 0.15);
}

.landing-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    text-align: center;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-lead {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.75rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 650px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(122, 143, 130, 0.18);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.benefit-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-primary-light, #ecf1ed);
    color: var(--color-primary, #7a8f82);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.benefit-card h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--color-text-main);
}

.benefit-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.reassurance-box {
    background: rgba(207, 170, 107, 0.1);
    border: 1px solid rgba(207, 170, 107, 0.3);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-text-main);
    font-size: 1.05rem;
    line-height: 1.75;
}

.cta-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin: 2.5rem 0;
}

.btn-large {
    padding: 1.15rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(122, 143, 130, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 143, 130, 0.4);
}

.cta-microcopy {
    font-size: 0.85rem;
    color: var(--color-text-light, #8e837d);
}

/* Feature Pills in So funktioniert es */
.how-it-works-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 650px) {
    .how-it-works-features {
        grid-template-columns: 1fr;
    }
}

.feature-pill {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(122, 143, 130, 0.18);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.pill-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-primary-light, #ecf1ed);
    color: var(--color-primary-dark, #5e7065);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.pill-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.pill-text strong {
    font-size: 1rem;
    color: var(--color-text-main);
    display: block;
    margin-bottom: 0.2rem;
}

.pill-text span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    display: block;
}

.how-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.how-text p {
    margin-bottom: 1.25rem;
}

.listen-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.25rem 2rem;
    text-align: center;
    border: 1px solid rgba(122, 143, 130, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    margin-top: 2rem;
}

.listen-box p {
    margin-bottom: 0.5rem;
}

.listen-core {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-primary-dark, #5e7065);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Checklist / Für wen */
.checklist-grid {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.checklist-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.35rem 1.6rem;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    border: 1px solid rgba(122, 143, 130, 0.18);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.check-icon {
    color: var(--color-primary, #7a8f82);
    flex-shrink: 0;
    margin-top: 3px;
}

.checklist-text {
    font-size: 1.05rem;
    color: var(--color-text-main);
    line-height: 1.6;
}

/* Author / Why Story Card */
.why-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 2.75rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    border: 1px solid rgba(122, 143, 130, 0.2);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .why-card {
        flex-direction: column;
        text-align: center;
        padding: 2.25rem 1.75rem;
    }
}

.author-portrait {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary-light, #ecf1ed);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.why-content blockquote {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.6;
    color: #4a5c50;
    margin-bottom: 1.15rem;
    font-style: italic;
}

.why-content p {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.15rem;
}

.author-sign {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-text-main);
    font-weight: 600;
    display: block;
}

/* Concrete Value Card */
.concrete-value-card {
    background: linear-gradient(135deg, #f2f7f4 0%, #e6efe9 100%);
    border-radius: 22px;
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(122, 143, 130, 0.25);
    margin: 3.5rem auto 1.5rem;
}

.leaf-icon {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaf-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.concrete-value-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.highlight-sentence {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.75;
    color: #314237;
    margin-bottom: 0 !important;
}

.takeaways-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    text-align: left;
    margin: 1.5rem 0;
}

.takeaway-card {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(122, 143, 130, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.takeaway-card h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #2c2520;
    margin-bottom: 0.5rem;
}

.takeaway-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #5e544f;
    margin: 0;
}

/* Final CTA */
.landing-final-cta {
    text-align: center;
    padding: 3.5rem 2.5rem;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(122, 143, 130, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin: 4.5rem 0 3rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Landing Footer */
.landing-footer {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
    color: var(--color-text-light);
    font-size: 0.85rem;
    border-top: 1px solid rgba(122, 143, 130, 0.15);
    margin-top: 4rem;
}

.landing-footer a {
    color: var(--color-text-muted);
    text-decoration: underline;
    margin: 0 0.5rem;
}

/* Signup Modal - 100% scrollbar & touch-optimiert */
.signup-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 32, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.signup-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.signup-modal-box {
    background: #ffffff;
    border-radius: 22px;
    max-width: 520px;
    width: 100%;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    margin: auto;
    max-height: calc(100dvh - 2rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.signup-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border: none;
    background: #f4f7f5;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.signup-modal-close:hover {
    background-color: #e5ece7;
    color: var(--color-text-main);
}

.signup-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.signup-modal-header p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Welcome banner on Step 0 */
.welcome-banner {
    background: var(--color-primary-light, #ecf1ed);
    border: 1px solid rgba(122, 143, 130, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-primary-dark, #5e7065);
    font-size: 0.95rem;
}

/* Post-Freebie Bridge (Step 7) */
.freebie-bridge-box {
    background: linear-gradient(135deg, #fdfaf2 0%, #f7f3e8 100%);
    border: 1px solid rgba(207, 170, 107, 0.4);
    border-radius: 20px;
    padding: 2.75rem 2.25rem;
    margin-top: 3.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.freebie-bridge-box h3 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.bridge-question {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: #5e7065;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.bridge-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 1.75rem;
}

.bridge-callout {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    border: 1px solid rgba(207, 170, 107, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.bridge-callout p {
    font-size: 1.15rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.bridge-callout strong {
    color: #4a5c50;
    font-size: 1.25rem;
}

.bridge-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Comprehensive Smartphone & Mobile Optimization
   (100% responsive on all smartphones & fully scrollable)
   ========================================================================== */

@media (max-width: 768px) {
    /* Header & Navigation */
    .header-container {
        padding: 0.75rem 1rem;
    }

    .landing-back-link {
        padding: 0.5rem;
        min-height: 44px;
        min-width: 44px;
        border-radius: 8px;
        background: rgba(122, 143, 130, 0.08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .logo-motto {
        font-size: 1.18rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    /* Landingpage Layout */
    .landing-page-wrapper {
        padding-top: 85px;
        padding-bottom: 50px;
    }

    .landing-container {
        padding: 0 1rem;
    }

    .badge-freebie {
        font-size: 0.78rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.25rem;
    }

    .landing-hero h1 {
        font-size: clamp(1.65rem, 6.5vw, 2.3rem);
        line-height: 1.28;
        margin-bottom: 1.25rem;
    }

    .lead-quote {
        font-size: 1.08rem;
        line-height: 1.65;
    }

    .hero-intro-text {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    .hero-intro-text p {
        margin-bottom: 1rem;
    }

    .cta-center {
        margin: 1.5rem 0;
        width: 100%;
    }

    .btn-large {
        width: 100%;
        min-height: 48px;
        padding: 0.9rem 1.5rem;
        font-size: 1.02rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .landing-section {
        margin-top: 3rem;
        padding-top: 2.25rem;
    }

    .landing-section h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .section-lead {
        font-size: 0.98rem;
        margin-bottom: 1.75rem;
        line-height: 1.6;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .benefit-card {
        padding: 1.35rem 1.2rem;
        border-radius: 14px;
    }

    .reassurance-box {
        padding: 1.35rem 1.15rem;
        border-radius: 14px;
        font-size: 0.98rem;
        line-height: 1.65;
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem;
    }

    /* How it works */
    .how-it-works-features {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 1.75rem;
    }

    .feature-pill {
        padding: 1rem 1.15rem;
        gap: 1rem;
        border-radius: 12px;
    }

    .pill-icon {
        width: 40px;
        height: 40px;
    }

    .how-text {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    .listen-box {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }

    .listen-core {
        font-size: 1.18rem;
    }

    /* Checklist */
    .checklist-grid {
        gap: 0.85rem;
        margin-bottom: 1.75rem;
    }

    .checklist-item {
        padding: 1.1rem 1.15rem;
        gap: 0.85rem;
        border-radius: 12px;
    }

    .checklist-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Why Card */
    .why-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.2rem;
        gap: 1.25rem;
        border-radius: 18px;
    }

    .author-portrait {
        width: 110px;
        height: 110px;
    }

    .why-content blockquote {
        font-size: 1.15rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }

    .why-content p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* Concrete value card */
    .concrete-value-card {
        padding: 2rem 1.15rem;
        border-radius: 18px;
        margin: 2.5rem auto 1.25rem;
    }

    .concrete-value-card h3 {
        font-size: 1.45rem;
    }

    .highlight-sentence {
        font-size: 1.12rem;
        line-height: 1.6;
    }

    .takeaways-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.25rem 0;
    }

    .takeaway-card {
        padding: 1.35rem 1.15rem;
    }

    .takeaway-card h4 {
        font-size: 1.15rem;
    }

    .takeaway-card p {
        font-size: 0.92rem;
    }

    /* Final CTA */
    .landing-final-cta {
        padding: 2.25rem 1.2rem;
        border-radius: 18px;
        margin: 3rem 0 2rem;
    }

    .landing-final-cta h2 {
        font-size: 1.65rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        margin-top: 1.5rem;
    }

    .landing-footer {
        margin-top: 2.5rem;
        padding: 1.75rem 1rem 1rem;
        font-size: 0.8rem;
    }

    /* -------------------------------------------------------------------------
       Signup Modal Mobile Optimization (Scrollable on any screen height)
       ------------------------------------------------------------------------- */
    .signup-modal-overlay {
        padding: 0.75rem 0.5rem;
        align-items: flex-start;
    }

    .signup-modal-box {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: 18px;
        margin: auto 0;
        max-height: calc(100dvh - 1.5rem);
        max-height: calc(100vh - 1.5rem);
    }

    .signup-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
    }

    .signup-modal-header h3 {
        font-size: 1.45rem;
    }

    .signup-modal-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    #sendy-name,
    #sendy-email {
        font-size: 16px !important;
        min-height: 46px;
        padding: 0.75rem;
        box-sizing: border-box;
    }

    #sendy-privacy {
        width: 22px;
        height: 22px;
        min-width: 22px;
        cursor: pointer;
    }

    /* -------------------------------------------------------------------------
       Freebie Workflow Steps (Mobile Layout & Controls)
       ------------------------------------------------------------------------- */
    .freebie-main {
        padding-top: 85px;
        padding-bottom: 45px;
        min-height: calc(100vh - 65px);
    }

    .container.small-container {
        padding: 0 0.65rem;
    }

    .step-progress-wrapper {
        margin-bottom: 1.25rem;
        height: 5px;
    }

    .freebie-steps-container {
        padding: 1.35rem 0.95rem;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    .mood-image-wrapper {
        height: 170px;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }

    .freebie-step .section-header {
        margin-bottom: 1.25rem;
    }

    .freebie-step:not(#step-0):not(#step-7) .section-header,
    #step-7 .section-header {
        padding: 1.15rem 0.95rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }

    .step-number {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.5rem;
    }

    .freebie-step .section-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.65rem;
    }

    .section-intro {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .intro-lead {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
        margin-bottom: 1.25rem !important;
    }

    .intro-list {
        margin-bottom: 1.25rem !important;
    }

    .intro-list li {
        font-size: 0.95rem;
        margin-bottom: 0.65rem;
        padding-left: 1.5rem;
    }

    .intro-conclusion {
        padding: 1.15rem 0.95rem;
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    .hero-highlight-box {
        padding: 1.15rem 0.95rem;
        margin: 1.25rem 0;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .hero-highlight-box strong {
        font-size: 1.18rem;
    }

    /* Audio Player */
    .audio-player-wrapper {
        padding: 0.95rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }

    .intro-audio {
        padding: 1.25rem 0.95rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }

    .audio-header {
        margin-bottom: 1rem;
    }

    audio {
        height: 44px;
        min-height: 44px;
    }

    /* Word Clouds */
    .word-cloud-section {
        margin-bottom: 1.5rem;
    }

    .word-cloud-section h3 {
        font-size: 1.1rem;
    }

    .instruction {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .word-cloud {
        gap: 0.45rem;
    }

    .word-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.88rem;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        box-sizing: border-box;
        border-radius: 24px;
    }

    .custom-word-wrapper {
        margin-top: 0.85rem;
        width: 100%;
        gap: 0.45rem;
    }

    .custom-word-wrapper input {
        font-size: 16px !important; /* Guaranteed iOS auto-zoom prevention */
        min-height: 44px;
        max-width: none;
        flex: 1;
        padding: 0.5rem 0.95rem;
        box-sizing: border-box;
    }

    .custom-word-wrapper button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.35rem;
        touch-action: manipulation;
        flex-shrink: 0;
    }

    /* Input Sections (Steps 1 to 4) */
    .input-section {
        margin-bottom: 1.75rem;
    }

    .input-section label {
        font-size: 0.95rem;
        margin-bottom: 0.65rem;
        line-height: 1.45;
    }

    .input-prefix-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 1rem 0.85rem;
        border-radius: 10px;
    }

    .input-prefix-wrapper span {
        font-size: 0.95rem;
        color: var(--color-text-main);
    }

    .input-prefix-wrapper input[type="text"],
    .input-prefix-wrapper textarea.auto-resize {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 16px !important;
        line-height: 1.5;
        padding: 0.5rem 0.25rem;
        box-sizing: border-box;
    }

    /* Step 5: Summary & Templates */
    .summary-box {
        padding: 1.15rem 0.85rem;
        margin-bottom: 1.25rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .summary-box h4 {
        font-size: 1.05rem;
        margin-bottom: 0.65rem;
    }

    .final-words-selection {
        margin-bottom: 1.5rem !important;
    }

    .final-words-selection p {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1rem !important;
    }

    .word-group strong {
        font-size: 0.88rem;
    }

    .templates-section {
        margin-bottom: 1.5rem;
    }

    .templates-section h3 {
        font-size: 1.1rem;
        line-height: 1.35;
    }

    .template-card .card-inner {
        padding: 1rem 0.85rem;
        border-radius: 10px;
    }

    .template-card h4 {
        font-size: 1.02rem;
    }

    .template-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    #input-kernsatz {
        font-size: 16px !important;
        padding: 0.75rem;
        border-radius: 8px;
        line-height: 1.5;
    }

    /* Step 6: Action Plan */
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .direction-card {
        padding: 1.1rem 0.9rem;
        border-radius: 10px;
    }

    .direction-card h4 {
        font-size: 1.05rem;
    }

    .direction-card p {
        font-size: 0.88rem;
        margin-bottom: 0.65rem;
    }

    .direction-card ul {
        padding-left: 1rem;
        font-size: 0.85rem;
    }

    .direction-card li {
        margin-bottom: 0.45rem;
    }

    .action-hints {
        padding: 1.1rem 0.9rem;
        margin-bottom: 1.25rem;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    .action-hints ul {
        margin-left: 1rem;
    }

    .action-inputs {
        padding: 1.15rem 0.85rem;
        font-size: 0.92rem;
        line-height: 1.6;
        border-radius: 10px;
    }

    .action-inputs span {
        font-size: 0.92rem;
    }

    .action-inputs textarea.auto-resize {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 16px !important;
        margin: 0.4rem 0;
        padding: 0.5rem 0.25rem;
        box-sizing: border-box;
    }

    .action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        margin-top: 0.75rem;
    }

    .action-row .date-input,
    .action-row .time-input,
    .action-row input[type="text"] {
        width: 100% !important;
        min-height: 44px;
        font-size: 16px !important;
        margin: 0.2rem 0;
        padding: 0.5rem 0.75rem;
        background: #ffffff;
        border: 1px solid #c9d1cc;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .action-footer-note {
        padding: 1rem 0.85rem;
        margin-top: 1.5rem;
        font-size: 0.88rem;
    }

    /* Step 7: Identity Card View */
    .identity-card-wrapper {
        margin-bottom: 1.75rem;
        gap: 1.25rem;
        width: 100%;
    }

    .identity-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 460px;
        padding: 1.25rem 1.15rem 1rem 1.15rem;
        box-sizing: border-box;
        border-radius: 14px;
    }

    .card-inner-frame {
        top: 7px;
        left: 7px;
        right: 7px;
        bottom: 7px;
    }

    .card-title {
        font-size: 1.12rem;
    }

    .card-subtitle {
        font-size: 0.85rem;
    }

    .card-quote-text {
        font-size: 0.98rem;
        line-height: 1.45;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .identity-card.back .action-text {
        font-size: 0.95rem;
        line-height: 1.42;
        margin-bottom: 0.85rem;
    }

    .card-body {
        min-height: 170px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .freebie-bridge-box {
        padding: 1.75rem 1rem;
        border-radius: 16px;
        margin-top: 2rem;
    }

    .freebie-bridge-box h3 {
        font-size: 1.35rem;
    }

    .bridge-question {
        font-size: 1.12rem;
        line-height: 1.5;
    }

    .bridge-text {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .bridge-callout {
        padding: 1.25rem 0.95rem;
    }

    .bridge-callout p {
        font-size: 1rem;
        margin-bottom: 1.15rem;
    }

    .bridge-actions .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* -------------------------------------------------------------------------
       Action Buttons Mobile UX (Full touch width, primary button first)
       ------------------------------------------------------------------------- */
    .step-actions {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .step-actions.split {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 0.65rem;
        width: 100%;
    }

    .step-actions.split .next-step {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .step-actions.split .prev-step {
        width: 100%;
        min-height: 44px;
        font-size: 0.92rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .center-actions .btn {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .action-buttons-right {
        width: 100%;
        flex-direction: column;
        gap: 0.6rem;
    }

    .action-buttons-right .btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
}

/* Extra small devices (iPhone SE 1st gen, narrow Androids < 360px) */
@media (max-width: 360px) {
    .freebie-steps-container {
        padding: 1.1rem 0.75rem;
    }

    .freebie-step:not(#step-0):not(#step-7) .section-header,
    #step-7 .section-header {
        padding: 0.95rem 0.75rem;
    }

    .freebie-step .section-header h2 {
        font-size: 1.25rem;
    }

    .word-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.82rem;
    }

    .btn-large,
    .step-actions.split .next-step,
    .action-buttons-right .btn {
        font-size: 0.92rem;
        padding: 0.75rem 0.9rem;
    }

    .identity-card {
        min-height: 440px;
        padding: 1rem 0.9rem 0.85rem 0.9rem;
    }
}

/* ==========================================================================
   SHARE FEATURE STYLES (Mobile-first, fully responsive & accessible)
   ========================================================================== */

/* Landing Page Recommendation CTA */
.landing-share-box {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(122, 143, 130, 0.22);
    text-align: center;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.landing-share-text {
    font-size: 0.98rem;
    color: var(--color-text-muted, #5e544f);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.btn-share-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.25s ease;
    border: 1px solid rgba(122, 143, 130, 0.4);
    background: #ffffff;
    color: var(--color-primary-dark, #5e7065);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.btn-share-cta:hover {
    background: var(--color-primary-light, #ecf1ed);
    border-color: var(--color-primary, #7a8f82);
    color: var(--color-text-main, #2c2520);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Card Inline Actions (Below Card on Step 7) */
.card-share-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-share-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-primary-dark, #5e7065);
    background: #ffffff;
    border: 1px solid rgba(122, 143, 130, 0.35);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    font-family: var(--font-sans);
}

.btn-share-inline:hover {
    background: var(--color-primary-light, #ecf1ed);
    border-color: var(--color-primary, #7a8f82);
    color: var(--color-text-main, #2c2520);
    transform: translateY(-1px);
}

.btn-share-inline svg {
    flex-shrink: 0;
}

/* Share Modal Overlay & Box */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 32, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.share-modal-box {
    background: #ffffff;
    border-radius: 22px;
    max-width: 480px;
    width: 100%;
    padding: 2.25rem 2rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    position: relative;
    margin: auto;
    max-height: calc(100dvh - 2rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    animation: modalSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-modal-close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 36px;
    height: 36px;
    border: none;
    background: #f4f7f5;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--color-text-muted, #5e544f);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.share-modal-close:hover {
    background-color: #e5ece7;
    color: var(--color-text-main, #2c2520);
    transform: rotate(90deg);
}

.share-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.share-modal-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary, #7a8f82);
    background: var(--color-primary-light, #ecf1ed);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.65rem;
}

.share-modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-text-main, #2c2520);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.share-modal-header p {
    font-size: 0.95rem;
    color: var(--color-text-muted, #5e544f);
    line-height: 1.45;
    margin: 0;
}

/* Quote Preview in Modal */
.share-modal-quote-preview {
    background: #faf8f5;
    border: 1px solid rgba(207, 170, 107, 0.35);
    border-radius: 14px;
    padding: 1.15rem 1.25rem 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.quote-preview-inner {
    position: relative;
    padding-left: 1.75rem;
}

.quote-preview-mark {
    position: absolute;
    left: 0;
    top: -0.3rem;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #cfaa6b;
    line-height: 1;
}

.quote-preview-inner p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-text-main, #2c2520);
    line-height: 1.5;
    margin: 0;
}

/* Share Options Grid */
.share-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
    .share-options-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
}

.share-option-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(122, 143, 130, 0.25);
    background: #ffffff;
    color: var(--color-text-main, #2c2520);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    font-family: var(--font-sans);
    box-sizing: border-box;
}

.share-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.share-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.share-option-label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* WhatsApp Option */
.share-option-btn.share-whatsapp {
    border-color: rgba(37, 211, 102, 0.35);
}
.share-option-btn.share-whatsapp .share-option-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #128C7E;
}
.share-option-btn.share-whatsapp:hover {
    background: #f0fdf4;
    border-color: #25D366;
}

/* Copy Link Option */
.share-option-btn.share-copy {
    border-color: rgba(122, 143, 130, 0.35);
}
.share-option-btn.share-copy .share-option-icon {
    background: rgba(122, 143, 130, 0.12);
    color: var(--color-primary-dark, #5e7065);
}
.share-option-btn.share-copy:hover {
    background: var(--color-primary-light, #ecf1ed);
    border-color: var(--color-primary, #7a8f82);
}

/* Email Option */
.share-option-btn.share-email {
    border-color: rgba(122, 143, 130, 0.3);
}
.share-option-btn.share-email .share-option-icon {
    background: #f4f6f4;
    color: #4a5c50;
}
.share-option-btn.share-email:hover {
    background: #f7faf8;
    border-color: #4a5c50;
}

/* LinkedIn Option */
.share-option-btn.share-linkedin {
    border-color: rgba(0, 119, 181, 0.25);
}
.share-option-btn.share-linkedin .share-option-icon {
    background: rgba(0, 119, 181, 0.1);
    color: #0077B5;
}
.share-option-btn.share-linkedin:hover {
    background: #f0f7fb;
    border-color: #0077B5;
}

/* Copy Toast */
.share-toast {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #2c3531;
    color: #ffffff;
    padding: 0.65rem 1.15rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: nowrap;
}

.share-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.share-toast svg {
    color: #a3e635;
}

@media print {
    body {
        background: white;
        margin: 0;
        padding: 0;
    }

    .no-print, .main-header, .step-progress-wrapper, .audio-player-wrapper, .freebie-bridge-box, #share-modal, .card-share-bar, .landing-share-box {
        display: none !important;
    }

    .freebie-main {
        padding: 0;
        min-height: auto;
    }

    .freebie-steps-container {
        box-shadow: none;
        padding: 0;
    }
    
    .identity-card-wrapper {
        gap: 1rem;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        height: 100vh;
    }
    
    .identity-card {
        box-shadow: none;
        border: 2px solid #7a8f82;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

