/*
Theme Name: FC Schaan
Theme URI: https://fcschaan.li/
Author: FC Schaan
Description: Schlankes Vereins-Theme für den Club Manager.
Version: 0.1.4-beta
Requires PHP: 8.0
Text Domain: fc-schaan
*/

:root{--navy:#0b1d3d;--blue:#1557c6;--blue-dark:#0c419a;--ice:#eef4fc;--line:#dbe4f0;--muted:#5d6c82;--white:#fff;--shadow:0 16px 44px rgba(12,35,77,.09)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f7f9fd;color:var(--navy);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
img{max-width:100%;height:auto}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible{outline:3px solid #f4b544;outline-offset:3px}
.skip-link{position:absolute;left:-9999px;top:1rem;z-index:100;background:var(--white);padding:.65rem 1rem}
.skip-link:focus{left:1rem}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:84px}
.brand{display:flex;align-items:center;gap:.85rem;color:var(--navy);font-weight:900;letter-spacing:-.035em;font-size:1.35rem;line-height:1.05;text-transform:uppercase}
.brand:hover{text-decoration:none}
.brand .custom-logo{width:56px;height:56px;object-fit:contain}
.brand__mark{display:grid;place-items:center;width:46px;height:46px;background:var(--blue);color:var(--white);font-size:.9rem;font-weight:900;border-radius:12px;letter-spacing:-.03em}
.site-nav ul{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem 1.35rem;list-style:none;margin:0;padding:0}
.site-nav a{display:block;padding:.6rem .1rem;color:var(--navy);font-weight:700;font-size:.92rem}
.site-nav .current-menu-item>a,.site-nav .current_page_item>a{color:var(--blue)}
.site-nav a:hover{color:var(--blue);text-decoration:none}
.hero{position:relative;overflow:hidden;color:var(--white);background:linear-gradient(116deg,#071832 10%,#123a83 70%,#1557c6 100%)}
.hero:after{content:"";position:absolute;right:-100px;top:-120px;width:48%;height:150%;transform:rotate(18deg);border-left:1px solid rgba(255,255,255,.15);background:linear-gradient(90deg,rgba(255,255,255,.04),transparent)}
.hero__inner{position:relative;z-index:1;padding:clamp(56px,8vw,112px) 0 84px}
.eyebrow{display:inline-flex;align-items:center;gap:.55rem;color:#bdd5ff;font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.eyebrow:before{content:"";width:25px;height:2px;background:#79aafc}
.hero h1{margin:1rem 0 .8rem;max-width:850px;font-size:clamp(2.7rem,6.5vw,5.7rem);line-height:1.02;letter-spacing:-.055em;font-weight:900}
.hero p{max-width:620px;margin:0;color:#d9e7ff;font-size:clamp(1rem,1.5vw,1.2rem)}
.hero__actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2rem}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.7rem 1.25rem;border-radius:9px;background:var(--blue);color:var(--white);font-weight:800}
.button:hover{background:var(--blue-dark);color:var(--white);text-decoration:none}
.button--light{background:var(--white);color:var(--blue)}
.button--light:hover{background:var(--ice);color:var(--blue-dark)}
.button--outline{background:transparent;border:1px solid rgba(255,255,255,.45);color:var(--white)}
.button--outline:hover{background:rgba(255,255,255,.1);color:var(--white)}
.section{padding:clamp(42px,6vw,80px) 0}
.section--tight{padding-top:0}
.section__header{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:1.5rem}
.section__header h2{margin:0;font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:-.04em;line-height:1.15}
.section__header p{margin:.4rem 0 0;color:var(--muted)}
.section .eyebrow{color:var(--blue)}
.panel{background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.home-feature{margin-top:-35px;position:relative;z-index:2}
.home-feature{display:grid;grid-template-columns:1fr 2fr auto;align-items:center;gap:24px;padding:clamp(22px,3vw,36px)}
.home-feature .eyebrow{color:var(--blue)}
.home-feature__date{margin:.5rem 0 0;color:var(--muted);font-weight:700}
.home-feature__teams{display:flex;align-items:center;gap:1rem;font-size:clamp(1.1rem,2vw,1.6rem);line-height:1.15}
.home-feature__teams span{color:var(--blue);font-size:.8rem;text-transform:uppercase;font-weight:900}
.team-hero{display:grid;grid-template-columns:1fr minmax(260px,42%);align-items:center;gap:3rem}
.team-hero__photo img{display:block;width:100%;height:320px;object-fit:cover;border-radius:15px;box-shadow:0 24px 55px rgba(0,0,0,.18)}
.team-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:16px}
.team-tile{display:flex;flex-direction:column;min-height:180px;padding:25px;color:var(--navy);background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.team-tile:hover{text-decoration:none;transform:translateY(-2px);border-color:#a8c3ee}
.team-tile__tag{font-size:.75rem;letter-spacing:.12em;font-weight:800;text-transform:uppercase;color:var(--blue)}
.team-tile strong{margin:auto 0 .6rem;font-size:1.45rem;line-height:1.15}
.team-tile span:last-child{color:var(--muted);font-size:.9rem}
.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:18px}
.news-card{overflow:hidden;display:flex;flex-direction:column;color:var(--navy);background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.news-card:hover{text-decoration:none;border-color:#a8c3ee}
.news-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.news-card__body{padding:22px}
.news-card time{color:var(--muted);font-size:.8rem;font-weight:700}
.news-card h3{margin:.5rem 0 0;font-size:1.2rem;line-height:1.25}
.page-content{padding:clamp(30px,5vw,70px) 0 90px}
.page-content>.container{max-width:1180px}
.article{max-width:790px;margin-inline:auto;background:var(--white);padding:clamp(24px,4vw,55px);border:1px solid var(--line);border-radius:18px}
.article h1{line-height:1.12;letter-spacing:-.04em}
.article img{border-radius:10px}
.content-hero{padding-block:clamp(45px,7vw,90px)}
.content-hero h1{margin:.8rem 0 0}
.club-content{max-width:1180px}
.club-content__intro{max-width:790px;padding:clamp(24px,4vw,48px);margin-bottom:2rem}
.club-content__intro>:first-child{margin-top:0}
.club-content__intro>:last-child{margin-bottom:0}
.club-content__links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.club-content__link{display:flex;flex-direction:column;min-height:170px;padding:24px;color:var(--navy)}
.club-content__link:hover{text-decoration:none;border-color:#a8c3ee;transform:translateY(-2px)}
.club-content__link .eyebrow{color:var(--blue)}
.club-content__link strong{margin:auto 0 .3rem;font-size:1.5rem;line-height:1.2}
.club-content__link span:last-child{color:var(--muted);font-size:.9rem}
.fc-club-board__section{margin:2.5rem 0 3rem}
.fc-club-board__section>h2{font-size:clamp(1.6rem,3vw,2.3rem);letter-spacing:-.04em;margin:0 0 1rem}
.fc-club-board__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}
.fc-club-board__card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--white);box-shadow:var(--shadow)}
.fc-club-board__photo{display:block;width:100%;height:230px;object-fit:cover}
.fc-club-board__body{padding:20px 22px 24px}
.fc-club-board__body h3{font-size:1.25rem;line-height:1.2;margin:0 0 .25rem}
.fc-club-board__body p{color:var(--muted);margin:0 0 .7rem}
.fc-club-board__body a{display:block;overflow-wrap:anywhere;margin-top:.25rem}
.team-page .fc-club-team{display:block}
.fc-club-team{max-width:100%}
.fc-club-team>h2{font-size:clamp(2rem,4vw,3rem);line-height:1.1;letter-spacing:-.045em;margin:.1rem 0 1.8rem}
.fc-club-team__image{display:block;width:100%;max-height:530px;object-fit:cover;border-radius:16px;margin-bottom:2rem}
.fc-club-team>h3{font-size:1.5rem;line-height:1.2;letter-spacing:-.025em;margin:2.5rem 0 .85rem;padding-top:1.7rem;border-top:1px solid var(--line)}
.fc-club-team>h3:first-of-type{border-top:0;padding-top:0}
.fc-club-team>p{margin:.5rem 0 0;font-size:1.1rem}
.fc-club-team>ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.fc-club-team>ul li{padding:13px 16px;background:var(--ice);border-radius:10px}
.fc-club-team>table{width:100%;border-collapse:collapse;text-align:left;font-size:.94rem}
.fc-club-team>table th{padding:12px 14px;background:var(--navy);color:var(--white);font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}
.fc-club-team>table th:first-child{border-radius:9px 0 0 0}
.fc-club-team>table th:last-child{border-radius:0 9px 0 0}
.fc-club-team>table td{padding:10px 14px;border-bottom:1px solid var(--line)}
.fc-club-team>table td:first-child{font-weight:800;width:65px}
.fc-club-team>table td:nth-child(3),.fc-club-team>table td:nth-child(4){font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.fc-club-team>table th:nth-child(3),.fc-club-team>table th:nth-child(4){text-align:right}
.fc-club-team>table tr:has(td:nth-child(2)):hover{background:var(--ice)}
.fc-club-team>table tr.is-own-team{background:#eaf2ff;font-weight:800}
.fc-club-team>table tr.is-own-team td:first-child{box-shadow:inset 4px 0 var(--blue)}
.fc-club-team>table.fc-club-team__fixtures td:first-child{width:124px;white-space:nowrap}
.fc-club-team>table.fc-club-team__fixtures td:nth-child(2){overflow-wrap:anywhere}
.fc-club-team>table.fc-club-team__fixtures td:nth-child(3){font-weight:700;white-space:normal}
.fc-club-team__fixtures td small{display:block;color:var(--muted);font-size:.86em;font-weight:400;line-height:1.4}
.fc-club-team__match-type{display:inline-block;margin:.35rem 0 .1rem;padding:.12rem .55rem;border-radius:6px;background:var(--ice);color:var(--blue-dark);font-size:.75rem;font-weight:800;line-height:1.5}
.fc-club-team__fixtures .fc-club-team__match-type{display:table;margin:.28rem 0 .12rem}
.site-footer{background:var(--navy);color:#d4e3fa;padding:48px 0 26px;margin-top:50px}
.site-footer a{color:var(--white)}
.site-footer__inner{display:flex;justify-content:space-between;align-items:start;gap:2rem}
.site-footer strong{display:block;color:var(--white);font-size:1.35rem}
.site-footer small{display:block;margin-top:2rem;color:#a9bddc}
@media(max-width:900px){.home-feature{grid-template-columns:1fr}.home-feature__teams{flex-wrap:wrap}.team-hero{grid-template-columns:1fr}.team-hero__photo img{height:auto;max-height:450px}}
@media(max-width:720px){.container{width:min(100% - 28px,1180px)}.site-header__inner{align-items:flex-start;flex-direction:column;gap:0;padding:15px 0}.site-nav{width:100%;overflow-x:auto}.site-nav ul{flex-wrap:nowrap;white-space:nowrap;gap:1rem}.site-nav a{padding:12px 0}.hero__inner{padding:60px 0 74px}.section__header{align-items:start;flex-direction:column}.fc-club-team>table{font-size:.84rem}.fc-club-team>table td,.fc-club-team>table th{padding:9px 7px}.site-footer__inner{flex-direction:column}}
@media(max-width:540px){.fc-club-team>table.fc-club-team__fixtures thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.fc-club-team>table.fc-club-team__fixtures,.fc-club-team>table.fc-club-team__fixtures tbody,.fc-club-team>table.fc-club-team__fixtures tr,.fc-club-team>table.fc-club-team__fixtures td{display:block;width:100%;text-align:left}.fc-club-team>table.fc-club-team__fixtures tr{padding:12px 0;border-bottom:1px solid var(--line)}.fc-club-team>table.fc-club-team__fixtures td{padding:1px 0;border:0}.fc-club-team>table.fc-club-team__fixtures td:first-child{width:100%;font-size:.86rem;color:var(--muted)}.fc-club-team>table.fc-club-team__fixtures td:first-child small{display:inline;margin-left:.5rem}.fc-club-team>table.fc-club-team__fixtures td:nth-child(3){text-align:left;margin-top:.25rem}}
@media(prefers-reduced-motion:no-preference){.team-tile,.news-card{transition:transform .18s ease,border-color .18s ease}}
