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

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

img,
picture {
  max-width: 100%;
  display: block;
}

figure img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
}

a {
  text-decoration: none;
}

/* ------------------------------------------------ */
/*  !Fonts  */
/* ------------------------------------------------ */
/* lora-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lora-v35-latin-regular.woff2") format("woff2");
}

/* lora-500 - latin */
@font-face {
  font-display: swap;
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/lora-v35-latin-500.woff2") format("woff2");
}

/* lora-600 - latin */
@font-face {
  font-display: swap;
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/lora-v35-latin-600.woff2") format("woff2");
}

/* inter-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/inter-v13-latin-regular.woff2") format("woff2");
}

/* inter-500 - latin */
@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/inter-v13-latin-500.woff2") format("woff2");
}

/* inter-600 - latin */
@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/inter-v13-latin-600.woff2") format("woff2");
}

/* ------------------------------------------------ */
/*  !Variablen  */
/* ------------------------------------------------ */
:root {
  --color-typo: #443c27;
  --color-typo-muted: #bca38f;
  --color-background: #f4f1eb;
  --color-background-light: #fcfbf8;
  --color-background-medium: #eee8dd;
  --color-background-dark: #e9e4d9;
  --color-accent: #c39c35;
  --color-date: #bca38f;
  --primary-border-radius: 3px;
  --primary-box-shadow: 1px 1px 0 var(--color-background-dark);
  --font-size-small: 0.9375rem;
  --font-size-smaller: 0.875rem;
  --font-lora-20: calc(1.25rem / 1.075);
  --font-lora-24: calc(1.5rem / 1.25);
  --font-lora-28: calc(1.75rem / 1.25);
  --font-lora-32: calc(2rem / 1.25);
  --font-lora-36: calc(2.25rem / 1.25);
  --font-lora-40: calc(2.5rem / 1.25);
  --font-lora-44: calc(2.75rem / 1.25);
  --font-lora-48: calc(3rem / 1.25);
  --font-lora-52: calc(3.25rem / 1.25);
  --font-lora-56: calc(3.5rem / 1.25);
  --font-lora-60: calc(3.75rem / 1.25);
  --font-lora-64: calc(4rem / 1.5);
  --padding-page: 1.5rem;
}

@media screen and (min-width: 1025px) {
  :root {
    --font-lora-20: 1.25rem;
    --font-lora-24: 1.5rem;
    --font-lora-28: 1.75rem;
    --font-lora-32: 2rem;
    --font-lora-36: 2.25rem;
    --font-lora-40: 2.5rem;
    --font-lora-44: 2.75rem;
    --font-lora-48: 3rem;
    --font-lora-52: 3.25rem;
    --font-lora-56: 3.5rem;
    --font-lora-60: 3.75rem;
    --font-lora-64: 4rem;
    --padding-page: 2rem;
  }
}

/* ------------------------------------------------ */
/*  !Typo  */
/* ------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-family: "Lora", sans-serif;
  line-height: 1.2;
  font-weight: 400;
  text-wrap: balance;
}

h1,
h2 {
  font-size: var(--font-lora-52);
  margin-bottom: 1rem;
}

h3 {
  font-size: var(--font-lora-40);
  margin-bottom: 0.5rem;
}

.text h3,
.only-text h3 {
  font-size: var(--font-lora-32);
  margin-bottom: 1rem;
}

.text h4,
.only-text h4 {
  font-size: var(--font-lora-24);
  line-height: 1.5;
  margin-bottom: 1rem;
}

strong {
  font-weight: 600;
}

.pre-headline {
  font-family: "Lora", sans-serif;
  font-size: var(--font-lora-40);
  line-height: 1.1;
  color: var(--color-typo-muted);
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

main ul:not(.with-border):not(.pagination):not(.breadcrumbs ul):not(.table-row) {
  padding-left: 0.5rem;
}

main ul:not(.with-border) li {
  padding-left: 0.35rem;
  margin-bottom: 0.5rem;
}

main ul:not(.with-border):not(.pagination):not(.breadcrumbs ul):not(.price-box ul):not(.table-row) li::marker {
  content: "•";
  color: var(--color-accent);
}

main p,
main .content-section ul {
  margin-bottom: 1.5rem;
}

main p a:not([class]),
main ul a:not([class]) {
  color: var(--color-typo);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
}

main p a:not([class]):hover,
main ul a:not([class]):hover {
  text-decoration-color: var(--color-typo);
}

.date {
  display: block;
  color: var(--color-date);
  font-family: "Lora", serif;
  font-weight: 500;
}

/* ------------------------------------------------ */
/*  !Body  */
/* ------------------------------------------------ */
body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75rem;
  color: var(--color-typo);
  background-color: var(--color-background);
}

/* ------------------------------------------------ */
/*  !Page-Grid  */
/* ------------------------------------------------ */
.page-grid {
  display: grid;
  max-width: calc(600px + (2 * var(--padding-page)));
  margin-inline: auto;
  padding-inline: var(--padding-page);
}

@media screen and (min-width: 1025px) {
  .page-grid {
    max-width: calc(1640px + (2 * var(--padding-page)));
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2rem;
  }
}

/* ------------------------------------------------ */
/*  !Header  */
/* ------------------------------------------------ */
header.page-grid {
  gap: 2rem;
}

@media screen and (max-width: 480px) {
  header.page-grid {
    padding-inline: 0;
  }
}

@media screen and (min-width: 481px) {
  header {
    padding-top: 1.5rem;
  }
}

@media screen and (min-width: 481px) and (max-width: 1024px) {
  header.page-grid {
    grid-template-columns: 240px 1fr;
  }
}

/* ------------------------------------------------ */
/*  !Logo  */
/* ------------------------------------------------ */
a.logo {
  display: block;
  width: 240px;
  height: 231px;
}

@media screen and (max-width: 480px) {
  a.logo {
    margin-inline: auto;
    width: 220px;
  }
}

@media screen and (min-width: 481px) {
  a.logo {
    order: 1;
  }
}

@media screen and (min-width: 1025px) {
  a.logo {
    grid-column: 1 / span 6;
  }
}

@media screen and (min-width: 1281px) {
  a.logo {
    grid-column: 2 / span 5;
  }
}

/* ------------------------------------------------ */
/*  !Top-Navigation  */
/* ------------------------------------------------ */
@media screen and (min-width: 481px) {
  header nav {
    display: flex;
    justify-content: flex-end;
    order: 2;
  }
}

@media screen and (min-width: 1025px) {
  header nav {
    grid-column: 7 / span 6;
  }
}

@media screen and (min-width: 1281px) {
  header nav {
    grid-column: 7 / span 5;
  }
}

/* ------------------------------------------------ */
/*  !Mobile Link  */
/* ------------------------------------------------ */
.mobile-menu-link {
  position: relative;
  width: 100%;
  background-color: var(--color-background-light);
  box-shadow: var(--primary-box-shadow);
  display: flex;
  z-index: 10;
}

.mobile-menu-link a {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-smaller);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-typo);
}

@media screen and (max-width: 480px) {
  .mobile-menu-link {
    display: flex;
    justify-content: center;
  }
}

@media screen and (min-width: 481px) {
  .mobile-menu-link a {
    background-color: var(--color-background-light);
    border-radius: var(--primary-border-radius);
    box-shadow: var(--primary-box-shadow);
  }
}

@media screen and (min-width: 1025px) {
  .mobile-menu-link {
    display: none;
  }
}

.mobile-menu-link a::before {
  content: "";
  width: 17px;
  height: 17px;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -220px -7px;
  margin-right: 0.5rem;
}

.mobile-menu-link a.active::before {
  background-position: -262px -11px;
}

/* ------------------------------------------------ */
/*  !Mobile Menu - Pulldown  */
/* ------------------------------------------------ */
header nav ul a {
  color: var(--color-typo);
  font-weight: 500;
  font-size: var(--font-size-small);
}

@media screen and (max-width: 480px) {
  header nav ul a {
    display: inline-block;
    width: 156px;
    padding: 4px 8px;
    border: 1px solid var(--color-typo);
    border-radius: var(--primary-border-radius);
    background-color: var(--color-background-light);
  }

  header nav ul li {
    text-align: center;
  }
}

@media screen and (max-width: 1024px) {
  header nav ul {
    background-color: var(--color-background-light);
    box-shadow: var(--primary-box-shadow);
    height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    will-change: transform;
  }

  header nav ul li {
    padding: 6px 0;
  }

  /* Animation Menu */
  header nav ul.active {
    padding: 2rem 0;
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      transform 0.075s 0.075s ease-out,
      opacity 0.075s 0.075s linear;
  }
}

/* Pulldown absolut positioned */
@media screen and (min-width: 481px) and (max-width: 1024px) {
  header nav ul::before {
    position: absolute;
    top: -6px;
    left: calc(50% - 6px);
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--color-background-light);
    transform: rotateZ(-45deg);
  }

  header nav > div {
    position: relative;
  }

  header nav ul {
    position: absolute;
    top: 68px;
    right: 0;
    box-shadow: 1px 1px 32px hsla(31, 61%, 17%, 0.1);
    border-radius: var(--primary-border-radius);
  }

  header nav ul.active {
    padding: 1.5rem 3rem;
  }

  header nav ul::before {
    left: calc(75% - 6px);
  }
}

/* ------------------------------------------------ */
/*  !Desktop Menu  */
/* ------------------------------------------------ */
@media screen and (min-width: 1025px) {
  header nav ul {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 2rem;
    padding: 1rem 1.5rem;
    background-color: var(--color-background-light);
    border-radius: var(--primary-border-radius);
    box-shadow: var(--primary-box-shadow);
  }

  header nav ul a {
    font-size: var(--font-size-small);
  }

  header nav ul a::after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background-color: none;
  }

  header nav ul a.active::after,
  header nav ul a:hover::after {
    background-color: var(--color-accent);
  }
}

/* ------------------------------------------------ */
/*  !Footer Layout  */
/* ------------------------------------------------ */
footer {
  padding: 3.5rem 0;
  background-color: var(--color-background-medium);
}

@media screen and (max-width: 1024px) {
  footer .head {
    margin-bottom: 1rem;
  }

  footer .address {
    margin-bottom: 2rem;
  }
}

footer .links {
  display: grid;
  gap: 2rem;
}

@media screen and (min-width: 1025px) {
  footer {
    padding: 5rem 0;
  }

  footer .head {
    grid-column: 1 / span 12;
    margin-bottom: 2.5rem;
  }

  footer .address {
    grid-column: 1 / span 6;
  }

  footer nav {
    grid-column: 7 / span 6;
  }

  footer .links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1281px) {
  footer .head {
    grid-column: 2 / span 11;
  }

  footer .address {
    grid-column: 2 / span 5;
  }

  footer nav {
    grid-column: 7 / span 5;
  }
}

/* ------------------------------------------------ */
/*  !Footer Address  */
/* ------------------------------------------------ */
footer a {
  color: var(--color-typo);
}

footer a:hover {
  color: var(--color-accent);
}

.head,
.address {
  font-family: "Lora", serif;
  font-size: var(--font-lora-24);
}

.head p:first-child,
.head p:nth-child(2) {
  font-size: var(--font-lora-44);
  line-height: 1.2;
}

.head p:first-child {
  color: var(--color-typo-muted);
  margin: 0;
  line-height: 1;
}

.address p:nth-child(2) {
  margin-bottom: 2rem;
}

.address ul li:nth-child(2),
.address ul li:nth-child(3),
.address ul li:nth-child(5) {
  margin-bottom: 1.5rem;
}

/* Route */
.address ul li:nth-child(3) {
  display: flex;
  align-items: center;
}

.address ul li:nth-child(3)::before {
  content: "";
  display: block;
  width: 19px;
  height: 24px;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -150px -60px;
  margin-right: 0.5rem;
}

@media screen and (min-width: 1025px) {
  .address ul li:nth-child(3)::before {
    width: 24px;
    height: 30px;
    background-position: -150px -10px;
    margin-right: 0.75rem;
  }

  .address ul li {
    padding: 6px 0;
  }
}

/* Link E-Mail */
.address ul li:nth-child(5) a {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
}

/* Footer Links */
footer nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

footer .links {
  margin-bottom: 2rem;
}

footer .links ul:nth-child(1) li:first-child,
footer .links ul:nth-child(2) li:first-child {
  font-family: "Lora", sans-serif;
  font-size: var(--font-lora-36);
  margin-bottom: 0.5rem;
}

footer .links li {
  padding: 4px 0;
}

/* Social-Media */
footer .links ul:last-child {
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 1rem;
}

footer .links ul:last-child a {
  display: block;
  width: 44px;
  height: 44px;
  text-indent: -9999px;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -10px -80px;
}

footer .links ul:last-child li:nth-child(2) a {
  background-position: -80px -80px;
}

/* Legal Zeugs */
footer nav > ul:last-child {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.8;
  font-size: var(--font-size-small);
}

footer nav > ul:last-child li:not(:last-child)::after {
  content: "/";
  color: var(--color-accent);
  margin-inline: 8px;
}

/* ------------------------------------------------ */
/*  !Motive - gerundet  */
/* ------------------------------------------------ */
figure img {
  border-radius: var(--primary-border-radius);
  overflow: hidden;
}

/* ------------------------------------------------ */
/*  !Buttons  */
/* ------------------------------------------------ */
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--color-typo);
  border: 2px solid var(--color-typo);
  border-radius: var(--primary-border-radius);
}

.btn-outline::after {
  content: "";
  display: block;
  width: 16px;
  height: 12px;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -10px -10px;
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: transform 0.15s ease-out;
}

.btn-outline:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------ */
/*  !Padding der Sections im Content  */
/* ------------------------------------------------ */
@media screen and (max-width: 480px) {
  .content-section {
    padding-block: 2.5rem;
  }
}

@media screen and (min-width: 481px) {
  main > section:first-child {
    padding-top: 2.5rem;
  }

  .content-section {
    padding-block: 4rem;
  }
}

@media screen and (min-width: 1025px) {
  .content-section {
    padding-block: 6rem;
  }
}

/* ------------------------------------------------ */
/*  !Hintergruende Sections  */
/* ------------------------------------------------ */
.bg-medium {
  background-color: var(--color-background-medium);
}

.bg-light {
  background-color: var(--color-background-light);
}

/* ------------------------------------------------ */
/*  !Hintergrundmotive  */
/* ------------------------------------------------ */
.with-floral,
.with-light-floral {
  background-repeat: no-repeat;
  background-position: 55% 60%;
}

.with-floral {
  background-image: url("/assets/images/layout/background-floral.svg");
}

.with-light-floral {
  background-image: url("/assets/images/layout/background-medium-floral.svg");
}

.text-image-module.reverse {
  background-position: 45% 65%;
}

/* ------------------------------------------------ */
/*  !Text-Bild Module mit
/*  wechselnden Seiten und Formaten  */
/* ------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .text-image-module figure {
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 1025px) {
  .text-image-module {
    place-items: center;
  }

  /* Reverse */
  .text-image-module.reverse figure {
    order: 2;
  }

  .text-image-module.reverse .text {
    order: 1;
  }
}

/* ------------------------------------------------ */
/*  !Text-Bild Module Formate
/* ------------------------------------------------ */
/* Quadratisches Format */
@media screen and (min-width: 1025px) {
  .square-image figure {
    grid-column: 1 / span 6;
  }

  .square-image .text {
    grid-column: 7 / span 6;
  }

  /* Reverse */
  .reverse.square-image figure {
    grid-column: 7 / span 6;
  }

  .reverse.square-image .text {
    grid-column: 1 / span 6;
  }
}

@media screen and (min-width: 1281px) {
  .square-image figure {
    grid-column: 2 / span 5;
  }

  .square-image .text {
    grid-column: 8 / span 4;
  }

  /* Reverse */
  .reverse.square-image figure {
    grid-column: 7 / span 5;
  }

  .reverse.square-image .text {
    grid-column: 2 / span 4;
  }
}

/* Hochformat */
@media screen and (min-width: 1025px) {
  .portrait-image figure {
    grid-column: 2 / span 5;
  }

  .portrait-image .text {
    grid-column: 7 / span 5;
  }

  /* Reverse */
  .reverse.portrait-image figure {
    grid-column: 7 / span 5;
  }

  .reverse.portrait-image .text {
    grid-column: 2 / span 5;
  }
}

@media screen and (min-width: 1281px) {
  .portrait-image figure {
    grid-column: 3 / span 4;
  }

  .portrait-image .text {
    grid-column: 7 / span 5;
  }

  /* Reverse */
  .reverse.portrait-image figure {
    grid-column: 7 / span 4;
  }

  .reverse.portrait-image .text {
    grid-column: 2 / span 5;
  }
}

/* Querformat */
@media screen and (min-width: 1025px) {
  .landscape-image figure {
    grid-column: 1 / span 5;
  }

  .landscape-image .text {
    grid-column: 7 / span 6;
  }

  /* Reverse */
  .reverse.landscape-image figure {
    grid-column: 8 / span 5;
  }

  .reverse.landscape-image .text {
    grid-column: 1 / span 6;
  }
}

@media screen and (min-width: 1281px) {
  .landscape-image figure {
    grid-column: 2 / span 5;
  }

  .landscape-image .text {
    grid-column: 8 / span 4;
  }

  /* Reverse */
  .reverse.landscape-image figure {
    grid-column: 7 / span 5;
  }

  .reverse.landscape-image .text {
    grid-column: 2 / span 4;
  }

  /* Groom your Dog */
  .landscape-image figure.column-end {
    grid-column-end: 13;
  }
}

/* ------------------------------------------------ */
/*  !Nur Text-Section
/* ------------------------------------------------ */
@media screen and (min-width: 1025px) {
  .only-text {
    grid-column: 2 / span 8;
  }

  main > section:first-child .only-text {
    grid-column: 1 / span 8;
  }
}

@media screen and (min-width: 1281px) {
  .only-text {
    grid-column: 3 / span 7;
  }

  main > section:first-child .only-text {
    grid-column: 2 / span 7;
  }
}

/* ------------------------------------------------ */
/*  !Meistgelesen
/* ------------------------------------------------ */
.meistgelesen,
.meistgelesen-blog {
  margin-bottom: 4rem;
}

/* ------------------------------------------------ */
/*  !Meistgelesen BLOG
/* ------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .meistgelesen-blog {
    display: grid;
    gap: 2rem;
  }

  .meistgelesen-blog .item {
    display: grid;
    gap: 1rem;
    grid-template-columns: 100px 1fr;
  }

  .meistgelesen-blog h3 {
    font-size: var(--font-lora-20);
    font-weight: 500;
    line-height: 1.4;
  }

  .label {
    font-size: var(--font-size-smaller);
    margin-bottom: 0.5rem;
    line-height: 1;
  }

  .meistgelesen.date {
    display: none;
  }
}

@media screen and (min-width: 481px) and (max-width: 1024px) {
  .meistgelesen-blog .item {
    gap: 2rem;
    grid-template-columns: 160px 1fr;
  }
}

@media screen and (min-width: 1025px) {
  .meistgelesen-blog .item:nth-child(1) {
    grid-column: 1 / span 4;
  }

  .meistgelesen-blog .item:nth-child(2) {
    grid-column: 5 / span 4;
  }

  .meistgelesen-blog .item:nth-child(3) {
    grid-column: 9 / span 4;
  }
}

@media screen and (min-width: 1281px) {
  .meistgelesen-blog .item:nth-child(1) {
    grid-column: 2 / span 3;
  }

  .meistgelesen-blog .item:nth-child(2) {
    grid-column: 5 / span 3;
  }

  .meistgelesen-blog .item:nth-child(3) {
    grid-column: 8 / span 3;
  }
}

/* Styling */
.meistgelesen-blog .text a,
.meistgelesen-ratgeber .text a {
  color: var(--color-typo);
}

.meistgelesen-blog .text a:hover,
.meistgelesen-ratgeber .text a:hover,
.meistgelesen-blog .text a:active,
.meistgelesen-ratgeber .text a:active {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
}

@media screen and (min-width: 481px) {
  .meistgelesen-blog h3 {
    font-size: var(--font-lora-28);
    line-height: 1.35;
  }

  .label {
    display: inline-block;
    font-size: var(--font-size-smaller);
    line-height: 1;
    padding: 8px 12px;
    background-color: var(--color-background-dark);
    border-radius: var(--primary-border-radius);
    margin-bottom: 0.5rem;
  }
}

@media screen and (min-width: 1025px) {
  .meistgelesen-blog .item > a {
    display: block;
    margin-bottom: 2rem;
  }
}

/* ------------------------------------------------ */
/*  !Meistgelesen Fellratgeber
/* ------------------------------------------------ */
@media screen and (min-width: 1024px) {
  .meistgelesen-ratgeber > a {
    grid-column: 2 / span 4;
  }

  .meistgelesen-ratgeber > .text {
    grid-column: 6 / span 6;
  }
}

@media screen and (min-width: 1281px) {
  .meistgelesen-ratgeber > a {
    grid-column: 3 / span 3;
  }

  .meistgelesen-ratgeber > .text {
    grid-column: 6 / span 5;
  }
}

/* Styling */
.meistgelesen-ratgeber > a {
  display: block;
  margin-bottom: 2rem;
}

.meistgelesen-ratgeber h3 {
  line-height: 1.35;
  margin-bottom: 1rem;
}

/* ------------------------------------------------ */
/*  !Groomerschule  */
/* ------------------------------------------------ */
/* Liste mit Border */
h2:has(+ ul.with-border) {
  margin-bottom: 2rem;
}

ul.with-border li {
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  margin-bottom: 2rem;
}

ul.with-border li strong {
  font-size: 1.125rem;
}

/* ------------------------------------------------ */
/*  !Groomerschule Galerie  */
/* ------------------------------------------------ */
.groomer-gallery-text {
  margin-bottom: 1rem;
}

.groomer-gallery {
  row-gap: 2rem;
}

@media screen and (min-width: 1025px) {
  .box-checkmark {
    grid-column: span 4;
  }

  .groomer-gallery figure:nth-child(4) {
    grid-column: span 8;
  }

  .groomer-gallery figure:nth-child(5) {
    grid-column: span 4;
  }

  .groomer-gallery picture {
    height: 100%;
  }

  .groomer-gallery img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 1281px) {
  .box-checkmark:first-child {
    grid-column: 2 / span 3;
  }

  .box-checkmark {
    grid-column: span 3;
  }

  .groomer-gallery figure:nth-child(4) {
    grid-column: 2 / span 6;
  }

  .groomer-gallery figure:nth-child(5) {
    grid-column: span 3;
  }
}

/* Styling */
.box-checkmark {
  padding: 1.5rem;
  gap: 1rem;
  background-color: var(--color-background-light);
  display: grid;
  grid-template-columns: 30px 1fr;
}

.box-checkmark::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -100px -10px;
}

.box-checkmark p:first-child {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.box-checkmark p:last-child {
  margin: 0;
}

/* ------------------------------------------------ */
/*  !Groomerschule Preise  */
/* ------------------------------------------------ */
.prices {
  display: grid;
  gap: 2rem;
}

.price-box {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--color-typo-muted);
  border-radius: var(--primary-border-radius);
  overflow: hidden;
}

@media screen and (min-width: 1025px) {
  .price-box {
    grid-column: auto / span 4;
  }
}

@media screen and (min-width: 1601px) {
  .price-box:first-child {
    grid-column: 2 / span 3;
  }

  .price-box {
    grid-column: auto / span 3;
  }
}

/* Styling */
.price-box div:first-child {
  margin-bottom: 3rem;
}

.price-box div:first-child p:first-child {
  font-family: "Lora", serif;
  font-size: 1.125rem;
  color: var(--color-typo-muted);
  margin: 0;
}

.price-box div:first-child p:last-child {
  font-family: "Lora", serif;
  font-size: var(--font-lora-28);
  margin: 0;
  line-height: 1.4;
}

.price-box div:nth-child(2) {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-typo-muted);
}

.price-box div:nth-child(2) p:first-child {
  font-family: "Lora", serif;
  font-size: var(--font-lora-48);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.price-box div:nth-child(2) p:last-child {
  color: var(--color-typo-muted);
  font-size: var(--font-size-small);
  margin-bottom: 0;
}

.price-box ul {
  margin-bottom: 2rem;
}

main .price-box ul li {
  display: flex;
  align-items: flex-start;
  font-size: var(--font-size-small);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

main .price-box ul li::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 4px;
  background-color: var(--color-typo);
  color: var(--color-typo);
  margin: 7px 8px 0 0;
}

.price-box p:last-child {
  margin: auto 0 0 0;
}

@media screen and (min-width: 481px) {
  .price-box {
    padding: 2.5rem;
  }
}

@media screen and (min-width: 1025px) {
  .price-box div:first-child p:last-child,
  .price-box div:nth-child(2) p:first-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* ------------------------------------------------ */
/*  !Breadcrumbs  */
/* ------------------------------------------------ */
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}

main .breadcrumbs ul li {
  padding: 4px 0;
  margin: 0;
  line-height: 1;
  font-size: var(--font-size-smaller);
}

@media screen and (min-width: 1025px) {
  .breadcrumbs ul {
    grid-column: auto / span 12;
  }
}

@media screen and (min-width: 1281px) {
  .breadcrumbs ul {
    grid-column: 2 / span 11;
  }
}

/* Styling */
.bg-light + .breadcrumbs {
  background-color: var(--color-background-light);
}

.bg-medium + .breadcrumbs {
  background-color: var(--color-background-medium);
}

main .breadcrumbs ul a {
  color: var(--color-typo);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs li:not(:last-child):after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 8px;
  margin: 0 0.5rem;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -300px -10px;
}

/* ------------------------------------------------ */
/*  !Tabelle Termine  */
/* ------------------------------------------------ */
@media screen and (min-width: 1025px) {
  .table-row {
    grid-column: 1 / span 12;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (min-width: 1281px) {
  .table-row {
    grid-column: 2 / span 10;
  }
}

/* Styling */
.table-head {
  display: none;
}

main .content-section ul.table-row {
  margin-bottom: 1rem;
}

.table-row {
  background-color: var(--color-background-light);
  padding: 1rem;
  box-shadow: var(--primary-box-shadow);
  border-radius: var(--primary-border-radius);
}

main ul.table-row li {
  font-size: var(--font-size-small);
  padding: 3px 0;
  line-height: 1.15;
  margin: 0;
}

main ul.table-row li::marker {
  content: "";
}

.table-row li:first-child {
  font-weight: 600;
  padding: 3px 0 0.5rem 0;
  font-size: 1rem;
}

.table-row li.open,
.table-row li.closed {
  display: flex;
  align-items: center;
}

.table-row li.open::before,
.table-row li.closed::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border: 2px solid seagreen;
  border-radius: 100%;
  margin-right: 0.5rem;
}

.table-row li.closed::before {
  border-color: firebrick;
}

@media screen and (min-width: 1025px) {
  main .content-section ul.table-row {
    margin-bottom: 0.5rem;
  }

  .table-head {
    display: grid;
    background-color: var(--color-background-light) !important;
    font-weight: 600;
  }

  .table-row {
    background-color: transparent;
    margin-bottom: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--color-background-light);
  }

  .table-row li:first-child,
  main ul.table-row li {
    padding: 0;
  }
}

/* ------------------------------------------------ */
/*  !Forms  */
/* ------------------------------------------------ */
.form-text {
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  gap: 0.5rem;
}

@media screen and (min-width: 1025px) {
  .form-text {
    margin: 0;
    grid-column: 1 / span 5;
  }

  .form-inputs {
    grid-column: 6 / span 7;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media screen and (min-width: 1281px) {
  .form-text {
    margin: 0;
    grid-column: 2 / span 3;
  }

  .form-inputs {
    grid-column: 5 / span 7;
  }
}

/* Styling */
.form-inputs {
  padding: 1rem;
  background-color: var(--color-background-light);
  border-radius: var(--primary-border-radius);
  box-shadow: var(--primary-box-shadow);
}

/* Form Hundesalon */
main > section + div .form-inputs {
  background-color: var(--color-background-medium);
}

.form-inputs p:first-child {
  font-family: "Lora", serif;
  font-size: var(--font-lora-32);
  margin-bottom: 0.5rem;
}

.form-inputs > p:nth-of-type(2) {
  font-family: "Lora", serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-typo-muted);
}

label {
  display: block;
  font-size: var(--font-size-small);
}

label > span {
  display: inline-block;
  margin-left: 2px;
  color: firebrick;
}

input[type="text"] {
  width: min(100%, 420px);
  padding: 0.5rem;
  border: 1px solid var(--color-typo);
  border-radius: var(--primary-border-radius);
  background-color: var(--color-background-light);
}

@media screen and (min-width: 375px) {
  .form-inputs {
    padding: 2rem;
  }
}

@media screen and (min-width: 660px) {
  .form-inputs {
    padding: 4rem;
  }
}

/* ------------------------------------------------ */
/*  !Custom Radio-input  */
/* ------------------------------------------------ */
input[type="radio"],
select {
  -webkit-appearance: none;
  appearance: none;
}

.radio-wrapper {
  display: flex;
  align-items: center;
  padding: 0;
}

input[type="radio"] {
  position: relative;
  border: 2px solid var(--color-typo);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 6px;
  cursor: pointer;
}

input[type="radio"]:checked {
  background-color: var(--color-accent);
}

/* ------------------------------------------------ */
/*  !Custom Select  */
/* ------------------------------------------------ */
select {
  width: min(100%, 420px);
  padding: 0.5rem;
  border: 1px solid var(--color-typo);
  border-radius: var(--primary-border-radius);
  background-color: var(--color-background-light);
}

select option {
  font-size: 1rem;
}

/* ------------------------------------------------ */
/*  !Form Button  */
/* ------------------------------------------------ */
.form-item:last-child {
  padding-top: 1rem;
}

button {
  display: flex;
  align-items: center;
  width: max-content;
  font-weight: 500;
  padding: 0.75rem 1rem;
  color: var(--color-background-light);
  background-color: var(--color-accent);
  border-radius: var(--primary-border-radius);
  border: none;
  cursor: pointer;
}

button::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 12px;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -50px -50px;
  margin-left: 6px;
  transition: transform 0.15s ease-out;
}

button:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------ */
/*  !Blog  */
/* ------------------------------------------------ */
@media screen and (min-width: 1025px) {
  main > section.blog:first-child .only-text {
    grid-column: 3 / span 8;
  }
}

@media screen and (min-width: 1281px) {
  main > section.blog:first-child .only-text {
    grid-column: 4 / span 6;
    max-width: 780px;
  }
}

/* ------------------------------------------------ */
/*  !Floral Blog  */
/* ------------------------------------------------ */
.blog.with-floral {
  background-position: 65% 0;
}

/* ------------------------------------------------ */
/*  !Typo Blog  */
/* ------------------------------------------------ */
.blog h1 {
  font-size: var(--font-lora-40);
  line-height: 1.2;
}

.blog h3 {
  font-size: var(--font-lora-28);
  line-height: 1.35;
  margin-bottom: 1rem;
}

@media screen and (min-width: 481px) {
  .blog h1 {
    font-size: var(--font-lora-52);
  }
}

/* Datum Blog */
.blog h1 + p {
  font-family: "Lora", serif;
  font-weight: 500;
  color: var(--color-typo);
  font-size: var(--font-lora-20);
}

/* Zitat */
blockquote {
  font-family: "Lora", serif;
  font-size: var(--font-lora-24);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

blockquote::before,
blockquote::after {
  content: "»";
  font-weight: 600;
  color: var(--color-accent);
}

blockquote::after {
  content: "«";
}

/* Blog Bild */
.blog figure,
.with-images figure {
  margin-bottom: 2.5rem;
}

.blog figure picture,
main figure picture {
  position: relative;
}

.blog figcaption,
.with-images figcaption {
  font-style: italic;
  padding: 0.75rem 0 0 0.5rem;
}

.copyright {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  padding: 6px;
  border-radius: 2px;
  line-height: 1;
  color: #000;
  background-color: hsla(0, 0%, 100%, 0.2);
}

.copyright:hover {
  background-color: hsla(0, 0%, 100%, 0.4);
}

/* ------------------------------------------------ */
/*  !Blog Startseite  */
/* ------------------------------------------------ */
.blog article {
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 1025px) {
  .blog article {
    margin-bottom: 4rem;
  }
}

main .blog article .date {
  margin-bottom: 0;
}

h1.blog {
  margin-bottom: 2rem;
}

.blog article h3 {
  line-height: 1.3;
}

.blog article a {
  color: var(--color-typo);
}

.blog article a:hover,
.blog article a:active {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 0.5rem;
}

/* ------------------------------------------------ */
/*  !Blog Naechster Artikel  */
/* ------------------------------------------------ */
p:has(+ .next-blog-article),
figure:has(+ .next-blog-article) {
  margin-bottom: 3rem;
}

.next-blog-article {
  border-radius: var(--primary-border-radius);
  padding: 2rem;
  background-color: var(--color-background-light);
}

.next-blog-article p:first-child {
  font-family: "Lora", serif;
  font-size: var(--font-lora-20);
  font-weight: 500;
  color: var(--color-typo-muted);
  line-height: 1;
  margin-bottom: 1rem;
}

.next-blog-article p:last-child {
  margin-bottom: 0;
}

main .next-blog-article p a {
  display: flex;
  align-items: center;
  color: var(--color-typo);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}

.next-blog-article a::after {
  content: "";
  display: block;
  width: 16px;
  height: 12px;
  background-image: url("/assets/images/layout/sprites-gordon.svg");
  background-repeat: no-repeat;
  background-position: -50px -10px;
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: transform 0.15s ease-out;
}

.next-blog-article a:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------ */
/*  !Pagination  */
/* ------------------------------------------------ */
main .content-section ul.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

main .content-section ul.pagination li {
  padding: 0;
  margin: 0;
}

main ul.pagination a,
main ul.pagination li > span {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-typo);
  border-radius: var(--primary-border-radius);
}

main ul.pagination li > span {
  color: var(--color-background-light);
  background-color: var(--color-typo);
}

/* ------------------------------------------------ */
/*  !Text-Sektion mit Bild - z.B. Fellpflegeratgeber */
/* ------------------------------------------------ */
.only-text.with-images figure {
  max-width: 900px;
}

/* ------------------------------------------------ */
/*  !Scroll-Timeline  */
/* ------------------------------------------------ */
/* Anwenden der Animation auf die Bilder */
section figure {
  scale: 0.8;
  opacity: 0;
  animation: fade-in linear forwards;
  animation-timeline: view();
  animation-range: entry;
}

/* Keyframes für die Scroll-Animation */
@keyframes fade-in {
  to {
    scale: 1;
    opacity: 1;
  }
}

/* ------------------------------------------------ */
/*  !Messages und Errors  */
/* ------------------------------------------------ */
main p.error {
  font-size: 14px;
  color: firebrick;
  margin: 0;
}

/* ------------------------------------------------ */
/*  !Messages  */
/* ------------------------------------------------ */
.messages {
  padding: 1rem;
  font-size: var(--font-size-smaller);
  line-height: 1.2;
  color: white;
  background-color: firebrick;
}

.messages.success {
  background-color: seagreen;
}

@media screen and (min-width: 1025px) {
  .messages p {
    grid-column: 1 / span 12;
    text-align: center;
  }
}

/* ------------------------------------------------ */
/*  !Cookie-Banner  */
/* ------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 24px;
  max-width: 100%;
  background-color: var(--color-background-light);
  border-radius: var(--primary-border-radius);
  box-shadow: 0 0 32px hsla(0, 0%, 0%, 0.2);
}

.cookie-banner p:first-child {
  font-family: "Lora", serif;
  font-size: var(--font-lora-28);
  font-weight: 600;
  margin-bottom: 8px;
}

.cookie-banner p {
  font-size: var(--font-size-smaller);
  line-height: 1.4;
  margin-bottom: 24px;
}

.cookie-banner p:nth-child(2) a {
  color: var(--color-typo);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
}

.cookie-banner p:last-child {
  margin: 0;
}

.cookie-banner p:last-child a {
  font-size: 14px;
  border: 1px solid var(--color-typo);
  border-radius: var(--primary-border-radius);
  color: var(--color-typo);
  background-color: var(--color-background-light);
  padding: 8px 12px;
}

.cookie-banner p:last-child a::before {
  content: "👍";
  font-size: 18px;
  margin-right: 4px;
}

@media screen and (min-width: 480px) {
  .cookie-banner {
    inset: auto 24px 24px 24px;
    padding: 32px;
    max-width: 560px;
  }
}

/* ------------------------------------------------ */
/*  !Matomo Div  */
/* ------------------------------------------------ */
#matomo-opt-out {
  padding: 24px;
  border: 1px solid var(--color-typo);
  border-radius: var(--primary-border-radius);
}

#matomo-opt-out label {
  display: inline;
}

#matomo-opt-out input[type="checkbox"] {
  margin-right: 8px;
}

/* ------------------------------------------------ */
/*  !Feedback Groomerschule */
/* ------------------------------------------------ */

.page-grid:has(+ .feedback) {
  margin-bottom: 2rem;
}

.page-grid.feedback {
  row-gap: 2rem;
  align-items: start;
  margin-bottom: 5rem;
}

.feedback__item::before {
  display: block;
  content: "★ ★ ★ ★ ★";
  font-size: 1.25rem;
  color: darkorange;
  margin-bottom: 2rem;
}

.feedback__item {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: hsla(45, 40%, 98%, 0.5);
  border-radius: var(--primary-border-radius);
}

.feedback__item p:first-child {
  font-style: italic;
}

.feedback__item p:last-child {
  font-weight: 600;
  font-size: var(--font-size-small);
  margin-bottom: 0;
  margin-top: auto;
}

.feedback__item p:last-child::before {
  content: "– ";
}

.more-feedback a {
  grid-column: 1 / -1;
  justify-self: center;
}

@media (min-width: 1024px) {
  .feedback__item {
    grid-column: span 6;
  }

  .page-grid.feedback {
    margin-bottom: 7.5rem;
  }
}

@media (min-width: 1280px) {
  .feedback__item {
    grid-column: span 3;
  }
}

/* ------------------------------------------------ */
/*  !Seite Feedback mit allen Kundenstimmen */
/* ------------------------------------------------ */

.page-grid.feedback.feedback--full-height {
  row-gap: 2rem;
  align-items: inherit;
}

.feedback--full-height .feedback__item {
  grid-column: span 4;
  background-color: hsla(40, 29%, 94%, 0.5);
}
