/* =========================
   deciflow – Global Styles
   ========================= */

:root {
  --color-primary: #2C7A7B;
  --color-accent: #FF9472;
  --color-bg: #FAFAFA;
  --color-text: #2F2F2F;
  --color-light: #E6F0F1;
}

/* Reset / Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img.logo {
    height: 26px;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Header / Navigation
   ========================= */

header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}

.main-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-primary);
  text-decoration: none;
}

.logo span {
  color: var(--color-accent);
  margin-left: 4px;
}

/* Desktop-Navi */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Burger-Button (mobil) */
.nav-toggle {
  display: none; /* nur auf mobile sichtbar */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

/* Animation bei offenem Menü */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   Mobile Navigation (Off-Canvas)
   ========================= */

@media (max-width: 768px) {
  .main-nav {
    padding: 0.6rem 1rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Off-Canvas Container */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 260px;
    background: #ffffff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 4rem 1.5rem 1.5rem;
    transition: right 0.25s ease;
    z-index: 30;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li a {
    font-size: 1rem;
  }

  /* Body locken, wenn Menü offen */
  body.nav-open {
    overflow: hidden;
  }
}

/* =========================
   Hero Section
   ========================= */

.hero {
  max-width: 1100px;
  margin: 4rem auto 3rem;
  padding: 0 1.5rem;
  text-align: center;
}

.hero h1 {
  font-family: "Poppins", "Manrope", system-ui, sans-serif;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: #444444;
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* =========================
   Buttons
   ========================= */

.btn,
.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease-in-out, transform 0.1s ease;
}

.btn:hover,
.cta-button:hover {
  background: #ff8260;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Sekundärbutton (z.B. Ghost-Variante) */
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* =========================
   Methoden-Section / Cards
   ========================= */

.methods {
  background: #ffffff;
  padding: 3rem 1.5rem;
}

.methods h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-family: "Poppins", system-ui, sans-serif;
}

.method-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.method-card {
  background: var(--color-light);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.method-card:hover {
  transform: translateY(-4px);
}

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

.method-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #444444;
}

.method-card a {
  text-decoration: none;
  color: #ffffff;
  background: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.method-card a:hover {
  background: var(--color-accent);
}

/* =========================
   Generische Page-Layouts
   ========================= */

/* Container für normale Inhaltsseiten (z.B. Methoden-Detail, About) */
.page-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.page-section h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-section h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin: 1.5rem 0 0.5rem;
}

.page-section p {
  margin-bottom: 0.8rem;
  color: #444444;
}

/* Einfache Card für Tools / Inhalte */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Eingabebereiche, Formulare */
.form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: #333333;
}

input[type="text"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #d3dde0;
  font-size: 0.95rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

/* Kleine UI-Elemente */
.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--color-light);
  color: var(--color-primary);
}

/* =========================
   Footer
   ========================= */

footer {
  background: var(--color-light);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #555555;
  margin-top: 3rem;
}

footer a {
  color: var(--color-primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   Eisenhower-Board (Rahmen + Achsen)
   ========================= */

.eisenhower-board {
  position: relative;
  border: 1px solid var(--color-light);
  border-radius: 20px;
  background: #ffffff;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

/* Achsen-Beschriftung als Pfeile */
.eisenhower-board::after {
  content: "Dringlichkeit \2192";  /* → */
  position: absolute;
  top: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #777777;
}

.eisenhower-board::before {
  content: "Wichtigkeit \2193";   /* ↓ */
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
  font-size: 0.8rem;
  color: #777777;
}


/* =========================
   Eisenhower-Matrix mit Achsen
   ========================= */

.eisenhower-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;  /* links Achse, rechts 2 Quadranten */
  grid-template-rows: auto auto auto;   /* oben Spaltenlabels, dann 2 Zeilen */
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

/* Ecke oben links (leer) */
.grid-corner {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}

/* Spalten-Beschriftungen */
.grid-col-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555555;
  text-align: center;
  align-self: end;
  padding-bottom: 0.25rem;
}

/* Zeilen-Beschriftungen */
.grid-row-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555555;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
  padding: 0.5rem 0;
}

/* Quadranten-Styling */
.quadrant {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  min-height: 160px;
}

.quadrant-header h2 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.quadrant-header p {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 0.75rem;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Task-Karten – wie bisher */
.task-card {
  background: var(--color-light);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
}

.task-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.task-meta {
  font-size: 0.8rem;
  color: #555555;
  margin-bottom: 0.5rem;
}

.task-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.task-quadrant-select {
  flex: 1;
  font-size: 0.8rem;
  padding: 0.3rem 0.4rem;
  border-radius: 8px;
  border: 1px solid #d3dde0;
  background: #ffffff;
}

/* Edit-/Delete-Buttons wie schon ergänzt */
.btn-edit-task,
.btn-delete-task {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-edit-task {
  color: var(--color-primary);
}

.btn-edit-task:hover {
  text-decoration: underline;
}

.btn-delete-task {
  color: #b23b3b;
}

.btn-delete-task:hover {
  text-decoration: underline;
}

/* Empty State Hinweis */
.empty-hint {
  font-size: 0.8rem;
  color: #888888;
  font-style: italic;
}

/* Badge im Header */
.quadrant-count {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--color-light);
}

/* Mobile: Achsen vereinfachen, alles untereinander */
@media (max-width: 768px) {
  .eisenhower-grid {
    display: block;
  }

  .grid-corner,
  .grid-col-label,
  .grid-row-label {
    display: none;
  }

  .quadrant {
    margin-bottom: 1rem;
  }
}


/* Task-Karten */

.task-card {
  background: var(--color-light);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
}

.task-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.task-meta {
  font-size: 0.8rem;
  color: #555555;
  margin-bottom: 0.5rem;
}

.task-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.task-quadrant-select {
  flex: 1;
  font-size: 0.8rem;
  padding: 0.3rem 0.4rem;
  border-radius: 8px;
  border: 1px solid #d3dde0;
  background: #ffffff;
}

.btn-delete-task {
  background: transparent;
  border: none;
  color: #b23b3b;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-delete-task:hover {
  text-decoration: underline;
}

/* =========================
   Drag & Drop Styles
   ========================= */

.task-card {
  cursor: grab;
  user-select: none;
  transition: transform 0.1s ease;
}

.task-card.dragging {
  opacity: 0.6;
  transform: scale(1.02);
}

.quadrant.drag-over {
  outline: 2px dashed var(--color-accent);
  outline-offset: -4px;
}

/* =========================
   Platzhalter für leere Quadranten
   ========================= */

.drop-placeholder {
  background: #f7f9fa;
  border: 2px dashed var(--color-light);
  border-radius: 12px;
  color: #888;
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
  padding: 1.2rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.quadrant.drag-over .drop-placeholder {
  background: #fff5f0; /* leicht korallenfarbener Ton beim Hover */
}

/* =========================
   Slide-in Panel für Aufgabenformular
   ========================= */

.task-panel {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

.task-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.task-panel-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-panel h2 {
  margin-bottom: 0.5rem;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--color-primary);
}

.task-panel-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
}

/* Panel aktiv */
.task-panel.open {
  pointer-events: auto;
}

.task-panel.open .task-panel-overlay {
  opacity: 1;
}

.task-panel.open .task-panel-content {
  transform: translateX(0);
}

/* =========================
   Plus-Icon-Button (SVG)
   ========================= */

.btn-add-task-icon {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-add-task-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.btn-add-task-icon:hover {
  background: var(--color-accent);
  transform: scale(1.1);
}

.btn-add-task-icon:active {
  transform: scale(0.95);
}

.btn-add-task-icon:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}


.btn-add-task-icon:hover svg {
  transform: scale(1.15);
  transition: transform 0.15s ease;
}
	
	

/* =========================
   Pro-Contra-Liste Layout
   ========================= */

.pro-contra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.column {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.column-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.pro-column h2 {
  color: var(--color-primary);
}

.contra-column h2 {
  color: #b23b3b;
}

.argument-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.argument-card {
  background: var(--color-light);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.argument-text {
  flex: 1;
  margin-right: 1rem;
  font-size: 0.9rem;
}

.argument-weight {
  font-size: 0.8rem;
  font-weight: bold;
  color: #555;
}

.btn-add-argument {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-add-argument:hover {
  background: var(--color-accent);
  transform: scale(1.1);
}

.column.drag-over {
  box-shadow: 0 0 0 2px var(--color-accent-soft, rgba(248, 105, 94, 0.25));
  transform: translateY(-1px);
  transition: box-shadow 0.15s ease, transform 0.15s ease;

  .quadrant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.quadrant-header-main {
  flex: 1;
}

}

	
	/* =========================
   Farbkorrektur: Contra in sanftem Rotton
   ========================= */

/* Grundfarben für Pro & Contra */
:root {
  --color-pro: #3aa76d; /* dein Grünton */
  --color-contra: #d85b5b; /* sanftes Rot, harmonisch zum Grün */
  --color-contra-bg: #fff5f5; /* zarter Hintergrundton */
}

/* Überschriften einfärben */
.pro-column h2 {
  color: var(--color-pro);
}

.contra-column h2 {
  color: var(--color-contra);
}

/* Karten-Hintergründe leicht farblich absetzen */
.pro-column .argument-card {
  background: var(--color-light);
  border-left: 4px solid var(--color-pro);
}

.contra-column .argument-card {
  background: var(--color-contra-bg);
  border-left: 4px solid var(--color-contra);
}

/* Gewichtung in passenden Farben */
.pro-column .argument-weight {
  color: var(--color-pro);
}

.contra-column .argument-weight {
  color: var(--color-contra);
}

/* Delete-Button dezenter einfärben */
.pro-column .btn-delete-task {
  color: #666;
}

.contra-column .btn-delete-task {
  color: var(--color-contra);
}

/* Add-Buttons (Plus-Icons) in jeweiliger Farbe */
.pro-column .btn-add-argument {
  background: var(--color-pro);
}

.contra-column .btn-add-argument {
  background: var(--color-contra);
}

.pro-column .btn-add-argument:hover {
  background: #4cc77e;
}

.contra-column .btn-add-argument:hover {
  background: #e36c6c;
}
	
	/* Drag & Drop Feedback in der Pro/Contra-Liste */

.argument-card.dragging {
  opacity: 0.6;
  transform: scale(1.02);
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.argument-list.drag-over {
  outline: 2px dashed var(--color-accent);
  outline-offset: -4px;
  background: #fdf7f3;
}
	
	.column.drag-over {
  box-shadow: 0 0 0 2px var(--color-accent-soft, rgba(248, 105, 94, 0.25));
  transform: translateY(-1px);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.argument-list.drag-over {
  background: #fdf7f3;
}

.argument-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Grundlayout der Argument-Karte */
.argument-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--color-light);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.argument-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Linke Seite: Text */
.argument-main {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.35;
}

/* Rechte Seite: Gewicht + Actions */
.argument-meta {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

/* Gewicht, rechtsbündig */
.argument-weight {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  min-width: 80px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Actions-Bar mit Border-Left */
.argument-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn-edit-argument,
.btn-delete-argument {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-edit-argument svg {
  display: block;
}

.btn-edit-argument:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

.btn-delete-argument:hover {
  background: rgba(248, 105, 94, 0.08);
  color: var(--color-contra, #d85b5b);
}

/* Optional: auf sehr schmalen Screens untereinander umbrechen */
@media (max-width: 480px) {
  .argument-card {
    flex-direction: column;
    align-items: stretch;
  }

  .argument-meta {
    justify-content: flex-end;
  }
}


/* =========================
   Pro/Contra Auswertung
   ========================= */

.pc-summary {
  margin-top: 1.75rem;
}

.pc-summary h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pc-summary-bar {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: #f0f2f4;
  display: flex;
}

.pc-summary-bar-segment {
  height: 100%;
  transition: width 0.25s ease;
}

.pc-summary-bar-pro {
  background: var(--color-pro, #3aa76d);
  width: 50%;
}

.pc-summary-bar-contra {
  background: var(--color-contra, #d85b5b);
  width: 50%;
}

.pc-summary-text {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #555;
}


.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #555;
  cursor: help;
}

.info-icon:hover {
  background: rgba(0, 0, 0, 0.05);
}






/* Mobile: Panel fast fullscreen */
@media (max-width: 640px) {
  .task-panel-content {
    max-width: 100%;
  }
}
	
	.footer-changelog {
  font-size: 0.8rem;
  color: #777;
  margin-left: 0.25rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

footer a {
  margin: 0 0.1rem;
}

/* =========================
   Nutzwertanalyse Layout
   ========================= */

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

.nw-card {
  border-radius: 16px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nw-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.nw-card-hint {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.nw-form {
  margin-bottom: 0.75rem;
}

.nw-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nw-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  background: var(--color-light);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}

.nw-list-item-title {
  flex: 1;
}

.nw-list-item-meta {
  font-size: 0.8rem;
  color: #555;
  margin-right: 0.5rem;
}

.nw-list-item button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #777;
  font-size: 0.9rem;
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.nw-list-item button:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

/* Matrix-Tabelle */

.nw-matrix-card {
  margin-top: 1.5rem;
}

/* =========================
   Kleine runde Plus-Buttons
   ========================= */
.btn-add-small {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-add-small:hover {
  background: var(--color-accent);
  transform: scale(1.1);
}

/* Inline-Formulare */
.nw-form-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nw-form-inline input[type="text"],
.nw-form-inline input[type="number"] {
  flex: 1;
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
}


/* Inline-Formulare */
.nw-form-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nw-form-inline input[type="text"],
.nw-form-inline input[type="number"] {
  flex: 1;
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
}


.nw-matrix-wrapper {
  width: 100%;
  overflow-x: auto;
}

.nw-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.nw-matrix th,
.nw-matrix td {
  border: 1px solid #e0e6ea;
  padding: 0.35rem 0.5rem;
  text-align: center;
}

.nw-matrix th {
  background: #f5f7f9;
  font-weight: 600;
}

.nw-matrix td:first-child {
  text-align: left;
  font-weight: 500;
}

.nw-matrix input[type="number"] {
  width: 3rem;
  padding: 0.1rem 0.2rem;
  font-size: 0.8rem;
}

/* Ergebnisse */

.nw-results-list {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nw-result-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.nw-result-name {
  font-weight: 500;
}

.nw-result-score {
  font-variant-numeric: tabular-nums;
}


.nw-results-list {
  list-style: none;
  padding: 0;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nw-result-item {
  font-size: 0.85rem;
}

.nw-result-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nw-result-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.nw-result-name {
  font-weight: 500;
}

.nw-result-score {
  font-variant-numeric: tabular-nums;
  color: #555;
}

/* Balken unter jeder Alternative */
.nw-result-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #f0f2f4;
  overflow: hidden;
}

.nw-result-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--color-pro, #3aa76d),
    var(--color-accent, #f8695e)
  );
  width: 0;
  transition: width 0.25s ease;
}


/* kleine Info-Icons kannst du wiederverwenden */
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #555;
  cursor: help;
}

.info-icon:hover {
  background: rgba(0, 0, 0, 0.05);
}


.project-list-card {
  border-radius: 16px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.project-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.project-list-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-card {
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.project-card-name {
  font-weight: 600;
}

.project-card-badge {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #f0f2f4;
  color: #555;
}

.project-card-meta {
  font-size: 0.8rem;
  color: #777;
}

.project-card-actions {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-project {
  border: none;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  background: #f0f2f4;
  color: #444;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-project.primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-project.danger {
  background: #fce3e3;
  color: #b23b3b;
}

.btn-project:hover {
  background: #e2e6ea;
}

.btn-project.primary:hover {
  background: var(--color-accent);
}

.btn-project.danger:hover {
  background: #f8c7c7;
}

.project-card.active {
  border-color: var(--color-primary);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

/* Leere Projektkarte */
.project-card-empty {
  border: 1px dashed #c5cdd6;
  background: #f7f9fb;
  cursor: pointer;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.project-card-empty:hover {
  background: #eef3f8;
}

/* =========================
   Decision Filter (UI)
   ========================= */

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

#decision-filter.df-wrap {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--color-light);
}

.df-row + .df-row { margin-top: .9rem; }

.df-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: .35rem;
}

.df-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.df-tags button {
  appearance: none;
  border: 1px solid #d3dde0;
  background: #fff;
  color: var(--color-text);
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}

.df-tags button:hover { transform: translateY(-1px); }
.df-tags button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.df-tags button.is-active,
.df-tags button[aria-pressed="true"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.df-actions {
  display: flex; justify-content: flex-end; margin-top: .6rem;
}

#df-clear {
  border: 1px solid #d3dde0;
  background: #fff;
  color: var(--color-text);
  padding: .5rem .8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
#df-clear:hover { background: var(--color-light); }

/* Filter-Ergebnis: Karten ausblenden */
.method-card.is-hidden { display: none !important; }

/* Mobile Spacing anpassen */
@media (max-width: 640px) {
  #decision-filter.df-wrap { margin-top: 1.25rem; padding: .9rem 1rem; }
}

/* ========== Compact Filter ========== */
.df-compact.df-wrap {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  padding: .9rem 1rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--color-light);
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.df-grid {
  display: grid;
  gap: .75rem 1rem;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.df-field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-primary);
  margin-bottom: .25rem;
}

.df-select-wrap {
  position: relative;
}

.df-select-wrap select {
  width: 100%;
  appearance: none;
  background: #fff;
  border: 1px solid #d3dde0;
  border-radius: 10px;
  padding: .55rem .9rem;
  padding-right: 2.4rem; /* Platz für Badge */
  font-size: .95rem;
  color: var(--color-text);
  cursor: pointer;
}

.df-select-wrap select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.df-badge {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 .4rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .15;         /* ausgegraut bei 0 */
  transition: opacity .15s ease;
}

.df-select-wrap[data-count="0"] .df-badge { opacity: .15; }
.df-select-wrap:not([data-count="0"]) .df-badge { opacity: 1; }

.df-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: .6rem;
}

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


/* ==== Methoden-Section + Filter Alignment ==== */
.methods { padding-top: 2.25rem; } /* etwas kompakter, damit Filter näher am H2 sitzt */
#decision-filter.df-compact {
  margin: 1.0rem auto 1.25rem;
  padding: .9rem 1rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--color-light);
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  max-width: 1100px; /* fluchtet mit .method-grid */
}
#decision-filter .df-grid {
  display: grid;
  gap: .85rem 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#decision-filter .df-field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-primary);
  margin-bottom: .30rem;
}
@media (max-width: 900px) {
  #decision-filter .df-grid { grid-template-columns: 1fr; }
}

/* ==== Fake-Multiselect (überschreibt/minimiert JS-Injection) ==== */
.df-select-wrap { position: relative; }

/* Trigger-Button */
.df-ms-trigger{
  width:100%;display:flex;align-items:center;gap:.5rem;
  background:#fff;border:1px solid #d3dde0;border-radius:10px;
  padding:.55rem .9rem;font-size:.95rem;color:var(--color-text);cursor:pointer;
}
.df-ms-trigger:focus-visible{ outline:2px solid var(--color-accent); outline-offset:2px; }
.df-ms-text{ overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.df-ms-caret{ margin-left:auto;flex:0 0 auto;transform:rotate(0deg);transition:transform .15s ease; }
.df-ms-trigger[aria-expanded="true"] .df-ms-caret{ transform:rotate(180deg); }

/* Dropdown-Menü */
.df-ms-menu{
  position:absolute;z-index:50;left:0;right:0;top:calc(100% + 6px);
  background:#fff;border:1px solid #e3e8eb;border-radius:12px;
  box-shadow:0 16px 32px rgba(0,0,0,.08);
  max-height:260px; overflow:auto; padding:.35rem;
}
.df-ms-item { list-style:none; }
.df-ms-option{
  display:flex;align-items:center;gap:.6rem;
  padding:.5rem .55rem;border-radius:10px; cursor:pointer;
  transition: background .12s ease, color .12s ease;
}
.df-ms-option:hover{ background:#f7fafb; }
.df-ms-option[aria-selected="true"]{ background:#f2fbf9; }

/* Checkboxen hübscher ohne Custom-UI-Overkill */
.df-ms-option input[type="checkbox"]{
  width:16px;height:16px;border-radius:4px;
  accent-color: var(--color-primary);
}

/* ==== Checkbox + Label-Ausrichtung im Dropdown ==== */
.df-ms-option {
  display: flex;
  align-items: center;        /* sorgt für vertikale Mitte */
  gap: 0.5rem;                /* Abstand zwischen Box und Text */
  line-height: 1.3;           /* Text nicht so gequetscht */
  padding: .45rem .55rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}

/* Checkbox-Größe angleichen und mittig ausrichten */
.df-ms-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  accent-color: var(--color-primary);
  margin: 0;                  /* kein Browser-Default-Abstand */
  position: relative;
  top: -1px;                  /* minimaler optischer Ausgleich */
  
}

.df-ms-option span { margin-left: 0.5rem; }

/* Chips unter dem Feld */
.df-chips{ display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.45rem; }
.df-chip{
  display:inline-flex;align-items:center;gap:.35rem;
  background: var(--color-light); color: var(--color-primary);
  border:1px solid rgba(0,0,0,.05); border-radius:999px;
  padding:.15rem .5rem; font-size:.78rem;
}
.df-chip button{ all:unset; cursor:pointer; line-height:1; }
.df-chip button:hover{ text-decoration: underline; }

/* Reset-Button Angleichen */
#decision-filter .df-actions{ display:flex; justify-content:flex-end; margin-top:.6rem; }
#decision-filter #df-clear{
  border:1px solid #d3dde0; background:#fff; color:var(--color-text);
  padding:.5rem .8rem; border-radius:10px; cursor:pointer;
}
#decision-filter #df-clear:hover{ background:var(--color-light); }

/* Trigger strikt einzeilig, kein Umbruch */
.df-ms-trigger { white-space: nowrap; }
.df-ms-text { flex: 1 1 auto; min-width: 0; }

.methods-empty-hint {
  max-width: 1100px;
  margin: .25rem auto 1rem;
}
.methods-empty-card {
  border: 1px dashed #c5cdd6;
  background: #f7f9fb;
  color: #444;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.methods-empty-card .btn {
  margin-top: .6rem;
}

/* Live-Pruning: deaktivierte Optionen (nur wenn nicht ausgewählt) */
.df-ms-option.is-disabled {
  opacity: .45;
  pointer-events: none;
  cursor: not-allowed;
}

/* Legend (Info) */
.df-legend {
  display: flex; justify-content: flex-end; margin-top: .4rem;
}
.df-legend-toggle {
  border: 1px solid #d3dde0; background: #fff; color: var(--color-text);
  font-size: .85rem; padding: .35rem .6rem; border-radius: 8px; cursor: pointer;
}
.df-legend-toggle:hover { background: var(--color-light); }
.df-legend-panel {
  margin-top: .5rem; padding: .6rem .8rem; border: 1px solid var(--color-light);
  background: #fff; border-radius: 10px; font-size: .9rem; color: #444;
}

/* =========================
   SMART Styles (leichtgewichtig)
   ========================= */

.smart-header .smart-hint { font-size: .85rem; color:#666; margin-top:.35rem; }

.smart-header .smart-header-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr .8fr;
}
@media (max-width: 740px) {
  .smart-header .smart-header-row { grid-template-columns: 1fr; }
}

.smart-title-wrap label { display:block; font-size:.9rem; margin-bottom:.25rem; color:#333; }

.smart-score-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: center;
}

.smart-score-ring {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  background:
    conic-gradient(var(--color-primary) 0deg, var(--color-primary) var(--smart-deg, 0deg), #e9eef0 var(--smart-deg, 0deg) 360deg);
  display: grid; place-items: center;
}
.smart-score-ring-fill {
  position: absolute; inset: 6px;
  background: #fff; border-radius: 50%;
}
.smart-score-ring-center {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-weight: 700; color: var(--color-primary);
}

.smart-score-legend { display:flex; flex-direction:column; gap:.4rem; }
.smart-score-bar {
  width: 100%; height: 10px; border-radius: 999px;
  background: #f0f2f4; overflow: hidden;
}
.smart-score-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-pro, #3aa76d), var(--color-accent, #f8695e));
  transition: width .25s ease;
}

.smart-section + .smart-section { margin-top: 1rem; }
.smart-section h2 { font-size:1.1rem; margin-bottom:.25rem; }
.smart-section-hint { font-size:.85rem; color:#777; margin-bottom:.6rem; }

.smart-plan .rows .row + .row { margin-top: .5rem; }

.smart-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  justify-content: space-between;
}
.smart-export { display: flex; gap: .5rem; flex-wrap: wrap; }
.smart-local-note { font-size:.85rem; color:#666; margin-top:.25rem; }



/* =========================
   Responsive Anpassungen
   ========================= */

@media (max-width: 640px) {
  nav {
    padding: 0.75rem 1rem;
  }
  .hero {
    margin: 3rem auto 2rem;
    padding: 0 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .eisenhower-grid {
    display: block;
  }

  .grid-corner,
  .grid-col-label,
  .grid-row-label {
    display: none;
  }

  .quadrant {
    margin-bottom: 1rem;
  }

  /* Achsenpfeile auf kleineren Screens ausblenden */
  .eisenhower-board::before,
  .eisenhower-board::after {
    display: none;
  }
}

/* SWOT-spezifische Styles */
.method-swot .swot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}

.method-swot .swot-quadrant {
  border-radius: var(--radius-lg, 0.75rem);
  padding: 0.75rem 1rem;
  background: var(--surface-subtle, rgba(0,0,0,0.02));
}

.method-swot .swot-quadrant h2 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.method-swot .field-hint {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.method-swot textarea {
  width: 100%;
  resize: vertical;
}

.method-swot .swot-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.method-swot #swot-summary {
  margin-top: 1rem;
}

/* kleine Helper-Klasse für versteckte Labels */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


.method-comingsoon .project-card-badge {
  background: var(--primary, #4a7cf3);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
}

/* Feature-Updates – kompakte Liste statt Karten-Flut */
.feature-update-card {
  margin-top: 1rem;
}

.feature-update-header {
  margin-bottom: 0.75rem;
}

.feature-update-header h2 {
  margin-bottom: 0.25rem;
}

.feature-update-legend {
  font-size: 0.85rem;
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

/* Liste & Zeilen */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.feature-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.feature-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.feature-title {
  font-weight: 600;
}

/* Beschreibung */
.feature-desc {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Typ-Badges */
.feature-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
}

/* Typ-Farben – gern an deine Design-Tokens anpassen */
.feature-type-neue-methode {
  /* z. B. leicht grünlich */
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(46, 204, 113, 0.4);
}

.feature-type-erweiterung {
  /* z. B. blau */
  background: rgba(52, 152, 219, 0.12);
  border-color: rgba(52, 152, 219, 0.4);
}

.feature-type-verbesserung {
  /* z. B. orange */
  background: rgba(243, 156, 18, 0.12);
  border-color: rgba(243, 156, 18, 0.4);
}

.feature-type-neues-feature {
  /* z. B. violett */
  background: rgba(155, 89, 182, 0.12);
  border-color: rgba(155, 89, 182, 0.4);
}

/* Status-Badges */
.feature-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
  margin-left:auto;
}

/* Status-Farben – nur Beispiele */
.feature-status-live {
  color: #2ecc71;
}

.feature-status-in-arbeit {
  color: #f39c12;
}

.feature-status-geplant {
  color: #7f8c8d;
}


