/* --- BASIS & VARIABLEN --- */
:root {
    --primary: #1d1d1f;
    --bg: #ffffff;
    --bgdark: #f5f5f7;
    --text: #212529;
    --text-muted: #86868b;
    --borderradius: 28px;
    --playstore-green: #01875f;
    --apple-blue: #007aff;
}




.hero-section {
    background: #f5f5f7;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}






body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bgdark);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}
.page-i .content-page {
  width:95%;
  max-width: 900px
}
p {
    font-size: 18px;
    line-height: 1.6;
}
li {
  font-size: 18px;
  padding-bottom: 4px
}

/* --- SEKTIONEN STRUKTUR --- */
.hero-section,
.reviews-outer,
.content-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

.hero-section {
    min-height: 80vh;
    justify-content: center;
}

.reviews-outer {
    background-color: #ffffff;
}

.content-section {
    background-color: #f5f5f7;
}

/* --- CONTAINER (DIE WEISSEN KARTEN) --- */
.container,
.reviews-inner {
    max-width: 600px;
    width: 100%;
    border-radius: var(--borderradius);
    background-color: var(--bg);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.content-inner {
  max-width: 800px;
  width: 100%;

  padding: 32px;
}

.container { text-align: center; }
.reviews-inner, .content-inner { text-align: left; }

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

/* --- MÜNZE --- */
.coin-wrapper {
    perspective: 1000px;
    width: 180px;
    height: 180px;
    margin: 40px auto;
}

#coin {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.5s cubic-bezier(0.3, 1, 0.3, 1);
}

.side {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.side img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tails { transform: rotateY(180deg); }

/* --- BUTTONS --- */
.calc-button-main {
    background: #e2e2e5;
    color: #00000091;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-button-main:hover {
    background: #d2d2d7;
    color: var(--primary);
}

.btn-secondary {
    background: #f1f3f5;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: background 0.2s;
}

.btn-secondary:hover { background: #e9ecef; }

/* --- SOCIAL BAR --- */
.separator {
    border: 0;
    border-top: 2px solid #eee;
    margin: 30px 0 20px 0;
}

.social-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    /* background: #f5f5f7; */
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #00000091;
    font-size: 0.9rem;
    font-weight: 500;
}

.action-btn:hover { background: #e8e8ed; }
.action-btn:active { transform: scale(0.95); }

.icon-svg {
    width: 20px;
    height: 20px;
}

/* Like & Social Colors */
#likeBtn.active {
    background: #e2e2e5;
    color: #00000091;
}
#likeBtn.active .icon-svg { fill: white; }

.social-wa:hover { color: #25D366; background: #e8faef; }
.social-fb:hover { color: #1877F2; background: #e7f0ff; }

.count-text {
    font-size: 0.9rem;
    font-weight: 600;
    border-left: 1px solid #d2d2d7;
    padding-left: 8px;
    margin-left: 4px;
}

.review-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; /* Feste Breite für quadratischen Look */
    height: 42px; /* Feste Höhe */
    padding: 0 !important; /* Padding entfernen für exakte Zentrierung */
}

.review-link:hover {
    background: #e2e2e5;
    color: var(--apple-blue); /* Wechselt beim Hover dezent zur Akzentfarbe */
}

/* --- REVIEWS (PLAY STORE STYLE) --- */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.big-rating { font-size: 3rem; font-weight: bold; }
.stars { color:#00000091 ; font-size: 1.2rem; }
.total-reviews { font-size: 0.85rem; color: var(--text-muted); }

.review-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: #e8f0fe;
    color: #1a73e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.user-name { font-weight: 600; font-size: 0.9rem; }
.stars-small { margin-left: auto; color: var(--playstore-green); }

.review-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-left: 44px;
}

/* --- FORMULAR ELEMENTE --- */
.input-field {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    box-sizing: border-box;
    font-size: 1rem;
}

.write-review label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
    margin-top: 20px;
}

/* --- FOOTER & MISC --- */
#result-text {
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    min-height: 1.5em;
}

footer {
    padding: 40px;
    font-size: 15px;
    opacity: 0.6;
    text-align: center;
}

footer a { color: var(--text); text-decoration: none; margin: 0 10px; }
footer p {font-size: 15px!important}
footer a:hover { text-decoration: underline; }

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e9ecef;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.step h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #212529;
    font-size: 1.25rem;
    font-weight: 600;
}

.step p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    h1 {font-size:32px}

    .step {
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        top: -12px;
    }
}
