/* GSMB Agency – Ergänzungen (Logo, Kontaktwege, Formulare, Preisrechner) */

/* ---------- Farben aus dem Logo ---------- */
:root {
  --sky: #1cacd0;         /* Türkisblau aus dem Logo („Agency“) */
  --sky-200: #b9e6f2;
  --sky-100: #e4f5fa;
}

/* ---------- Logo ---------- */
.logo { height: 52px; width: auto; display: block; }
.logo-sm { height: 54px; }
@media (max-width: 600px) { .logo { height: 40px; } }

/* ---------- Telefon im Header ---------- */
.header-phone {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  padding: 8px 6px; border-radius: 999px; transition: color .2s;
}
.header-phone:hover { color: var(--blue); }
.header-phone .ph-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--sky-100); color: var(--blue); transition: background .2s, color .2s;
}
.header-phone:hover .ph-ico { background: var(--blue); color: #fff; }
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1360px) { .header-phone .ph-num { display: none; } }
@media (max-width: 1100px) { .header-phone { margin-left: auto; } .header-phone + .header-cta { margin-left: 0; } }
@media (max-width: 600px) { .header-phone { margin-left: auto; } .burger { margin-left: 4px; } }

/* ---------- Kontaktleiste unten (Mobil) ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -20px rgba(6,58,107,.35);
  }
  .mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
  .mobile-cta .mc-call { background: var(--sky-100); color: var(--blue); }
  .mobile-cta .mc-form { background: var(--blue); color: #fff; }
  .mobile-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  body { padding-bottom: 74px; }
  .nav-open .mobile-cta { display: none; }
}

/* ---------- Kontaktformular (Contact Form 7) ---------- */
.contact-form-card { align-items: start !important; }
@media (min-width: 980px) { .contact-form-card { grid-template-columns: .8fr 1.2fr !important; } }
.contact-form-card .contact-list { margin-top: 32px; }
.wpcf7 form .ag-form { margin-top: 0; }
.ag-form .wpcf7-form-control-wrap { display: block; }
.ag-form .full { grid-column: 1 / -1; }
.ag-form textarea { min-height: 140px; resize: vertical; }
.ag-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%230564a8' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.ag-form .req { color: var(--blue-500); }
.ag-form .form-check { font-size: 14.5px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.ag-form .form-check label, .ag-form .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14.5px; cursor: pointer; }
.ag-form .wpcf7-list-item { margin: 0; }
.ag-form input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--blue); }
.ag-form .form-check a { color: var(--blue); }
.ag-form .form-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.ag-form .wpcf7-submit {
  appearance: none; border: 0; cursor: pointer; padding: 1em 1.8em; border-radius: 999px; width: auto;
  background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-size: 16px; font-variation-settings: "wdth" 110;
  box-shadow: 0 10px 30px -10px rgba(5,100,168,.5), 0 0 0 6px rgba(28,172,208,.14); transition: transform .3s var(--ease), background .3s;
}
.ag-form .wpcf7-submit:hover { transform: translateY(-2px); background: var(--blue-500); }
.ag-form .wpcf7-submit:disabled { opacity: .6; cursor: default; transform: none; }
.ag-form .form-small { font-size: 13px; color: var(--muted); }
.wpcf7-not-valid { border-color: #d64545 !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #c03030; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--sky-100); font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e9d62; background: #e9f7ef; color: #1d6b42; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #e2a3a3; background: #fdf0f0; color: #9a2a2a; }
.wpcf7-spinner { margin: 0; }
.gsmb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-fallback { padding: 22px; border-radius: 18px; background: var(--sky-100); }

/* ---------- Preisrechner ---------- */
.calc-section { padding-top: 0 !important; }
.calc { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr) 330px; } }
.calc-main, .calc-side {
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border: 1px solid var(--line);
  border-radius: 30px; box-shadow: 0 30px 70px -40px rgba(6,58,107,.35);
}
.calc-main { padding: clamp(24px, 4vw, 48px); min-width: 0; }
.calc-progress { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding: 0; }
.calc-progress button {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.calc-progress button span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sky-100); color: var(--blue); font-size: 12px; font-weight: 800; }
.calc-progress button.is-current { border-color: var(--blue); color: var(--blue); }
.calc-progress button.is-current span { background: var(--blue); color: #fff; }
.calc-progress button.is-done span { background: var(--sky); color: #fff; }
.calc-progress button:disabled { opacity: .45; cursor: default; }
@media (max-width: 760px) { .calc-progress button { font-size: 0; padding: 4px; gap: 0; } .calc-progress button span { font-size: 12px; } }
.calc-bar { height: 4px; border-radius: 4px; background: var(--sky-100); overflow: hidden; margin-bottom: 34px; }
.calc-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.calc-step .kicker { margin-bottom: 10px; }
.calc-title { margin: 0; font-variation-settings: "wdth" 118; font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.calc-intro { margin: 10px 0 0; color: var(--muted); }
.calc-q { border: 0; margin: 30px 0 0; padding: 0; min-width: 0; }
.calc-q legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-size: 17px; }
.calc-q abbr { color: var(--blue-500); text-decoration: none; }
.calc-options { display: grid; gap: 10px; }
.calc-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.calc-opt { position: relative; display: block; cursor: pointer; }
.calc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.calc-opt-body {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; height: 100%; padding: 15px 18px 15px 50px; border-radius: 18px;
  border: 1.5px solid var(--line); background: #fff; position: relative; transition: border-color .2s, box-shadow .2s, background .2s;
}
.calc-opt-body::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(5,100,168,.35); background: #fff; transition: border .2s;
}
.calc-opt-body b { flex: 1 1 auto; font-size: 16px; line-height: 1.35; }
.calc-opt-body small { flex-basis: 100%; order: 3; color: var(--muted); font-size: 14px; line-height: 1.45; }
.calc-opt-body em { font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--blue); white-space: nowrap; }
.calc-cards .calc-opt-body { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; padding: 20px 20px 20px 50px; gap: 6px; }
.calc-cards .calc-opt-body small { order: 0; }
.calc-cards .calc-opt-body em { margin-top: auto; padding-top: 6px; font-size: 16px; }
.calc-opt:hover .calc-opt-body { border-color: rgba(28,172,208,.6); }
.calc-opt input:focus-visible + .calc-opt-body { box-shadow: 0 0 0 4px rgba(28,172,208,.25); }
.calc-opt input:checked + .calc-opt-body { border-color: var(--blue); background: linear-gradient(180deg, #fff, var(--sky-100)); box-shadow: 0 14px 30px -20px rgba(5,100,168,.6); }
.calc-opt input:checked + .calc-opt-body::before { border: 6px solid var(--blue); }
.calc-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; }
.calc-back { border: 0; background: none; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; padding: 10px 0; }
.calc-back::before { content: "← "; }
.calc-hint { margin: 12px 0 0; color: #c03030; font-weight: 600; font-size: 15px; text-align: right; }
.calc-total { display: flex; flex-direction: column; gap: 4px; margin: 26px 0 8px; font-variation-settings: "wdth" 120; font-weight: 800; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--blue); }
.calc-total small { font-variation-settings: "wdth" 100; font-weight: 500; font-size: 15px; color: var(--muted); }
.calc-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15px; }
.calc-table th, .calc-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.calc-table th { font-weight: 600; color: var(--muted); width: 38%; padding-right: 14px; }
.calc-table td:last-child { text-align: right; white-space: nowrap; font-weight: 700; padding-left: 14px; }
.calc-table tr.sum th, .calc-table tr.sum td { border-bottom: 0; padding-top: 16px; color: var(--ink); font-weight: 800; font-size: 17px; }
@media (max-width: 600px) { .calc-table th { display: none; } }
.calc-disclaimer { margin-top: 18px; font-size: 14px; color: var(--muted); }
.calc-form-wrap { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.calc-form-wrap h3 { margin: 0 0 8px; font-variation-settings: "wdth" 115; font-weight: 800; font-size: 24px; }
.calc-form-wrap > p { margin: 0 0 24px; color: var(--muted); }
.calc-side { padding: 28px; position: sticky; top: 110px; }
.calc-side-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); }
.calc-side-total { margin: 8px 0 2px; font-variation-settings: "wdth" 120; font-weight: 800; font-size: 40px; line-height: 1.1; color: var(--blue); }
.calc-side-note { margin: 0; font-size: 13px; color: var(--muted); }
.calc-side-list { list-style: none; margin: 20px 0 0; padding: 0; font-size: 14px; }
.calc-side-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.calc-side-list li b { white-space: nowrap; }
.calc-side-list .empty { color: var(--muted); }
@media (max-width: 999px) {
  .calc-side { position: sticky; top: auto; bottom: 12px; order: 2; padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; border-radius: 22px; }
  .calc-side-total { font-size: 28px; margin: 0; }
  .calc-side-list { display: none; }
  .calc-side-note { flex-basis: 100%; }
}
@media (max-width: 760px) { .calc-side { bottom: 84px; } }
/* Étapes compactes : seul le libellé de l'étape en cours est affiché sur les écrans moyens */
@media (max-width: 1440px) {
  .calc-progress button:not(.is-current) { font-size: 0; gap: 0; padding: 4px; }
  .calc-progress button:not(.is-current) span { font-size: 12px; }
}
#rechner, #anfrage { scroll-margin-top: 80px; }

/* ---------- Seite 404 ---------- */
.error-code { display: grid; place-items: center; }
.error-code span {
  font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(120px, 20vw, 280px); line-height: .9; letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 30px 60px rgba(5,100,168,.25)); opacity: 0; animation: fade 1s .3s var(--ease) forwards;
}
@media (max-width: 999px) { .error-code { display: none; } }
@media (prefers-reduced-motion: reduce) { .error-code span { opacity: 1; animation: none; } }

/* ---------- Videos (Filmproduktion) ---------- */
.video-grid { display: grid; gap: 22px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0b2240; box-shadow: 0 30px 60px -35px rgba(6,58,107,.5); }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #0b2240; }
.video-card figcaption { margin-top: 12px; font-weight: 700; font-size: 15.5px; }
.yt-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; border: 0; cursor: pointer; text-align: center; color: #fff; font: inherit;
  background: radial-gradient(circle at 30% 20%, rgba(28,172,208,.45), transparent 60%), linear-gradient(135deg, #0b2240, #0564a8); }
.yt-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95); position: relative; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.yt-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--blue); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt-load:hover .yt-play { transform: scale(1.08); }
.yt-text b { display: block; font-size: 16px; }
.yt-text small { display: block; margin-top: 4px; font-size: 12.5px; opacity: .8; max-width: 34ch; }
.pv-play { position: relative; }
.pv-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%230564a8'/%3E%3C/svg%3E") center / 34px no-repeat;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
