/* Vorwahlen weltweit – Frontend. Farben über Variablen im Theme anpassbar. */
.vww {
	--vww-akzent: #0b5394;
	--vww-akzent-hell: rgba(11, 83, 148, .08);
	--vww-rand: rgba(127, 127, 127, .28);
	--vww-flaeche: rgba(127, 127, 127, .07);
	--vww-gut: #2e7d32;
	--vww-mittel: #c77700;
	--vww-schlecht: #b3261e;
	--vww-radius: 8px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
	line-height: 1.55;
	box-sizing: border-box;
}
.vww *, .vww *::before, .vww *::after { box-sizing: inherit; }
.vww h1 { margin: .2em 0 .4em; line-height: 1.2; }
.vww h2 { margin: 0 0 .6em; line-height: 1.25; }
.vww h3 { margin: 1.2em 0 .5em; }
.vww a { color: var(--vww-akzent); }
.vww code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; }
.vww-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.vww-brotkrumen ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .9rem; }
.vww-brotkrumen li + li::before { content: "›"; margin-right: .25rem; opacity: .6; }

.vww-kopf { margin-bottom: 1.5rem; }
.vww-kopf-land { display: flex; gap: 1rem; align-items: flex-start; }
.vww-kopf-ort { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; }
.vww-lead { font-size: 1.1rem; }
.vww-dachzeile { margin: 0; font-size: .95rem; }
.vww-dachzeile a { text-decoration: none; }

.vww-flagge { display: inline-block; vertical-align: middle; width: 1.6em; height: auto; margin-right: .35em; border-radius: 2px; }
.vww-flagge-emoji { font-size: 1.25em; line-height: 1; }
.vww-flagge-gross { width: 72px; font-size: 3.2rem; margin: .2rem 0 0; }
img.vww-flagge-gross { box-shadow: 0 0 0 1px var(--vww-rand); }

.vww-vorwahl-box { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.vww-vorwahl-box > div { background: var(--vww-akzent-hell); border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: .6rem 1rem; min-width: 9rem; }
.vww-vorwahl-box span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.vww-vorwahl-box strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }

.vww-wappen { margin: 0; text-align: center; max-width: 200px; }
.vww-wappen img { max-width: 160px; max-height: 200px; width: auto; height: auto; }
.vww-wappen figcaption { font-size: .72rem; line-height: 1.35; margin-top: .4rem; opacity: .85; word-break: break-word; }
.vww-wappen-klein { width: 24px; height: 28px; object-fit: contain; vertical-align: middle; }

.vww-abschnitt { margin: 2.25rem 0; }
.vww-zwei-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.vww-inhalt { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.5rem; }
.vww-inhalt a, .vww-sprungmarken a { padding: .25rem .7rem; border: 1px solid var(--vww-rand); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.vww-sprungmarken { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }

.vww-steckbrief { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .35rem 1rem; margin: 0; }
.vww-steckbrief dt { font-weight: 600; }
.vww-steckbrief dd { margin: 0; }

.vww-tabelle-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vww-tabelle { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .95rem; }
.vww-tabelle th, .vww-tabelle td { border-bottom: 1px solid var(--vww-rand); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.vww-tabelle thead th { font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; opacity: .8; }
.vww-tabelle tbody tr:hover { background: var(--vww-flaeche); }
.vww-col-wappen { width: 36px; }
.vww-mobil td { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; }

.vww-suche { background: var(--vww-akzent-hell); border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: 1rem; margin: 1rem 0 1.5rem; }
.vww-suche-feld { display: flex; gap: .5rem; }
.vww-suche-feld input { flex: 1; min-width: 0; font-size: 1.1rem; padding: .65rem .8rem; border: 1px solid var(--vww-rand); border-radius: 6px; }
.vww-suche-feld button, .vww-button { display: inline-block; background: var(--vww-akzent); color: #fff !important; border: 0; border-radius: 6px; padding: .65rem 1.1rem; font-size: 1rem; cursor: pointer; text-decoration: none; }
.vww-suche-feld button:hover, .vww-button:hover { filter: brightness(1.1); }
.vww-hinweis { font-size: .9rem; opacity: .85; }
.vww-quelle { font-size: .8rem; opacity: .7; margin-top: 2rem; }

.vww-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; list-style: none; margin: 1rem 0 2rem; padding: 0; }
.vww-kachel { display: flex; flex-direction: column; gap: .2rem; border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: .9rem 1rem; text-decoration: none; height: 100%; }
.vww-kachel:hover { background: var(--vww-akzent-hell); }
.vww-kachel span { font-size: .88rem; color: inherit; opacity: .8; }
.vww-kachel-warnung { border-color: var(--vww-schlecht); }

.vww-laenderliste { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .25rem .75rem; }
.vww-laenderliste a { display: flex; align-items: center; gap: .25rem; padding: .3rem .4rem; border-radius: 6px; text-decoration: none; }
.vww-laenderliste a:hover { background: var(--vww-flaeche); }
.vww-laenderliste .vww-name { flex: 1; }
.vww-laenderliste .vww-code { font-variant-numeric: tabular-nums; opacity: .8; white-space: nowrap; }

.vww-alphabet { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; margin: .5rem 0; }
.vww-alphabet .vww-label { font-weight: 600; margin-right: .4rem; }
.vww-alphabet a { min-width: 2rem; text-align: center; padding: .2rem .45rem; border: 1px solid var(--vww-rand); border-radius: 5px; text-decoration: none; }
.vww-alphabet a[aria-current] { background: var(--vww-akzent); color: #fff; }

.vww-waehlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.vww-szenario { border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: 1rem; }
.vww-szenario h3 { margin-top: 0; font-size: 1.05rem; }
.vww-schritte { list-style: none; padding: 0; margin: 0 0 .75rem; counter-reset: s; }
.vww-schritte li { display: flex; gap: .6rem; align-items: baseline; padding: .2rem 0; counter-increment: s; }
.vww-schritte li::before { content: counter(s); font-size: .75rem; width: 1.3rem; height: 1.3rem; line-height: 1.3rem; text-align: center; border-radius: 50%; background: var(--vww-flaeche); flex: none; }
.vww-ziffern { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; min-width: 3.5rem; }
.vww-erklaerung { font-size: .9rem; }
.vww-ergebnis code { font-size: 1.1rem; font-weight: 700; }

.vww-uhren { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.vww-uhr { border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: 1rem; }
.vww-uhr-kopf { font-weight: 600; }
.vww-uhr-zeit { font-size: 2.4rem; font-variant-numeric: tabular-nums; line-height: 1.1; margin: .2rem 0; }
.vww-uhr-datum, .vww-uhr-meta, .vww-uhr-dst { font-size: .88rem; opacity: .85; }
.vww-uhr-dst { margin-top: .5rem; }
.vww-ampel { margin-top: .6rem; padding: .5rem .7rem; border-radius: 6px; border-left: 4px solid; background: var(--vww-flaeche); font-size: .9rem; }
.vww-ampel strong { display: block; }
.vww-ampel-gut { border-color: var(--vww-gut); }
.vww-ampel-mittel { border-color: var(--vww-mittel); }
.vww-ampel-schlecht { border-color: var(--vww-schlecht); }

.vww-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1rem; }
.vww-chips li { border: 1px solid var(--vww-rand); border-radius: 999px; padding: .1rem .6rem; font-size: .88rem; }
.vww-chips-mono li { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.vww-nachbarn { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem; }
.vww-nachbarn a { display: flex; gap: .5rem; align-items: center; padding: .45rem .6rem; border: 1px solid var(--vww-rand); border-radius: 6px; text-decoration: none; }
.vww-nachbarn a span { flex: 1; }
.vww-nachbarn a:hover { background: var(--vww-akzent-hell); }

.vww-karte { border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); min-height: 380px; position: relative; overflow: hidden; background: var(--vww-flaeche); }
.vww-karte-map { height: 420px; width: 100%; }
.vww-karte-platzhalter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; gap: .75rem; }
.vww-karte-platzhalter p { max-width: 34rem; font-size: .9rem; }

.vww-notrufe { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.vww-notrufe li { border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: .5rem .8rem; display: flex; gap: .6rem; align-items: center; }
.vww-notruf-nummer { font-size: 1.4rem; font-weight: 700; color: var(--vww-schlecht) !important; text-decoration: none; }

.vww-warnung { border: 1px solid var(--vww-schlecht); border-left-width: 5px; border-radius: var(--vww-radius); padding: 1rem 1.2rem; background: rgba(179, 38, 30, .06); }
.vww-warnung-klein { padding: .5rem .8rem; margin: .5rem 0; font-size: .92rem; }
.vww-risiko-hoch td:first-child { color: var(--vww-schlecht); }

.vww-treffer { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.vww-treffer a { display: flex; gap: .75rem; align-items: center; padding: .75rem 1rem; border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); text-decoration: none; }
.vww-treffer a:hover { background: var(--vww-akzent-hell); }
.vww-treffer-text { display: flex; flex-direction: column; }
.vww-treffer-text small { color: inherit; opacity: .8; }
.vww-treffer-ort a { border-left: 4px solid var(--vww-akzent); }
.vww-treffer-global a, .vww-treffer-sonder a { border-left: 4px solid var(--vww-mittel); }

.vww-werkzeug { border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: 1.2rem; margin: 1rem 0; position: relative; }
.vww-feldreihe { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; position: relative; }
.vww-feldreihe-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.vww-feldreihe label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; position: relative; }
.vww-feldreihe input, .vww-feldreihe select { font: inherit; font-weight: 400; padding: .55rem .7rem; border: 1px solid var(--vww-rand); border-radius: 6px; max-width: 100%; }
.vww-ergebnis-box { margin-top: 1rem; }
.vww-ergebnis-box[aria-busy="true"] { opacity: .5; }
.vww-status { font-weight: 700; padding: .4rem .7rem; border-radius: 6px; display: inline-block; }
.vww-ok { background: rgba(46, 125, 50, .12); color: var(--vww-gut); }
.vww-nok, .vww-fehler { background: rgba(179, 38, 30, .1); color: var(--vww-schlecht); }
.vww-fehler { padding: .4rem .7rem; border-radius: 6px; }
.vww-kopieren { margin-left: .4rem; border: 1px solid var(--vww-rand); background: transparent; border-radius: 4px; cursor: pointer; font-size: .85rem; }
.vww-zeit-gross strong { font-size: 2.2rem; font-variant-numeric: tabular-nums; margin-right: .5rem; }

.vww-vorschlaege { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; right: 0; z-index: 50; background: #fff; color: #1d1d1d; border: 1px solid var(--vww-rand); border-radius: 0 0 6px 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); font-weight: 400; max-height: 320px; overflow-y: auto; }
.vww-vorschlaege:empty { display: none; }
.vww-vorschlaege li { padding: .45rem .7rem; cursor: pointer; }
.vww-vorschlaege li:hover, .vww-vorschlaege li.vww-aktiv { background: var(--vww-akzent-hell); }
.vww-vorschlaege small { opacity: .75; }

.vww-vergleich-tbl { font-size: .85rem; }
.vww-vergleich-tbl th[scope=row] { white-space: nowrap; }
.vww-vergleich-zeit { font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vww-stunde { text-align: center !important; padding: .3rem .15rem !important; min-width: 1.7rem; font-variant-numeric: tabular-nums; }
td.vww-ampel-gut { background: rgba(46, 125, 50, .22); }
td.vww-ampel-mittel { background: rgba(199, 119, 0, .2); }
td.vww-ampel-schlecht { background: rgba(179, 38, 30, .12); }
.vww-entfernen { border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--vww-schlecht); }
.vww-legende { display: flex; gap: 1rem; font-size: .85rem; margin-top: .5rem; }
.vww-legende span { padding: .1rem .5rem; border-radius: 4px; }
.vww-legende .vww-ampel-gut { background: rgba(46, 125, 50, .22); }
.vww-legende .vww-ampel-mittel { background: rgba(199, 119, 0, .2); }
.vww-legende .vww-ampel-schlecht { background: rgba(179, 38, 30, .12); }

.vww-download-haupt { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.vww-infokarte { border: 1px solid var(--vww-rand); border-radius: var(--vww-radius); padding: 1rem; margin: 1rem 0; max-width: 420px; }
.vww-infokarte-titel { font-weight: 700; margin: 0 0 .5rem; }
.vww-wissen h2 { margin-top: 2rem; }
.vww-wissen table { width: 100%; border-collapse: collapse; }
.vww-wissen th, .vww-wissen td { border-bottom: 1px solid var(--vww-rand); padding: .4rem .5rem; text-align: left; vertical-align: top; }
.vww-quellen { font-size: .88rem; margin-top: 2.5rem; border-top: 1px solid var(--vww-rand); padding-top: 1rem; }
.vww-quellen h2 { font-size: 1.1rem; }
.vww-quelle-link { font-size: .8rem; }
.vww-weiter { margin-top: 3rem; border-top: 1px solid var(--vww-rand); padding-top: 1rem; }
.vww-weiter h2 { font-size: 1.1rem; }

@media (max-width: 640px) {
	.vww-kopf-ort { grid-template-columns: 1fr; }
	.vww-kopf-ort .vww-wappen { order: -1; margin: 0 auto; }
	.vww-steckbrief { grid-template-columns: 1fr; }
	.vww-steckbrief dd { margin-bottom: .4rem; }
	.vww-suche-feld { flex-direction: column; }
	.vww-vorwahl-box strong { font-size: 1.3rem; }
	.vww-uhr-zeit { font-size: 2rem; }
}
.vww.vww-shortcode, .vww.vww-infokarte { padding: 0; margin-left: 0; margin-right: 0; }
.vww.vww-infokarte { padding: 1rem; }
