.linksammlung {
    margin: 0;
    padding: 2rem;
    font-family: 16px;
    line-height: 1.6;
    background: var(--background-color);
    color: var(--primary-color);
    min-height: 60vh; /* Stellt sicher, dass der Footer sichtbar ist */
  }
  .count {
    text-align: center;
    overflow: hidden;
    float: right;
    padding-left: 8px;
  }
  @media only screen
  and (orientation: portrait)
  and (max-device-width : 812px) {
    .count {
      padding: 1.2rem;
      border-radius: 2rem;
      font-size: 1.8rem;
      margin-right: 0.5rem;
      margin-top: -0.8rem;
      line-height: 0.8;
    }
  }
  .listenmenge {
    text-align: center;
    overflow: hidden;
    float: right;
    background: var(--secondary-color);
    display: flex;
    cursor: default;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
    padding: 0.2rem 0.6rem 0.2rem 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
  }
  .list__item, .list__item a {
    display: block;
    margin: 0 0 0.75rem 0 !important;
    line-height: 1.2;
    border-radius: 1rem;
    box-shadow: none;
    transition: all 0.2s ease;
  }
  .list__item, .list__item a:hover {
    box-shadow: none;
  }
  .item_link {
    color: var(--third-color) !important;
    background-color: var(--wave2-color);
    border-radius: 1rem;
    font-family: 'Roboto Slab', serif;
    font-weight: normal;
    font-size: 0.9rem;
    overflow: hidden;
  }
  .item_link > div {
    padding-right: 0.5rem;
  }
  .item_link > div:not(:last-child):after {
    padding-left: 0.5rem;
  }
  .item_link:hover {
    color: var(--primary-color) !important;
    background-color: var(--secondary-color);
    border-radius: 1rem;
    box-shadow: 0px 0px 0.8px rgba(0, 0, 0, 0.01), 0px 0px 6px rgba(0, 0, 0, 0.1) !important;
  }
  .rezeptname {
    margin: 14px -15px 11px 25px;
    align-content: center;
    height: 100%;
    float: left;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
  }
  .link {
    color: var(--third-color) !important;
    margin: 1.1rem 0px 11px 25px;
    align-content: center;
    float: left;
  }
  .controls {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  .controls > div {
    font-weight: 600;
  }
  .controls > * {
    margin-right: 1rem;
    transition: all 0.2s ease;
  }
  .controls a:hover {
    color: var(--bg-color);
  }
  .controls .sort {
    display: flex;
    align-items: flex-end;
    color: var(--primary-color);
    text-decoration: none;
    box-shadow: none;
    transition: none;
  }
  .controls .sort:after {
    display: block;
    opacity: 0;
    content: "";
    margin-left: 0.25rem;
    font-family: "Material Icons";
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga";
  }
  .controls .sort.asc, .controls .sort.desc {
    color: var(--primary-color);
    font-weight: 600;
  }
  .controls .sort.asc:after {
    opacity: 1;
    content: "⬇";
  }
  .controls .sort.desc:after {
    opacity: 1;
    content: "⬆";
  }
  .tag-filter {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
  }
  .tag-filter div {
    font-weight: 600;
    margin-right: 0.5rem;
  }
  .tag-filter .rezeptetag {
    display: flex;
    cursor: pointer;
    margin-right: 0.5rem;
    background: var(--primary-color);
    padding: 0.2rem 0.6rem 0.2rem 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  .tag-filter .rezeptetag:after {
    content: "x";
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    transition: all 0.2s ease;
  }
  .tag-filter .rezeptetag.active:after {
    color: var(--filter-color) !important;
    opacity: 1;
    visibility: visible;
    max-width: 2rem;
    margin-left: 0.4rem;
  }
  .tag-filter .rezeptetag:hover, .tag-filter .rezeptetag.active {
    color: var(--filter-color) !important;
    background-color: var(--main);
  }
  .tag-item {
    margin: 1rem 0px;
    display: flex;
    align-content: center;
    float: right;
    height: 100%;
  }
  .tag-item div {
    margin-right: 0.5rem;
  }
  .tag-item .rezeptetag {
    display: flex;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
  }
/*
 .tag_vorspeisenjk, .Vorspeisenjk {
    color: lightgreen !important;
    background-color: green !important;
 }
 .tag_hauptgerichte {
    color: lightgreen !important;
    background-color: green !important;
 }
 .tag_nachtisch {
    color: lightgreen !important;
    background-color: green !important;
 }
 .tag_trinken {
    color: lightgreen !important;
    background-color: green !important;
 }
*/
.rezept_cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem;
  margin: 3vh auto;
}
.rezept_card {
	border-radius: 26px;
	box-shadow: 0px 4px 16px -3px rgba(0, 0, 0, 0.2), 0px 1px 35px 0px rgba(0, 0, 0, 0.01);
  min-width: 320px;
	width: 30%;
	text-align: center;
  background-color: var(--rezept-color);
}
.rezept_card a {
  padding: 0px !important;
  margin: 0px 0px !important;
}
.rezept_card a:hover {
  box-shadow: none !important;
  color: none !important;
}
.rezept_card:hover, .rezept_card:focus-within {
  box-shadow: 0 0 0 4px var(--main), 0px 4px 16px -3px rgba(0, 0, 0, 0.2);
  transform: translatey(-3px);
}
.rezept_card-image {
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 1.0rem;
  min-height: 192px;
  max-height: 250px;
  background-color: var(--main);
}
.rezept_card-image img {
	max-width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rezept_card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.rezept_card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.information {
	padding: 1.0rem;
}
.title {
		font-size: 1.5rem;
		font-weight: bold;
		color: var(--primary-color);
		line-height: 1.25;
		& + * {
			margin-top: 1rem;
		}
	}
	.info {
		font-size: 1rem;
		color: var(--third-color);
		& + * {
			margin-top: 1rem;
		}
	}

.recipe-ingredients {
    margin: 20px 0;
}

.ingredient-group {
    margin: 15px 0;
}

.ingredient-group h4 {
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.ingredient-row {
    display: flex;
    gap: 5px;
    margin: 5px 0;
    align-items: baseline;
}

.amount {
    min-width: 40px;
    text-align: right;
}

.unit {
    min-width: 40px;
}

.ingredient-name {
    flex: 1;
}

.notes {
    color: #666;
    font-style: italic;
}

.ingredient-group-header {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    list-style: none;
}

.ingredient-group-header strong {
    font-size: 1.1em;
    color: #333;
}

.ingredient-group {
    margin-left: 1em;
}
