@font-face {
  font-family: "Roboto Condensed";
  src: url("../Fonts/roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("../Fonts/roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Schreder Journal";
  src: url("../Fonts/journal.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  --rye: #4a3728;
  --crust: #1f160f;
  --wheat: #e8ba7f;
  --flour: #f5f2ec;
  --stone: #d5cec8;
  --paper: #fff;
  --ink: #4a3728;
  --muted: #6e5f55;
  --error: #a11212;
  --content-width: 74rem;
  --narrow-width: 55rem;
  --display: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--body);
  line-height: 1.42857143;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--crust);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
}

body,
button,
input,
select,
textarea {
  font-family: var(--body);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

p {
  margin: 0 0 12.5px;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 12.5px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: .2rem solid #fff;
  outline-offset: .25rem;
  box-shadow: 0 0 0 .35rem var(--rye);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--crust);
  background: #fff;
  transform: translateY(-200%);
  transition: transform .15s ease;
}

.skip-link:focus {
  transform: none;
}

.site-shell {
  min-width: 18rem;
  overflow: clip;
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  color: #fff;
  background-color: var(--rye);
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: none;
}

.hero--home {
  background-image: url("../Images/Brand/header-start.jpg");
}

.hero--bakery {
  background-image: url("../Images/Brand/header-baeckerei.jpg");
}

.hero--products {
  background-image: url("../Images/Brand/header-produkte.jpg");
}

.hero--contact,
.hero--thanks,
.hero--legal,
.hero--standard {
  background-image: url("../Images/Brand/header-kontakt.jpg");
}

.hero__frame {
  position: absolute;
  inset: 1.25rem;
  z-index: 1;
  border: .32rem solid var(--wheat);
  pointer-events: none;
}

.nav-panel {
  position: fixed;
  top: 100px;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 57px auto 56px;
  width: auto;
  color: var(--crust);
  background: rgb(255 255 255 / 96%);
  box-shadow: 2px 2px 5px rgb(0 0 0 / 20%);
}

.nav-panel__home {
  display: grid;
  min-height: 76px;
  place-items: center;
  border-right: 1px solid rgb(74 55 40 / 14%);
}

.nav-panel__home img {
  width: 37px;
}

.main-navigation,
.language-navigation {
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-navigation {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.main-navigation li {
  display: flex;
}

.main-navigation a {
  position: relative;
  display: grid;
  padding: 25px 10px;
  place-items: center;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 25.7143px;
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation a::after {
  content: none;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after,
.main-navigation a.is-active::after {
  transform: scaleX(1);
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a.is-active {
  background: #f7ead9;
}

.language-navigation {
  display: grid;
  grid-template-rows: 1fr 1fr;
  color: #fff;
  background: var(--crust);
}

.language-navigation a,
.language-navigation span {
  display: block;
  display: grid;
  height: 100%;
  padding: 8px 10px 0;
  place-items: center;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}

.language-navigation a.is-active {
  color: #fff;
  background: url("../Images/Brand/list-icon-white.png") center top no-repeat;
}

.hero__identity {
  z-index: 2;
  width: min(42rem, calc(100% - 8rem));
  padding: 3rem 1rem;
  text-align: center;
}

.hero__logo {
  display: block;
  width: 435px;
  margin-inline: auto;
}

.hero__logo--subpage {
  width: 250px;
}

.hero--bakery .hero__identity,
.hero--products .hero__identity,
.hero--contact .hero__identity,
.hero--thanks .hero__identity {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 75px 0 0;
}

.hero .hero__subpage-slogan {
  position: absolute;
  top: 50%;
  right: 20%;
  left: 20%;
  width: 60%;
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-shadow: 1px 1px 2px #000;
  text-transform: none;
}

.hero__eyebrow {
  margin: 0 0 .65rem;
  color: var(--wheat);
  font-family: var(--display);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 16ch;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  font-stretch: condensed;
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .86;
  text-transform: uppercase;
}

.hero__lead {
  margin: .65rem 0 0;
  color: var(--wheat);
  font-family: "Schreder Journal", cursive;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1;
}

.hero__scroll {
  position: absolute;
  bottom: 60px;
  left: 50%;
  z-index: 3;
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  justify-items: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll img {
  width: 32px;
}

#main-content {
  outline: 0;
}

.content-flow > .frame {
  max-width: none;
  padding: clamp(4rem, 8vw, 8rem) max(1.25rem, calc((100% - var(--content-width)) / 2));
  margin: 0;
}

.content-flow > .frame header,
.content-flow > .frame > p,
.content-flow > .frame > ul,
.content-flow > .frame > .form-container,
.content-flow > .frame > form {
  max-width: var(--narrow-width);
  margin-inline: auto;
}

.content-flow h2,
.content-flow h3,
.certificates h2,
.site-footer h2 {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.1;
}

.content-flow h2 {
  margin: 25px 0 12.5px;
  font-size: 38px;
  text-transform: uppercase;
}

.content-flow p,
.content-flow li {
  font-size: 18px;
}

.content-flow .ce-gallery,
.content-flow figure,
.content-flow .image {
  margin: 0;
}

.content-flow .image-embed-item {
  display: block;
  width: 100%;
}

.home-slogan {
  padding: 100px 15px;
  color: var(--wheat);
  background: var(--rye);
  text-align: center;
}

.home-slogan__content {
  max-width: 800px;
  margin-inline: auto;
}

.home-slogan .frame {
  padding: 0;
}

.home-slogan .frame header {
  display: none;
}

.home-slogan p {
  max-width: 800px;
  margin: 0 auto 12.5px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.42857143;
}

.home-slogan__more {
  display: grid;
  grid-template-columns: minmax(5rem, 1fr) auto minmax(5rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin-top: 60px;
}

.home-slogan__more img {
  width: 100%;
  max-width: 15.25rem;
}

.home-slogan__more img:first-child {
  justify-self: end;
}

.home-slogan__button {
  padding: 12px 40px;
  border: 3px solid #fff;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.42857143;
  text-decoration: none;
}

.home-slogan__button:hover,
.home-slogan__button:focus-visible {
  color: var(--rye);
  background: #fff;
}

.home-quality {
  margin-bottom: 80px;
  background: #fff;
}

.home-quality > .frame {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 0;
  width: 1170px;
  padding: 0;
  margin-inline: auto;
}

.home-quality > .frame > header {
  grid-row: 1;
  grid-column: 2;
  align-self: start;
  padding: 0 15px;
}

.home-quality h2 {
  padding-bottom: 30px;
  margin: 25px 0 30px;
  border-bottom: 1px solid rgb(74 55 40 / 48%);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-quality .ce-textpic {
  display: contents;
}

.home-quality .ce-gallery {
  grid-row: 1 / 3;
  grid-column: 1;
  align-self: center;
  margin: 0;
  padding: 0 15px;
}

.home-quality .ce-gallery .ce-outer,
.home-quality .ce-gallery .ce-inner {
  position: static;
  right: auto;
  float: none;
  width: 487px;
  height: 515px;
  margin: 0;
}

.home-quality .ce-gallery .ce-row,
.home-quality .ce-gallery .ce-column,
.home-quality .ce-gallery figure {
  width: 487px;
  height: 515px;
}

.home-quality .ce-bodytext {
  grid-row: 2;
  grid-column: 2;
  align-self: start;
  padding: 0 15px;
}

.home-quality .image-embed-item {
  display: block;
  width: 100%;
  height: auto;
}

.home-quality ul,
.content-flow ul.custom {
  padding: 0;
  list-style: none;
}

.content-flow ul.custom li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  border-bottom: 1px solid rgb(74 55 40 / 14%);
}

.content-flow ul.custom li::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  width: 24px;
  height: 18px;
  background: url("../Images/Brand/list-icon.png") center / contain no-repeat;
}

.home-quality li {
  min-height: 18px;
  padding: 0 0 0 50px;
  margin-bottom: 30px;
  background: url("../Images/Brand/list-icon.png") left center / 24px 18px no-repeat;
}

.home-quality li:last-child {
  margin-bottom: 0;
}

.home-contact {
  max-width: 600px;
  padding: 0;
  margin: 0 auto 80px;
  background: #fff;
  text-align: center;
}

.home-contact .frame {
  max-width: 600px;
  padding: 0;
  margin-inline: auto;
}

.home-contact__intro h2 {
  margin: 25px 0 12.5px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-contact__intro p {
  margin: 0 auto 12.5px;
  font-size: 18px;
}

.home-contact__form {
  margin-top: 50px;
  text-align: left;
}

.home-contact__form .frame > header {
  display: none;
}

.page--bakery .content-flow {
  padding: 0;
}

.page--bakery .content-flow > .frame {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  width: 1170px;
  padding: 0;
  margin-inline: auto;
}

.page--bakery .content-flow > .frame > header {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  width: auto;
  max-width: none;
  padding: 3.75rem 3.75rem 0;
  margin: 0;
}

.page--bakery .content-flow > .frame .ce-textpic {
  display: contents;
}

.page--bakery .content-flow > .frame .ce-gallery {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
}

.page--bakery .content-flow > .frame .ce-bodytext {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  padding: 0 3.75rem 3.75rem;
}

.page--bakery .content-flow > .frame:nth-child(even) > header,
.page--bakery .content-flow > .frame:nth-child(even) .ce-bodytext {
  grid-column: 1;
}

.page--bakery .content-flow > .frame:nth-child(even) .ce-gallery {
  grid-column: 2;
}

.page--bakery .content-flow h2 {
  padding-bottom: 30px;
  margin: 25px 0 30px;
  border-bottom: 1px solid var(--rye);
  font-weight: 700;
}

.page--bakery .image-embed-item {
  display: block;
  width: 100%;
  height: auto;
}

.page--bakery .ce-gallery {
  width: 100%;
  padding-inline: 15px;
  box-shadow: none;
}

.page--bakery .ce-gallery .ce-outer,
.page--bakery .ce-gallery .ce-inner,
.page--bakery .ce-gallery .ce-row,
.page--bakery .ce-gallery .ce-column,
.page--bakery .ce-gallery figure {
  position: static;
  right: auto;
  display: block;
  float: none;
  width: 100%;
  height: auto;
  margin: 0;
}

.page--contact .content-flow,
.page--legal .content-flow,
.page--thanks .content-flow {
  background: var(--paper);
}

.page--contact .content-flow > .frame,
.page--legal .content-flow > .frame,
.page--thanks .content-flow > .frame {
  width: min(100%, var(--narrow-width));
  margin-inline: auto;
}

.page--legal .content-flow > .frame {
  display: flow-root;
  width: 1170px;
  padding: 0 15px 80px;
}

.page--legal .content-flow > .frame > header,
.page--legal .content-flow > .frame > p,
.page--legal .content-flow > .frame > ul {
  max-width: none;
  margin-inline: 0;
}

.page--legal .content-flow > .frame > header h1 {
  padding-bottom: 30px;
  margin: 25px 0 30px;
  border-bottom: 1px solid var(--rye);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.page--legal .content-flow > .frame > h2 {
  font-size: 31px;
  font-weight: 500;
}

.page--legal .content-flow > .frame > h2:last-of-type {
  font-size: 46px;
  font-weight: 500;
}

.page--thanks .content-flow {
  text-align: center;
}

.page--thanks .content-flow > .frame {
  width: 100%;
  padding: 0;
}

.page--thanks .content-flow > .frame h1 {
  margin: 25px 0 12.5px;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

.page--thanks .content-flow > .frame::after {
  display: block;
  height: 51.7109375px;
  margin: 12.5px 0 25px;
  border-bottom: 1px solid #eee;
  content: "";
}

.product-section {
  padding: 60px 15px 0;
  background: var(--stone);
}

.product-section__inner {
  width: min(100%, 1140px);
  margin-inline: auto;
}

.products {
  width: min(100%, 1170px);
  margin-inline: auto;
}

.product-section h2 {
  margin: 0 0 40px;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  padding: 25px 0 30px;
  margin-bottom: 80px;
  background: #dad5cf;
}

.product-filter {
  min-width: 0;
  padding: 20px 30px 0;
  border: 0;
  color: var(--rye);
  background: transparent;
  font-family: var(--display);
  font-size: 18px;
  line-height: 25.7143px;
  cursor: pointer;
  text-transform: uppercase;
}

.product-filter:hover,
.product-filter.is-active {
  background: url("../Images/Brand/list-icon-dark.png") center top / 1rem auto no-repeat;
  font-weight: 700;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.product-card {
  min-width: 0;
  min-height: 350px;
  padding-inline: 15px;
  margin-bottom: 40px;
  color: var(--ink);
  text-align: center;
}

.product-card[hidden] {
  display: none;
}

.product-card__trigger {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.product-card__trigger:focus-visible {
  outline: 2px solid var(--rye);
  outline-offset: 2px;
  box-shadow: none;
}

.product-card__trigger.is-pointer-restored-focus:focus {
  outline: 0;
  box-shadow: none;
}

.product-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 487 / 515;
  overflow: hidden;
  background: #eee9e3;
}

.product-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(74 55 40 / 90%);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.product-card__overlay {
  position: absolute;
  z-index: 2;
  top: 40%;
  right: 0;
  left: 0;
  display: none;
  padding-top: 50px;
  color: #e7ba7f;
  background: url("../Images/Brand/icon-plus.png") top center no-repeat;
  font-family: var(--body);
  font-size: 18px;
  font-weight: 400;
  line-height: 25.7143px;
  text-align: center;
  text-transform: uppercase;
}

.product-card__trigger:hover .product-card__visual::before,
.product-card__trigger:focus-visible:not(.is-pointer-restored-focus) .product-card__visual::before {
  opacity: 1;
}

.product-card__trigger:hover .product-card__overlay,
.product-card__trigger:focus-visible:not(.is-pointer-restored-focus) .product-card__overlay {
  display: block;
}

.product-card__title {
  margin: 0;
  font: inherit;
}

.product-card__name {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 25.7143px;
}

.product-view {
  margin-inline: -15px;
  background: #fff;
  scroll-margin-top: 40px;
}

.product-detail {
  width: 1170px;
  padding: 0 15px;
  margin: 0 auto 70px;
  color: var(--ink);
  background: #fff;
  scroll-margin-top: 40px;
  text-align: left;
}

.product-detail:focus {
  outline: 0;
}

.product-detail__header {
  display: flow-root;
  padding: 50px 30px 15px;
}

.product-detail__header h2 {
  margin: 12.5px 0;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  text-transform: none;
}

.product-detail__close {
  float: right;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  font-family: var(--display);
  font-size: 70px;
  font-weight: 300;
  line-height: 40px;
  opacity: .45;
  cursor: pointer;
}

.product-detail__close:hover,
.product-detail__close:focus-visible {
  opacity: .7;
}

.product-detail__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.product-detail__tabs button {
  padding: 20px 15px 10px;
  border: 0;
  color: var(--rye);
  background: transparent;
  font-family: var(--display);
  font-size: 18px;
  line-height: 25.7143px;
  text-transform: uppercase;
  cursor: pointer;
}

.product-detail__tabs button:hover,
.product-detail__tabs button:focus-visible,
.product-detail__tabs button[aria-selected="true"] {
  background: url("../Images/Brand/list-icon-dark.png") center top / 1rem auto no-repeat;
  font-weight: 700;
}

.product-detail__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  border-bottom: 3px solid #e7ba7f;
  background: #f2f2f2;
}

.product-detail__panel[hidden] {
  display: none;
}

.product-detail__media,
.product-detail__text {
  min-width: 0;
  padding: 30px;
}

.product-detail__media {
  position: relative;
}

.product-detail__media > img,
.product-detail__slide img {
  display: block;
  max-width: 100%;
  height: auto;
}

.product-detail__slides {
  position: static;
}

.product-detail__slide[hidden] {
  display: none;
}

.product-detail__gallery-button {
  position: absolute;
  top: 50%;
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 16px;
  margin-top: -22px;
  border: 0;
  border-radius: 0 3px 3px 0;
  color: #fff;
  background: rgb(31 22 15 / 72%);
  font-size: 18px;
  font-weight: 700;
  line-height: 25.7143px;
  cursor: pointer;
}

.product-detail__media.is-multiple .product-detail__gallery-button {
  display: block;
}

.product-detail__gallery-button:hover,
.product-detail__gallery-button:focus-visible {
  color: #000;
  background: #f1f1f1;
}

.product-detail__gallery-button--previous {
  left: 30px;
}

.product-detail__gallery-button--next {
  right: 53px;
  border-radius: 3px 0 0 3px;
}

.product-detail__text h3 {
  padding-bottom: 30px;
  margin: 25px 0 30px;
  border-bottom: 1px solid var(--rye);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  line-height: 30.8px;
  text-transform: none;
}

.product-detail__text ul {
  padding: 0;
  margin: 0 0 12.5px;
  list-style: none;
}

.product-detail__text li {
  min-height: 18px;
  padding-left: 50px;
  margin-bottom: 30px;
  background: url("../Images/Brand/list-icon.png") left center / 24px 18px no-repeat;
}

.product-detail__text li:last-child {
  margin-bottom: 0;
}

.product-detail__text table {
  width: 100%;
  border-collapse: collapse;
}

.product-detail__text th,
.product-detail__text td {
  padding: 0;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.product-detail__text td {
  text-align: right;
  white-space: nowrap;
}

.certificates {
  padding: 35px 35px 75px;
  margin-bottom: 80px;
  background: #f5f5f5;
  text-align: center;
}

.certificates h2 {
  width: min(100%, 1140px);
  margin: 25px 0 60px;
  margin-inline: auto;
  font-size: 38px;
  font-weight: 500;
  text-transform: uppercase;
}

.certificates__logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2.2rem, 8vw, 7rem);
  align-items: center;
  justify-content: center;
  width: min(100%, 1140px);
  margin-inline: auto;
}

.certificates__logos img {
  width: 115px;
  max-height: 5.5rem;
  object-fit: contain;
}

.grain-signature {
  display: grid;
  min-height: 470px;
  place-items: center;
  padding: 0;
  margin-bottom: 80px;
  color: #fff;
  background: url("../Images/Brand/getreide.jpg") center / cover no-repeat;
  text-align: center;
}

.grain-signature p {
  margin: 0;
  font-family: "Schreder Journal", cursive;
  width: 70%;
  font-size: 200px;
  line-height: 170px;
  text-shadow: 1px 1px 2px #969696;
}

.form-group,
.form-element {
  margin-bottom: 16.8px;
}

.form-label,
.control-label,
.form-check-label {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .03em;
}

.home-contact__form .form-label,
.home-contact__form .control-label:not(.form-check-label) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-control {
  width: 100%;
  min-height: 39px;
  padding: 6px 12px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: #f2f0f0;
  font: inherit;
}

textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}

.form-check-label {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0;
}

.form-check-label a {
  color: #9a681f;
  text-decoration: underline;
}

.form-check-label a:hover,
.form-check-label a:focus-visible {
  color: #7f5318;
  text-decoration: underline;
}

.form-check-label input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .28rem;
  accent-color: var(--rye);
}

.btn,
.btn-primary,
button[type="submit"] {
  min-height: 0;
  padding: 12px 40px;
  border: 3px solid var(--rye);
  border-radius: 0;
  color: #fff;
  background: var(--rye);
  font: 700 20px/1.42857143 var(--display);
  letter-spacing: 0;
  cursor: pointer;
  text-transform: uppercase;
}

.home-contact__form .btn,
.home-contact__form .btn-primary,
.home-contact__form button[type="submit"] {
  display: block;
  min-height: 0;
  margin-inline: auto;
  color: var(--rye);
  background: #fff;
  text-transform: none;
}

.home-contact__form .form-navigation {
  padding-top: 25.640625px;
}

.home-contact__form .btn:hover,
.home-contact__form .btn-primary:hover,
.home-contact__form button[type="submit"]:hover {
  color: #fff;
  background: var(--rye);
}

.btn:hover,
.btn-primary:hover,
button[type="submit"]:hover {
  color: var(--rye);
  background: transparent;
}

.error,
.help-block {
  color: var(--error);
}

.site-footer {
  padding: 20px 20px 22.7890625px;
  color: var(--ink);
  background: var(--stone);
  text-align: center;
}

.site-footer__line {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.42857143;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__instagram {
  display: inline-block;
  margin-top: 20px;
}

.site-footer__cookies {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Keep the provider's brown panel readable despite its later injected styles. */
.cky-preference-center .cky-show-desc-btn,
.cky-preference-center .cky-always-active {
  color: #ffe7a7 !important;
}

.cky-consent-container button:focus-visible,
.cky-preference-center button:focus-visible,
.cky-preference-center input:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px #613f25 !important;
}

.cky-preference-center .cky-btn-close img {
  filter: brightness(0) invert(1);
}

.site-footer__instagram img {
  display: block;
  width: 40px;
}

@media (max-width: 54rem) {
  .hero__identity {
    width: min(34rem, calc(100% - 3rem));
  }

  .hero__logo:not(.hero__logo--subpage) {
    width: 260px;
  }

  .home-quality > .frame {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-quality > .frame > header {
    padding: 40px 40px 0;
  }

  .home-quality .ce-bodytext {
    padding: 0 40px 40px;
  }

  .home-quality h2 {
    margin-top: 0;
    font-size: 24px;
  }

  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 38rem) {
  .hero {
    margin-top: 70px;
  }

  .nav-panel {
    top: 0;
    right: 0;
    left: 0;
    grid-template-columns: 51px 1fr 41px;
  }

  .nav-panel__home {
    min-height: 70px;
  }

  .main-navigation a {
    padding: 25px 7px 26px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;
  }

  .language-navigation {
    grid-column: auto;
  }

  .language-navigation a,
  .language-navigation span {
    padding: 6px 7px 0;
  }

  .hero__identity {
    padding-top: 7rem;
  }

  .hero__logo {
    width: 200px;
  }

  .hero__logo--subpage {
    width: 200px;
  }

  .hero .hero__subpage-slogan {
    top: 60%;
    right: 10%;
    left: 10%;
    width: 80%;
    font-size: 45px;
    transform: translateY(-50%);
  }

  .hero__lead {
    max-width: 11ch;
    margin-inline: auto;
    font-size: clamp(2rem, 10vw, 2.7rem);
    overflow-wrap: break-word;
  }

  .hero__scroll span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .content-flow > .frame,
  .product-section {
    padding-inline: 1.25rem;
  }

  .home-slogan__more {
    grid-template-columns: minmax(3rem, 1fr) auto minmax(3rem, 1fr);
    gap: .8rem;
  }

  .home-slogan__button {
    padding-inline: .8rem;
    white-space: nowrap;
  }

  .home-quality > .frame {
    display: flex;
    width: min(calc(100% - 2.5rem), 32rem);
    flex-direction: column;
  }

  .home-quality > .frame > header {
    order: 1;
    margin-top: 2rem;
    padding: 20px 20px 0;
  }

  .home-quality .ce-textpic {
    display: contents;
  }

  .home-quality .ce-gallery {
    order: 0;
  }

  .home-quality .ce-bodytext {
    order: 2;
    padding: 0 20px 20px;
  }

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

  .product-filters {
    gap: 0 4px;
    margin-right: -1.25rem;
    margin-left: -1.25rem;
  }

}

@media (min-width: 62rem) and (max-width: 74.99rem) {
  .page--bakery .content-flow > .frame,
  .page--legal .content-flow > .frame,
  .home-quality > .frame,
  .product-detail {
    width: 970px;
  }

  .product-detail__gallery-button--next {
    right: 30px;
  }

  .page--bakery .content-flow > .frame > header {
    padding: 30px 30px 0;
  }

  .page--bakery .content-flow > .frame .ce-bodytext {
    padding: 0 30px 30px;
  }

  .page--bakery .content-flow h2 {
    margin-top: 10px;
  }

  .page--bakery .ce-gallery {
    padding-inline: 0;
  }
}

@media (min-width: 48rem) and (max-width: 61.99rem) {
  .page--bakery .content-flow > .frame,
  .page--legal .content-flow > .frame,
  .home-quality > .frame,
  .product-detail {
    width: 750px;
  }

  .product-detail__gallery-button--next {
    right: 30px;
  }

  .home-quality > .frame > header {
    padding: 0 15px;
  }

  .home-quality .ce-bodytext {
    padding: 0 15px;
  }

  .home-quality h2 {
    margin-top: 25px;
    font-size: 30px;
  }

  .page--bakery .content-flow > .frame > header {
    padding: 40px 40px 0;
  }

  .page--bakery .content-flow > .frame .ce-bodytext {
    padding: 0 40px 40px;
  }

  .page--bakery .content-flow h2 {
    margin-top: 0;
    font-size: 24px;
  }

  .page--bakery .ce-gallery {
    padding-inline: 0;
  }

  .page--legal .content-flow > .frame > header h1 {
    font-size: 30px;
  }

  .page--legal .content-flow > .frame > h2:last-of-type,
  .page--thanks .content-flow > .frame h1 {
    font-size: 40px;
  }
}

@media (max-width: 81.1875rem) {
  .grain-signature p {
    width: 80%;
    font-size: 150px;
    line-height: 130px;
  }
}

@media (max-width: 61.9375rem) {
  .hero__logo:not(.hero__logo--subpage) {
    width: 260px;
  }

  .hero .hero__subpage-slogan {
    right: 10%;
    left: 10%;
    width: 80%;
    font-size: 50px;
    transform: translateY(-50%);
  }

  .grain-signature p {
    width: 90%;
    font-size: 120px;
    line-height: 100px;
  }

  .product-section h2 {
    font-size: 40px;
  }

  .product-filters {
    padding: 20px 0 15px;
    margin-bottom: 50px;
  }

  .product-filter {
    padding-inline: 15px;
  }

  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 47.9375rem) {
  .hero__logo:not(.hero__logo--subpage) {
    width: 200px;
  }

  .hero .hero__subpage-slogan {
    top: 60%;
    font-size: 45px;
  }

  .grain-signature p {
    width: 90%;
    font-size: 80px;
    line-height: 70px;
  }

  .home-contact {
    padding-inline: 10px;
  }

  .product-section h2 {
    font-size: 35px;
  }

  .product-section {
    padding-inline: 15px;
  }

  .product-filters {
    margin-inline: -15px;
  }

  .product-filter {
    padding: 20px 7px 0;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 21.4286px;
  }

  .products {
    width: calc(100% + 30px);
    margin-inline: -15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-flow h2,
  .certificates h2,
  .home-contact__intro h2 {
    font-size: 25px;
  }
}

@media (max-width: 31.25rem) {
  .products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 47.99rem) {
  .product-detail {
    width: 100%;
    padding: 0;
  }

  .product-detail__header {
    padding: 35px 35px 15px 20px;
  }

  .product-detail__header h2 {
    margin: 12.5px 0;
    font-size: 25px;
    line-height: 27.5px;
  }

  .product-detail__close {
    margin-top: -20px;
    margin-right: -30px;
  }

  .product-detail__tabs button {
    padding: 20px 5px 10px;
    font-size: 16px;
    line-height: 22.8571px;
  }

  .product-detail__panel {
    grid-template-columns: 1fr;
  }

  .product-detail__media {
    min-height: 260px;
    text-align: center;
  }

  .product-detail__media > img,
  .product-detail__slide img {
    width: auto;
    max-height: 200px;
    margin-inline: auto;
  }

  .product-detail__text {
    padding-top: 0;
  }

  .product-detail__text h3 {
    font-size: 20px;
    line-height: 22px;
  }

  .product-detail__gallery-button--previous {
    left: 30px;
  }

  .product-detail__gallery-button--next {
    right: 30px;
  }

  .home-quality > .frame {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .home-quality > .frame > header {
    order: 1;
    margin-top: 0;
    padding: 0 15px;
  }

  .home-quality .ce-gallery {
    order: 0;
    width: 100%;
    min-height: calc((100vw - 30px) * 515 / 487);
  }

  .home-quality .ce-gallery .ce-outer,
  .home-quality .ce-gallery .ce-inner,
  .home-quality .ce-gallery .ce-row,
  .home-quality .ce-gallery .ce-column,
  .home-quality .ce-gallery figure {
    width: 100%;
    height: auto;
    aspect-ratio: 487 / 515;
  }

  .home-quality .ce-bodytext {
    order: 2;
    padding: 0 15px;
  }

  .home-quality h2 {
    margin-top: 25px;
    font-size: 25px;
  }

  .page--bakery .content-flow {
    padding: 50px 0 0;
  }

  .page--bakery .content-flow > .frame {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .page--bakery .content-flow > .frame + .frame {
    margin-top: 50px;
  }

  .page--bakery .content-flow > .frame > header {
    align-self: stretch;
    order: 1;
    width: 100%;
    padding: 20px 20px 0;
  }

  .page--bakery .content-flow > .frame .ce-textpic {
    display: contents;
  }

  .page--bakery .content-flow > .frame .ce-gallery {
    order: 0;
    padding-inline: 0;
  }

  .page--bakery .content-flow > .frame .ce-bodytext {
    align-self: stretch;
    order: 2;
    width: 100%;
    padding: 0 20px 20px;
  }

  .page--bakery .content-flow h2 {
    margin-top: 20px;
    font-size: 22px;
  }

  .page--bakery .image-embed-item {
    height: auto;
  }

  .page--bakery .ce-gallery .ce-outer,
  .page--bakery .ce-gallery .ce-inner,
  .page--bakery .ce-gallery .ce-row,
  .page--bakery .ce-gallery .ce-column,
  .page--bakery .ce-gallery figure {
    height: auto;
  }

  .page--legal .content-flow > .frame {
    width: 100%;
  }

  .page--legal .content-flow > .frame > header h1 {
    font-size: 25px;
  }

  .page--legal .content-flow > .frame > h2:last-of-type,
  .page--thanks .content-flow > .frame h1 {
    font-size: 35px;
  }

  .home-contact__form .form-navigation {
    padding-top: 57.015625px;
  }

  html[lang^="it"] .home-contact__form .form-navigation {
    padding-top: 25.8046875px;
  }

  .site-footer {
    padding-bottom: 23.296875px;
  }
}

@media (max-height: 31rem) and (orientation: landscape) {
  .hero,
  .hero--home {
    min-height: 100svh;
  }

  .hero__identity,
  .hero--bakery .hero__identity,
  .hero--products .hero__identity,
  .hero--contact .hero__identity,
  .hero--thanks .hero__identity {
    padding: 4.5rem 1rem 2.75rem;
  }

  .hero__logo {
    width: 8rem;
  }

  .hero__logo--subpage {
    width: 7rem;
  }

  .hero .hero__subpage-slogan {
    margin-top: -.25rem;
    font-size: 1.4rem;
  }

  .hero__lead {
    margin-top: .25rem;
    font-size: 1.6rem;
  }

  .hero__scroll {
    bottom: .5rem;
  }
}

@media (max-width: 31.25rem) {
  .certificates__logos {
    display: grid;
    grid-auto-columns: 100%;
    grid-auto-flow: column;
    gap: 0;
    justify-content: start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .certificates__logos::-webkit-scrollbar {
    display: none;
  }

  .certificates__logos img {
    justify-self: center;
    scroll-snap-align: center;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .product-card {
    width: 100%;
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
