@font-face { font-family: 'Inter'; src: url('/static/fonts/Inter-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/static/fonts/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
:root { --bg:#f7f9fc; --surface:#fff; --text:#0f172a; --muted:#64748b; --primary:#003399; --primary-600:#003399; --accent:#FFFF00; --ring: #FFFF00; --shadow:0 10px 20px rgba(2,6,23,.08); --radius:16px; }
*{box-sizing:border-box} html,body{height:100%} body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.layout{display:grid;grid-template-columns:280px 1fr;min-height:100vh}
.sidebar{background:linear-gradient(180deg,#003399 0%,#003399 70%);color:#fff;padding:24px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.2px}
.nav{display:flex;flex-direction:column;gap:6px}
.nav-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;text-decoration:none;color:#e6eef7}
.nav-link:hover{background:rgba(255,255,255,.08);color:#fff}
.nav-link.active{background:#fff;color:var(--primary);font-weight:600}
.nav .icon{width:20px;height:20px;display:inline-flex;align-items:center}
.offline{margin-top:auto;opacity:.9;display:flex;align-items:center;gap:8px;font-size:14px}
.offline .dot{width:8px;height:8px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 3px rgba(102,198,28,.25)}
.content{padding:24px 32px}
.hero{padding:8px 0 16px}
.hero h1{margin:0 0 6px;font-size:28px;letter-spacing:.2px}
.subtitle{margin:0;color:var(--muted)}
.page{margin-top:12px}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.card{background:var(--surface);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);border:1px solid #eef2f7}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0 0 14px;color:var(--muted)}
.btn{display:inline-block;background:var(--primary);color:#fff;text-decoration:none;padding:10px 14px;border-radius:12px;font-weight:600}
.btn:hover{background:var(--primary-600)}
.footer{margin-top:28px;color:var(--muted);font-size:14px}
@media (max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:relative;height:auto;border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius)}}


.tablet-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.step-block {
  margin-bottom: 24px;
}

.step-block.is-hidden {
  display: none;
}

.step-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.step-subtitle {
  color: var(--muted);
  margin-bottom: 16px;
}

.smiley-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.smiley-btn {
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  background: var(--surface);
}

.smiley-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.smiley-green { background: #d1fae5; }
.smiley-yellow { background: #fef9c3; }
.smiley-red { background: #fee2e2; }

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.topic-pill {
  cursor: pointer;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.topic-pill input {
  display: none;
}

.topic-label {
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
  border-radius: 999px;
  padding: 2px 6px;
}

.topic-pill:hover .topic-label {
  transform: translateY(-1px);
}

/* Standard: Fett+Unterstrichen bei Auswahl */
.topic-pill input:checked + .topic-label {
  font-weight: 600;
  text-decoration: underline;
}

/* Spezifische Farben für gut/schlecht */
.topic-pill--good input:checked + .topic-label {
  background: #bbf7d0;
  color: #14532d;
}

.topic-pill--bad input:checked + .topic-label {
  background: #fecaca;
  color: #991b1b;
}


.step-actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.phone-form {
  max-width: 600px;
  margin: 0 auto;
}

.smiley-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.smiley-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px;
  background: transparent;
  cursor: pointer;
}

.smiley-small input {
  display: none;
}

.smiley-small span {
  font-size: 1.4rem;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.12s ease, transform 0.12s ease;
}

.smiley-small input:checked + span {
  background: #bfdbfe;
  transform: translateY(-1px);
}



.alert {
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
}

.alert-success {
  background: #dcfce7;
  color: #14532d;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
}

.rating-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rating-item {
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  background: #f1f5f9;
}

.rating-emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}

.rating-count {
  font-weight: 700;
  font-size: 1.4rem;
}

.feedback-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feedback-item {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.feedback-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.feedback-text {
  margin: 0;
}

.feedback-tag {
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

.settings-form .field {
  margin-bottom: 12px;
}

.field-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.field-checkbox {
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.tag-success {
  background: #dcfce7;
  color: #166534;
}

.tag-muted {
  background: #e5e7eb;
  color: #4b5563;
}

.action-row {
  display: flex;
  gap: 6px;
}

.btn-small {
  padding: 4px 8px;
  font-size: 0.8rem;
}

.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
}

.input,
.textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font: inherit;
}

.input:focus,
.textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
  border-color: var(--primary);
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.field {
  margin-bottom: 12px;
}

.help {
  font-size: 0.8rem;
  color: var(--muted);
}

body.kiosk {
  background: var(--bg);
}

.kiosk-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 32px;
}



.card,
.btn,
.smiley-btn {
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.smiley-btn:hover {
  transform: translateY(-2px);
}

.smiley-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
