/* billigevorwahl.de — phone-prefix lookup styles */

.lead { font-size: 1.05rem; color: #555; margin-bottom: 1.25rem; max-width: 70ch; }

/* Reverse-lookup tool */
.bv-tool { background: linear-gradient(135deg, #fff8e8, #fff); border: 2px solid #f4d35e;
  border-radius: 12px; padding: 1.5rem; margin: 0 0 2rem; }
.bv-tool h2 { margin-top: 0; }
.bv-input { display: flex; gap: .5rem; margin-bottom: .8rem; flex-wrap: wrap; }
.bv-input input { flex: 1; min-width: 240px; padding: .75rem 1rem; font-size: 1.15rem;
  border: 2px solid var(--border); border-radius: 6px; font-family: monospace; }
.bv-input input:focus { outline: none; border-color: var(--accent); }
.bv-input button { padding: .75rem 1.5rem; background: var(--accent); color: #fff;
  border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.bv-input button:hover { background: var(--accent-h); }
.bv-quick { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.bv-quick .quick { background: #fff; border: 1px solid var(--border); padding: .35rem .8rem;
  border-radius: 4px; cursor: pointer; font-family: monospace; font-size: .9rem; color: #555; }
.bv-quick .quick:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.bv-result { background: #fff; border: 2px solid var(--accent); border-radius: 8px;
  padding: 1.2rem; margin-top: .5rem; }
.bv-result.hidden { display: none; }
.bv-r-kind { display: inline-block; padding: .25rem .7rem; background: var(--accent);
  color: #fff; border-radius: 4px; font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem; }
.bv-r-kind.k-mobilfunk          { background: #2e9e4d; }
.bv-r-kind.k-festnetz           { background: #1a56d6; }
.bv-r-kind.k-auslandsvorwahl    { background: #d4504e; }
.bv-r-kind.k-notruf, .bv-r-kind.k-sperr-notruf { background: #c00; }
.bv-r-kind.k-premium-dienst, .bv-r-kind.k-service-dienst { background: #b07b00; }
.bv-r-prefix { font-family: monospace; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.bv-r-prefix .match { color: var(--accent); }
.bv-r-prefix .rest  { color: #aaa; }
.bv-r-label { font-size: 1.2rem; font-weight: 600; margin-top: .25rem; }
.bv-r-sub { color: #555; margin-top: .3rem; font-size: .95rem; }
.bv-empty { color: #555; }

/* Card grid */
.bv-cards { margin: 2rem 0; }
.bv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem; margin: 1rem 0; }
.bv-card { background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 1.2rem; text-decoration: none; color: inherit;
  transition: box-shadow .15s, border-color .15s; display: block; }
.bv-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.08); border-color: var(--accent); text-decoration: none; }
.bv-icon { font-size: 2rem; margin-bottom: .5rem; }
.bv-card h3 { margin: 0 0 .25rem; color: var(--accent); font-size: 1.1rem; }
.bv-card p { color: #555; font-size: .9rem; margin: 0; }

/* Explainer */
.bv-explain ul { padding-left: 1.4em; }
.bv-explain li { margin: .5em 0; }

.bv-source { color: var(--muted); font-size: .85rem; margin-top: 2rem; }

/* Tables for overview pages */
.bv-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.bv-table th, .bv-table td { padding: .55rem .8rem; border-bottom: 1px solid var(--border); text-align: left; }
.bv-table th { background: #f5f7fa; font-weight: 600; }
.bv-table tr:hover { background: #fafbfc; }
.bv-table td.prefix { font-family: monospace; font-weight: 600; color: var(--accent); }
.bv-table td.prefix a { text-decoration: none; }
.bv-table td.cost { font-size: .9rem; color: #b07b00; }

/* Per-entry page (area code / mobile / country) */
.bv-breadcrumb { color: #888; font-size: .85rem; margin-bottom: 1rem; }
.bv-breadcrumb a { color: var(--accent); text-decoration: none; }
.bv-headline { display: flex; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, #e8f0fe, #fff); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.bv-headline-prefix { font-family: monospace; font-size: 3rem; font-weight: 800;
  color: var(--accent); line-height: 1; }
.bv-headline h1 { margin: 0; font-size: 1.6rem; }
.bv-headline-sub { color: #666; margin: .25rem 0 0; font-size: .95rem; }

.bv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .75rem; margin: 1rem 0 2rem; }
.bv-fact { background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: .8rem 1rem; }
.bv-fact .lbl { color: #888; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.bv-fact .val { font-weight: 600; font-size: 1.05rem; margin-top: .2rem;
  font-family: monospace; color: var(--accent); }

.bv-ops { padding-left: 1.2em; }
.bv-ops li { margin: .25rem 0; }
.bv-example { font-family: monospace; font-size: 1.1rem;
  background: #f5f7fa; padding: .6rem .8rem; border-radius: 6px; display: inline-block; }
.bv-dial { padding-left: 1.5em; }
.bv-dial li { margin: .4rem 0; }
.bv-dial code { background: #f5f7fa; padding: 0 .25em; border-radius: 3px; }

.bv-near { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .5rem; margin: 1rem 0; }
.bv-near-card { background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: .6rem .8rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.bv-near-card:hover { border-color: var(--accent); }
.bv-near-code { font-family: monospace; font-weight: 700; color: var(--accent); }
.bv-near-name { font-size: .85rem; color: #555; }

/* Overview pages */
.bv-cities { margin-top: 1rem; }
.bv-city-card { display: flex; flex-direction: column; align-items: center; }
.bv-city-code { font-family: monospace; font-weight: 700; color: var(--accent); font-size: 1.25rem; }
.bv-city-name { color: #333; }

.bv-az-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1rem 0;
  padding: .6rem; background: #f5f7fa; border-radius: 6px; }
.bv-az-nav a { padding: .35rem .55rem; background: #fff; border: 1px solid var(--border);
  border-radius: 4px; text-decoration: none; font-family: monospace; font-weight: 600;
  color: var(--accent); }
.bv-az-nav a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.bv-letter { margin-top: 2rem; padding-bottom: .3rem; border-bottom: 2px solid var(--accent); }
