/* ============================================================
   metek.css -- Strelsko društvo Gmajna
   ============================================================ */

/* --- Self-hosted Inter Variable -------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/InterVariable.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/InterVariable.woff2') format('woff2-variations');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- CSS variables -------------------------------------------- */
:root {
  /* brand palette: dark forest green (originalni #142617) */
  --brand: #142617;
  --brand-2: #1e3a23;
  --brand-accent: #2f5b37;
  --brand-line: rgba(255,255,255,0.12);

  --ink: #0f1a13;
  --ink-2: #2a3530;
  --muted: #5a6660;
  --line: #e3e6e4;
  --bg: #ffffff;
  --bg-alt: #f6f7f6;

  --max: 1200px;
  --pad: clamp(1rem, 3vw, 2rem);
  --radius: 6px;
}

/* --- Reset & base --------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--brand); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .3rem; }

/* --- Utility --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brand);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}
.skip-link:focus { top: 0; }

/* Accessible focus indicator for interactive elements */
:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.btn:focus-visible,
.nav a:focus-visible,
.mobile-menu a:focus-visible,
.card:focus-visible,
.contact-card:focus-visible,
.pricing-card:focus-visible {
  outline-offset: 3px;
}
.topbar :focus-visible,
.site-footer :focus-visible,
.section-dark :focus-visible {
  outline-color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* --- Header --------------------------------------------------- */
.topbar {
  background: var(--brand);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--brand-line);
  transition: box-shadow .25s ease;
}
.topbar.is-scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22), 0 1px 0 var(--brand-line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 70px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
}
.logo-img {
  width: auto;
  height: 40px;
  display: block;
}
.logo,
.logo:hover,
.logo:focus,
.logo:active { color: #fff; text-decoration: none; }

/* Logo hover: "lock-on" — tick marks slide outward, bullseye grows */
.logo .logo-tick,
.logo .logo-bullseye,
.footer-logo .logo-tick,
.footer-logo .logo-bullseye {
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  transform-box: fill-box;
  transform-origin: center;
}
.logo:hover .logo-tick-l,
.footer-logo:hover .logo-tick-l { transform: translateX(-6px); }
.logo:hover .logo-tick-r,
.footer-logo:hover .logo-tick-r { transform: translateX(6px); }
.logo:hover .logo-tick-t,
.footer-logo:hover .logo-tick-t { transform: translateY(-6px); }
.logo:hover .logo-tick-b,
.footer-logo:hover .logo-tick-b { transform: translateY(6px); }
.logo:hover .logo-bullseye,
.footer-logo:hover .logo-bullseye { transform: scale(1.6); }

.nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav a {
  position: relative;
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: .92rem;
  padding: .55rem .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .35rem;
  height: 1.5px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover {
  color: #fff;
  text-decoration: none;
  background: transparent;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: #fff; }
.nav a.active::after { transform: scaleX(1); }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: .5rem;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

/* Mobile menu = fullscreen overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--brand);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 0 var(--pad);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .9rem 1.5rem;
  text-align: center;
  position: relative;
}
.mobile-menu a:hover { color: #fff; text-decoration: none; }
.mobile-menu a.active { color: #fff; }
.mobile-menu a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: .7rem;
  width: 36px;
  height: 2px;
  background: var(--brand-accent);
  transform: translateX(-50%);
}
body.no-scroll { overflow: hidden; }

@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-toggle { display: flex; }
}

/* --- Hero slideshow -------------------------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: var(--brand);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease-in-out;
  animation: kenBurns 20s ease-in-out infinite;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}
@keyframes kenBurns {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.18); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,38,23,.35) 0%, rgba(20,38,23,.65) 100%);
  z-index: 3;
}
.hero-inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh;
  padding: 4rem 0;
  color: #fff;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  align-self: center;
  font-size: .85rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.25);
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 1rem;
}
.hero p.lead {
  color: rgba(255,255,255,.92);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 760px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .92rem;
}
.btn-primary {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.btn-primary:hover { background: #3a6f43; border-color: #3a6f43; color:#fff; text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color:#fff; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* --- Section base --------------------------------------------- */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-dark {
  background: var(--brand);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.85); }

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: .5rem;
}
.section-heading .eyebrow {
  display: block;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: .8rem;
  font-weight: 600;
}

/* --- Intro / o društvu ---------------------------------------- */
.intro p {
  font-size: 1.05rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-2);
}
.intro {
  text-align: center;
}

/* --- Cards grid (pravila, member info) ------------------------ */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(20,38,23,.08);
  transform: translateY(-2px);
  border-color: var(--brand-accent);
}
.card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: rgba(47,91,55,.1);
  color: var(--brand-accent);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card .card-link {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* --- Stats strip (home) --------------------------------------- */
.stats-strip {
  background: var(--brand);
  color: #fff;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
@media (max-width: 600px) {
  .stat:not(:last-child)::after { display: none; }
}
.stat-num {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.stat-num-text {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: .04em;
}
.stat-plus {
  color: var(--brand-accent);
  margin-left: .05em;
}
.stat-label {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* --- Partners ------------------------------------------------- */
.partners {
  background: var(--brand);
  padding: 3.5rem 0;
}
.partners-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}
.partners-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem;
  letter-spacing: -.005em;
}
.partners-subtitle {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  margin: 0;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.partners-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  min-height: 90px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.partners-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.partners-grid img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  transition: opacity .2s;
}

/* --- Subpage hero --------------------------------------------- */
.subpage-hero {
  background: var(--brand);
  color: #fff;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 40%, rgba(47,91,55,.4) 0%, transparent 60%);
  pointer-events: none;
}
.subpage-hero h1 {
  color: #fff;
  margin-bottom: .8rem;
  position: relative;
  z-index: 1;
}
.subpage-hero .lead {
  color: rgba(255,255,255,.85);
  max-width: 720px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; opacity: .5; }

/* --- Article / prose ------------------------------------------ */
.prose {
  max-width: none;
}
.prose-narrow {
  max-width: 820px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}
.prose p { color: var(--ink-2); }
.prose ul li { color: var(--ink-2); margin-bottom: .5rem; }
.prose strong { color: var(--ink); }

/* --- Pricing cards (clanstvo) --------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.pricing-card:hover {
  border-color: var(--brand-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20,38,23,.08);
}
.pricing-eyebrow {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  font-weight: 700;
  margin-bottom: 1rem;
  padding: .25rem .7rem;
  border: 1px solid rgba(47,91,55,.25);
  border-radius: 999px;
}
.pricing-amount {
  font-size: clamp(3rem, 7vw, 4rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.pricing-currency {
  font-size: .55em;
  font-weight: 600;
  color: var(--muted);
  margin-left: .2rem;
  vertical-align: top;
  position: relative;
  top: .2em;
}
.pricing-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pricing-desc {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}

/* --- Download CTA --------------------------------------------- */
.download-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--brand-accent);
  color: #fff;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius);
  margin: 1.8rem 0 .5rem;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.download-cta:hover {
  background: #3a6f43;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47,91,55,.25);
}
.download-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.14);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.download-icon svg { width: 22px; height: 22px; }
.download-body { flex: 1; min-width: 0; }
.download-body strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: .15rem;
}
.download-body span {
  font-size: .87rem;
  color: rgba(255,255,255,.85);
}
.download-arrow {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  transition: transform .25s;
}
.download-cta:hover .download-arrow { transform: translateX(4px); }

/* --- Timeline (protokol) -------------------------------------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline-num {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: var(--brand-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}
.section-alt .timeline-num { box-shadow: 0 0 0 4px var(--bg-alt); }
.timeline-body { flex: 1; padding-top: .25rem; }
.timeline-body h3 {
  font-size: 1.08rem;
  margin: 0 0 .4rem;
  color: var(--brand);
}
.timeline-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.6;
}
.timeline-body p strong { color: var(--ink); }
.prose-note {
  margin-top: 2rem;
  font-size: .92rem;
  color: var(--muted);
  font-style: italic;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

/* --- IBAN block (clanstvo) ------------------------------------ */
.iban-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin: 1.5rem 0;
}
.iban-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .7rem;
}
.iban-label {
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-accent);
  font-weight: 700;
}
.iban-bank {
  font-size: .82rem;
  color: var(--muted);
}
.iban-value {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  color: var(--brand) !important;
  padding: .4rem .6rem !important;
  margin-left: -.6rem !important;
}
.iban-value:hover { color: var(--brand-accent) !important; }

/* --- Philosophy (clanstvo) ------------------------------------ */
.philosophy-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.philosophy-block {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.philosophy-target {
  width: 72px;
  height: 72px;
  color: var(--brand-accent);
  margin: 0 auto 1.6rem;
  opacity: .95;
}
.philosophy-eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .9rem;
  padding: .3rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}
.philosophy-block h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.2rem;
  letter-spacing: -.01em;
}
.philosophy-block p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.philosophy-block p:last-child { margin-bottom: 0; }
.philosophy-block strong { color: #fff; font-weight: 700; }

/* --- Contact -------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.contact-card h2 {
  font-size: 1.25rem;
  margin: 0 0 1.4rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
}
.contact-card dl {
  margin: 0;
}
.contact-card dt {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1.3rem;
}
.contact-card dt:first-of-type { margin-top: 0; }
.contact-card .dt-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--brand-accent);
  opacity: .85;
}
.contact-card dd {
  margin: .35rem 0 0;
  padding-left: 22px;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.5;
}
.contact-card dd a { color: var(--brand-accent); font-weight: 500; }
.contact-card dd .muted-sub {
  color: var(--muted);
  font-size: .85em;
}

/* Click-to-copy button */
.copyable {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 0;
  padding: .15rem .4rem;
  margin-left: -.4rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 4px;
  position: relative;
  transition: background .15s, color .15s;
}
.copyable:hover { background: rgba(47,91,55,.08); color: var(--brand-accent); }
.copyable:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 1px;
}
.copyable .copy-icon {
  width: 14px;
  height: 14px;
  opacity: .35;
  transition: opacity .15s;
}
.copyable:hover .copy-icon { opacity: 1; }
.copyable .copy-icon-done { display: none; color: var(--brand-accent); opacity: 1; }
.copyable .copy-feedback {
  display: none;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-accent);
}
.copyable.copied .copy-icon-default { display: none; }
.copyable.copied .copy-icon-done { display: inline-block; }
.copyable.copied .copy-feedback { display: inline; }
.copyable.copied { color: var(--brand-accent); background: rgba(47,91,55,.1); }

/* CTA strip — bottom of /kontakt */
.cta-strip {
  background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(47, 91, 55, 0.06) 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip-text {
  flex: 1;
  min-width: 260px;
}
.cta-strip h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 0 0 .35rem;
  color: var(--brand);
}
.cta-strip p {
  color: var(--ink-2);
  margin: 0;
  font-size: 1rem;
}

/* --- Footer --------------------------------------------------- */
.site-footer {
  background: var(--brand);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
  border-top: 2px solid var(--brand-accent);
}
.footer-cols {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

.footer-logo {
  margin-bottom: 1.2rem;
  display: inline-block;
  color: #fff;
  text-decoration: none;
}
.footer-logo:hover { text-decoration: none; color: #fff; }
.footer-logo .logo-img {
  width: auto;
  height: 50px;
  display: block;
}

.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: .65rem;
}
.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--brand-accent);
}

.site-footer p {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 36ch;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  margin-bottom: .7rem;
}
.site-footer ul li a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  transition: color .15s;
}
.site-footer ul li a:hover { color: #fff; text-decoration: none; }

.site-footer .link-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: currentColor;
  opacity: .7;
  transition: opacity .15s, transform .2s;
}
.site-footer ul li a:hover .link-icon {
  opacity: 1;
  transform: translateX(1px);
}

/* Contact list: location/email rows with multiline */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .92rem;
  color: rgba(255,255,255,.78);
  margin-bottom: .8rem;
  line-height: 1.45;
}
.footer-contact li .link-icon {
  margin-top: 3px;
  color: currentColor;
  opacity: .7;
}
.footer-contact li a {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.footer-contact li a:hover { color: #fff; text-decoration: none; }

.footer-cta {
  display: inline-block;
  margin-top: .4rem;
  color: var(--brand-accent);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .15s, transform .2s;
}
.footer-cta:hover {
  color: #fff;
  text-decoration: none;
  transform: translateX(2px);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--brand-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a {
  color: rgba(255,255,255,.7);
  transition: color .15s;
}
.footer-bottom a:hover { color: #fff; text-decoration: none; }
.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.footer-meta .sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
}

/* --- Cookie FAB (floating action button) ---------------------- */
.cookie-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.cookie-fab.visible { display: inline-flex; }
.cookie-fab:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  transform: scale(1.08);
}
.cookie-fab svg { width: 22px; height: 22px; display: block; }

/* --- Cookie banner (bottom-centered) -------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 16px 20px;
  max-width: 560px;
  margin: 0 auto;
  display: none;
  gap: 14px;
  align-items: center;
}
.cookie-banner.open { display: flex; }
.cookie-text { flex: 1; font-size: .88rem; color: var(--muted); }
.cookie-text strong { display: block; color: var(--ink); margin-bottom: 2px; }
.cookie-text a { color: var(--brand-accent); font-weight: 500; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions button {
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: .88rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cookie-actions button:hover { background: var(--bg-alt); }
.cookie-actions .cookie-accept {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.cookie-actions .cookie-accept:hover { background: #3a6f43; border-color: #3a6f43; }

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}

@media print {
  .cookie-banner,
  .cookie-fab { display: none !important; }
}

/* --- 404 ------------------------------------------------------ */
.error-page {
  text-align: center;
  padding: 6rem 0;
}
.error-page .big {
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--brand-accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* --- Responsive tweaks ---------------------------------------- */
@media (max-width: 600px) {
  .topbar-inner { min-height: 60px; }
  .logo-img { height: 34px; }
  .hero { min-height: 60vh; }
  .hero-inner { min-height: 60vh; padding: 2.5rem 0; }
  .section { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide { animation: none; }
}
