/* Melissas Pfotenparadies
   Zentrale Stylesheet-Datei
*/

:root {
  --brown: #6d5141;
  --turquoise: #17a9b8;
  --turquoise-dark: #0d7d88;
  --dark: #3e3028;
  --cream: #fffaf5;
  --peach: #f0d5bd;
  --green: #849675;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #302a26;
  background: var(--cream);
  line-height: 1.65;
}

a {
  color: inherit;
}

/* HERO / STARTBILD */
header {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--turquoise-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #2d2521;

  /* Die erste Ebene hält den Text links gut lesbar.
     Das Foto liegt rechts und wird weniger stark abgedunkelt. */
  background-image:
    linear-gradient(
      90deg,
      rgba(13, 125, 136, 0.96) 0%,
      rgba(13, 125, 136, 0.96) 42%,
      rgba(13, 125, 136, 0.28) 50%,
      rgba(13, 125, 136, 0.00) 56%,
      rgba(13, 125, 136, 0.00) 100%
    ),
    url("../images/hero-hund-am-see.jpg");

  background-repeat: no-repeat, no-repeat;
  background-position: center, right center;
  background-size: cover, auto 135%;
}

nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(18px, 5vw, 70px);
  color: var(--white);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-logo-text {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

nav .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav .links a {
  display: inline-block;
  padding: 6px 4px;
  background: transparent;
  color: #000;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.18s ease;
}

nav .links a:hover,
nav .links a:focus-visible {
  background: transparent;
  color: #000;
  opacity: 0.65;
  transform: none;
}

nav .links a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.hero {
  position: relative;
  z-index: 1;
  color: var(--white);
  width: 100%;
  max-width: 780px;
  padding: 140px clamp(22px, 7vw, 90px) 80px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #f4d8c3;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.3rem);
  line-height: 0.98;
  margin: 14px 0 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
}

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 23px;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  font-weight: 800;
}

.btn.alt {
  background: var(--peach);
  margin-left: 7px;
}

/* ALLGEMEIN */
section {
  padding: 80px 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: var(--brown);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.intro {
  max-width: 800px;
  font-size: 1.08rem;
}

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

.centered-intro {
  margin-left: auto;
  margin-right: auto;
}

.about {
  background: #f2e2d4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 35px;
  align-items: start;
}

.profile-spacing {
  margin-top: 30px;
}

.box {
  background: var(--white);
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 30px #0000000c;
}

.section-card-title {
  color: var(--brown);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  padding: 27px;
  border-radius: 23px;
  box-shadow: 0 10px 30px #0000000a;
}

.icon {
  font-size: 2rem;
}

.card h3 {
  color: var(--brown);
  margin: 8px 0;
}

ul {
  padding-left: 20px;
}

li {
  margin: 7px 0;
}

.label {
  display: block;
  font-size: 0.85rem;
  color: #75665e;
  font-weight: 700;
}

.value {
  font-weight: 800;
  color: var(--brown);
}

/* GALERIE */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.gallery img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 554px;
}

/* PREISE */
.price-box {
  background: #f5e9df;
  max-width: 750px;
  margin: 28px auto 0;
  padding: 32px;
  border-radius: 25px;
  text-align: center;
}

/* KONTAKT */
.contact {
  background: var(--turquoise);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  color: var(--white);
}

.phone {
  display: inline-block;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 850;
  text-decoration: none;
  margin: 12px 0;
}

footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 25px 18px;
  font-size: 0.9rem;
}

/* NACH-OBEN-BUTTON */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--turquoise);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--turquoise-dark);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 3px;
}

/* TABLET / HANDY */
@media (max-width: 800px) {
  nav .links {
    display: none;
  }

  .site-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

  .site-logo-text {
    font-size: 1rem;
  }

  header {
    min-height: 690px;
  }

  .hero-bg {
    background-image:
      linear-gradient(
        180deg,
        rgba(13, 125, 136, 0.00) 0%,
        rgba(13, 125, 136, 0.00) 55%,
        rgba(13, 125, 136, 0.72) 100%
      ),
      url("../images/hero-hund-am-see.jpg");
    background-size: cover, cover;
    background-position: center, 56% center;
  }

  .hero {
    align-self: flex-end;
    padding-top: 120px;
    padding-bottom: 58px;
  }

  .cards,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery img,
  .gallery img:first-child {
    height: 260px;
    grid-column: auto;
    grid-row: auto;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 520px) {
  .btn,
  .btn.alt {
    margin-left: 0;
    margin-right: 8px;
  }

  section {
    padding: 64px 18px;
  }

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

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

  .back-to-top {
    transition: none;
  }
}


.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 4px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}


/* BEWERTUNGEN */
.reviews-section {
  background: #fff;
}

.reviews-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.review-summary {
  min-width: 250px;
  display: flex;
  gap: 16px;
  align-items: center;
  background: #f4fbfc;
  border: 1px solid rgba(23, 169, 184, 0.22);
  border-radius: 22px;
  padding: 18px 22px;
}

.review-average {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 900;
  color: var(--turquoise-dark);
}

.review-stars {
  color: #e7a800;
  letter-spacing: 2px;
  font-size: 1.15rem;
  white-space: nowrap;
}

.review-stars-large {
  font-size: 1.4rem;
}

.review-average-text {
  margin-top: 2px;
  color: #675d57;
  font-size: 0.92rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card,
.review-empty {
  background: var(--cream);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.review-author {
  font-weight: 850;
  color: var(--brown);
  font-size: 1.05rem;
}

.review-pet {
  color: #6b625d;
  font-size: 0.9rem;
  margin-top: 2px;
}

.review-text {
  margin: 16px 0;
  white-space: pre-wrap;
  flex: 1;
}

.review-date {
  color: #7a716c;
  font-size: 0.82rem;
}

.review-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6d625c;
}

.review-write {
  margin-top: 34px;
  background: #f4fbfc;
  border: 1px solid rgba(23, 169, 184, 0.22);
  border-radius: 24px;
  overflow: hidden;
}

.review-write summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 850;
  color: var(--turquoise-dark);
  user-select: none;
}

.review-write[open] summary {
  border-bottom: 1px solid rgba(23, 169, 184, 0.18);
}

.review-form-wrap {
  padding: 24px;
}

.review-form-wrap > p {
  margin-top: 0;
  max-width: 800px;
}

.review-form {
  display: grid;
  gap: 18px;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-form label,
.rating-field legend {
  font-weight: 750;
  color: #3b332f;
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  display: block;
  margin-top: 7px;
  border: 1px solid #cfc6c0;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: #302a26;
  background: #fff;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
  outline: 3px solid rgba(23, 169, 184, 0.20);
  border-color: var(--turquoise);
}

.optional {
  font-weight: 500;
  color: #7c736e;
  font-size: 0.86rem;
}

.rating-field {
  border: 0;
  padding: 0;
  margin: 0;
}

.rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-top: 5px;
}

.rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-input label {
  cursor: pointer;
  color: #c9c3bf;
  font-size: 2rem;
  line-height: 1;
  padding: 2px;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: #e7a800;
}

.review-submit {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--turquoise);
  color: #fff;
  padding: 13px 22px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.review-submit:hover {
  background: var(--turquoise-dark);
}

.review-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.review-form-message {
  margin: 0;
  min-height: 1.5em;
  font-weight: 700;
}

.review-form-message.is-success {
  color: #237a36;
}

.review-form-message.is-error {
  color: #b42318;
}

.review-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* MOBILE-OPTIMIERUNG 2026 */
img {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

.menu-toggle {
  display: none;
}

@media (max-width: 800px) {
  nav {
    position: absolute;
    padding: 10px 14px;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  }

  .logo {
    min-width: 0;
    gap: 9px;
  }

  .site-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .site-logo-text {
    color: #111;
    text-shadow: none;
    font-size: 0.98rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .menu-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #000;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav .links {
    position: absolute;
    top: calc(100% + 6px);
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  }

  nav .links.is-open {
    display: grid;
  }

  nav .links a {
    display: block;
    width: 100%;
    padding: 12px 13px;
    color: #000;
    border-radius: 11px;
  }

  nav .links a:hover,
  nav .links a:focus-visible {
    background: #eef9fa;
    opacity: 1;
  }

  header {
    min-height: 720px;
    align-items: flex-end;
  }

  .hero-bg {
    background-color: #222;
    background-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.05) 48%,
        rgba(0, 0, 0, 0.78) 100%
      ),
      url("../images/hero-hund-am-see.jpg");
    background-size: cover, cover;
    background-position: center, 56% center;
  }

  .hero {
    max-width: none;
    padding: 145px 20px 50px;
  }

  .hero h1 {
    max-width: 600px;
    font-size: clamp(2.8rem, 12vw, 4.2rem);
    line-height: 0.98;
  }

  .hero p {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .kicker {
    font-size: 0.82rem;
  }

  section {
    padding: 62px 18px;
  }

  .container,
  .about-grid > *,
  .cards > *,
  .review-form-grid > * {
    min-width: 0;
  }

  .about-grid,
  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .box,
  .card {
    padding: 22px;
    border-radius: 20px;
  }

  .profile-spacing {
    margin-top: 22px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery img,
  .gallery img:first-child {
    width: 100%;
    height: 220px;
    grid-column: auto;
    grid-row: auto;
    border-radius: 16px;
  }

  .price-box {
    margin-top: 18px;
    padding: 25px 20px;
    border-radius: 21px;
  }

  .phone {
    max-width: 100%;
    font-size: clamp(1.45rem, 7vw, 2rem);
    overflow-wrap: anywhere;
  }

  /* Bewertungen: die bisherigen Desktop-Regeln lagen nach dem alten
     Mobile-Block und konnten ihn überschreiben. Das ist hier korrigiert. */
  .reviews-heading {
    display: grid;
    gap: 18px;
  }

  .review-summary {
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .review-card,
  .review-empty {
    padding: 20px;
    border-radius: 18px;
  }

  .review-card {
    min-height: 0;
  }

  .review-form-wrap {
    padding: 18px;
  }

  .review-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .review-form input[type="text"],
  .review-form textarea {
    font-size: 16px;
  }

  .review-write summary {
    padding: 17px 18px;
  }

  .rating-input label {
    font-size: 2.1rem;
  }

  .back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 520px) {
  nav {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .site-logo-text {
    max-width: 210px;
    font-size: 0.9rem;
    white-space: normal;
  }

  nav .links {
    left: 10px;
    right: 10px;
  }

  header {
    min-height: 690px;
  }

  .hero {
    padding: 135px 17px 42px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.35rem);
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn,
  .btn.alt {
    display: block;
    width: 100%;
    margin: 11px 0 0;
    padding: 13px 18px;
    text-align: center;
  }

  section {
    padding: 54px 15px;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .box,
  .card {
    padding: 20px 18px;
  }

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

  .gallery img,
  .gallery img:first-child {
    height: 235px;
  }

  .review-summary {
    align-items: center;
    gap: 13px;
  }

  .review-average {
    font-size: 2rem;
  }

  .review-stars-large {
    font-size: 1.18rem;
  }

  .review-card-top {
    gap: 8px;
  }

  .review-stars {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .review-form-wrap {
    padding: 16px;
  }

  .review-submit {
    width: 100%;
    justify-self: stretch;
  }

  .contact p {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    padding: 22px 14px;
    font-size: 0.84rem;
  }

  .footer-logo {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .site-logo-text {
    max-width: 170px;
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .review-summary {
    padding: 14px;
  }
}


/* KONTAKTFORMULAR 2026 */
.contact {
  background: var(--turquoise);
  color: #fff;
  text-align: left;
}

.contact h2 { color: #fff; }
.contact-container { max-width: 940px; }

.contact-intro {
  text-align: center;
  margin-bottom: 28px;
}

.contact-intro p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  background: rgba(255, 255, 255, 0.97);
  color: #302a26;
  border-radius: 26px;
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label { font-weight: 750; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cfc6c0;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  color: #302a26;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(23, 169, 184, 0.20);
  border-color: var(--turquoise);
}

.contact-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600 !important;
  font-size: 0.92rem;
}

.contact-consent input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.contact-submit {
  justify-self: center;
  border: 0;
  border-radius: 999px;
  background: var(--turquoise-dark);
  color: #fff;
  padding: 14px 24px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.contact-form-message {
  min-height: 1.5em;
  margin: 0;
  text-align: center;
  font-weight: 750;
}

.contact-form-message.is-success { color: #237a36; }
.contact-form-message.is-error { color: #b42318; }

.contact-location {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 0;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 800px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; border-radius: 22px; }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .contact-form { padding: 18px 14px; }

  .contact-submit {
    width: 100%;
    justify-self: stretch;
  }
}
