/*
Theme Name: Schlepperfreunde Schwitten
Theme URI: https://schlepperfreunde-schwitten.de
Author: Schlepperfreunde Schwitten
Description: Ein eigenständiges WordPress-Theme für historische Schlepper, Vereinsnachrichten und Veranstaltungen.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: schlepperfreunde
*/

:root {
  --forest: #13291f;
  --forest-soft: #1e3a2d;
  --moss: #75875f;
  --brass: #d7a83e;
  --cream: #f3efdf;
  --paper: #faf8f1;
  --ink: #18231d;
  --line: rgba(19, 41, 31, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.announcement {
  min-height: 36px;
  padding: 8px clamp(20px, 5vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a1912;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.announcement a { color: var(--brass); }

.site-header {
  position: relative;
  z-index: 10;
  min-height: 92px;
  padding: 0 clamp(20px, 5vw, 84px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand-mark {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid rgba(19,41,31,.25); border-radius: 50%; color: var(--forest);
}
.brand-initials { font-family: Georgia, serif; font-size: 17px; font-weight: 700; letter-spacing: -.04em; }
.brand strong { display: block; font-family: Georgia, serif; font-size: 18px; line-height: 1; }
.brand small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.desktop-nav { display: flex; gap: clamp(20px, 3vw, 46px); font-size: 13px; font-weight: 700; }
.desktop-nav a { padding: 36px 0; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 26px; height: 2px; background: var(--brass); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.header-cta svg, .text-link svg, .button svg { width: 19px; }
.mobile-menu { display: none; }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  background: var(--forest);
  color: white;
}
.hero-copy { padding: clamp(70px, 8vw, 124px) clamp(28px, 6vw, 100px) 58px; display: flex; flex-direction: column; }
.eyebrow, .section-kicker { margin: 0 0 25px; color: var(--brass); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.hero h1, .section h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
.hero h1 { max-width: 700px; font-size: clamp(59px, 6.5vw, 105px); line-height: .9; }
.hero h1 em, .section h2 em { color: var(--brass); font-weight: 400; }
.hero-lead { max-width: 570px; margin: 33px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.75; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 35px; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.button-primary { background: var(--brass); color: #172117; transition: background .2s, transform .2s; }
.button-primary:hover { background: #e2b951; transform: translateY(-2px); }
.text-link { width: max-content; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.text-link.dark { border-color: var(--line); }
.hero-stats { margin-top: auto; padding-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div { display: flex; align-items: center; gap: 12px; }
.hero-stats strong { font-family: Georgia, serif; font-size: 31px; color: var(--brass); }
.hero-stats span { color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual { min-height: 700px; position: relative; overflow: hidden; background: #324633; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.03); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,41,31,.32), transparent 42%), linear-gradient(0deg, rgba(7,18,12,.43), transparent 45%); }
.hero-caption { position: absolute; z-index: 2; right: 40px; bottom: 40px; width: 190px; padding: 21px; background: rgba(243,239,223,.94); color: var(--ink); }
.hero-caption span, .hero-caption small { display: block; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.hero-caption strong { display: block; margin: 8px 0; font-family: Georgia, serif; font-size: 21px; }
.year-stamp { position: absolute; z-index: 2; top: 38px; right: 38px; width: 137px; height: 137px; padding: 27px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.56); border-radius: 50%; text-align: center; text-transform: uppercase; transform: rotate(6deg); }
.year-stamp strong { margin: 4px 0; font-family: Georgia, serif; font-size: 21px; color: var(--brass); }
.year-stamp span { font-size: 8px; letter-spacing: .15em; }

.section { padding: clamp(90px, 10vw, 150px) clamp(22px, 7vw, 116px); }
.section-kicker { color: #6f795f; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: 10vw; align-items: end; }
.section h2 { font-size: clamp(47px, 5.3vw, 82px); line-height: 1; }
.intro-copy p { margin: 0 0 30px; color: #566159; font-size: 17px; line-height: 1.8; }
.values-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.values-grid article { padding: 34px 7vw 8px 0; border-right: 1px solid var(--line); }
.values-grid article + article { padding-left: 3vw; }
.values-grid article:last-child { border-right: 0; }
.values-grid span { color: #8d967e; font-family: Georgia, serif; font-style: italic; font-size: 13px; }
.values-grid h3 { margin: 25px 0 12px; font-family: Georgia, serif; font-size: 26px; font-weight: 400; }
.values-grid p { color: #677168; font-size: 13px; line-height: 1.7; }

.fleet { background: #0e2118; color: white; }
.section-heading { margin-bottom: 55px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading > p { max-width: 370px; margin: 0; color: rgba(255,255,255,.53); font-size: 15px; line-height: 1.7; }
.section-kicker.light { color: var(--brass); }
.tractor-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 380px; gap: 12px; }
.tractor-card { position: relative; overflow: hidden; background: var(--forest-soft); color: white; }
.tractor-card-featured { grid-column: span 2; }
.tractor-card:last-child { grid-column: span 2; }
.tractor-card > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .55s ease, filter .45s ease; }
.tractor-card:hover > img { transform: scale(1.04); filter: saturate(1); }
.image-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,16,10,.87), transparent 67%); }
.tractor-number { position: absolute; top: 22px; left: 23px; color: rgba(255,255,255,.7); font: italic 13px Georgia, serif; }
.status-badge { position: absolute; top: 20px; right: 20px; padding: 8px 10px; background: var(--brass); color: #142018; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tractor-info { position: absolute; left: 24px; right: 60px; bottom: 24px; }
.tractor-info small, .tractor-info em { display: block; font-style: normal; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.tractor-info small { margin-bottom: 8px; color: var(--brass); }
.tractor-info strong { display: block; margin-bottom: 9px; font-family: Georgia, serif; font-size: clamp(20px, 2vw, 29px); font-weight: 400; }
.tractor-info em { color: rgba(255,255,255,.6); }
.card-arrow { position: absolute; right: 20px; bottom: 23px; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; transition: background .2s, color .2s; }
.card-arrow svg { width: 16px; }
.tractor-card:hover .card-arrow { background: var(--brass); color: #13291f; border-color: var(--brass); }

.project { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 9vw, 140px); align-items: center; background: var(--cream); }
.project-image { min-height: 680px; position: relative; overflow: hidden; background: #d7d1bd; }
.project-image img { width: 100%; height: 680px; object-fit: cover; filter: sepia(.03) saturate(.84); }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,32,22,.26), transparent 48%); }
.project-label { position: absolute; z-index: 2; top: 24px; left: 24px; padding: 10px 13px; background: var(--brass); color: var(--forest); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-year { position: absolute; z-index: 2; right: -10px; bottom: -20px; color: rgba(255,255,255,.75); font: italic clamp(80px, 11vw, 160px)/1 Georgia, serif; letter-spacing: -.07em; }
.project-lead { max-width: 570px; margin: 32px 0 38px; color: #566159; font-size: 17px; line-height: 1.8; }
.spec-list { max-width: 620px; margin: 0 0 42px; border-top: 1px solid var(--line); }
.spec-list div { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.spec-list dt { color: #7b847a; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.spec-list dd { margin: 0; font-family: Georgia, serif; font-size: 17px; }
.button-dark { background: var(--forest); color: white; }

.news { background: var(--paper); }
.news-header { margin-bottom: 58px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.news-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 5vw, 72px); }
.news-feature { min-height: 570px; position: relative; overflow: hidden; background: var(--forest); color: white; }
.news-feature > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68); transition: transform .55s ease; }
.news-feature:hover > img { transform: scale(1.035); }
.news-overlay { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 32px; }
.news-overlay small { color: var(--brass); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.news-overlay strong { max-width: 560px; display: block; margin: 13px 0 23px; font-family: Georgia, serif; font-size: clamp(30px, 3vw, 46px); font-weight: 400; line-height: 1.08; }
.news-overlay em { display: inline-flex; align-items: center; gap: 13px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-overlay svg { width: 18px; }
.news-list { border-top: 1px solid var(--line); }
.news-list > a { min-height: 185px; display: grid; grid-template-columns: 70px 1fr 42px; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.news-date { display: flex; align-items: center; gap: 8px; }
.news-date strong { font: 35px Georgia, serif; }
.news-date small { color: #7a857d; font-size: 8px; font-weight: 800; line-height: 1.35; letter-spacing: .09em; }
.news-title small { display: block; margin-bottom: 9px; color: #849077; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.news-title strong { display: block; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.news-title em { display: block; margin-top: 8px; color: #778078; font-size: 12px; font-style: normal; }
.round-arrow { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s; }
.round-arrow svg { width: 16px; }
.news-list > a:hover .round-arrow { background: var(--forest); color: white; }

.contact { padding: clamp(95px, 11vw, 170px) 22px; text-align: center; background: var(--forest); color: white; }
.contact h2 { max-width: 1050px; margin: 0 auto; font-family: Georgia, serif; font-size: clamp(45px, 6vw, 87px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.contact h2 em { color: var(--brass); font-weight: 400; }
.contact > p:not(.section-kicker) { max-width: 590px; margin: 30px auto 34px; color: rgba(255,255,255,.64); font-size: 16px; line-height: 1.7; }
.contact .button { margin: 0 auto; width: max-content; }

.site-footer { padding: 46px clamp(22px, 7vw, 116px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: #09150f; color: white; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.brand-mark.inverse { color: var(--cream); border-color: rgba(255,255,255,.25); }
.footer-brand strong { display: block; font-family: Georgia, serif; font-size: 18px; }
.footer-brand small { display: block; margin-top: 4px; color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: .25em; text-transform: uppercase; }
.site-footer > p { margin: 0; color: rgba(255,255,255,.44); font: italic 13px Georgia, serif; }
.site-footer nav { justify-self: end; display: flex; gap: 25px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .footer-main-nav { justify-self: center; color: rgba(255,255,255,.76); }

.page-hero { padding: clamp(90px, 10vw, 150px) clamp(22px, 8vw, 130px); background: var(--forest); color: white; }
.page-hero h1 { max-width: 1050px; margin: 0; font: 400 clamp(58px, 8vw, 126px)/.93 Georgia, serif; letter-spacing: -.055em; }
.page-hero h1 em { color: var(--brass); font-weight: 400; }
.page-hero > p:last-child:not(.section-kicker) { max-width: 680px; margin: 34px 0 0; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.75; }
.subpage-section { padding: clamp(80px, 9vw, 140px) clamp(22px, 7vw, 116px); }
.subpage-section h2 { margin: 0; font: 400 clamp(42px, 5vw, 76px)/1 Georgia, serif; letter-spacing: -.045em; }
.subpage-section h2 em { color: var(--brass); font-weight: 400; }

.full-tractor-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 430px; gap: 14px; }
.full-tractor-grid .tractor-card:last-child { grid-column: auto; }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.archive-card { min-height: 330px; padding: clamp(30px, 4vw, 58px); display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.archive-card:hover { background: var(--forest); color: white; }
.archive-card-meta { color: #778373; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.archive-card h2 { max-width: 630px; margin: 28px 0 16px; font: 400 clamp(28px, 3vw, 43px)/1.05 Georgia, serif; }
.archive-card p { max-width: 560px; margin: 0; color: #667168; font-size: 14px; line-height: 1.75; }
.archive-card:hover p, .archive-card:hover .archive-card-meta { color: rgba(255,255,255,.62); }
.archive-card-link { margin-top: auto; padding-top: 30px; display: inline-flex; align-items: center; gap: 12px; color: var(--brass); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.archive-card-link svg { width: 17px; }

.vehicle-hero { min-height: 690px; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--forest); color: white; }
.vehicle-hero-image { min-height: 690px; position: relative; overflow: hidden; }
.vehicle-hero-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); }
.vehicle-hero-copy { padding: clamp(55px, 8vw, 120px) clamp(28px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.vehicle-hero-copy h1 { margin: 0; font: 400 clamp(54px, 7vw, 106px)/.92 Georgia, serif; letter-spacing: -.055em; }
.vehicle-hero-copy > p:not(.section-kicker) { max-width: 580px; margin: 30px 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.8; }
.vehicle-year { color: var(--brass); font: italic 24px Georgia, serif; }
.vehicle-details { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 10vw, 150px); }
.detail-specs { margin: 0; border-top: 1px solid var(--line); }
.detail-specs div { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.detail-specs dt { color: #778178; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-specs dd { margin: 0; text-align: right; font: 18px Georgia, serif; }
.vehicle-gallery { overflow: hidden; background: var(--forest); color: white; }
.vehicle-gallery-heading { margin-bottom: clamp(35px, 5vw, 70px); display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.vehicle-gallery-heading h2 { font-size: clamp(42px, 5vw, 72px); }
.vehicle-gallery-heading > div:first-child > p:last-child { max-width: 650px; margin: 22px 0 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.75; }
.vehicle-gallery-controls { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.vehicle-gallery-controls button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; font: 24px Georgia, serif; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.vehicle-gallery-controls button:hover:not(:disabled) { border-color: var(--brass); color: var(--brass); }
.vehicle-gallery-controls button:disabled { opacity: .28; cursor: default; }
.vehicle-gallery-controls span { min-width: 58px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-align: center; }
.vehicle-gallery-track { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-color: var(--brass) rgba(255,255,255,.1); scrollbar-width: thin; overscroll-behavior-inline: contain; }
.vehicle-gallery-track::-webkit-scrollbar { height: 7px; }
.vehicle-gallery-track::-webkit-scrollbar-track { background: rgba(255,255,255,.1); }
.vehicle-gallery-track::-webkit-scrollbar-thumb { background: var(--brass); }
.vehicle-gallery-link { flex: 0 0 min(820px, 72vw); height: clamp(430px, 52vw, 660px); position: relative; overflow: hidden; scroll-snap-align: start; background: #0b1b13; }
.vehicle-gallery-link:only-child { flex-basis: 100%; }
.vehicle-gallery-link img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; transition: transform .45s ease, filter .45s ease; }
.vehicle-gallery-link::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.vehicle-gallery-link span { z-index: 1; position: absolute; right: 22px; bottom: 20px; color: white; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.vehicle-gallery-link:hover img { transform: scale(1.035); filter: brightness(.82); }
.vehicle-gallery-dialog { width: min(1180px, calc(100vw - 40px)); max-width: none; height: min(820px, calc(100vh - 40px)); padding: 0; border: 0; background: #08140e; color: white; overflow: hidden; }
.vehicle-gallery-dialog::backdrop { background: rgba(5,13,9,.92); }
.vehicle-gallery-dialog[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.vehicle-gallery-dialog figure { width: 100%; height: 100%; min-width: 0; margin: 0; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; overflow: hidden; }
.vehicle-gallery-dialog figure img { max-width: 100%; max-height: calc(100vh - 105px); object-fit: contain; }
.vehicle-gallery-dialog figcaption { width: 100%; min-height: 48px; padding: 15px; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.vehicle-gallery-dialog button { border: 0; background: transparent; color: white; cursor: pointer; font: 30px Georgia, serif; }
.vehicle-gallery-dialog button:hover { color: var(--brass); }
.vehicle-gallery-dialog .gallery-close { z-index: 2; position: absolute; top: 13px; right: 18px; width: 48px; height: 48px; font-size: 40px; }
.vehicle-gallery-dialog .gallery-previous, .vehicle-gallery-dialog .gallery-next { width: 100%; height: 100%; }
.source-note { padding: 42px clamp(22px, 7vw, 116px); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--cream); }
.source-note p { max-width: 720px; margin: 0; color: #687168; font-size: 12px; line-height: 1.7; }
.source-note a { display: inline-flex; align-items: center; gap: 12px; color: var(--forest); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.source-note svg, .next-item svg { width: 19px; }
.next-item { padding: clamp(65px, 8vw, 115px) clamp(22px, 7vw, 116px); display: grid; grid-template-columns: 1fr auto; align-items: center; background: #0d2017; color: white; }
.next-item small { grid-column: 1; margin-bottom: 10px; color: var(--brass); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.next-item strong { grid-column: 1; font: 400 clamp(34px, 5vw, 72px)/1 Georgia, serif; }
.next-item > svg { grid-column: 2; grid-row: 1 / 3; width: 34px; }

.article-page { max-width: 1040px; margin: 0 auto; padding: clamp(90px, 10vw, 150px) 22px; }
.article-page header h1 { margin: 0; font: 400 clamp(50px, 7vw, 94px)/.98 Georgia, serif; letter-spacing: -.05em; }
.article-lead { max-width: 760px; margin: 30px 0 0; color: #697269; font-size: 19px; line-height: 1.75; }
.article-image { width: 100%; max-height: 650px; margin: 60px 0; object-fit: cover; }
.article-copy { max-width: 750px; margin: 60px auto 0; }
.article-copy p { margin: 0 0 25px; color: #445047; font: 20px/1.85 Georgia, serif; }

.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 10vw, 150px); }
.prose { max-width: 720px; }
.prose p { margin: 0 0 25px; color: #59645c; font-size: 17px; line-height: 1.85; }
.prose .button { margin-top: 18px; }
.values-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(22px, 7vw, 116px) clamp(80px, 9vw, 140px); }
.values-strip article { padding: 42px 4vw 42px 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.values-strip article + article { padding-left: 4vw; }
.values-strip article:last-child { border-right: 0; }
.values-strip span { color: var(--brass); font: italic 14px Georgia, serif; }
.values-strip h2 { margin: 28px 0 14px; font: 400 31px Georgia, serif; }
.values-strip p { margin: 0; color: #707970; font-size: 13px; line-height: 1.7; }

.event-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.empty-event { padding: clamp(38px, 6vw, 82px); background: var(--cream); }
.empty-event > span { color: #7d8878; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.empty-event h2 { margin: 28px 0; }
.empty-event p, .event-layout aside p:not(.section-kicker) { color: #667168; font-size: 15px; line-height: 1.8; }
.empty-event .button { margin-top: 20px; }
.event-layout aside { padding-top: 30px; }
.event-layout aside h2 { font-size: 42px; }
.event-layout aside .text-link { margin-top: 25px; }

.guestbook-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.guestbook-list { border-top: 1px solid var(--line); }
.guestbook-list article { min-height: 150px; padding: 28px 0; display: grid; grid-template-columns: 48px 1fr 32px; gap: 23px; border-bottom: 1px solid var(--line); }
.guest-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font: 20px Georgia, serif; }
.guest-meta { margin: 2px 0 12px !important; color: #7a8479 !important; font-size: 10px !important; letter-spacing: .04em; text-transform: uppercase; }
.guest-meta strong { color: var(--ink); }
.guestbook-list article p { margin: 0; color: #556057; font-size: 14px; line-height: 1.75; }
.guest-index { color: #a0a79d; font: italic 12px Georgia, serif; }
.guestbook-cta { position: sticky; top: 30px; padding: clamp(35px, 5vw, 65px); background: var(--forest); color: white; }
.guestbook-cta h2 { font-size: clamp(38px, 4vw, 58px); }
.guestbook-cta > p:not(.section-kicker) { margin: 25px 0 30px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.75; }

.forum-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.forum-groups { display: grid; gap: 18px; }
.forum-groups article { border: 1px solid var(--line); background: white; }
.forum-groups header { padding: 27px 30px; display: flex; align-items: center; gap: 20px; background: var(--forest); color: white; }
.forum-groups header span { color: var(--brass); font: italic 12px Georgia, serif; }
.forum-groups header h2 { font-size: 28px; }
.forum-groups ul { margin: 0; padding: 0; list-style: none; }
.forum-groups li { padding: 19px 30px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.forum-groups li:last-child { border-bottom: 0; }
.forum-groups li span { font-family: Georgia, serif; font-size: 18px; }
.forum-groups li small { color: #899187; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.forum-note { padding: 40px; background: var(--cream); }
.forum-note h2 { font-size: 38px; }
.forum-note p { margin: 25px 0 30px; color: #667168; font-size: 14px; line-height: 1.75; }

.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-grid > a { min-height: 390px; padding: clamp(30px, 4vw, 55px); display: flex; flex-direction: column; background: var(--cream); transition: background .2s, color .2s; }
.partner-grid > a:hover { background: var(--forest); color: white; }
.partner-grid span { color: var(--brass); font: italic 14px Georgia, serif; }
.partner-grid h2 { margin: 70px 0 20px; font-size: clamp(28px, 3vw, 40px); }
.partner-grid p { margin: 0; color: #687169; font-size: 14px; line-height: 1.75; }
.partner-grid > a:hover p { color: rgba(255,255,255,.62); }
.partner-grid em { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; color: var(--brass); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.partner-grid svg { width: 18px; }

.contact-page { min-height: 450px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-mail { display: block; margin: 20px 0; font: 400 clamp(27px, 4vw, 58px)/1.1 Georgia, serif; word-break: break-word; }
.contact-page p:not(.section-kicker) { color: #6d766e; font-size: 14px; }

.legal-page { max-width: 980px; margin: 0 auto; }
.legal-page section { padding: 0 0 45px; margin-bottom: 45px; border-bottom: 1px solid var(--line); }
.legal-page h2 { margin-bottom: 22px; font-size: clamp(28px, 3vw, 40px); }
.legal-page p, .legal-page address { color: #4f5b52; font-size: 15px; font-style: normal; line-height: 1.85; }
.legal-page a { color: #385a42; text-decoration: underline; text-underline-offset: 4px; }
.legal-date { color: #879086 !important; font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; }
.not-found { min-height: 60vh; padding: 120px 22px; display: grid; place-items: center; align-content: center; gap: 35px; text-align: center; }
.not-found h1 { margin: 0; font: 400 clamp(50px, 7vw, 90px) Georgia, serif; }

/* Tablet: eigene, kompakte Gestaltung von 701 bis 1150 Pixel. */
@media (min-width: 701px) and (max-width: 1150px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; justify-self: end; position: relative; }
  .mobile-menu summary { width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 26px; height: 2px; background: var(--forest); }
  .mobile-menu nav { position: absolute; right: 0; top: 58px; width: min(280px, calc(100vw - 48px)); padding: 12px; display: grid; background: var(--cream); box-shadow: 0 15px 45px rgba(0,0,0,.16); }
  .mobile-menu nav a { padding: 13px; border-bottom: 1px solid var(--line); font-weight: 700; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 520px; padding: 70px 48px 42px; }
  .hero h1 { font-size: clamp(58px, 9vw, 82px); }
  .hero-lead { margin-top: 26px; font-size: 16px; }
  .hero-actions { margin-top: 30px; }
  .hero-stats { padding-top: 38px; }
  .hero-visual { min-height: 480px; }
  .section, .subpage-section { padding: 88px 48px; }
  .section h2 { font-size: clamp(50px, 7vw, 68px); }
  .intro-grid { gap: 7vw; }
  .values-grid { margin-top: 60px; }
  .tractor-grid { grid-template-columns: repeat(2, 1fr); }
  .tractor-card-featured, .tractor-card:last-child { grid-column: span 1; }
  .full-tractor-grid { grid-template-columns: repeat(2, 1fr); }
  .project { gap: 60px; }
  .project-image, .project-image img { min-height: 540px; height: 540px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-feature { min-height: 520px; }
  .site-footer { padding: 42px 48px; grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer nav, .site-footer .footer-main-nav { justify-self: end; flex-wrap: wrap; justify-content: flex-end; }
  .page-hero { padding: 100px 48px; }
  .page-hero h1 { font-size: clamp(66px, 10vw, 98px); }
  .vehicle-hero { grid-template-columns: 1fr; }
  .vehicle-hero-image { min-height: 500px; }
  .vehicle-hero-copy { min-height: auto; padding: 76px 48px; }
  .vehicle-hero-copy h1 { font-size: clamp(64px, 10vw, 92px); }
  .vehicle-details { gap: 60px; }
  .vehicle-gallery-link { flex-basis: 82%; height: clamp(430px, 58vw, 570px); }
  .source-note { padding-right: 48px; padding-left: 48px; }
  .next-item { padding-right: 48px; padding-left: 48px; }
  .guestbook-layout, .forum-layout { grid-template-columns: 1fr; }
  .guestbook-cta { position: static; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet quer: Bild und Text bleiben nebeneinander, aber deutlich kleiner als am Rechner. */
@media (min-width: 900px) and (max-width: 1150px) {
  .hero { min-height: 600px; grid-template-columns: minmax(0, 49%) minmax(0, 51%); }
  .hero-copy { min-height: 600px; padding: 64px 38px 38px; }
  .hero h1 { font-size: clamp(50px, 6.2vw, 70px); }
  .hero-lead { font-size: 15px; line-height: 1.65; }
  .hero-stats { gap: 12px; padding-top: 32px; }
  .hero-stats div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .hero-stats strong { font-size: 27px; }
  .hero-visual { min-height: 600px; }
  .hero-caption { right: 26px; bottom: 26px; }
}

/* Handy: eigene Abstände, Schriftgrößen und einspaltige Anordnung bis 700 Pixel. */
@media (max-width: 700px) {
  .announcement { min-height: 32px; padding: 7px 18px; justify-content: center; font-size: 9px; text-align: center; }
  .announcement a { display: none; }
  .site-header { min-height: 72px; padding: 0 18px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; justify-self: end; position: relative; }
  .mobile-menu summary { width: 42px; height: 42px; display: grid; align-content: center; justify-content: end; gap: 5px; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 25px; height: 2px; background: var(--forest); }
  .mobile-menu nav { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 36px)); max-height: calc(100vh - 100px); padding: 10px; display: grid; overflow-y: auto; background: var(--cream); box-shadow: 0 15px 45px rgba(0,0,0,.18); }
  .mobile-menu nav a { padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
  .brand { min-width: 0; gap: 10px; }
  .brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
  .brand strong { font-size: 15px; }
  .brand small { margin-top: 3px; font-size: 8px; letter-spacing: .21em; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; padding: 58px 18px 38px; }
  .eyebrow, .section-kicker { margin-bottom: 19px; font-size: 9px; letter-spacing: .16em; }
  .hero h1 { font-size: clamp(43px, 13.5vw, 61px); line-height: .93; }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-top: 30px; align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-stats { margin-top: 48px; padding-top: 26px; gap: 8px; }
  .hero-stats div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats span { font-size: 8px; }
  .hero-visual { min-height: 360px; }
  .hero-caption { right: 14px; bottom: 14px; width: 160px; padding: 17px; }
  .year-stamp { top: 16px; right: 16px; width: 96px; height: 96px; padding: 18px 10px; }
  .year-stamp strong { font-size: 17px; }
  .section, .subpage-section { padding: 68px 18px; }
  .section h2, .subpage-section h2 { font-size: clamp(39px, 11.5vw, 54px); }
  .intro-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy p, .project-lead, .prose p { font-size: 15px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article, .values-grid article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { margin-bottom: 38px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .tractor-grid { grid-template-columns: 1fr; grid-auto-rows: 330px; }
  .tractor-card-featured, .tractor-card:last-child { grid-column: span 1; }
  .project { grid-template-columns: 1fr; }
  .project-image, .project-image img { min-height: 390px; height: 390px; }
  .spec-list div { min-height: 58px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
  .spec-list dd { font-size: 16px; }
  .news-header { align-items: flex-start; flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  .news-feature { min-height: 410px; }
  .news-overlay { left: 22px; right: 22px; bottom: 22px; }
  .news-list > a { min-height: 160px; grid-template-columns: 56px minmax(0, 1fr) 36px; gap: 12px; }
  .news-title em { display: none; }
  .contact { padding: 78px 18px; }
  .contact h2 { font-size: clamp(39px, 11.5vw, 55px); }
  .contact .button { width: 100%; }
  .site-footer { padding: 38px 18px; grid-template-columns: 1fr; justify-items: start; gap: 25px; }
  .site-footer nav, .site-footer .footer-main-nav { justify-self: start; flex-wrap: wrap; gap: 15px 20px; }
  .page-hero { padding: 70px 18px 72px; }
  .page-hero h1 { font-size: clamp(44px, 13.5vw, 62px); }
  .page-hero > p:last-child:not(.section-kicker) { margin-top: 25px; font-size: 15px; }
  .full-tractor-grid { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card { min-height: 290px; padding: 34px 24px; }
  .vehicle-hero { min-height: auto; grid-template-columns: 1fr; }
  .vehicle-hero-image { min-height: 340px; }
  .vehicle-hero-copy { min-height: auto; padding: 58px 18px; }
  .vehicle-hero-copy h1 { font-size: clamp(46px, 14vw, 62px); }
  .vehicle-hero-copy > p:not(.section-kicker) { margin: 24px 0; font-size: 15px; }
  .vehicle-year { font-size: 21px; }
  .vehicle-details, .story-grid, .event-layout { grid-template-columns: 1fr; }
  .vehicle-details { gap: 38px; }
  .detail-specs div { min-height: 58px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
  .detail-specs dd { max-width: 100%; text-align: left; font-size: 17px; overflow-wrap: anywhere; }
  .vehicle-gallery-heading { margin-bottom: 32px; align-items: flex-start; flex-direction: column; gap: 18px; }
  .vehicle-gallery-heading h2 { font-size: clamp(38px, 11vw, 51px); }
  .vehicle-gallery-controls button { width: 46px; height: 46px; }
  .vehicle-gallery-track { gap: 8px; }
  .vehicle-gallery-link { flex-basis: calc(100vw - 44px); height: clamp(275px, 76vw, 370px); }
  .vehicle-gallery-link span { right: 14px; bottom: 14px; }
  .vehicle-gallery-dialog[open] { grid-template-columns: 42px 1fr 42px; }
  .vehicle-gallery-dialog { width: calc(100vw - 16px); height: calc(100vh - 16px); }
  .vehicle-gallery-dialog .gallery-close { top: 5px; right: 8px; }
  .source-note { padding: 34px 18px; align-items: flex-start; flex-direction: column; gap: 22px; }
  .source-note a { white-space: normal; }
  .next-item { padding: 58px 18px; gap: 18px; }
  .next-item strong { font-size: clamp(34px, 10vw, 48px); }
  .article-page { padding: 70px 18px; }
  .article-page header h1 { font-size: clamp(43px, 12.5vw, 60px); }
  .article-lead { font-size: 16px; }
  .article-image { margin: 42px 0; }
  .article-copy { margin-top: 42px; }
  .article-copy p { font-size: 17px; line-height: 1.75; }
  .values-strip { grid-template-columns: 1fr; }
  .values-strip article, .values-strip article + article { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .guestbook-list article { grid-template-columns: 52px 1fr; }
  .guest-index { display: none; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid > a { min-height: 320px; }
  .contact-page { align-items: flex-start; flex-direction: column; }
  .contact-mail, .legal-page a, .wp-content a { overflow-wrap: anywhere; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(41px, 13vw, 53px); }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { letter-spacing: .04em; }
  .hero-visual { min-height: 320px; }
  .tractor-grid, .full-tractor-grid { grid-auto-rows: 310px; }
  .tractor-info { left: 19px; right: 52px; bottom: 20px; }
  .news-title strong { font-size: 19px; }
  .vehicle-hero-image { min-height: 300px; }
}

/* WordPress integration */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 5px; left: 5px; width: auto; height: auto; padding: 14px 18px; clip: auto; background: #fff; color: var(--forest); }
.desktop-nav ul, .mobile-menu ul, .site-footer ul { margin: 0; padding: 0; display: contents; list-style: none; }
.desktop-nav .current-menu-item > a, .desktop-nav .current_page_item > a { color: var(--brass); }
.wp-content { color: #4f5b52; font-size: 16px; line-height: 1.85; }
.wp-content > *:first-child { margin-top: 0; }
.wp-content h2, .wp-content h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.1; }
.wp-content h2 { margin: 48px 0 18px; font-size: clamp(31px, 4vw, 52px); }
.wp-content h3 { margin: 35px 0 15px; font-size: 27px; }
.wp-content a { color: #385a42; text-decoration: underline; text-underline-offset: 4px; }
.wp-content img { max-width: 100%; height: auto; }
.wp-content .button { color: inherit; text-decoration: none; }
.legal-page .wp-content section { padding: 0 0 45px; margin-bottom: 45px; border-bottom: 1px solid var(--line); }
.legal-page .wp-content section h2 { margin-top: 0; }
.post-navigation { margin-top: 70px; display: flex; justify-content: space-between; gap: 25px; }
.post-navigation a { color: var(--forest); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.comment-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.comment-list li { padding: 28px 0; border-bottom: 1px solid var(--line); }
.comment-author { font: 22px Georgia, serif; }
.comment-meta { margin: 7px 0 16px; color: #7a8479; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.comment-content p { margin: 0; color: #556057; font-size: 14px; line-height: 1.75; }
.comment-respond { padding: clamp(35px, 5vw, 65px); background: var(--forest); color: #fff; }
.comment-respond h2, .comment-respond h3 { color: #fff; font: 400 clamp(34px, 4vw, 54px)/1.1 Georgia, serif; }
.comment-form { display: grid; gap: 15px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 7px; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.comment-form input, .comment-form textarea { width: 100%; padding: 13px 15px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form input[type="submit"] { width: auto; padding: 15px 22px; border: 0; background: var(--brass); color: var(--forest); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.navigation.pagination { padding: 36px clamp(22px, 7vw, 116px); text-align: center; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); }
.page-numbers.current { background: var(--forest); color: #fff; }
.site-footer .footer-main-nav, .site-footer .legal-nav { display: flex; gap: 25px; }
.site-footer .legal-nav { justify-self: end; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
