.stoppuhr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(240, 158, 11, 0.15);
    color: #f6bb55;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.hero-note h2 {
    color: #F09E0B;
}

.stoppuhr-layout {
    display: grid;
    grid-template-columns: minmax(360px, 1.2fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: stretch;
}

.stoppuhr-stage,
.stoppuhr-controls {
    background: linear-gradient(180deg, rgba(44, 63, 74, 0.96) 0%, rgba(26, 37, 47, 0.98) 100%);
    border: 1px solid #475569;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.stoppuhr-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    position: relative;
}

.stoppuhr-stage-toolbar {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.fullscreen-button {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(240, 158, 11, 0.45);
    border-radius: 999px;
    background: rgba(240, 158, 11, 0.08);
    color: #f8d08a;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.fullscreen-button:hover {
    background: rgba(240, 158, 11, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(240, 158, 11, 0.14);
}

.stoppuhr-stage:fullscreen {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
    padding: 2rem;
    display: grid;
    align-content: start;
    justify-items: center;
    overflow-y: auto;
    background:
        radial-gradient(circle at top, rgba(240, 158, 11, 0.12), rgba(26, 37, 47, 0.92) 28%, rgba(15, 23, 42, 0.98) 100%),
        #111827;
}

.stoppuhr-stage:fullscreen .stoppuhr-clock {
    width: min(84vh, 980px);
}

.stoppuhr-stage:fullscreen .time-display {
    font-size: clamp(8rem, 20vw, 16rem);
}

.stoppuhr-stage:fullscreen .stoppuhr-stats,
.stoppuhr-stage:fullscreen .stoppuhr-feedback,
.stoppuhr-stage:fullscreen .stoppuhr-stage-toolbar {
    width: min(84vh, 980px);
}

.fullscreen-toolbar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.fullscreen-toolbar.hidden {
    display: none;
}

.stoppuhr-stage:fullscreen .fullscreen-toolbar {
    display: flex;
    width: min(84vh, 980px);
}

.stoppuhr-stage:fullscreen .fullscreen-toolbar .btn-primary,
.stoppuhr-stage:fullscreen .fullscreen-toolbar .btn-secondary,
.stoppuhr-stage:fullscreen .fullscreen-toolbar .btn-ghost {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
}

.stoppuhr-clock {
    width: min(100%, 500px);
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 1.55rem;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 56%),
        conic-gradient(#F09E0B calc(var(--progress, 0) * 1turn), rgba(255, 255, 255, 0.08) 0);
    box-shadow:
        0 0 0 12px rgba(240, 158, 11, 0.08),
        0 30px 45px rgba(0, 0, 0, 0.28),
        inset 0 0 24px rgba(240, 158, 11, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stoppuhr-clock.is-running {
    transform: scale(1.01);
}

.stoppuhr-clock-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(240, 158, 11, 0.12), rgba(44, 63, 74, 0.3) 30%, rgba(26, 37, 47, 0.98) 72%),
        #1a252f;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stoppuhr-label {
    color: #cbd5e1;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#timeDisplay.time-display {
    margin: 0;
    color: #ffffff;
    font-size: clamp(7.2rem, 20vw, 10.5rem);
    line-height: 0.94;
    font-weight: 700;
    font-family: 'Bebas Nueva', 'Poppins', sans-serif;
    letter-spacing: 0;
    white-space: nowrap;
}

.stoppuhr-status {
    color: #F09E0B;
    font-weight: 600;
    font-size: 1rem;
}

.stoppuhr-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid #475569;
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.stat-label {
    display: block;
    margin-bottom: 0.3rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.stat-card strong {
    color: #ffffff;
    font-size: 1.15rem;
}

.stoppuhr-feedback {
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(240, 158, 11, 0.35);
    background: rgba(240, 158, 11, 0.08);
    color: #f8d08a;
    text-align: center;
    font-weight: 500;
}

.stoppuhr-controls h2 {
    margin-bottom: 1rem;
    color: #F09E0B;
}

.control-intro {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.button-group {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.button-group button {
    flex: 1 1 180px;
    padding: 0.95rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button-group button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: #F09E0B;
    color: #1a252f;
}

.btn-primary:hover:not(:disabled) {
    background: #e89f0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(240, 158, 11, 0.24);
}

.btn-secondary {
    background: #475569;
    color: #ffffff;
}

.btn-secondary:hover:not(:disabled) {
    background: #5c6c81;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(71, 85, 105, 0.24);
}

.btn-ghost {
    background: transparent;
    color: #f8d08a;
    border: 1px solid rgba(240, 158, 11, 0.45);
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(240, 158, 11, 0.08);
    transform: translateY(-2px);
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-ghost:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 980px) {
    .stoppuhr-hero,
    .stoppuhr-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .stoppuhr-stage,
    .stoppuhr-controls {
        padding: 1.25rem;
    }

    #timeDisplay.time-display {
        font-size: clamp(5.2rem, 16vw, 7rem);
    }

    .stoppuhr-stats,
    .button-group {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}