/* Kontakt page — built on the casinode design system (tokens + dark-glass card language). */

/* Intro */
.kontakt-intro { font-size: var(--body-size); color: rgba(240,244,248,0.78); line-height: 1.7; margin: 0 0 var(--space-sm); }

/* Info cards */
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; margin: 0 0 var(--space-md); }
.kontakt-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 24px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%); border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 4px 20px rgba(0,0,0,0.3); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.kontakt-card:hover { transform: translateY(-3px); border-color: rgba(245,166,35,0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 30px rgba(0,0,0,0.4); }
.kontakt-card .kontakt-card-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.28); color: #F5A623; font-size: var(--h5-size); margin-bottom: 12px; }
.kontakt-card .kontakt-card-label { font-family: var(--font-mono); font-size: var(--badge-size); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(240,244,248,0.48); }
.kontakt-card .kontakt-card-value { font-family: var(--font-display); font-size: var(--h6-size); font-weight: 800; color: var(--color-heading); line-height: 1.35; word-break: break-word; }
.kontakt-card .kontakt-card-value a { color: #F5A623; text-decoration: none; transition: color 0.2s ease; }
.kontakt-card .kontakt-card-value a:hover { color: #FFB940; }
.kontakt-card .kontakt-card-address { font-size: var(--body-size); color: rgba(240,244,248,0.78); line-height: 1.6; }
.kontakt-card .kontakt-card-address span { display: block; }
.kontakt-card .kontakt-card-note { font-size: var(--badge-size); color: rgba(240,244,248,0.55); line-height: 1.5; margin-top: auto; padding-top: 10px; }

/* Section heads + lead */
.kontakt-section { margin: 0 0 var(--space-md); }
.kontakt-h2 { position: relative; font-family: var(--font-display); font-size: var(--h4-size); font-weight: 800; color: var(--color-heading); line-height: 1.25; margin: 0 0 16px; padding-bottom: 12px; }
.kontakt-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #F5A623, #FFB940); }
.kontakt-lead { font-size: var(--body-size); color: rgba(240,244,248,0.78); line-height: 1.7; margin: 0 0 24px; overflow-wrap: break-word; }
.kontakt-lead span { display: block; }

/* Help grid — "what we help with / who's responsible" */
.kontakt-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.kontakt-help { padding: 26px 24px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%); border: 1px solid rgba(255,255,255,0.08); transition: transform 0.2s ease, border-color 0.2s ease; }
.kontakt-help:hover { transform: translateY(-3px); }
.kontakt-help--yes:hover { border-color: rgba(63,185,80,0.40); }
.kontakt-help--no:hover { border-color: rgba(245,166,35,0.40); }
.kontakt-help .kontakt-help-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: var(--h6-size); font-weight: 800; color: var(--color-heading); margin-bottom: 16px; }
.kontakt-help ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kontakt-help li { position: relative; padding-left: 22px; font-size: var(--body-size); color: rgba(240,244,248,0.78); line-height: 1.55; overflow-wrap: break-word; }
.kontakt-help li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; }
.kontakt-help--yes li::before { background: #3FB950; }
.kontakt-help--no li::before { background: #F5A623; }
/* Beat the global ".wp-content ul li::before { content:'-' }" prose rule so our bullet stays a clean dot (no dash glyph). */
.kontakt-help-grid .kontakt-help li::before { content: ""; left: 2px; top: 9px; }
.kontakt-help a { color: #F5A623; text-decoration: none; }
.kontakt-help a:hover { color: #FFB940; text-decoration: underline; }

/* Contact form — glass panel wrapping the heading + CF7 form */
.kontakt-form-section { padding: 34px 32px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%); border: 1px solid rgba(255,255,255,0.09); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 34px rgba(0,0,0,0.32); }
.kontakt-form-section .kontakt-lead { margin-bottom: 26px; }
.kontakt-form-section .wpcf7 { max-width: 640px; }
.kontakt-form-section .wpcf7 form > p { margin: 0 0 18px; }
.kontakt-form-section .wpcf7 form > p:last-of-type { margin-bottom: 0; }
.kontakt-form-section .wpcf7 label { display: block; font-family: var(--font-body); font-size: var(--label-size); line-height: var(--label-lh); font-weight: var(--label-fw); color: rgba(240,244,248,0.85); }
.kontakt-form-section .wpcf7 input[type="text"],
.kontakt-form-section .wpcf7 input[type="email"],
.kontakt-form-section .wpcf7 input[type="tel"],
.kontakt-form-section .wpcf7 input[type="url"],
.kontakt-form-section .wpcf7 textarea,
.kontakt-form-section .wpcf7 select {
  width: 100%; margin-top: 8px; padding: 14px 16px; border-radius: 12px;
  background: rgba(8,13,24,0.5); border: 1px solid rgba(255,255,255,0.14);
  color: var(--color-heading); font-family: var(--font-body); font-size: var(--body-size); line-height: 1.5;
  -webkit-appearance: none; appearance: none; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.kontakt-form-section .wpcf7 textarea { min-height: 156px; resize: vertical; }
.kontakt-form-section .wpcf7 input:focus,
.kontakt-form-section .wpcf7 textarea:focus,
.kontakt-form-section .wpcf7 select:focus { outline: none; border-color: rgba(245,166,35,0.65); background: rgba(8,13,24,0.7); box-shadow: 0 0 0 3px rgba(245,166,35,0.16); }
.kontakt-form-section .wpcf7 input::placeholder,
.kontakt-form-section .wpcf7 textarea::placeholder { color: rgba(240,244,248,0.34); }
.kontakt-form-section .wpcf7 input[type="submit"] {
  margin-top: 6px; cursor: pointer; padding: 15px 38px; border: 0; border-radius: 12px;
  background: linear-gradient(180deg, #FFB940 0%, #F5A623 100%); color: #1a1206;
  font-family: var(--font-display); font-weight: 800; font-size: var(--body-size);
  box-shadow: 0 6px 20px rgba(245,166,35,0.30); transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.kontakt-form-section .wpcf7 input[type="submit"]:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 8px 26px rgba(245,166,35,0.44); }
.kontakt-form-section .wpcf7 input[type="submit"]:active { transform: translateY(0); }
.kontakt-form-section .wpcf7-spinner { margin: 0 0 0 12px; }
.kontakt-form-section .wpcf7 .wpcf7-response-output { border-radius: 10px; padding: 13px 16px; font-size: var(--badge-size); line-height: 1.5; margin: 20px 0 0; }
.kontakt-form-section .wpcf7 .wpcf7-not-valid-tip { color: #ff6b6b; font-family: var(--font-body); font-weight: 500; font-size: var(--badge-size); margin-top: 6px; }
.kontakt-form-section .wpcf7 input.wpcf7-not-valid, .kontakt-form-section .wpcf7 textarea.wpcf7-not-valid, .kontakt-form-section .wpcf7 select.wpcf7-not-valid { border-color: rgba(255,107,107,0.6); box-shadow: 0 0 0 3px rgba(255,107,107,0.12); }

/* Map (consent-gated; harmonise the wrapper with the .cc-embed-block placeholder) */
.kontakt-map { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: rgba(8,13,24,0.4); }
.kontakt-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.kontakt-map .cc-embed-block { border: 0; border-radius: 0; background: transparent; min-height: 380px; }
.kontakt-map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-mono); font-size: var(--badge-size); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #F5A623; text-decoration: none; transition: color 0.2s ease; }
.kontakt-map-link:hover { color: #FFB940; }

/* Icons — CSS-background SVGs (no icon-font dependency on this page) */
.kontakt-icon { display: inline-block; flex-shrink: 0; background-repeat: no-repeat; background-position: center; background-size: contain; }
.kontakt-card .kontakt-card-icon .kontakt-icon { width: 24px; height: 24px; }
.kontakt-help .kontakt-help-head .kontakt-icon { width: 20px; height: 20px; }
.kontakt-map-link .kontakt-icon { width: 16px; height: 16px; }
.kontakt-icon-mail { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23F5A623' d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/></svg>"); }
.kontakt-icon-phone { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23F5A623' d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/></svg>"); }
.kontakt-icon-pin { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path fill='%23F5A623' d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z'/></svg>"); }
.kontakt-icon-check { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%233FB950' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z'/></svg>"); }
.kontakt-icon-info { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23F5A623' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z'/></svg>"); }
.kontakt-icon-route { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23F5A623' d='M227.7 11.7c15.6-15.6 40.9-15.6 56.6 0l216 216c15.6 15.6 15.6 40.9 0 56.6l-216 216c-15.6 15.6-40.9 15.6-56.6 0l-216-216c-15.6-15.6-15.6-40.9 0-56.6l216-216zm87.6 137c-4.6-4.6-11.5-5.9-17.4-3.5s-9.9 8.3-9.9 14.8v56H224c-35.3 0-64 28.7-64 64v48c0 13.3 10.7 24 24 24s24-10.7 24-24V280c0-8.8 7.2-16 16-16h64v56c0 6.5 3.9 12.3 9.9 14.8s12.9 1.1 17.4-3.5l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80z'/></svg>"); }
.kontakt-map-link:hover .kontakt-icon-route { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23FFB940' d='M227.7 11.7c15.6-15.6 40.9-15.6 56.6 0l216 216c15.6 15.6 15.6 40.9 0 56.6l-216 216c-15.6 15.6-40.9 15.6-56.6 0l-216-216c-15.6-15.6-15.6-40.9 0-56.6l216-216zm87.6 137c-4.6-4.6-11.5-5.9-17.4-3.5s-9.9 8.3-9.9 14.8v56H224c-35.3 0-64 28.7-64 64v48c0 13.3 10.7 24 24 24s24-10.7 24-24V280c0-8.8 7.2-16 16-16h64v56c0 6.5 3.9 12.3 9.9 14.8s12.9 1.1 17.4-3.5l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80z'/></svg>"); }

@media (max-width: 767px) {
  .kontakt-intro { margin-bottom: var(--space-sm); }
  .kontakt-grid { gap: 14px; margin-bottom: var(--space-sm); }
  /* Icon left, all text in one aligned right column → flatter cards on mobile */
  .kontakt-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: repeat(4, auto); column-gap: 14px; row-gap: 3px; align-items: start; padding: 18px; }
  .kontakt-card .kontakt-card-icon { grid-column: 1; grid-row: 1 / -1; align-self: center; width: 40px; height: 40px; margin: 0; font-size: var(--h6-size); }
  .kontakt-card .kontakt-card-icon .kontakt-icon { width: 22px; height: 22px; }
  .kontakt-card .kontakt-card-label,
  .kontakt-card .kontakt-card-value,
  .kontakt-card .kontakt-card-note,
  .kontakt-card .kontakt-card-address { grid-column: 2; }
  .kontakt-card .kontakt-card-note { margin: 0; padding-top: 0; }
  .kontakt-section { margin-bottom: var(--space-sm); }
  .kontakt-help-grid { gap: 14px; }
  .kontakt-help { padding: 22px 18px; }
  .kontakt-form-section { padding: 24px 18px; }
  .kontakt-form-section .wpcf7 input[type="submit"] { width: 100%; }
  .kontakt-map iframe { height: 280px; }
}
@media (max-width: 599px) {
  .kontakt-form-section { padding: 20px 15px; }
  .kontakt-map iframe { height: 240px; }
  .kontakt-map .cc-embed-block { min-height: 280px; padding: 22px 16px; }
}
