/* ==========================================================================
   Gemüsescheune Klischat – Custom Styles
   Ergänzt Tailwind CSS um Markenspezifika gemäss Brand Guide (18.03.2026).
   ========================================================================== */

:root {
    --schwarz: #000000;
    --moosgruen: #004f38;
    --anthrazit: #253539;
    --graualuminium: #878787;
    --vibrant: #3d8a34;
    --oxblood: #68131a;
    --offwhite: #faf8f3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    color: var(--anthrazit);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display,
h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ---------- Hero-Slider ---------- */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1200ms ease-in-out;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(0, 79, 56, 0.7) 100%
    );
    z-index: 1;
}

.hero-slide__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide__inner {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-dot {
    width: 36px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    transition: background 200ms ease;
    border-radius: 999px;
}

.hero-dot.is-active {
    background: #ffffff;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 2px;
    transition: all 200ms ease;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--vibrant);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--moosgruen);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1.5px solid currentColor;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--moosgruen);
}

.btn-dark {
    background: var(--anthrazit);
    color: #ffffff;
}

.btn-dark:hover {
    background: var(--schwarz);
}

/* ---------- Section Helpers ---------- */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--vibrant);
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--vibrant);
    margin: 1.25rem 0;
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--moosgruen), var(--vibrant));
}

.timeline__item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: #ffffff;
    border: 3px solid var(--vibrant);
    box-shadow: 0 0 0 4px rgba(61, 138, 52, 0.15);
}

/* ---------- Cards / Tiles ---------- */
.tile {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25);
}

.tile__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.tile:hover .tile__media img {
    transform: scale(1.05);
}

/* ---------- Forms ---------- */
.form-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e5e5e5;
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--anthrazit);
    transition: border-color 200ms ease;
    border-radius: 2px;
}

.form-field:focus {
    outline: none;
    border-color: var(--vibrant);
    box-shadow: 0 0 0 3px rgba(61, 138, 52, 0.12);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--anthrazit);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
    transform: translateX(100%);
    transition: transform 300ms ease;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

/* ---------- Misc ---------- */
.bg-noise {
    background-image: linear-gradient(135deg, #faf8f3 0%, #ffffff 100%);
}

.text-balance {
    text-wrap: balance;
}

a {
    transition: color 200ms ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Print-Anpassung Impressum */
@media print {
    header, footer, .no-print {
        display: none !important;
    }
}
