:root {
  --pp-text: rgba(0, 0, 0, 0.88);
  --pp-muted: rgba(0, 0, 0, 0.70);
  --pp-border: rgba(0, 0, 0, 0.16);
  --pp-border-strong: rgba(0, 0, 0, 0.18);
  --pp-bg: #F6F6F6;
  --pp-card: #ffffff;
  --pp-btn: #f2f2f2;
  --pp-primary: #86A995;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--pp-bg);
  color: var(--pp-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.pp-page {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px 60px;
}

/* Header / Branding */
.pp-header {
  text-align: center;
  margin-bottom: 18px;
}

.pp-logo {
  display: block;
  height: 200px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 8px;
}

@media (max-width: 900px) {
  .pp-logo {
    height: 140px;
    max-width: 90vw;
    object-fit: contain;
  }
}

/* Card */
.pp-builder {
  background: var(--pp-card);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 600px) {
  .pp-builder { padding: 22px; }
}

.pp-form-hint {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--pp-muted);
}

/* Formular: 1 Spalte */
.pp-form {
  display: flex;
  flex-direction: column;
}

/* Felder */
.pp-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.pp-field label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

.pp-builder input,
.pp-builder textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
  border-radius: 10px;
  border: 1px solid var(--pp-border);
  background: #fff;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.pp-builder textarea { resize: vertical; }

.pp-builder input:focus,
.pp-builder textarea:focus {
  border-color: rgba(134, 169, 149, 0.85);
  box-shadow: 0 0 0 4px rgba(134, 169, 149, 0.18);
}

/* Placeholder */
.pp-builder input::placeholder,
.pp-builder textarea::placeholder {
  color: rgba(0, 0, 0, 0.45);
  opacity: 1;
  font-weight: 400;
}

/* Buttons */
.pp-actions {
  margin-top: 6px;
  margin-bottom: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid var(--pp-border-strong);
  background: var(--pp-btn);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.pp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.pp-primary {
  background: var(--pp-primary);
  border-color: var(--pp-primary);
  color: #fff;
}

.pp-small {
  font-size: 14px;
  padding: 10px 14px;
}

.pp-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.pp-btn-icon svg {
  fill: currentColor;
  display: block;
}

.pp-copy-icon svg { fill: currentColor; }
.pp-download-icon svg { fill: currentColor; }



/* Output */
.pp-output {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 22px;
}

.pp-output-head strong {
  font-size: 18px;
  font-weight: 700;
}

.pp-output textarea { margin-top: 10px; }

.pp-output-actions {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pp-output-actions-left,
.pp-output-actions-right {
  display: flex;
  gap: 10px;
}

.pp-reset {
  background: #f5f5f5;
}

.pp-hint {
  margin-top: 10px;
  font-size: 14px;
  color: var(--pp-muted);
}

/* Footer */
.pp-footer {
  margin-top: 18px;
  text-align: center;
}

.pp-footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.pp-footer-logo {
  height: 54px;
  width: auto;
  max-width: 70vw;
  object-fit: contain;
}

.pp-footer-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}
