/*
Theme Name: EchtgeldArena
Theme URI: https://echtgeldarena.blog
Author: EchtgeldArena
Description: Schnelles, SEO-optimiertes Informations-Theme für echtgeldarena.blog. Eingebaute Meta-Tags, Canonical, JSON-LD (WebPage, BreadcrumbList, FAQPage), Inhaltsverzeichnis, H1 mit Flagge und Domain sowie automatische Einrichtung aller Seiten.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: echtgeldarena
*/

/* Fonts: Barlow + Barlow Condensed, self-hosted (SIL OFL), no external requests. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
	--ea-black: #000;
	--ea-red: #d00;
	--ea-gold: #ffce00;
	--ea-ink: #1d2125;
	--ea-ink-soft: #4b545e;
	--ea-line: #d8dde2;
	--ea-surface: #f1f3f5;
	--ea-paper: #fff;
	--ea-link: #a80000;
	--ea-warn-bg: #fff3f3;
	--ea-font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ea-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--ea-measure: 70ch;
	--ea-gutter: clamp(1rem, 4vw, 2rem);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--ea-paper);
	color: var(--ea-ink);
	font-family: var(--ea-font);
	font-size: 1.125rem;
	line-height: 1.65;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--ea-link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ea-black); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ea-gold); }
h1, h2, h3, h4 { font-family: var(--ea-display); font-weight: 700; line-height: 1.1; color: var(--ea-black); letter-spacing: -.005em; hyphens: manual; }
h2, h3, h4 { scroll-margin-top: 1.25rem; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--ea-line); margin: 2.5rem 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100; background: var(--ea-gold); color: var(--ea-black); padding: .75rem 1rem; }

.ea-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ea-gold); color: var(--ea-black); padding: .6rem 1rem; font-weight: 600; }
.ea-skip:focus { top: 1rem; }

.ea-container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--ea-gutter); }
.ea-main:focus { outline: none; box-shadow: none; }

/* Header: black band, followed by red and gold bands = the flag */
.ea-header { background: var(--ea-black); color: #fff; }
.ea-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.ea-brand__link { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.ea-brand__flag { width: 1.6rem; height: auto; outline: 1px solid rgba(255, 255, 255, .35); }
.ea-brand__name { font-family: var(--ea-display); font-weight: 700; font-size: 1.65rem; letter-spacing: .01em; line-height: 1; }
.ea-brand .custom-logo { max-height: 48px; width: auto; }
.ea-tricolor { height: 10px; background: linear-gradient(to bottom, var(--ea-red) 0 50%, var(--ea-gold) 50% 100%); }

.ea-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.ea-menu a { display: inline-block; padding: .4rem 0; color: #e6e8eb; text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 3px solid transparent; }
.ea-menu a:hover { color: #fff; border-bottom-color: var(--ea-red); }
.ea-menu .current-menu-item > a,
.ea-menu .current_page_item > a,
.ea-menu a[aria-current="page"] { color: #fff; border-bottom-color: var(--ea-gold); }
.ea-menu .sub-menu { list-style: none; margin: 0; padding: 0; }

.ea-nav-toggle { display: none; align-items: center; gap: .5rem; background: none; border: 1px solid rgba(255, 255, 255, .5); color: #fff; font: 600 1rem var(--ea-font); padding: .45rem .8rem; border-radius: 3px; cursor: pointer; }
.ea-nav-toggle__bars, .ea-nav-toggle__bars::before, .ea-nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.ea-nav-toggle__bars::before, .ea-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.ea-nav-toggle__bars::before { top: -6px; }
.ea-nav-toggle__bars::after { top: 6px; }

@media (max-width: 899px) {
	.ea-header__inner { flex-wrap: wrap; }
	.ea-nav-toggle { display: inline-flex; }
	.ea-nav { display: none; width: 100%; padding: 0 0 1rem; }
	.ea-nav-open .ea-nav { display: block; }
	.ea-menu { flex-direction: column; gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
	.ea-menu a { display: block; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.ea-menu .current-menu-item > a, .ea-menu .current_page_item > a { border-bottom-color: rgba(255, 255, 255, .12); box-shadow: inset 4px 0 0 var(--ea-gold); padding-left: .9rem; }
}

/* Hero */
.ea-hero { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--ea-line); }
.ea-hero__title { font-size: clamp(2.1rem, 1.35rem + 3vw, 3.6rem); line-height: 1.04; margin: .35em 0 .4em; max-width: 28ch; text-wrap: balance; }
.ea-hero__lede { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ea-ink-soft); max-width: 62ch; margin: 0 0 1.25rem; }
.ea-hero .ea-search { margin-top: 1.25rem; }

/* The memorable bit: domain on a licence-plate badge, German flag in the band */
.ea-plate {
	display: inline-flex;
	align-items: stretch;
	vertical-align: .14em;
	margin-left: .2em;
	font-family: var(--ea-display);
	font-weight: 600;
	font-size: .46em;
	line-height: 1;
	letter-spacing: .03em;
	color: var(--ea-black);
	background: #fff;
	border: .1em solid var(--ea-black);
	border-radius: .24em;
	overflow: hidden;
	white-space: nowrap;
}
.ea-plate__band { display: flex; align-items: center; padding: 0 .38em; background: var(--ea-surface); border-right: .07em solid var(--ea-black); }
.ea-plate__flag { display: block; width: 1.35em; height: .81em; }
.ea-plate__domain { padding: .32em .55em .3em; }

/* Meta line */
.ea-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; font-size: .95rem; color: var(--ea-ink-soft); }
.ea-meta__author { display: flex; align-items: center; gap: .55rem; }
.ea-meta__avatar { border-radius: 50%; }
.ea-meta a { color: var(--ea-ink); font-weight: 600; }

/* Breadcrumbs */
.ea-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .9rem; color: var(--ea-ink-soft); }
.ea-breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #9aa3ad; }
.ea-breadcrumbs a { color: var(--ea-ink-soft); }

/* Layout */
.ea-layout { padding-top: clamp(1.5rem, 4vw, 2.75rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.ea-article { min-width: 0; max-width: var(--ea-measure); }
@media (min-width: 1100px) {
	.ea-layout--toc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 4.5rem; align-items: start; }
	.ea-layout--toc .ea-aside { grid-column: 2; grid-row: 1; position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow: auto; }
	.ea-layout--toc .ea-article { grid-column: 1; grid-row: 1; }
}

/* Table of contents */
.ea-toc { border-top: 3px solid var(--ea-black); padding-top: .5rem; margin-bottom: 2rem; }
.ea-toc__title { font-family: var(--ea-display); font-weight: 700; font-size: 1.25rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .25rem 0; }
.ea-toc__title::-webkit-details-marker { display: none; }
.ea-toc__title::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.ea-toc[open] .ea-toc__title::after { content: "−"; }
.ea-toc__list { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .97rem; line-height: 1.4; }
.ea-toc__list li { border-top: 1px solid var(--ea-line); }
.ea-toc__list a { display: block; padding: .55rem 0 .55rem .85rem; color: var(--ea-ink-soft); text-decoration: none; border-left: 3px solid transparent; }
.ea-toc__list a:hover { color: var(--ea-black); border-left-color: var(--ea-line); }
.ea-toc__list a[aria-current="true"] { color: var(--ea-black); font-weight: 600; border-left-color: var(--ea-red); }
@media (min-width: 1100px) {
	.ea-toc__title { cursor: default; pointer-events: none; }
	.ea-toc__title::after, .ea-toc[open] .ea-toc__title::after { content: none; }
}

/* Content typography */
.ea-content > * { margin-top: 0; margin-bottom: 1.15rem; }
.ea-content h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.3rem); margin: 2.75rem 0 1rem; text-wrap: balance; }
.ea-content h3 { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); font-weight: 600; margin: 2rem 0 .6rem; }
.ea-content h4 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.ea-content > h2:first-child, .ea-content > h3:first-child { margin-top: 0; }
.ea-content ul, .ea-content ol { padding-left: 1.3rem; }
.ea-content li { margin-bottom: .45rem; padding-left: .15rem; }
.ea-content li::marker { color: var(--ea-red); }
.ea-content ol > li::marker { font-family: var(--ea-display); font-weight: 700; }
.ea-content blockquote { margin: 1.75rem 0; padding: 0 0 0 1.25rem; border-left: 4px solid var(--ea-black); font-size: 1.2rem; }
.ea-content figure { margin: 1.75rem 0; }
.ea-content figcaption, .wp-caption-text { font-size: .9rem; color: var(--ea-ink-soft); margin-top: .5rem; }
.ea-content .wp-block-heading { scroll-margin-top: 1.25rem; }

/* Boxes */
.ea-box { margin: 1.75rem 0; padding: 1.2rem 1.4rem; background: var(--ea-surface); border-left: 5px solid var(--ea-gold); }
.ea-box > :last-child { margin-bottom: 0; }
.ea-box ul { margin: .25rem 0 0; }
.ea-box__title { font-family: var(--ea-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 0 0 .5rem; color: var(--ea-black); }
.ea-box--facts { border-left-color: var(--ea-black); }
.ea-box--warn { background: var(--ea-warn-bg); border-left-color: var(--ea-red); }
.ea-box--help { background: #fff; border: 2px solid var(--ea-black); border-left-width: 5px; }
.ea-box--help a[href^="tel:"] { font-weight: 600; white-space: nowrap; }

/* Tables */
.ea-table-wrap { overflow-x: auto; margin: 1.75rem 0; -webkit-overflow-scrolling: touch; }
.ea-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; min-width: 560px; }
.ea-table caption { text-align: left; font-size: .92rem; color: var(--ea-ink-soft); padding-bottom: .5rem; }
.ea-table th, .ea-table td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid var(--ea-line); }
.ea-table thead th { font-family: var(--ea-display); font-weight: 700; font-size: 1.1rem; border-bottom: 3px solid var(--ea-black); white-space: nowrap; }
.ea-table tbody th { font-weight: 600; }
.ea-table tbody tr:nth-child(even) { background: #f8f9fa; }

/* Pros and cons */
.ea-proscons { display: grid; gap: 1.25rem; margin: 1.75rem 0; }
@media (min-width: 700px) { .ea-proscons { grid-template-columns: 1fr 1fr; } }
.ea-proscons > div { padding: 1rem 1.2rem; border-top: 3px solid var(--ea-black); background: var(--ea-surface); }
.ea-proscons > div:last-child { border-top-color: var(--ea-red); }
.ea-proscons ul { list-style: none; padding: 0; margin: 0; }
.ea-proscons li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; }
.ea-proscons li::before { position: absolute; left: 0; top: 0; font-weight: 700; font-family: var(--ea-display); font-size: 1.2rem; line-height: 1.45; }
.ea-proscons .ea-pros li::before { content: "+"; color: var(--ea-black); }
.ea-proscons .ea-cons li::before { content: "−"; color: var(--ea-red); }

/* Numbered steps (used only for real sequences) */
.ea-steps { list-style: none; counter-reset: ea-step; padding: 0 !important; margin: 1.75rem 0; }
.ea-steps > li { counter-increment: ea-step; position: relative; padding: 0 0 1.1rem 3.25rem; margin: 0; min-height: 2.4rem; }
.ea-steps > li::before { content: counter(ea-step); position: absolute; left: 0; top: .05rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: var(--ea-black); color: var(--ea-gold); font-family: var(--ea-display); font-weight: 700; font-size: 1.25rem; }

/* FAQ */
.ea-faq { border-top: 3px solid var(--ea-black); margin: 1.25rem 0 2rem; }
.ea-faq__item { border-bottom: 1px solid var(--ea-line); }
.ea-faq__item > summary { list-style: none; cursor: pointer; position: relative; padding: 1rem 2.5rem 1rem 0; font-family: var(--ea-display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; color: var(--ea-black); }
.ea-faq__item > summary::-webkit-details-marker { display: none; }
.ea-faq__item > summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.6rem; line-height: 1; color: var(--ea-red); }
.ea-faq__item[open] > summary::after { content: "−"; }
.ea-faq__item > summary:hover { color: var(--ea-link); }
.ea-faq__answer { padding: 0 0 1rem; }
.ea-faq__answer > :last-child { margin-bottom: 0; }

/* Sources */
.ea-sources { font-size: .95rem; color: var(--ea-ink-soft); }
.ea-sources li { margin-bottom: .3rem; }

/* Author box */
.ea-author { display: flex; gap: 1.1rem; align-items: flex-start; margin: 3rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--ea-line); }
.ea-author__avatar { border-radius: 50%; flex: none; }
.ea-author__name { font-family: var(--ea-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 .25rem; color: var(--ea-black); }
.ea-author__bio { margin: 0 0 .4rem; color: var(--ea-ink-soft); font-size: 1rem; }
.ea-author__more { margin: 0; font-size: 1rem; }

/* Related guides */
.ea-related { margin-top: 3rem; }
.ea-related__title { font-size: clamp(1.6rem, 1.35rem + 1vw, 2rem); margin: 0 0 1.25rem; }
.ea-related__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 2rem; }
@media (min-width: 700px) { .ea-related__list { grid-template-columns: 1fr 1fr; } }
.ea-related__list li { border-top: 3px solid var(--ea-black); padding-top: .7rem; }
.ea-related__link { font-family: var(--ea-display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; color: var(--ea-black); text-decoration: none; }
.ea-related__link:hover { color: var(--ea-link); text-decoration: underline; text-decoration-thickness: 2px; }
.ea-related__list p { margin: .35rem 0 0; font-size: 1rem; color: var(--ea-ink-soft); line-height: 1.5; }

/* Post lists, search, pagination */
.ea-postlist { display: grid; gap: 2rem; }
.ea-postitem { border-top: 3px solid var(--ea-black); padding-top: .75rem; }
.ea-postitem__title { font-size: 1.6rem; margin: 0 0 .25rem; }
.ea-postitem__title a { color: var(--ea-black); text-decoration: none; }
.ea-postitem__title a:hover { color: var(--ea-link); }
.ea-postitem__date { font-size: .9rem; color: var(--ea-ink-soft); margin: 0 0 .4rem; }
.ea-postitem__excerpt { margin: 0; }
.ea-search { display: flex; max-width: 34rem; }
.ea-search__input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: .7rem .9rem; border: 2px solid var(--ea-black); border-right: 0; border-radius: 0; }
.ea-search__button { font: 600 1rem var(--ea-font); padding: .7rem 1.2rem; background: var(--ea-black); color: #fff; border: 2px solid var(--ea-black); cursor: pointer; }
.ea-search__button:hover { background: var(--ea-red); border-color: var(--ea-red); }
.navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.page-numbers { display: inline-block; min-width: 2.5rem; padding: .4rem .7rem; text-align: center; border: 1px solid var(--ea-line); text-decoration: none; color: var(--ea-ink); }
.page-numbers.current { background: var(--ea-black); color: #fff; border-color: var(--ea-black); }
.ea-featured { margin: 0 0 2rem; }
.ea-tags { font-size: .95rem; color: var(--ea-ink-soft); }

/* Comments */
.ea-comments { margin-top: 3rem; border-top: 1px solid var(--ea-line); padding-top: 1.5rem; }
.ea-comments__list { padding-left: 0; list-style: none; }
.ea-comments .comment-body { padding: 1rem 0; border-bottom: 1px solid var(--ea-line); }
.ea-comments input[type="text"], .ea-comments input[type="email"], .ea-comments input[type="url"], .ea-comments textarea { width: 100%; font: inherit; padding: .6rem; border: 1px solid #9aa3ad; }
.ea-comments .submit { font: 600 1rem var(--ea-font); padding: .7rem 1.2rem; background: var(--ea-black); color: #fff; border: 0; cursor: pointer; }

/* Footer: black band again */
.ea-footer { background: var(--ea-black); color: #c9ced4; font-size: 1rem; margin-top: 0; border-top: 10px solid var(--ea-gold); }
.ea-footer a { color: #fff; }
.ea-footer__grid { display: grid; gap: 2rem 3rem; padding-top: 3rem; padding-bottom: 2rem; }
@media (min-width: 800px) { .ea-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ea-footer__about p { max-width: 42ch; margin: 1rem 0 0; }
.ea-footer__heading { font-family: var(--ea-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin: 0 0 .6rem; }
.ea-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.ea-footer__nav li { margin-bottom: .35rem; }
.ea-footer__nav a { text-decoration: none; color: #c9ced4; }
.ea-footer__nav a:hover { color: #fff; text-decoration: underline; }
.ea-footer__help { display: flex; gap: 1rem; align-items: flex-start; padding-top: 1.5rem; padding-bottom: 1.5rem; background: linear-gradient(#333, #333) center top / calc(100% - 2 * var(--ea-gutter)) 1px no-repeat; }
.ea-footer__help p { margin: 0; max-width: 80ch; }
.ea-age { flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ea-red); color: #fff; font-family: var(--ea-display); font-weight: 700; font-size: 1.15rem; }
.ea-footer__bottom { padding-top: 1rem; padding-bottom: 2rem; font-size: .9rem; color: #8c949c; }
.ea-footer__bottom p { margin: 0; }

/* WordPress core classes */
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.gallery-caption, .bypostauthor, .sticky { display: block; }
.wp-block-image img { height: auto; }

@media print {
	.ea-header, .ea-tricolor, .ea-aside, .ea-related, .ea-footer, .ea-nav-toggle { display: none !important; }
	body { font-size: 12pt; }
	.ea-faq__item > summary::after { content: none; }
}

/* Initials avatar (Gravatar off) */
.ea-initials { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--ea-black); color: var(--ea-gold); font-family: var(--ea-display); font-weight: 700; font-size: .95rem; line-height: 1; }
.ea-author .ea-initials { font-size: 1.6rem; }
