/*
Theme Name: Petc Magic Shine
Theme URI: https://petcmagicshine.online
Author: Petc Magic Shine
Author URI: https://petcmagicshine.online
Description: Vier Tiernotizen für Bregenz. 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: petcmagicshine
Tags: one-page, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #221c24;
  --paper: #f6f1ea;
  --sheet: #fffdf8;
  --plum: #5c2a45;
  --plum-deep: #431f33;
  --line: rgba(34, 28, 36, 0.14);
  --muted: #625860;
  --header-h: 108px;
  --font-display: "Lora", Georgia, serif;
  --font-body: "DM Sans", 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: 17px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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;
}

.ms-wrap {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.ms-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  padding: 12px 0 10px;
}

.ms-brand {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ms-nav ul {
  display: flex;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.ms-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ms-nav a.is-active {
  color: var(--plum);
}

.ms-burger {
  display: none;
  position: absolute;
  right: 16px;
  top: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
}

.ms-burger span,
.ms-burger span::before,
.ms-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.ms-burger span::before,
.ms-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.ms-burger span::before {
  top: -6px;
}

.ms-burger span::after {
  top: 6px;
}

.ms-hero {
  padding: 48px 0 8px;
  text-align: center;
}

.ms-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
}

.ms-hero h1,
.ms-note h2,
.ms-form h2,
.ms-legal h2,
.ms-page h1,
.ms-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.ms-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.ms-lead {
  max-width: 46ch;
  margin: 14px auto 0;
  color: var(--muted);
}

.ms-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.ms-tabs button,
.ms-btn {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
}

.ms-tabs button.is-on,
.ms-btn {
  background: var(--plum);
  border-color: var(--plum);
  color: #fffdf8;
}

.ms-strip {
  width: min(1080px, calc(100% - 32px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ms-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.ms-strip img.is-dim {
  opacity: 0.28;
}

.ms-list {
  padding: 36px 0 10px;
}

.ms-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.ms-time {
  font-family: var(--font-display);
  font-size: 22px;
  padding-top: 4px;
}

.ms-kind {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
}

.ms-row h2 {
  font-size: 28px;
}

.ms-row p,
.ms-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

.ms-empty {
  margin: 12px 0 0;
}

.ms-note {
  padding: 10px 0 56px;
}

.ms-facts {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ms-facts li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.ms-contact {
  background: var(--plum-deep);
  color: #fffdf8;
  padding: 64px 0;
}

.ms-form h2,
.ms-form p,
.ms-form .ms-kicker {
  color: #fffdf8;
}

.ms-form .ms-kicker {
  color: #e7c2d2;
}

.ms-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.ms-field input,
.ms-field select,
.ms-field textarea {
  width: 100%;
  padding: 12px;
  border: 0;
  background: #fffdf8;
  color: var(--ink);
}

.ms-field textarea {
  min-height: 120px;
  resize: vertical;
}

.ms-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
}

.ms-check a,
.ms-mail a {
  color: #e7c2d2;
}

.ms-status,
.ms-mail {
  margin: 12px 0 0;
}

.ms-legal {
  padding: 56px 0;
}

.ms-legal h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.ms-footer {
  border-top: 1px solid var(--line);
  background: var(--sheet);
  padding: 28px 0 16px;
}

.ms-footer-grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.ms-footer h3,
.ms-footer h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
}

.ms-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ms-footer li {
  margin: 6px 0;
}

.ms-footer-bar {
  width: min(1080px, calc(100% - 40px));
  margin: 20px auto 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.ms-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);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 28px rgba(67, 31, 51, 0.14);
}

.ms-cookie p {
  margin: 0;
  max-width: 70ch;
}

.ms-cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ms-btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.ms-page {
  padding: 64px 0 80px;
}

@media (max-width: 800px) {
  .ms-burger {
    display: grid;
    place-items: center;
  }

  .ms-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--sheet);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
  }

  .ms-nav.is-open {
    display: block;
  }

  .ms-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ms-strip {
    grid-template-columns: 1fr 1fr;
  }

  .ms-strip img {
    height: 150px;
  }

  .ms-row,
  .ms-footer-grid {
    grid-template-columns: 1fr;
  }

  .ms-cookie {
    flex-direction: column;
    align-items: stretch;
  }
}
