Menü aufrufen
Toggle preferences menu
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 131: Zeile 131:
   margin: 0 0 16px 0;
   margin: 0 0 16px 0;
   padding: 10px 16px;
   padding: 10px 16px;
   border: 1px solid rgba(22, 163, 74, 0.20);
  background: #0b0f0c;
   border-radius: 12px;
   border: 1px solid rgba(74, 255, 122, 0.18);
  background:
   box-shadow:
     linear-gradient(180deg, #f7fcf8 0%, #effaf2 100%),
     inset 0 0 16px rgba(74, 255, 122, 0.06);
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 22%),
   color: #d1fae5;
    radial-gradient(circle at left center, rgba(14, 165, 233, 0.08), transparent 30%),
    linear-gradient(180deg, var(--tw-hero-bg-1) 0%, var(--tw-hero-bg-2) 100%);
   color: #14532d;
   font-family: "Consolas", "Courier New", monospace;
   font-family: "Consolas", "Courier New", monospace;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.7),
    0 4px 12px rgba(20, 83, 45, 0.05);
   white-space: nowrap;
   white-space: nowrap;
}
}

Version vom 17. April 2026, 10:22 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* =========================================================
   2-Bit Wiki - "Nerdy Terminal Light V2"
   ========================================================= */

/* ---------- Grundlayout ---------- */

.tw-landing {
  --tw-page-bg: #f7fafc;
  --tw-hero-bg-1: #ffffff;
  --tw-hero-bg-2: #edf5fb;
  --tw-panel-bg: #ffffff;
  --tw-panel-bg-soft: #f9fbfd;

  --tw-border: #d8e4f0;
  --tw-border-strong: #b7cde6;
  --tw-border-hover: #93c5fd;

  --tw-text: #1e293b;
  --tw-text-soft: #475569;
  --tw-heading: #0f172a;
  --tw-muted: #64748b;

  --tw-link: #0f5cc0;
  --tw-link-hover: #0369a1;

  --tw-blue: #2563eb;
  --tw-cyan: #0891b2;
  --tw-green: #16a34a;
  --tw-purple: #7c3aed;
  --tw-amber: #d97706;

  --tw-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
  --tw-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --tw-shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.10);

  color: var(--tw-text);
  font-size: 15px;
  line-height: 1.7;
}

.tw-landing a {
  color: var(--tw-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tw-landing a:hover,
.tw-landing a:focus {
  color: var(--tw-link-hover);
  text-decoration: none;
}

/* ---------- Hero / Dashboard Header ---------- */

.tw-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 30px 0;
  padding: 30px 28px 24px 28px;
  border: 1px solid var(--tw-border-strong);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 22%),
    radial-gradient(circle at left center, rgba(14, 165, 233, 0.08), transparent 30%),
    linear-gradient(180deg, var(--tw-hero-bg-1) 0%, var(--tw-hero-bg-2) 100%);
  box-shadow: var(--tw-shadow-md);
}

/* Dashboard Grid */
.tw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}

/* Control-Panel-Dots oben rechts */
.tw-hero::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #93c5fd;
  box-shadow:
    -16px 0 0 #86efac,
    -32px 0 0 #fcd34d;
  opacity: 0.95;
}

.tw-hero > * {
  position: relative;
  z-index: 1;
}

.tw-hero-kicker {
  margin-bottom: 8px;
  color: var(--tw-link);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.84em;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.tw-hero-title {
  margin: 0 0 14px 0;
  color: var(--tw-heading);
  font-size: 2.15em;
  line-height: 1.2;
  font-weight: 750;
}

/* =========================================================
   Terminal-Zeile mit echtem Tipp-Cursor
   ========================================================= */

.tw-terminal-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px 0;
  padding: 10px 16px;
  background: #0b0f0c;
  border: 1px solid rgba(74, 255, 122, 0.18);
  box-shadow:
    inset 0 0 16px rgba(74, 255, 122, 0.06);
  color: #d1fae5;
  font-family: "Consolas", "Courier New", monospace;
  white-space: nowrap;
}

.tw-prompt {
  color: var(--tw-green);
  font-weight: 700;
  white-space: nowrap;
}

.tw-terminal-cmd {
  display: inline-block;
  min-height: 1.2em;
  white-space: nowrap;
  color: #1f2937;
  border-right: 2px solid var(--tw-green);
  padding-right: 3px;
  line-height: 1.2;
  animation: tw-caret-blink 1s steps(1, end) infinite;
}

@keyframes tw-caret-blink {
  0%, 48% { border-right-color: var(--tw-green); }
  49%, 100% { border-right-color: transparent; }
}

.tw-prompt {
  color: var(--tw-green);
  font-weight: 700;
}

.tw-hero-text {
  max-width: 920px;
  margin: 0;
  color: var(--tw-text);
  font-size: 1.04em;
}

.tw-tag-row {
  margin-top: 18px;
}

.tw-tag {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 5px 10px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, #f7fcff 0%, #eef8ff 100%);
  color: #0f4f67;
  font-size: 0.88em;
  font-family: "Consolas", "Courier New", monospace;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

/* ========== Terminal Card ========== */

.tw-terminal {
  padding: 0; /* Card-Padding übernimmt der Body */
  overflow: hidden;
}

/* Kopfzeile nutzt vorhandene Card-Farbe */
.tw-terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--tw-border, rgba(0,0,0,.08));
  font-size: 12px;
}

/* Nutzt bereits existierendes Farbschema */
.tw-terminal-title {
  margin-left: auto;
  opacity: 0.6;
}

/* Dots an Card-Farben anlehnen */
.tw-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tw-dot-red    { background: #ff6b6b; }
.tw-dot-yellow { background: #feca57; }
.tw-dot-green  { background: #1dd1a1; }

/* Body übernimmt Card-Innenabstand */
.tw-terminal-body {
  padding: 14px;
  font-family: var(--tw-font-mono, monospace);
  font-size: 14px;
}

.tw-terminal-line {
  white-space: nowrap;
  line-height: 1.5;
}

/* Prompt-Farbe = vorhandene Akzentfarbe */
.tw-prompt {
  color: var(--tw-accent, #3b82f6);
}

/* ---------- Abschnittsüberschriften ---------- */

.tw-landing h2 {
  position: relative;
  margin-top: 32px;
  margin-bottom: 16px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--tw-border);
  border-left: 4px solid var(--tw-blue);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8fc 100%);
  color: var(--tw-heading);
  box-shadow: var(--tw-shadow-sm);
}

.tw-landing h2 .mw-headline {
  font-weight: 700;
}

.tw-landing h2::before {
  content: "// ";
  color: var(--tw-cyan);
  font-family: "Consolas", "Courier New", monospace;
  font-weight: 700;
}

/* ---------- Karten-Grid ---------- */

.tw-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

/* Themenkarten */
.tw-card {
  flex: 1 1 280px;
  min-width: 260px;
  position: relative;
  overflow: hidden;
  padding: 18px 18px 18px 20px;
  border: 1px solid var(--tw-border);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: var(--tw-shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* Linker Akzent */
.tw-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--card-accent, var(--tw-blue));
}

/* kleines Panel-Label oben rechts */
.tw-card::after {
  content: "MODULE";
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 2px 7px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.8px;
  font-family: "Consolas", "Courier New", monospace;
  text-transform: uppercase;
}

.tw-card:hover {
  transform: translateY(-3px);
  border-color: var(--tw-border-hover);
  box-shadow: var(--tw-shadow-lg);
}

.tw-card-blue   { --card-accent: var(--tw-blue); }
.tw-card-cyan   { --card-accent: var(--tw-cyan); }
.tw-card-green  { --card-accent: var(--tw-green); }
.tw-card-purple { --card-accent: var(--tw-purple); }
.tw-card-amber  { --card-accent: var(--tw-amber); }

.tw-card-title {
  margin-bottom: 8px;
  padding-right: 64px;
  color: var(--tw-heading);
  font-size: 1.08em;
  font-weight: 700;
}

.tw-card-title a {
  color: var(--tw-heading);
}

.tw-card-title a:hover {
  color: var(--tw-link);
}

.tw-card-text {
  color: var(--tw-text-soft);
}

/* ---------- Info Box ---------- */

.tw-info-box {
  position: relative;
  margin-bottom: 22px;
  padding: 18px 18px 18px 20px;
  border: 1px solid #d6e3ef;
  border-left: 4px solid var(--tw-green);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
  box-shadow: var(--tw-shadow-sm);
}

.tw-info-title {
  margin-bottom: 6px;
  color: #166534;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.93em;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.tw-info-text {
  color: var(--tw-text);
}

/* ---------- Button / CTA ---------- */

.tw-center {
  text-align: center;
}

.tw-button-wrap {
  display: inline-block;
  position: relative;
  margin: 4px 0 26px 0;
  padding: 13px 22px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(255,255,255,0.95);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.tw-button-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.tw-button-wrap:hover {
  transform: translateY(-2px);
  border-color: #7dd3fc;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.10),
    0 0 0 4px rgba(125, 211, 252, 0.14);
}

.tw-button-wrap a,
.tw-button-wrap a:visited {
  color: #0f172a !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* ---------- Panels ---------- */

.tw-two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}

.tw-panel {
  flex: 1 1 320px;
  min-width: 280px;
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--tw-border);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: var(--tw-shadow-sm);
}

/* obere "Header-Leiste" für Control-Panel-Look */
.tw-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #bfdbfe 0%, #a5f3fc 45%, #bbf7d0 100%);
  opacity: 0.9;
}

.tw-panel-title {
  margin-bottom: 10px;
  color: var(--tw-heading);
  font-size: 1.05em;
  font-weight: 700;
}

.tw-panel-text {
  color: var(--tw-text-soft);
}


.tw-dashboard-wrap {
  margin: 0 0 30px 0;
}

.tw-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.tw-status-card {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 14px 16px;
  border: 1px solid var(--tw-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: var(--tw-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tw-status-card:hover {
  transform: translateY(-2px);
  border-color: var(--tw-border-hover);
  box-shadow: var(--tw-shadow-md);
}

.tw-status-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--tw-blue) 0%, var(--tw-cyan) 100%);
}

.tw-status-label {
  margin-bottom: 6px;
  color: var(--tw-muted);
  font-size: 0.78em;
  font-family: "Consolas", "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.tw-status-value {
  color: var(--tw-heading);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.tw-status-sub {
  margin-top: 4px;
  color: var(--tw-text-soft);
  font-size: 0.93em;
  line-height: 1.5;
}

.tw-status-online {
  color: #15803d;
}

.tw-quicklinks {
  padding: 16px 18px;
  border: 1px solid var(--tw-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: var(--tw-shadow-sm);
}

.tw-quicklinks-title {
  margin-bottom: 12px;
  color: var(--tw-heading);
  font-size: 1em;
  font-weight: 700;
}

.tw-quicklinks-title::before {
  content: "> ";
  color: var(--tw-cyan);
  font-family: "Consolas", "Courier New", monospace;
}

.tw-quicklinks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tw-quicklink {
  display: inline-block;
}

.tw-quicklink a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #d9e7f3;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f8ff 100%);
  color: var(--tw-link) !important;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.85);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.tw-quicklink a:hover,
.tw-quicklink a:focus {
  transform: translateY(-1px);
  border-color: #93c5fd;
  color: var(--tw-link-hover) !important;
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),
    0 0 0 3px rgba(147, 197, 253, 0.16);
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .tw-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .tw-status-grid {
    grid-template-columns: 1fr;
  }

  .tw-quicklinks-row {
    flex-direction: column;
    align-items: stretch;
  }

  .tw-quicklink a {
    display: block;
    text-align: center;
  }
}

/* ---------- Footer ---------- */

.tw-footer-note {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--tw-border);
  color: var(--tw-text-soft);
  text-align: center;
}

.tw-footer-main {
  margin-bottom: 10px;
  color: #334155;
  font-style: italic;
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .tw-hero {
    padding: 22px 18px 18px 18px;
  }

  .tw-hero::after {
    top: 14px;
    right: 16px;
    transform: scale(0.9);
    transform-origin: top right;
  }

  .tw-hero-title {
    font-size: 1.72em;
  }

  .tw-terminal-line {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .tw-card,
  .tw-panel {
    min-width: 100%;
  }

  .tw-card-title {
    padding-right: 0;
  }

  .tw-card::after {
    display: none;
  }
}

/* =========================
   Kochbuch Hauptseite
   ========================= */

#catlinks,
.catlinks {
  display: none !important;
}

/* Gesamter Bereich */
.kochbuch-home {
  max-width: 1250px;
  margin: 0 auto;
  padding: 1rem 0 2rem 0;
  color: #4a3425;
}

/* Hero */
.kochbuch-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.kochbuch-hero-text,
.kochbuch-neues-rezept-box {
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
  border: 1px solid #eadfce;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 1.6rem 1.8rem;
}

.kochbuch-eyebrow {
  display: inline-block;
  background: #f7efe4;
  color: #6b4d35;
  border: 1px solid #eadfce;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
}

.kochbuch-title {
  margin: 0 0 0.75rem 0;
  font-size: 2.4rem;
  line-height: 1.15;
  color: #4b2f1c;
}

.kochbuch-subtitle {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #6a5242;
  max-width: 46rem;
}

/* CTA Box */
.kochbuch-neues-rezept-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5b3b24;
  margin-bottom: 0.4rem;
}

.kochbuch-neues-rezept-text {
  font-size: 0.97rem;
  line-height: 1.55;
  color: #6b5547;
  margin-bottom: 1rem;
}

/* PageForms Eingabe schöner machen */
.kochbuch-neues-rezept-box input[type="text"],
.kochbuch-neues-rezept-box input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddcfbb;
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.kochbuch-neues-rezept-box input[type="text"]:focus,
.kochbuch-neues-rezept-box input[type="search"]:focus {
  outline: none;
  border-color: #c79d69;
  box-shadow: 0 0 0 3px rgba(199, 157, 105, 0.16);
}

/* Button */
.kochbuch-neues-rezept-box input[type="submit"],
.kochbuch-neues-rezept-box button,
.kochbuch-neues-rezept-box .mw-htmlform-submit {
  display: inline-block;
  background: linear-gradient(180deg, #c98142 0%, #b96d2d 100%);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 0.78rem 1.05rem;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(185, 109, 45, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.kochbuch-neues-rezept-box input[type="submit"]:hover,
.kochbuch-neues-rezept-box button:hover,
.kochbuch-neues-rezept-box .mw-htmlform-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 10px 22px rgba(185, 109, 45, 0.28);
}

/* Bereichsblöcke */
.kochbuch-bereich {
  margin: 2rem 0 2.2rem 0;
}

.kochbuch-bereich-title {
  margin: 0 0 1rem 0;
  font-size: 1.7rem;
  color: #5a3b25;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #f1e5d8;
}

/* Grid für Kategorien */
.kochbuch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.kochbuch-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Kategorie-Karten */
.kochbuch-kategorie-card {
  background: #fffdf9;
  border: 1px solid #eadfce;
  border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem 1.1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kochbuch-kategorie-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}

.kochbuch-kategorie-card h3 {
  margin: 0 0 0.8rem 0;
  font-size: 1.1rem;
  color: #6a4b34;
  border-bottom: 1px solid #f1e5d8;
  padding-bottom: 0.45rem;
}

/* Listen in den Karten */
.kochbuch-kategorie-card ul {
  margin: 0.3rem 0 0 1.15rem;
  padding: 0;
}

.kochbuch-kategorie-card li {
  margin: 0.35rem 0;
  line-height: 1.45;
}

.kochbuch-kategorie-card a {
  color: #6a3f1d;
  text-decoration: none;
  font-weight: 500;
}

.kochbuch-kategorie-card a:hover {
  color: #b96d2d;
  text-decoration: underline;
}

/* Footer-Link */
.kochbuch-footer-tools {
  text-align: right;
  font-size: 0.85rem;
  color: #7b6a5d;
  margin-top: 1.5rem;
}

.kochbuch-footer-tools a {
  color: #7b6a5d;
  text-decoration: none;
}

.kochbuch-footer-tools a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px) {
  .kochbuch-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .kochbuch-grid,
  .kochbuch-grid-4 {
    grid-template-columns: 1fr;
  }

  .kochbuch-title {
    font-size: 1.95rem;
  }

  .kochbuch-hero-text,
  .kochbuch-neues-rezept-box,
  .kochbuch-kategorie-card {
    padding: 1rem;
  }
}


/* =========================
   Rezept-Design
   ========================= */

#catlinks,
.catlinks {
    display: none !important;
}


.rezept-card {
  background: #fffdf8;
  border: 1px solid #eadfce;
  border-radius: 18px;
  padding: 1.5rem;
  margin: 1rem 0 2rem 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.rezept-hero {
  margin-bottom: 1.25rem;
}

.rezept-bild img {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.rezept-kopf {
  margin-bottom: 1rem;
}

.rezept-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .5rem;
}

.rezept-chip {
  display: inline-block;
  background: #f7efe4;
  color: #5b4636;
  border: 1px solid #eadfce;
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .92rem;
  line-height: 1.2;
}

.rezept-chip-schwierigkeit {
  background: #ffe8c8;
  border-color: #f4d19a;
  font-weight: 600;
}

.rezept-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.rezept-box {
  background: #ffffff;
  border: 1px solid #eee2d4;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.rezept-zutaten ul,
.rezept-zubereitung ol,
.rezept-hinweise ul {
  margin-top: .5rem;
}

.rezept-zubereitung ol li,
.rezept-zutaten ul li {
  margin-bottom: .45rem;
}

.rezept-hinweise {
  margin-top: 1.5rem;
}

.rezept-card h2 {
  margin-top: 0;
  margin-bottom: .6rem;
  font-size: 1.25rem;
  color: #6a4b34;
  border-bottom: 2px solid #f1e5d8;
  padding-bottom: .3rem;
}

/* Formularhilfe */
.rezept-form-hilfe {
  background: #fff8e8;
  border: 1px solid #f1d89d;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.rezept-formtable {
  width: 100%;
  border-collapse: collapse;
}

.rezept-formtable th {
  text-align: left;
  vertical-align: top;
  width: 220px;
  padding: .45rem .7rem .45rem 0;
  color: #5d4b3d;
}

.rezept-formtable td {
  padding: .35rem 0;
}

.rezept-titel {
  font-size: 2.4rem;
  margin: 0 0 1rem 0;
  color: #4b2f1c;
  text-align: center;
  font-weight: 700;
}

.rezept-approved {
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1em;
  display: inline-block;
}

.rezept-approved-container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.3em;
  margin-bottom: 0.6em;
}

.rezept-approved-einzel {
  background: #f1f8ff;
  border: 2px solid #90caf9;
  color: #0d47a1;
}

.rezept-approved-beide {
  background: #e8f5e9;
  border: 2px solid #66bb6a;
  color: #1b5e20;
}

.rezept-chip-approved {
  background: #e3f2fd;
  border: 2px solid #64b5f6;
  color: #0d47a1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.rezept-chip-approved.gemeinsam {
  background: #e8f5e9;
  border-color: #66bb6a;
  color: #1b5e20;
}

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