/*
Theme Name: PetCarre World
Theme URI: https://petcarreworld.online
Author: PetCarre World
Author URI: https://petcarreworld.online
Description: Tagebuch für Hundeausgänge und Katzenbesuche in Innsbruck. Eine Seite, ohne Kasse, mit Impressum und Datenschutzerklärung.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: petcarreworld
Tags: one-page, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #221c18;
  --paper: #f3eee4;
  --sheet: #fffaf3;
  --moss: #24352c;
  --rust: #a33b2b;
  --line: rgba(34, 28, 24, 0.16);
  --muted: #5e564e;
  --header-h: 70px;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pw-wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.pw-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: var(--moss);
  color: #f6f1e8;
}

.pw-header-row {
  height: 100%;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pw-brand {
  color: #f6f1e8;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 26px;
}

.pw-brand span {
  color: #e7b2a6;
  font-style: italic;
}

.pw-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pw-nav a {
  color: #f6f1e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pw-nav a.is-active {
  color: #e7b2a6;
}

.pw-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 241, 232, 0.4);
  background: transparent;
  color: #f6f1e8;
}

.pw-burger span,
.pw-burger span::before,
.pw-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.pw-burger span::before,
.pw-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.pw-burger span::before {
  top: -6px;
}

.pw-burger span::after {
  top: 6px;
}

.pw-hero-photo {
  position: relative;
  background: var(--moss);
}

.pw-hero-photo img {
  width: 100%;
  height: min(52vh, 480px);
  object-fit: cover;
  object-position: center 45%;
}

.pw-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  max-width: 34ch;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.pw-intro {
  padding: 56px 0 12px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: end;
}

.pw-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

.pw-intro h1,
.pw-note h2,
.pw-form h2,
.pw-legal h2,
.pw-page h1,
.pw-entry h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.pw-intro h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.pw-intro p,
.pw-entry p,
.pw-note p {
  color: var(--muted);
}

.pw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pw-tabs button,
.pw-btn {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

.pw-tabs button.is-on,
.pw-btn {
  background: var(--rust);
  border-color: var(--rust);
  color: #fffaf3;
}

.pw-log {
  padding-bottom: 20px;
}

.pw-entry {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 28px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}

.pw-time {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  padding-top: 6px;
}

.pw-kind {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
}

.pw-entry h2 {
  font-size: 34px;
}

.pw-entry img {
  width: 100%;
  height: 300px;
  margin-top: 12px;
  object-fit: cover;
}

.pw-empty {
  margin: 12px 0 0;
}

.pw-note {
  padding: 28px 0 64px;
}

.pw-facts {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pw-facts li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.pw-contact {
  background: var(--moss);
  color: #f6f1e8;
  padding: 64px 0;
}

.pw-form {
  max-width: 640px;
}

.pw-form h2,
.pw-form p,
.pw-form .pw-kicker {
  color: #f6f1e8;
}

.pw-form .pw-kicker {
  color: #e7b2a6;
}

.pw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.pw-field input,
.pw-field select,
.pw-field textarea {
  width: 100%;
  padding: 12px;
  border: 0;
  background: #fffaf3;
  color: var(--ink);
}

.pw-field textarea {
  min-height: 120px;
  resize: vertical;
}

.pw-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 16px;
}

.pw-check a,
.pw-mail a {
  color: #e7b2a6;
}

.pw-status,
.pw-mail {
  margin: 12px 0 0;
}

.pw-legal {
  padding: 56px 0;
}

.pw-legal-block {
  max-width: 760px;
}

.pw-legal h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.pw-footer {
  background: var(--moss);
  color: #f6f1e8;
  padding: 32px 0 16px;
}

.pw-footer a {
  color: #f6f1e8;
}

.pw-footer-grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.pw-footer h3,
.pw-footer h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
}

.pw-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pw-footer li {
  margin: 6px 0;
}

.pw-footer-bar {
  width: min(1080px, calc(100% - 40px));
  margin: 22px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 241, 232, 0.2);
  font-size: 14px;
  color: rgba(246, 241, 232, 0.72);
}

.pw-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 30px rgba(36, 53, 44, 0.16);
}

.pw-cookie p {
  margin: 0;
  max-width: 70ch;
}

.pw-cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pw-btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.pw-page {
  padding: 64px 0 80px;
}

@media (max-width: 800px) {
  .pw-burger {
    display: grid;
    place-items: center;
  }

  .pw-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--moss);
    padding: 12px 20px 20px;
  }

  .pw-nav.is-open {
    display: block;
  }

  .pw-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .pw-intro,
  .pw-entry,
  .pw-footer-grid {
    grid-template-columns: 1fr;
  }

  .pw-tabs {
    justify-content: flex-start;
  }

  .pw-entry img {
    height: 220px;
  }

  .pw-cookie {
    flex-direction: column;
    align-items: stretch;
  }
}
