/*
Theme Name: Outlet Cities
Description: Theme für outlet-cities.de / outlet-cities.com. Wegweiser zu Outlet-Centern, Marken und Stores. Farben aus dem bisherigen Auftritt (E-016).
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 8.1
Author: Outlet Cities
Text Domain: outlet-cities
*/

/* ---------------------------------------------------------------------------
   Farben = bestehende Farben der alten Seite (E-016, ausgelesen 2026-10-24).
   Rot wird nur für Flächen, Linien und große Schrift verwendet; auf Rot steht
   schwarzer Text (Kontrast 5,3:1), weil Weiß auf #FF0000 nur 4:1 erreicht.
   #999999 nur für Linien, nicht für Text (Kontrast auf Weiß zu gering).
   ------------------------------------------------------------------------ */
:root {
	--oc-ink: #000000;
	--oc-night: #222222;
	--oc-graphite: #333333;
	--oc-paper: #ffffff;
	--oc-fog: #efefef;
	--oc-ash: #999999;
	--oc-red: #ff0000;

	--oc-font-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--oc-font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--oc-measure: 68ch;
	--oc-wide: 1180px;
	--oc-gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--oc-paper);
	color: var(--oc-ink);
	font-family: var(--oc-font-text);
	font-size: 1.0625rem;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--oc-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--oc-red); text-decoration-thickness: 3px; }

:focus-visible { outline: 3px solid var(--oc-red); outline-offset: 2px; }

h1, h2, h3 {
	font-family: var(--oc-font-display);
	font-stretch: condensed;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p, ul, ol { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto;
	background: var(--oc-red); color: var(--oc-ink); padding: .6em 1em; font-weight: 700;
}

.oc-wrap { max-width: var(--oc-wide); margin: 0 auto; padding: 0 var(--oc-gutter); }

/* --- Kopf ------------------------------------------------------------------ */
.oc-head { background: var(--oc-ink); color: var(--oc-paper); }
.oc-head__bar { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.oc-brandmark {
	font-family: var(--oc-font-display); font-stretch: condensed; font-weight: 800;
	font-size: 1.55rem; color: var(--oc-paper); text-decoration: none; letter-spacing: -.01em;
	display: inline-flex; align-items: center; gap: .45rem; margin-right: auto;
}
.oc-brandmark__pin { width: 14px; height: 14px; background: var(--oc-red); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.oc-brandmark:hover { color: var(--oc-paper); text-decoration: none; }
.oc-brandmark img { max-height: 40px; width: auto; }

.oc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.oc-nav a { color: var(--oc-paper); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .3em 0; border-bottom: 3px solid transparent; }
.oc-nav a:hover, .oc-nav .current-menu-item > a, .oc-nav [aria-current] { border-bottom-color: var(--oc-red); }

.oc-lang { display: flex; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.oc-lang a { color: var(--oc-paper); text-decoration: none; font-size: .9rem; font-weight: 700; padding: .25em .5em; border: 1px solid var(--oc-graphite); }
.oc-lang .is-current a { background: var(--oc-paper); color: var(--oc-ink); border-color: var(--oc-paper); }

.oc-menu-toggle { display: none; background: none; border: 1px solid var(--oc-graphite); color: var(--oc-paper); font: inherit; font-weight: 600; padding: .35em .8em; cursor: pointer; }

@media (max-width: 760px) {
	.oc-menu-toggle { display: block; }
	.oc-nav { display: none; flex-basis: 100%; padding-bottom: 1rem; }
	.oc-nav.is-open { display: block; }
	.oc-nav ul { flex-direction: column; gap: .2rem; }
	.oc-head__bar { flex-wrap: wrap; }
}

/* --- Startseite: Markenwolke als Einstieg ---------------------------------- */
.oc-hero { background: var(--oc-ink); color: var(--oc-paper); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); }
.oc-hero h1 { max-width: 14ch; margin-bottom: .35em; }
.oc-hero__lead { max-width: 52ch; color: #dddddd; font-size: 1.15rem; margin-bottom: 1.8rem; }

.oc-search { display: flex; max-width: 560px; border: 2px solid var(--oc-paper); }
.oc-search input {
	flex: 1; min-width: 0; border: 0; background: var(--oc-paper); color: var(--oc-ink);
	font: inherit; font-size: 1.05rem; padding: .8em 1em;
}
.oc-search button {
	border: 0; background: var(--oc-red); color: var(--oc-ink); font: inherit; font-weight: 800;
	padding: 0 1.4em; cursor: pointer;
}
.oc-search button:hover { background: var(--oc-paper); }

.oc-cloud { list-style: none; margin: 2.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .9em; max-width: 1000px; }
.oc-cloud__item {
	font-family: var(--oc-font-display); font-stretch: condensed; font-weight: 700;
	text-decoration: none; color: var(--oc-paper); line-height: 1.15;
}
.oc-cloud__item:hover { color: var(--oc-red); text-decoration: none; }
.oc-cloud__item--0 { font-size: 1.05rem; color: #bbbbbb; }
.oc-cloud__item--1 { font-size: 1.3rem; color: #d6d6d6; }
.oc-cloud__item--2 { font-size: 1.65rem; }
.oc-cloud__item--3 { font-size: 2.1rem; }
.oc-cloud__item--4 { font-size: 2.7rem; }
.oc-section--light .oc-cloud__item { color: var(--oc-ink); }
.oc-section--light .oc-cloud__item--0, .oc-section--light .oc-cloud__item--1 { color: var(--oc-graphite); }

/* --- Abschnitte -------------------------------------------------------------- */
.oc-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.oc-section--fog { background: var(--oc-fog); }
.oc-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 3px solid var(--oc-ink); margin-bottom: 1.2rem; }
.oc-section__head h2 { margin-bottom: .25em; }

/* Center-Verzeichnis: Liste statt Kacheln, mit Store-Anzahl als Information */
.oc-centers { list-style: none; margin: 0; padding: 0; columns: 2 420px; column-gap: 3rem; }
.oc-centers li { break-inside: avoid; border-bottom: 1px solid var(--oc-ash); }
.oc-centers a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .9rem 0; text-decoration: none; }
.oc-centers__name { font-family: var(--oc-font-display); font-stretch: condensed; font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.oc-centers__place { grid-column: 1; color: var(--oc-graphite); font-size: .95rem; }
.oc-centers__count { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.oc-centers a:hover .oc-centers__name { text-decoration: underline 3px var(--oc-red); text-underline-offset: .15em; }

.oc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.oc-chips a { display: inline-block; padding: .45em .9em; border: 1px solid var(--oc-ink); text-decoration: none; font-weight: 600; background: var(--oc-paper); }
.oc-chips a:hover, .oc-chips a[aria-current] { background: var(--oc-ink); color: var(--oc-paper); }
.oc-chips small { font-weight: 400; margin-left: .3em; }

/* --- Rabatt-Anhänger: das eine wiedererkennbare Element ---------------------- */
.oc-tag {
	display: inline-flex; align-items: center; gap: .45em; position: relative;
	background: var(--oc-red); color: var(--oc-ink); font-weight: 800; line-height: 1;
	padding: .38em .7em .38em 1.15em; white-space: nowrap; font-size: .88rem;
	clip-path: polygon(.6em 0, 100% 0, 100% 100%, .6em 100%, 0 50%);
}
.oc-tag::before { content: ""; position: absolute; left: .55em; top: 50%; width: .3em; height: .3em; margin-top: -.15em; border-radius: 50%; background: var(--oc-paper); }
.oc-tag--big { font-size: 1.35rem; padding: .45em .9em .45em 1.4em; font-family: var(--oc-font-display); font-stretch: condensed; }

/* --- Seitenkopf Unterseiten --------------------------------------------------- */
.oc-pagehead { background: var(--oc-ink); color: var(--oc-paper); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.oc-pagehead a { color: var(--oc-paper); }
.oc-pagehead__kicker { margin: 0 0 .6rem; color: #cccccc; font-size: .98rem; }
.oc-pagehead__kicker a { color: #ffffff; }
.oc-pagehead__sub { max-width: 60ch; color: #dddddd; font-size: 1.1rem; margin: 0; }
.oc-pagehead__meta { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1.2rem; }
.oc-pagehead__logo { background: var(--oc-paper); padding: .5rem .8rem; display: inline-block; }
.oc-pagehead__logo img { display: block; max-height: 56px; width: auto; }

/* --- Inhalt + Infospalte ------------------------------------------------------ */
.oc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 900px) { .oc-layout { grid-template-columns: 1fr; } .oc-aside { order: -1; } }

.oc-prose { max-width: var(--oc-measure); }
.oc-prose h2 { margin-top: 1.6em; font-size: 1.8rem; }
.oc-prose img { display: block; }
.oc-prose figure { margin: 1.5em 0; }
.oc-prose figcaption { font-size: .9rem; color: var(--oc-graphite); margin-top: .4em; }
.oc-prose iframe { max-width: 100%; }
.oc-prose table { border-collapse: collapse; width: 100%; }
.oc-prose td, .oc-prose th { border-bottom: 1px solid var(--oc-ash); padding: .45em .6em; text-align: left; vertical-align: top; }

.oc-facts { background: var(--oc-fog); padding: 1.4rem 1.4rem .6rem; border-top: 6px solid var(--oc-ink); }
.oc-facts h2 { font-size: 1.35rem; }
.oc-facts dl { margin: 0; }
.oc-facts dt { font-weight: 700; font-size: .9rem; margin-top: .9rem; }
.oc-facts dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
.oc-facts__map { display: inline-block; margin: 1.2rem 0 .8rem; font-weight: 700; }
.oc-note { font-size: .88rem; color: var(--oc-graphite); border-left: 3px solid var(--oc-ash); padding-left: .8rem; margin-top: 1.4rem; }

/* --- Store-Verzeichnis eines Centers ------------------------------------------- */
.oc-dir__tools { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-bottom: 1rem; }
.oc-dir__tools label { font-weight: 700; margin-right: .5rem; }
.oc-dir__tools select { font: inherit; padding: .45em .6em; border: 1px solid var(--oc-ink); background: var(--oc-paper); }
.oc-az { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem; }
.oc-az a { display: inline-block; min-width: 1.9em; text-align: center; padding: .2em 0; font-weight: 700; text-decoration: none; }
.oc-az a:hover { background: var(--oc-ink); color: var(--oc-paper); }
.oc-dir__letter { font-size: 2rem; margin: 1.6rem 0 .2rem; border-bottom: 3px solid var(--oc-ink); padding-bottom: .1rem; }
.oc-dir__letter[hidden] { display: none; }

.oc-rows { list-style: none; margin: 0; padding: 0; }
.oc-row { border-bottom: 1px solid var(--oc-ash); }
.oc-row[hidden] { display: none; }
.oc-row a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; align-items: center; padding: .75rem 0; text-decoration: none; }
.oc-row__title { font-weight: 700; font-size: 1.08rem; }
.oc-row__meta { grid-column: 1; color: var(--oc-graphite); font-size: .92rem; }
.oc-row .oc-tag { grid-row: 1 / span 2; grid-column: 2; }
.oc-row a:hover .oc-row__title { text-decoration: underline 3px var(--oc-red); text-underline-offset: .15em; }

/* --- Bewertung ------------------------------------------------------------------ */
.oc-stars { position: relative; display: inline-block; font-size: 1.25rem; line-height: 1; letter-spacing: .08em; color: var(--oc-ash); }
.oc-stars::before { content: "★★★★★"; }
.oc-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--oc-red); }
.oc-stars__fill::before { content: "★★★★★"; }
.oc-rating { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--oc-ash); }
.oc-rating__summary { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.oc-rating__label { font-weight: 700; }
.oc-rating__form { margin-top: .7rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-size: .95rem; }
.oc-rating__buttons { display: inline-flex; flex-direction: row-reverse; }
.oc-rating__buttons button { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--oc-ash); cursor: pointer; padding: 0 .06em; }
.oc-rating__buttons button:hover, .oc-rating__buttons button:hover ~ button, .oc-rating__buttons button:focus-visible, .oc-rating__buttons button:focus-visible ~ button { color: var(--oc-red); }
.oc-rating__buttons button:disabled { cursor: default; }
.oc-rating__msg { flex-basis: 100%; font-weight: 600; }

/* --- Raster für Marken-/Warengruppen-Seiten --------------------------------------- */
.oc-groups h2 { font-size: 1.6rem; margin-top: 2rem; }
.oc-groups h2 a { text-decoration: none; }

.oc-pager { display: flex; gap: .4rem; flex-wrap: wrap; margin: 2rem 0; }
.oc-pager .page-numbers { padding: .35em .75em; border: 1px solid var(--oc-ink); text-decoration: none; font-weight: 600; }
.oc-pager .current { background: var(--oc-ink); color: var(--oc-paper); }

/* --- Anzeigen und Fragen/Antworten ------------------------------------------------ */
.oc-ad { margin: 2rem 0; min-height: 100px; }
.oc-ad__label { display: block; font-size: .78rem; color: var(--oc-graphite); margin-bottom: .3rem; }
.oc-faq { margin: 0 0 1.5rem; }
.oc-faq dt { font-weight: 700; margin-top: 1rem; }
.oc-faq dd { margin: .25rem 0 0; }

/* --- Fuß ----------------------------------------------------------------------------- */
.oc-foot { background: var(--oc-night); color: #dddddd; padding: 2.5rem 0 2rem; margin-top: 0; font-size: .95rem; }
.oc-foot a { color: #ffffff; }
.oc-foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.oc-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
