/*
Theme Name: TasteJoy
Theme URI: https://TasteJoy.online
Author: TasteJoy
Author URI: https://TasteJoy.online
Description: Modernes deutsches Rezept-Theme mit Startseite, Über uns, Leistungen und Kontakt — hell, rund und editorial.
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: tastejoy
Tags: one-page, custom-menu, featured-images, translation-ready, food-and-drink
*/

:root {
  --ink: #1b1410;
  --cocoa: #2a1a14;
  --rose: #e24a3b;
  --rose-deep: #c4372a;
  --butter: #f3c64b;
  --cream: #fff7ef;
  --sand: #f4e6d6;
  --blush: #fde8e1;
  --paper: #fffdf9;
  --muted: #6d6259;
  --line: rgba(27, 20, 16, 0.1);
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 28px;
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tj-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.tj-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--cocoa);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tj-pill-rose {
  background: var(--blush);
  color: var(--rose-deep);
}

.tj-pill-butter {
  background: var(--butter);
  color: var(--cocoa);
}

.tj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tj-btn:hover {
  transform: translateY(-2px);
}

.tj-btn-rose {
  background: var(--rose);
  color: #fff;
}

.tj-btn-rose:hover {
  background: var(--rose-deep);
}

.tj-btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.tj-btn-line:hover {
  background: var(--ink);
  color: var(--cream);
}

.tj-btn-full {
  width: 100%;
}

.tj-textlink {
  display: inline-flex;
  margin-top: 16px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 700;
}

.tj-textlink::after {
  content: " →";
}

.tj-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0 0;
}

.tj-header-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 0 18px;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(27, 20, 16, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.tj-header.is-scrolled .tj-header-inner {
  box-shadow: 0 12px 30px rgba(42, 26, 20, 0.1);
}

.tj-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose);
  flex-shrink: 0;
}

.tj-logo-text {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.tj-logo-text span {
  color: var(--rose);
}

.tj-nav {
  margin-left: auto;
}

.tj-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tj-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.tj-nav a:hover,
.tj-nav a.is-active {
  background: var(--blush);
  color: var(--rose-deep);
}

.tj-call {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
}

.tj-burger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-left: auto;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.tj-burger span {
  display: block;
  width: 14px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  box-shadow: 0 -5px 0 var(--cream), 0 5px 0 var(--cream);
}

.tj-burger.is-open span {
  background: transparent;
  box-shadow: none;
}

main section {
  scroll-margin-top: 96px;
}

.tj-hero {
  padding: 36px 0 0;
}

.tj-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.tj-hero-copy h1 {
  font-size: clamp(48px, 7vw, 84px);
  margin-bottom: 20px;
}

.tj-hero-copy h1 em {
  font-style: italic;
  color: var(--rose);
}

.tj-lead {
  max-width: 500px;
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--muted);
}

.tj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.tj-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.tj-stats div {
  padding: 14px 12px;
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.tj-stats dt {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
}

.tj-stats dd {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.tj-hero-gallery {
  position: relative;
  min-height: 560px;
}

.tj-hero-main {
  width: 86%;
  margin-left: auto;
  height: 560px;
  object-fit: cover;
  border-radius: 180px 36px 120px 36px;
  box-shadow: 0 24px 50px rgba(42, 26, 20, 0.16);
}

.tj-hero-float {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 196px;
  height: 196px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--cream);
  box-shadow: 0 16px 32px rgba(42, 26, 20, 0.18);
}

.tj-hero-badge {
  position: absolute;
  right: 18px;
  top: 28px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--butter);
  color: var(--cocoa);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(243, 198, 75, 0.45);
}

.tj-hero-badge strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.1;
}

.tj-hero-badge span {
  font-size: 11px;
}

.tj-ribbon {
  margin-top: 48px;
  overflow: hidden;
  background: var(--butter);
}

.tj-ribbon-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 16px 0;
  animation: tj-marquee 28s linear infinite;
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  color: var(--cocoa);
}

.tj-ribbon-track span::after {
  content: " ✦ ";
  color: var(--rose);
}

@keyframes tj-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tj-recipes {
  padding: 96px 0 80px;
  background: var(--paper);
}

.tj-center {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.tj-center h2,
.tj-about-copy h2,
.tj-contact-card h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  margin-bottom: 12px;
}

.tj-center p,
.tj-about-copy > p,
.tj-contact-card > p {
  margin: 0;
  color: var(--muted);
}

.tj-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
  margin-bottom: 28px;
  background: var(--blush);
  border-radius: 40px;
  overflow: hidden;
}

.tj-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
}

.tj-feature-copy h3,
.tj-entry h3 {
  font-size: 36px;
  margin: 8px 0 12px;
}

.tj-feature-copy p,
.tj-entry p {
  margin: 0 0 10px;
  color: var(--muted);
}

.tj-meta {
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tj-feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.tj-journal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tj-entry {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.tj-entry img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 22px;
}

.tj-entry h3 {
  font-size: 24px;
}

.tj-about {
  padding: 100px 0;
  background: var(--sand);
}

.tj-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.tj-collage {
  position: relative;
  min-height: 520px;
}

.tj-collage-a {
  width: 78%;
  height: 460px;
  object-fit: cover;
  border-radius: 32px;
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px rgba(42, 26, 20, 0.14);
}

.tj-collage-b {
  position: absolute;
  right: 0;
  top: 36px;
  width: 170px;
  height: 210px;
  object-fit: cover;
  border-radius: 24px;
  transform: rotate(6deg);
  border: 8px solid var(--paper);
}

.tj-collage-c {
  position: absolute;
  left: 18%;
  bottom: 0;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--sand);
}

.tj-about-copy blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--butter);
  background: rgba(255, 253, 249, 0.7);
  border-radius: 0 18px 18px 0;
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.35;
}

.tj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tj-chips li {
  padding: 10px 14px;
  background: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.tj-services {
  padding: 96px 0;
  background: var(--cocoa);
  color: rgba(255, 247, 239, 0.78);
}

.tj-center-light h2 {
  color: var(--cream);
}

.tj-center-light p {
  color: rgba(255, 247, 239, 0.68);
}

.tj-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tj-service {
  position: relative;
  min-height: 320px;
  border-radius: 32px;
  overflow: hidden;
}

.tj-service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tj-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 26, 20, 0.1) 0%, rgba(42, 26, 20, 0.82) 100%);
}

.tj-service div {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.tj-service span {
  font-family: var(--display);
  font-size: 28px;
  color: var(--butter);
}

.tj-service h3 {
  color: #fff;
  font-size: 30px;
  margin: 4px 0 8px;
}

.tj-service p {
  margin: 0 0 12px;
  max-width: 360px;
}

.tj-service a {
  color: var(--butter);
  font-weight: 700;
}

.tj-contact {
  padding: 96px 0;
  background: var(--blush);
}

.tj-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.tj-contact-card {
  background: var(--paper);
  border-radius: 36px;
  padding: 44px 40px;
  box-shadow: 0 24px 50px rgba(42, 26, 20, 0.08);
}

.tj-contact-card label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tj-contact-card input,
.tj-contact-card textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}

.tj-contact-card input:focus,
.tj-contact-card textarea:focus {
  border-color: var(--rose);
}

.tj-contact-card textarea {
  min-height: 130px;
  resize: vertical;
}

.tj-form-note {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--rose);
  font-weight: 700;
}

.tj-facts {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tj-facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--rose);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tj-facts a:hover {
  color: var(--rose-deep);
}

.tj-map {
  overflow: hidden;
  border-radius: 28px;
  border: 8px solid var(--paper);
}

.tj-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.tj-footer {
  background: var(--ink);
  color: rgba(255, 247, 239, 0.62);
  padding: 64px 0 0;
}

.tj-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 247, 239, 0.1);
}

.tj-logo--light .tj-logo-text {
  color: #fff;
}

.tj-footer-brand p {
  max-width: 320px;
  margin: 14px 0 0;
}

.tj-footer h4 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 22px;
  color: #fff;
}

.tj-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tj-footer a:hover {
  color: var(--butter);
}

.tj-footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 247, 239, 0.42);
}

.tj-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  background: var(--cocoa);
  color: #fff;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(120%);
  transition: transform 0.35s ease;
}

.tj-toast.is-visible {
  transform: translateY(0);
}

.tj-page {
  padding: 72px 0 96px;
}

.tj-prose {
  color: var(--muted);
}

.tj-prose h1,
.tj-prose h2,
.tj-prose h3 {
  color: var(--ink);
}

.tj-prose a {
  color: var(--rose);
}

@media (min-width: 981px) {
  .tj-burger {
    display: none;
  }
}

@media (max-width: 980px) {
  .tj-call {
    display: none;
  }

  .tj-burger {
    display: inline-flex;
    order: 2;
  }

  .tj-header-inner {
    position: relative;
    border-radius: 24px;
    justify-content: space-between;
  }

  .tj-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    background: var(--paper);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 16px 32px rgba(42, 26, 20, 0.12);
  }

  .tj-nav.is-open {
    display: block;
  }

  .tj-nav ul {
    flex-direction: column;
  }

  .tj-hero-grid,
  .tj-feature,
  .tj-journal,
  .tj-about-grid,
  .tj-service-grid,
  .tj-contact-grid,
  .tj-footer-top {
    grid-template-columns: 1fr;
  }

  .tj-hero-main {
    width: 100%;
    height: 420px;
    border-radius: 48px 24px 80px 24px;
  }

  .tj-hero-gallery {
    min-height: 420px;
  }

  .tj-feature-copy,
  .tj-contact-card {
    padding: 32px 24px;
  }
}

@media (max-width: 720px) {
  .tj-stats,
  .tj-facts,
  .tj-entry {
    grid-template-columns: 1fr;
  }

  .tj-entry img {
    width: 100%;
    height: 200px;
  }

  .tj-collage-a {
    width: 100%;
    height: 320px;
  }

  .tj-collage-b,
  .tj-collage-c {
    width: 120px;
    height: 120px;
  }

  .tj-hero-float {
    width: 112px;
    height: 112px;
    left: 8px;
    bottom: 16px;
    border-width: 6px;
  }

  .tj-hero-badge {
    width: 92px;
    height: 92px;
    right: 8px;
    top: 12px;
  }

  .tj-hero-badge strong {
    font-size: 14px;
  }

  .tj-footer-bar {
    justify-content: center;
    text-align: center;
  }
}
