/*
Theme Name: Optizoo Consulting & Management
Description: Website für den Zoofachhandel
Version: 1.3.3
Requires PHP: 8.0
Text Domain: optizoo
*/
:root {
  color-scheme: light;
  --ink: #182920;
  --pine: #17392a;
  --muted: #4a5a4e;
  --paper: #faf9f4;
  --lime: #d9eea0;
  --line: #dce1d5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 "DM Sans", "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #759e43; outline-offset: 5px; }
.wrap { width: min(100% - 100px, 1220px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .7rem 1rem; background: white; }
.skip:focus { transform: none; }
.header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { width: 155px; height: auto; mix-blend-mode: multiply; }
nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 42px); }
nav a, .footer a { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { border: 1px solid #a3b4a3; border-radius: 5px; padding: 9px 15px; }
.nav-contact span { margin-left: 5px; }
.hero { min-height: 590px; display: grid; align-items: center; position: relative; isolation: isolate; color: white; background: #142c23; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #112920 4%, #10291feb 29%, #10291f80 55%, #10291f08 88%), url("assets/titelmotiv.webp") center 56% / cover; }
.hero-content { padding-block: 78px 88px; }
.eyebrow { margin: 0 0 17px; color: #3e653f; font-size: .74rem; font-weight: 750; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow, .contact .eyebrow { color: var(--lime); }
h1, h2 { margin: 0; font-family: "DM Serif Text", Georgia, serif; font-weight: 400; line-height: 1.04; letter-spacing: -.047em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 6.5vw, 6.15rem); }
h2 { font-size: clamp(2.55rem, 4.6vw, 4.45rem); }
h3 { margin: 0; font-size: 1.27rem; letter-spacing: -.025em; line-height: 1.25; }
.hero-description { max-width: 470px; margin: 24px 0 32px; color: #e4ede4; font-size: 1.125rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 25px; }
.button { display: inline-flex; align-items: center; gap: 1.2em; width: fit-content; padding: 12px 18px; border-radius: 5px; background: var(--lime); color: var(--ink); font-size: .9rem; font-weight: 750; text-decoration: none; }
.button:hover { background: #eafaaf; }
.hero-link, .text-link { text-decoration-thickness: 1px; text-underline-offset: 5px; font-size: .9rem; font-weight: 650; }
.image-credit { position: absolute; bottom: 14px; right: 20px; padding: 2px 8px; border-radius: 3px; background: #13291fd9; color: #edf4eb; font-size: .7rem; }
.section { padding-block: 92px; }
.section-heading, .profile { display: grid; grid-template-columns: 1.3fr 1fr; gap: 35px; align-items: end; }
.section-heading > p, .profile p:not(.eyebrow), .trade-copy > p:not(.eyebrow) { color: var(--muted); }
.section-heading > p { max-width: 490px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.cards article { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fffefa; }
.cards img { width: 100%; aspect-ratio: 1.9; object-fit: cover; }
.card-body { padding: 23px; }
.card-body p { margin: 10px 0 0; color: var(--muted); }
.card-body a { display: inline-block; margin-top: 14px; color: var(--pine); }
.trade { background: #e9ede1; padding-block: 58px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 7vw, 105px); }
.trade-photo img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 5px; }
.trade-copy p { max-width: 420px; }
.dark { background: var(--pine); color: white; }
.dark:hover { background: #2b523c; }
.profile { align-items: center; }
.profile p:last-child { margin-bottom: 0; }
.contact { background: var(--pine); color: white; padding-block: 76px; }
.contact p:not(.eyebrow) { max-width: 420px; color: #e0e8df; margin-bottom: 0; }
address { display: grid; gap: 9px; padding: 25px; border: 1px solid #769080; border-radius: 6px; font-style: normal; overflow-wrap: anywhere; }
address a { width: fit-content; text-underline-offset: 4px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; padding-block: 24px; font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .cards { gap: 12px; }
  .card-body { padding: 16px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header { align-items: flex-start; flex-direction: column; padding-block: 14px; gap: 10px; }
  .logo { width: 120px; }
  nav { flex-wrap: wrap; gap: 6px 15px; }
  nav a { font-size: .85rem; }
  .nav-contact { padding: 4px 9px; }
  .hero { min-height: 510px; }
  .hero::before { background-position: 65% center; background-image: linear-gradient(90deg, #10291ff2, #10291f99 80%), url("assets/titelmotiv.webp"); }
  .hero-content { padding-block: 60px 75px; }
  h1 { font-size: clamp(2.9rem, 10.8vw, 4.2rem); }
  .section, .trade, .contact { padding-block: 55px; }
  .section-heading, .cards, .split, .profile { grid-template-columns: 1fr; gap: 20px; }
  .cards { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.archive-section { background: #eef0e8; }
.page-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 32px 0 0; }
.page-list li { display: flex; }
.page-list a { flex: 1; display: grid; align-content: start; gap: 5px; padding: 18px 42px 18px 19px; background: #fffefa; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; position: relative; }
.page-list a::after { content: '↗'; position: absolute; right: 16px; top: 17px; color: #3e653f; }
.page-list a:hover { border-color: #729272; background: #f6f9ef; }
.page-list a span { color: var(--muted); font-size: .89rem; }
.intro-archive { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; }
.intro-archive summary { cursor: pointer; font-weight: 650; width: fit-content; }
.intro-archive .original-copy { max-width: 75ch; margin-top: 20px; }
.detail-head { background: var(--pine); color: white; padding-block: clamp(38px, 6vw, 88px); }
.detail-back { display: inline-block; margin-bottom: 18px; color: var(--lime); font-weight: 650; text-underline-offset: 4px; }
.detail-head h1 { font-size: clamp(2.6rem, 5.7vw, 5.5rem); overflow-wrap: anywhere; }
.detail-body { max-width: 810px; padding-block: clamp(36px, 6vw, 72px); }
.original-copy { white-space: pre-line; overflow-wrap: anywhere; }
.original-copy h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); line-height: 1.15; margin: 1.35em 0 .65em; }
.original-copy h2:first-child { margin-top: 0; }
.original-copy img { width: auto; max-height: 420px; object-fit: contain; margin-block: 16px; border-radius: 4px; }
.original-copy ul, .original-copy ol { white-space: normal; padding-left: 25px; }
.original-copy li { margin-block: 5px; }
.original-copy a { text-underline-offset: 4px; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; white-space: normal; margin-block: 18px; }
.partners > div { padding: 16px; border: 1px solid var(--line); border-radius: 5px; background: #fffefa; }
.partners img { max-height: 95px; margin: 0 0 12px; }
@media (max-width: 900px) { .page-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .page-list, .partners { grid-template-columns: 1fr; } }

.legal-copy h2 { font-size: clamp(1.65rem, 3.3vw, 2.45rem); margin-block: 1.15em .45em; }
.legal-copy p { margin-block: 0 1em; overflow-wrap: anywhere; }
.legal-copy a { text-underline-offset: 4px; }

.dealer-form { margin-top: 42px; padding: clamp(20px, 4vw, 38px); border: 1px solid #769080; border-radius: 6px; }
.dealer-form h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.contact .dealer-form p { max-width: 68ch; margin: 10px 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 23px; }
.form-grid label { display: grid; align-content: start; gap: 6px; font-weight: 650; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 1px solid #a3b4a3; border-radius: 4px; padding: 9px 10px; background: #fffefa; color: var(--ink); font: inherit; font-weight: 400; }
.form-grid textarea { resize: vertical; }
.form-grid :is(input, select, textarea):focus-visible, .dealer-form button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.form-grid small { color: #e0e8df; font-weight: 400; }
.form-wide { grid-column: 1 / -1; }
.dealer-form button { border: 0; cursor: pointer; font-family: inherit; }
.dealer-form [role="status"]:empty { display: none; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

.privacy-confirmation { display: flex; align-items: flex-start; gap: 10px; margin-block: 20px 16px; }
.privacy-confirmation input { flex: none; width: 18px; height: 18px; margin: .3em 0 0; accent-color: var(--lime); }
.privacy-confirmation a { display: block; width: fit-content; text-underline-offset: 4px; }

.hero h1 { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .hero h1 { font-size: clamp(1.75rem, 7.5vw, 3.2rem); }
}
