/* ====== Kontakt (scoped) ====== */
/* Nothing global: no :root, no body, no img/a resets, no .container global */

/* === Page wrappers === */
.page-hero,
.card {
  font-family: Inter, Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #111827;
  line-height: 1.55;
}

/* Keep the same container width */
.page-hero > .container,
.card > .container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ====== Page Hero ====== */
.page-hero {
  padding: clamp(28px, 6vw, 56px) 0 12px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.6) 60%, transparent);
  border-bottom: 1px solid #e5e7eb;
}

.page-hero h1 {
  margin: 0 0 6px 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.2px;
  font-weight: 700;
}

.page-hero .subtitle {
  color: #6b7280;
  margin: 0;
  font-size: 1rem;
}
.contact-grid {
  padding: clamp(20px, 4vw, 40px);  /* space inside the section */
  max-width: 1199px;                /* keep same width as rest of site */
  margin-inline: auto;              /* center horizontally */
  margin-top: clamp(20px, 5vw, 60px);
  margin-bottom: clamp(20px, 5vw, 60px);
}
/* ====== Layout ====== */
.card { padding: clamp(18px, 3vw, 26px); }
.grid { display: grid; gap: clamp(20px, 3vw, 28px); }
.grid-2 { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 1000px) { .grid-2 { grid-template-columns: 1fr; } }

/* ====== Cards ====== */
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.card h2 {
  margin: 0 0 8px 0;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}
.card p,
.card li,
.card span { font-size: 1rem; }

/* ====== Contact List ====== */
.contact-card .contact-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 18px 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #ececec;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label {
  color: #6b7280;
  font-weight: 600;
}
.contact-list .value a {
  color: #cb0c21;
  text-underline-offset: 2px;
}
.contact-list .value a:hover { text-decoration: underline; }

/* ====== Map ====== */
.map-wrap {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.map-frame {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}
@media (max-width: 600px) {
  .map-frame { height: 220px; }
}

/* ====== Form ====== */
.contact-form { width: 100%; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.contact-form legend {
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin: 0 0 6px 0;
}
.contact-form .helper { color: #6b7280; margin: 0 0 16px 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-weight: 600; font-size: .98rem; color: #1f2937; }

input[type="text"],
input[type="email"],
select,
textarea {
  appearance: none;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .02s ease;
}
textarea { min-height: 140px; resize: vertical; }

input:hover,
select:hover,
textarea:hover {
  border-color: #d7dbe2;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #cb0c21;
  box-shadow: 0 0 0 3px rgba(203,12,33,.15);
}

/* Focus outline */
.page-hero a:focus-visible,
.page-hero button:focus-visible,
.page-hero input:focus-visible,
.page-hero select:focus-visible,
.page-hero textarea:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #cb0c21;
  outline-offset: 2px;
}

/* ====== Buttons ====== */
.btn-primary {
  display: inline-block;
  margin-top: 6px;
  background: #cb0c21;
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .06s ease, filter .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px rgba(203,12,33,.22);
}
.btn-primary:hover { filter: brightness(1.02); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { box-shadow: 0 0 0 3px rgba(203,12,33,.25); }

/* ====== Utilities ====== */
.page-hero .hidden,
.hidden { display: none !important; }

.honeypot {
  position: absolute;
  left: -9999px; /* Move it far off screen */
  height: 0;
  overflow: hidden;
}