/* Ausgelagertes Inline-CSS aus index.html */
.header-benefits {
  max-width: 1100px;
  margin: 0 auto 24px auto;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.benefit {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  background: #f7f8fa;
  padding: 18px 16px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(99,102,241,0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.label-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 400;
}
.custom-plan-upload {
  margin-top: 10px;
}
.custom-plan-hint {
  font-size: 0.97em;
  color: #888;
}
.custom-plan-status {
  font-size: 0.97em;
  color: #c00;
  margin-top: 4px;
}
.urlaubspilot-calendar-legend {
  font-size: 0.98rem;
  color: #666;
  margin-bottom: 8px;
}
.urlaubspilot-calendar-feiertage-list {
  font-size: 0.85em;
  color: #b91c1c;
  margin: 2px 0 0 0;
  text-align: right;
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-wrap: wrap;
}
/* urlaubspilot Kalender-Ansicht Übersicht */
.urlaubspilot-calendar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin: 24px 0 0 0;
  justify-content: flex-start;
}
.urlaubspilot-calendar-month {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(99, 102, 241, 0.07);
  padding: 10px 10px 8px 10px;
  min-width: 220px;
  margin-bottom: 8px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}
.urlaubspilot-calendar-month-title {
  font-weight: 700;
  color: #6366f1;
  font-size: 1.08em;
  margin-bottom: 6px;
  text-align: center;
}
.urlaubspilot-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.urlaubspilot-calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  font-size: 0.98em;
  border-radius: 5px;
  min-width: 24px;
  min-height: 24px;
  height: 24px;
  width: 24px;
  background: none;
  color: #232336;
  box-sizing: border-box;
}
.urlaubspilot-calendar-head {
  font-weight: 600;
  color: #b4b8f7;
  background: none;
}
.urlaubspilot-calendar-empty {
  background: none;
  color: transparent;
  pointer-events: none;
}
.urlaubspilot-calendar-urlaub {
  background: #6366f1;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.1);
}
.urlaubspilot-calendar-wochenende {
  background: #f3f4fa;
  color: #b4b8f7;
  font-weight: 600;
}
.urlaubspilot-calendar-feiertag {
  background: #c2525b;
  color: #ffffff;
  font-weight: 700;
}
/* Overlay für deaktivierte Block-Karten */
.block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  color: #232336;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.04rem;
  font-weight: 600;
  border-radius: 18px;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  padding: 0 12px;
  box-shadow: none;
}
/* Schritt-für-Schritt Stepper */
.stepper {
  max-width: 480px;
  margin: 0 auto 24px auto;
  padding: 0 0 18px 0;
  background: none;
  text-align: center;
}
.stepper ol {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}
.step {
  flex: 1 1 0;
  padding: 10px 0 8px 0;
  border-bottom: 3px solid #e0e7ef;
  color: #b0b0b0;
  font-weight: 600;
  font-size: 1.08rem;
  background: none;
  transition: color 0.18s, border 0.18s;
  position: relative;
}
.step.active {
  color: #6366f1;
  border-bottom: 3px solid #6366f1;
  background: none;
}
.step.completed {
  color: #4f46e5;
  border-bottom: 3px solid #b4b8f7;
}

.button-group-step {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

/* Übersicht Schritt 3 */
/* Übersicht Schritt 3 */
#summary-overview,
.summary-overview {
  max-width: 1100px;
  margin: 0 auto 32px auto;
  background: #f7f8fa;
  border-radius: 13px;
  padding: 24px 24px 18px 24px;
  color: #232336;
  box-shadow: 0 2px 12px rgba(60, 60, 100, 0.07);
  font-size: 1.08rem;
  display: none;
}
.summary-overview h2 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #6366f1;
}
.summary-overview ul {
  margin: 0 0 0 18px;
  padding: 0;
  list-style: disc;
}
.summary-overview li {
  margin-bottom: 4px;
}
/* Stil für die Block-Auswahl Checkbox */
.block-select {
  accent-color: #6366f1;
  width: 1.25em;
  height: 1.25em;
  margin-right: 10px;
  border-radius: 5px;
  border: 1.5px solid #b4b8f7;
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.08);
  vertical-align: middle;
  transition: box-shadow 0.15s, border 0.15s;
}
.block-select:disabled {
  accent-color: #d1d5db;
  border-color: #e5e7eb;
  background: #f3f4f6;
  cursor: not-allowed;
}
/* Blöcke: Titelzeile und Sektionen */
.blocks-section-title {
  font-size: 1.01em;
  margin-bottom: 4px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: inherit;
  font-size: 1.35rem;
  padding: 6px 0 6px 0;
}
.logo svg {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 12px rgba(99, 102, 241, 0.1));
  transition: width 0.2s, height 0.2s;
}
.brand {
  font-weight: 900;
  font-size: 2.1rem;
  color: #232336;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(99, 102, 241, 0.1), 0 1px 0 #fff;
  transition: font-size 0.2s;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f7f8fa;
  color: #232336;
  font-size: 17px;
  letter-spacing: 0.01em;
}
/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #111827;
  color: #fff;
  border-radius: 6px;
  z-index: 9999;
}
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #232336;
  font-size: 1rem;
}
input,
select {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 18px;
  border: 1.2px solid #e0e0e7;
  border-radius: 7px;
  font-size: 1.08rem;
  background: #fff;
  transition: border 0.18s;
  box-sizing: border-box;
}
input:focus,
select:focus {
  border: 1.5px solid #6366f1;
  outline: none;
  background: #f3f4fa;
}
button {
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 15px 0;
  font-size: 1.13rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background 0.18s;
  box-shadow: none;
  letter-spacing: 0.01em;
}
button:hover {
  background: #4f46e5;
}
.result {
  margin: 0 auto 32px auto;
  background: #fff;
  border-radius: 13px;
  padding: 32px 24px 24px 24px;
  color: #232336;
  max-width: 1100px;
  box-shadow: 0 2px 12px rgba(60, 60, 100, 0.07);
  position: relative;
  z-index: 1;
  display: none;
}
.blocks-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blocks-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px 22px;
  margin-top: 24px;
  align-items: stretch;
}
/* Modernisiertes Block-Card Design */
.block-card {
  background: linear-gradient(120deg, #f7f8fa 60%, #e9eafc 100%);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(99, 102, 241, 0.1),
    0 1.5px 6px 0 rgba(60, 60, 100, 0.06);
  padding: 22px 22px 18px 22px;
  min-width: 0;
  max-width: 100%;
  border: 1.5px solid #e0e7ef;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  transition: box-shadow 0.18s, border 0.18s, background 0.18s;
  margin-bottom: 0;
  margin-top: 0;
  gap: 10px;
  overflow: hidden;
}
.block-card:hover {
  box-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.18),
    0 2px 8px 0 rgba(60, 60, 100, 0.11);
  background: linear-gradient(120deg, #f3f4fa 60%, #dbeafe 100%);
  border-color: #b4b8f7;
}
/* Ausgegraute, nicht mehr auswählbare Blöcke */
.block-card.block-disabled {
  opacity: 0.55;
  background: #e5e7eb !important;
  filter: grayscale(0.25);
  pointer-events: auto;
}
.block-card.block-disabled label,
.block-card.block-disabled .block-title,
.block-card.block-disabled .block-dates,
.block-card.block-disabled .block-info {
  color: #b0b0b0 !important;
}
.block-card.block-disabled .copy-btn {
  background: #f3f4f6;
  color: #b0b0b0;
  border-color: #e0e0e7;
  cursor: not-allowed;
}
.block-card.block-disabled input[type='checkbox'] {
  cursor: not-allowed;
}
/* Titel im Block modern und klar */
.block-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #232336;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
  line-height: 1.18;
  display: block;
}
.block-dates {
  font-size: 1.04rem;
  color: #6366f1;
  font-weight: 600;
  margin: 2px 0 0 0;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
}
.block-info {
  font-size: 0.99rem;
  color: #232336;
  margin: 6px 0 0 0;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 6px 0 0 0;
  border-top: 1px solid #e0e7ef;
}
.block-icons {
  margin-top: 4px;
  font-size: 1.1em;
}
.block-icon {
  margin-right: 3px;
  font-size: 1.18em;
  vertical-align: -2px;
  filter: drop-shadow(0 1px 2px rgba(99, 102, 241, 0.1));
}
@media (max-width: 1200px) {
  .result {
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  .blocks-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .result {
    padding: 12px 2vw 8px 2vw;
  }
  .block-card {
    padding: 10px 6vw 8px 6vw;
    border-radius: 14px;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 99vw;
    padding: 12px 2vw 12px 2vw;
  }
  .result {
    padding: 12px 2vw 8px 2vw;
  }
  .blocks-list {
    gap: 10px;
  }
  .block-card {
    padding: 8px 2vw 7px 2vw;
    border-radius: 12px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  .subtitle {
    font-size: 0.98rem;
  }
  .container {
    padding: 6px 1vw 6px 1vw;
  }
  .block-card {
    padding: 8px 2vw 7px 2vw;
  }
}

/* Responsive header adjustments */
@media (max-width: 880px) {
  .header-inner {
    align-items: center;
  }
  .hero-inner h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 420px) {
  .hero-inner h1 {
    font-size: 1.6rem;
  }
  .brand {
    display: none;
  }
}

/* Site header: professional layout */

/* --- Überarbeiteter moderner Header --- */
.site-header {
  /* Urlaubsfeeling: Türkis, Sand, Himmelblau, sanfte Sonnenstrahlen */
  background: radial-gradient(
      ellipse at 80% 0%,
      rgba(0, 212, 255, 0.18) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    /* Türkis-Highlight */
      radial-gradient(
        ellipse at 0% 100%,
        rgba(255, 221, 128, 0.13) 0%,
        rgba(255, 255, 255, 0) 70%
      ),
    /* Sandton */ linear-gradient(120deg, #a8edea 0%, #fed6e3 50%, #f9d29d 100%),
    /* Himmelblau zu Sand */
      linear-gradient(
        90deg,
        rgba(255, 236, 179, 0.13) 0%,
        rgba(255, 255, 255, 0) 100%
      ); /* Sonnenstrahlen */
  padding-bottom: 32px;
  position: relative;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.07);
  z-index: 10;
  margin-bottom: 32px;
  overflow: hidden;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
}
.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  font-size: 1.18rem;
}
.logo svg {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: #232336;
  letter-spacing: 0.05em;
}
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-size: 1.05rem;
  transition: background 0.18s, border 0.18s, color 0.18s;
}
.btn-primary {
  background: #6366f1;
  color: #fff;
  border-color: rgba(99, 102, 241, 0.16);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}
.btn-primary:hover {
  background: #4f46e5;
  color: #fff;
}
.hero {
  padding: 36px 0 38px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
}
.hero-inner {
  max-width: 825px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero-inner h1 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  color: #0f1724;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.01em;
  z-index: 2;
  position: relative;
}
.hero-inner .subtitle {
  margin-top: 10px;
  color: #475569;
  font-size: 1.13rem;
  opacity: 0.97;
  z-index: 2;
  position: relative;
  font-weight: 500;
}

footer {
  width: 100%;
  text-align: center;
  padding: 1.2em 0;
  font-size: 0.95em;
  color: #888;
  background: rgba(245, 245, 245, 0.95);
  border-top: 1px solid #eee;
  position: relative;
  bottom: 0;
  left: 0;
}

/* --- Responsive Header Anpassungen --- */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 8vw 0 8vw;
  }
  .header-actions {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .logo {
    font-size: 1.08rem;
  }
  .logo svg {
    width: 44px;
    height: 44px;
  }
  .brand {
    font-size: 1.3rem;
  }
  .hero-inner h1 {
    font-size: 2rem;
  }
  .hero-inner .subtitle {
    font-size: 1.01rem;
  }
  .hero {
    padding: 24px 0 28px 0;
  }
}
@media (max-width: 600px) {
  .header-inner {
    padding: 14px 2vw 0 2vw;
    gap: 10px;
  }
  .logo svg {
    width: 32px;
    height: 32px;
  }
  .brand {
    font-size: 1.05rem;
    text-shadow: none;
  }
  .btn {
    padding: 8px 10px;
    font-size: 0.95rem;
  }
  .hero-inner h1 {
    font-size: 1.5rem;
  }
}
@media (max-width: 420px) {
  .logo svg {
    width: 22px;
    height: 22px;
  }
  .brand {
    display: none;
  }
  .hero-inner h1 {
    font-size: 1.18rem;
  }
}
.container {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(60, 60, 100, 0.07);
  padding: 28px 24px 18px 24px;
  margin-bottom: 32px;
}
form {
  width: 100%;
  margin: 0 auto;
}

.result-header {
  border-bottom: 1px solid #eef0f6;
  padding-bottom: 10px;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(60, 60, 100, 0.04);
}
.summary-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.muted {
  color: #6b6b7a;
}

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 8px;
}
