@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&family=Inter:wght@400;500&family=Lora:ital,wght@0,400;1,400&display=swap');

:root {
  --ink: #0D0D0D;
  --bone: #EFEDE8;
  --pink: #FF2D87;
  --steel: #2B3A4A;
  --soft-white: #FAFAF8;
  --body: #2A2A2A;
  --mute: #5A5A5A;
}

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

body {
  background: var(--bone);
  color: var(--body);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* Nav */
nav {
  background: var(--ink);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav .brand {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--bone);
  letter-spacing: 0.05em;
  text-decoration: none;
}

nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--bone); }

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Headlines */
h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  color: var(--steel);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* Card */
.card {
  background: var(--soft-white);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

input[type="text"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #D8D5CF;
  border-radius: 6px;
  background: var(--bone);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
  appearance: none;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--steel);
}

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

/* Buttons */
.btn-primary {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.btn-primary:hover { opacity: 0.88; }

.btn-copy {
  background: var(--steel);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-copy:hover { opacity: 0.8; }
.btn-copy.copied { background: #3a7d44; }

.btn-secondary {
  display: inline-block;
  color: var(--steel);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid currentColor;
}

/* Text blocks */
.text-block {
  background: var(--bone);
  border: 1.5px solid #D8D5CF;
  border-radius: 6px;
  padding: 1rem;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-wrap;
  flex: 1;
}

.copy-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E8E5DF;
}

.steps li:last-child { border-bottom: none; }

.steps li::before {
  content: counter(steps);
  background: var(--steel);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.step-text { font-size: 0.95rem; }
.step-hint { color: var(--mute); font-size: 0.85rem; }

/* Keyword badge */
.keyword-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}

/* Kategorie label */
.kategorie-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  border: 1px solid #D8D5CF;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

/* Archive table */
.archive-list { list-style: none; }

.archive-item {
  background: var(--soft-white);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.archive-item-info { flex: 1; }
.archive-item-info .datum { font-size: 0.8rem; color: var(--mute); }
.archive-item-info .post-preview {
  font-size: 0.9rem;
  color: var(--body);
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}

/* Error */
.error-box {
  background: #fde8ef;
  border: 1.5px solid var(--pink);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Section spacer */
.section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
