:root { --primary: #2563eb; --primary-dark: #1e40af; --background: #f8fafc; --surface: #fff; --border: #e5e7eb; --text: #1e293b; --shadow: 0 2px 8px rgba(30,41,59,0.07); } body { background: var(--background); color: var(--text); font-family: 'Segoe UI', Arial, sans-serif; margin: 0; padding: 0; } .container { max-width: 480px; margin: 3em auto; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 2.5em 2em 2em 2em; border: 1px solid var(--border); } h1 { text-align: center; margin-bottom: 2em; font-size: 2.1em; letter-spacing: 0.01em; } form { margin-bottom: 2.2em; padding-bottom: 1.2em; border-bottom: 1px solid var(--border); } form:last-of-type { border-bottom: none; margin-bottom: 0; } h2 { font-size: 1.15em; margin-bottom: 0.7em; color: var(--primary-dark); } label { display: block; margin-bottom: 0.7em; font-weight: 500; } .date-row { display: flex; align-items: center; gap: 0.5em; margin-top: 0.2em; } .date-calc-row { display: flex; align-items: center; gap: 0.5em; margin-top: 0.2em; } input[type="date"] { padding: 0.45em 0.7em; border: 1px solid var(--border); border-radius: 6px; font-size: 1em; background: #f1f5f9; color: var(--text); } .today-btn { padding: 0.35em 0.9em; background: var(--primary-dark); color: #fff; border: none; border-radius: 6px; font-size: 0.95em; font-weight: 500; cursor: pointer; transition: background 0.2s; } .today-btn:hover { background: var(--primary); } button, .accordion-header { background: var(--primary); color: #fff; border: none; border-radius: 6px; font-size: 1em; font-weight: 600; cursor: pointer; box-shadow: 0 1px 3px rgba(30,41,59,0.05); transition: background 0.2s; } /* Berechnungs-Buttons vergrößern */ button[type="submit"] { font-size: 1.1em; padding: 0.8em 1.5em; min-width: 140px; margin-top: 1.2em; } button:hover, .accordion-header:hover { background: var(--primary-dark); } button:focus, .accordion-header:focus { outline: 3px solid #facc15; outline-offset: 2px; box-shadow: 0 0 0 4px #1e293b; z-index: 2; } .result { margin-top: 1em; font-weight: bold; background: #e0e7ff; color: #1e293b; border-radius: 6px; padding: 0.7em 1em; box-shadow: 0 1px 2px rgba(30,41,59,0.04); border: 2px solid #2563eb; } .accordion { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); margin-bottom: 2em; } .accordion-item + .accordion-item { border-top: 1px solid var(--border); } .accordion-header { background: var(--primary-dark); color: #fff; cursor: pointer; padding: 1em 1.2em; font-size: 1.1em; font-weight: 600; border: none; outline: none; width: 100%; text-align: left; transition: background 0.2s; } .accordion-header.active, .accordion-header:hover { background: var(--primary); } .accordion-content { display: none; padding: 1.2em 1.2em 1em 1.2em; background: var(--surface); } .accordion-content.active { display: block; } .header-tage { background: #2563eb; color: #fff; } .header-tage.active, .header-tage:hover { background: #1e40af; color: #fff; } .header-werktage { background: #059669; color: #fff; } .header-werktage.active, .header-werktage:hover { background: #047857; color: #fff; } .header-wochentag { background: #f59e42; color: #1e293b; } .header-wochentag.active, .header-wochentag:hover { background: #d97706; color: #fff; } .header-plusminus-tage { background: #a21caf; color: #fff; } .header-plusminus-tage.active, .header-plusminus-tage:hover { background: #701a75; color: #fff; } .header-plusminus-werktage { background: #0ea5e9; color: #fff; } .header-plusminus-werktage.active, .header-plusminus-werktage:hover { background: #0369a1; color: #fff; } .header-plusminus-wochenmonate { background: #f43f5e; color: #fff; } .header-plusminus-wochenmonate.active, .header-plusminus-wochenmonate:hover { background: #be123c; color: #fff; } .header-kw { background: #a78bfa; color: #1e293b; } .header-kw.active, .header-kw:hover { background: #7c3aed; color: #fff; } .header-kw-datum { background: #facc15; color: #1e293b; } .header-kw-datum.active, .header-kw-datum:hover { background: #ca8a04; color: #fff; } .header-plusminus { background: #be123c; color: #fff; } .header-plusminus.active, .header-plusminus:hover { background: #7f1d1d; color: #fff; } @media (max-width: 600px) { .container { margin: 1em; padding: 1.2em 0.7em 1em 0.7em; } h1 { font-size: 1.3em; } }