/* ===============================
   TYPO3 Content Basics – PAAN
   =============================== */

/* Textausrichtung */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }
.text-justify{ text-align: justify; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #111827;
  line-height: 1.25;
  margin: 1.2em 0 0.6em;
}

h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; }

/* Paragraph */
p {
  margin: 0 0 1rem;
  color: #374151;
}

/* Links */
.cont a:not(.button) {
  color: #111827;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.cont a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #ffe070, transparent);
}

/* Listen */
.cont ul {
  list-style: none;
  padding-left: 0;
}

.cont ul li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.cont ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #facc15;
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

table th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  background: #f3f4f6;
  font-weight: 600;
}

table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Buttons (Editor) */
a.button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffe070;
  color: #111827;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

a.button:hover {
  background: #ffec9c;
}

/* Strong / Italic */
strong, b { font-weight: 700; }
em, i { font-style: italic; }
