/*
Theme Name: Luca Köngeter
Description: Persönliche politische Website für Gaildorf und den Landkreis Schwäbisch Hall mit Schwerpunkt Kommunalwahl 2029.
Version: 1.1.12
Author: Luca Köngeter
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: luca-koengeter
*/
:root {
  --navy: #0b1f3b;
  --yellow: #ffd600;
  --magenta: #e6007e;
  --blue: #0057ff;
  --mist: #f4f7fa;
  --slate: #5c6b7a;
  --line: #dde5ec;
  --title: "Montserrat", "Inter", "Arial", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: white; font-family: var(--body); font-size: 17px; line-height: 1.65; }
main { min-height: 56vh; }
h1, h2, h3 { font-family: var(--title); font-weight: 800; line-height: 1.04; letter-spacing: -.032em; margin: 0 0 .42em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.9vw, 6.15rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); letter-spacing: -.035em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.lk-hero :focus-visible, .lk-footer :focus-visible { outline-color: var(--yellow); }
.lk-skip { position: fixed; z-index: 10000; top: 12px; left: 12px; transform: translateY(-200%); padding: 10px 18px; background: var(--yellow); color: var(--navy); border-radius: 8px; }
.lk-skip:focus { transform: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.lk-wrap { width: min(1170px, calc(100% - 80px)); margin-inline: auto; }
.lk-header { background: white; border-bottom: 1px solid var(--line); }
.lk-header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.lk-brand { display: inline-flex; gap: .25em; align-items: center; white-space: nowrap; font-family: var(--title); font-weight: 700; font-size: 1.22rem; letter-spacing: -.045em; color: inherit; text-decoration: none; }
.lk-mark { display: inline-block; width: 8px; height: 20px; transform: skew(-17deg); border-radius: 2px; margin-right: .46em; background: var(--yellow); box-shadow: 4px 4px 0 var(--magenta); }
.lk-nav, .lk-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 17px; margin: 0; padding: 0; list-style: none; }
.lk-nav li { position: relative; }
.lk-nav .sub-menu, .lk-nav .children { display: block; margin-inline-start: 12px; }
.lk-nav a { display: inline-block; padding: 7px 3px; border-radius: 20px; font-size: .84rem; font-weight: 650; text-decoration: none; }
.lk-nav a:hover, .lk-nav a[aria-current="page"] { text-decoration: underline; }
.lk-nav a.lk-nav-election { background: var(--yellow); padding-inline: 14px; }
.lk-hero { overflow: hidden; background: var(--navy); color: white; }
.lk-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 545px; align-items: stretch; }
.lk-hero-copy { position: relative; z-index: 1; padding: 73px 24px 76px 0; align-self: center; }
.lk-kicker { font-size: .73rem; font-weight: 780; letter-spacing: .135em; text-transform: uppercase; line-height: 1.45; margin-bottom: 16px; }
.lk-hero .lk-kicker { color: var(--yellow); }
.lk-hero h1 { margin-bottom: .23em; font-size: clamp(4.3rem, 7.3vw, 7.15rem); letter-spacing: -.041em; }
.lk-lead { max-width: 35em; font-size: clamp(1.05rem, 1.6vw, 1.33rem); }
.lk-hero .lk-lead { max-width: 31rem; color: #e1e9f3; margin-bottom: 28px; }
.lk-hero-media { position: relative; isolation: isolate; min-width: 0; }
.lk-hero-media::after { content: ""; position: absolute; z-index: 2; width: clamp(8px, 1.35vw, 22px); background: var(--yellow); height: 100%; top: 0; left: 10.5%; transform: skew(-12deg); transform-origin: bottom; pointer-events: none; }
.lk-hero-media .lk-photo { position: absolute; width: calc(100% + max(40px, (100vw - 1170px) / 2)); height: 100%; margin: 0; clip-path: polygon(23% 0,100% 0,100% 100%,0 100%); background: #aaaead; }
.lk-photo img { width: 100%; }
.lk-hero-media img { height: 100%; object-fit: cover; object-position: center 13%; }
.lk-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lk-buttons .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; color: var(--navy); background: var(--yellow); border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font-size: .9rem; font-weight: 780; line-height: 1.4; text-align: center; text-decoration: none; }
.lk-buttons .wp-block-button__link:hover { background: #ffe655; text-decoration: underline; }
.lk-buttons .lk-button-quiet .wp-block-button__link { color: white; background: transparent; border-color: #7c8b9f; }
.lk-section { margin-block: clamp(43px, 5vw, 75px); }
.lk-election { display: grid; grid-template-columns: 3fr 2fr; align-items: center; gap: 24px; background: var(--mist); padding: clamp(24px, 4.25vw, 60px); border-radius: 28px; }
.lk-election h2 { margin-bottom: .42em; }
.lk-election .lk-kicker { color: #124ba9; }
.lk-election-copy > p:not(.lk-kicker) { max-width: 41rem; }
.lk-year { color: var(--navy); letter-spacing: -.045em; font-family: var(--title); font-weight: 850; line-height: 1; font-size: clamp(4rem, 10vw, 10rem); margin: 0; justify-self: center; text-decoration: underline var(--yellow) .065em; text-underline-offset: .08em; padding-right: .1em; }
.lk-text-link a { font-size: .94rem; font-weight: 750; }
.lk-topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-block: 27px 18px; }
.lk-tile { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.lk-tile p { font-size: .95rem; }
.lk-band { background: var(--navy); color: white; }
.lk-band-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 25px; padding-block: 47px; }
.lk-band h2 { font-size: clamp(1.85rem, 3.75vw, 3.15rem); }
.lk-band p { color: #e1e9f3; }
.lk-intro { padding-block: clamp(49px,7vw,105px) clamp(26px,4vw,48px); border-bottom: 1px solid var(--line); }
.lk-intro h1 { font-size: clamp(3rem, 7.2vw, 6.15rem); overflow-wrap: anywhere; }
.lk-intro .lk-kicker { color: #124ba9; }
.lk-story, .lk-article > * { max-width: 44rem; }
.lk-story h2:not(:first-child) { margin-top: 1.1em; }
.lk-story .lk-kicker + h2 { margin-top: 0; }
.lk-article > h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.lk-contact-card { background: var(--mist); padding: clamp(24px, 4vw, 45px); border-radius: 28px; }
.lk-profile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(25px, 5vw, 74px); align-items: start; }
.lk-profile img { border-radius: 28px; }
.lk-footer {padding-block:clamp(35px,5.5vw,70px) clamp(21px,3vw,34px);background:var(--navy);color:white;border-top:1px solid #31435c}
.lk-footer :focus-visible {outline-color:var(--yellow)}
.lk-footer-inner {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.62fr);gap:24px clamp(22px,4vw,60px);align-items:start}
.lk-footer-nav h2 {font-size:.91rem;letter-spacing:.07em;text-transform:uppercase;margin:0 0 11px;color:var(--yellow)}
.lk-footer-nav ul {list-style:none;padding:0;margin:0}
.lk-footer-nav :is(.lk-footer-site,.lk-footer-social) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
.lk-footer-nav a {display:inline-flex;align-items:center;gap:7px;padding:6px 0;text-decoration:none;font-weight:650;font-size:.92rem}
.lk-footer-nav a span {font-size:.8em;color:#b5c6dd}
.lk-footer-nav a:hover {color:var(--yellow);text-decoration:underline}
.lk-footer-copyright {margin:clamp(25px,4vw,46px) 0 0;padding-top:19px;border-top:1px solid #455972;color:#d0d9e6;font-size:.86rem}
@media(max-width:760px){.lk-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}.lk-footer-nav :is(.lk-footer-site,.lk-footer-social){grid-template-columns:1fr}}
@media(max-width: 930px) {
  .lk-wrap { width: calc(100% - 48px); }
  .lk-header-inner { gap: 12px; }
  .lk-nav, .lk-nav ul { gap: 2px 9px; }
  .lk-hero-grid { min-height: 460px; }
  .lk-hero-copy { padding-block: 49px; }
  .lk-hero-media .lk-photo { width: calc(100% + 24px); }
  .lk-tile { padding: 20px; }
}
@media(max-width: 720px) {
  .lk-wrap { width: calc(100% - 36px); }
  .lk-header-inner { display: block; padding-block: 13px 10px; }
  .lk-nav, .lk-nav ul { justify-content: flex-start; margin-top: 4px; }
  .lk-hero-grid { display: flex; flex-direction: column; }
  .lk-hero-copy { width: 100%; padding: 37px 0 31px; }
  .lk-hero h1 { font-size: clamp(3.9rem, 12vw, 6rem); }
  .lk-hero-media { min-height: clamp(265px, 72vw, 425px); }
  .lk-hero-media .lk-photo { width: 100%; clip-path: none; border-radius: 22px 22px 0 0; overflow: hidden; }
  .lk-hero-media::after { top: auto; left: auto; bottom: 0; right: 13%; height: 44%; }
  .lk-hero-media img { object-position: center 13%; }
  .lk-election { grid-template-columns: 1fr; }
  .lk-year { display: none; }
  .lk-topic-grid, .lk-profile { grid-template-columns: 1fr; }
  .lk-profile > figure { max-width: 430px; }
}
@media(max-width: 480px) {
  .lk-intro h1 { font-size: clamp(2rem, 10vw, 3rem); }
}
@media(max-width: 350px) {
  .lk-hero h1 { font-size: 3.35rem; }

}

/* WordPress inserts an inner container around groups in classic themes. */
:is(.lk-hero-grid,.lk-hero-media,.lk-election,.lk-topic-grid,.lk-band-inner,.lk-profile) > .wp-block-group__inner-container { display: contents; }

.lk-tile h2 { font-size: clamp(1.3rem, 2.25vw, 1.9rem); overflow-wrap: anywhere; }
.lk-card-photo { display: block; margin-bottom: 17px; }
.lk-card-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px; }

.lk-contact-form {border:1px solid var(--line);border-radius:28px;padding:clamp(20px,4vw,45px);background:var(--mist)}
.lk-contact-form h2 {font-size:clamp(2rem,4vw,3rem)}
.lk-form-row {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lk-contact-form label {display:block;margin-bottom:16px;font-weight:700;line-height:1.45}
.lk-contact-form input:not([type=hidden]),.lk-contact-form textarea {display:block;width:100%;margin-top:6px;padding:10px 13px;color:inherit;background:white;border:1px solid #9aa9ba;border-radius:12px;font:inherit;font-weight:400}
.lk-contact-form textarea {resize:vertical}
.lk-form-optional,.lk-form-note {font-size:.88rem;font-weight:400}
.lk-form-note {margin-top:14px}
.lk-form-challenge {max-width:320px}
.lk-form-trap {position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lk-form-submit {margin-top:8px;padding:12px 19px;background:var(--yellow);color:var(--navy);border:0;border-radius:999px;font:inherit;font-weight:750;cursor:pointer}
.lk-form-submit:hover {text-decoration:underline}
.lk-form-status {padding:12px 16px;border:1px solid var(--line);border-left:4px solid var(--blue);background:white;border-radius:8px}
.lk-form-error {border-left-color:#9e2445}
@media(max-width:720px){.lk-form-row{grid-template-columns:1fr;gap:0}}

.lk-news-lead {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-radius:28px;overflow:hidden;background:var(--navy);color:#fff}
.lk-news-lead-no-image {grid-template-columns:1fr}
.lk-news-lead-image {min-height:100%;position:relative}
.lk-news-lead-image img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lk-news-lead-copy {padding:clamp(24px,4vw,50px)}
.lk-news-lead-copy .lk-kicker {color:var(--yellow);margin-bottom:12px}
.lk-news-date {color:#dce6f3;font-size:.87rem;font-weight:650;margin-bottom:12px}
.lk-news-lead h2 {font-size:clamp(1.8rem,3.7vw,3.2rem);overflow-wrap:anywhere}
.lk-news-lead h2 a {text-decoration:none}
.lk-news-lead h2 a:hover,.lk-news-read:hover {text-decoration:underline}
.lk-news-read {display:inline-flex;background:var(--yellow);color:var(--navy);padding:10px 16px;border-radius:999px;font-size:.9rem;font-weight:750;text-decoration:none}
.lk-news-lead :focus-visible {outline-color:var(--yellow)}
.lk-news-list-head {display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 24px}
.lk-news-list-head h2,.lk-news-list-head p {margin:0}
.lk-news-tile h3 {overflow-wrap:anywhere}
@media(max-width:720px){.lk-news-lead{grid-template-columns:1fr}.lk-news-lead-image{aspect-ratio:16/9;min-height:0}}

#lk-older-posts {scroll-margin-top:24px}
.lk-news-pagination ul {display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;padding:0;margin:28px 0 0}
.lk-news-pagination .page-numbers:not(ul) {display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;font-weight:700;text-decoration:none}
.lk-news-pagination .page-numbers.current {background:var(--navy);color:white;border-color:var(--navy)}
.lk-news-pagination a.page-numbers:hover {background:var(--yellow);border-color:var(--yellow);text-decoration:underline}
.lk-news-pagination span.page-numbers.dots {border-color:transparent}

.lk-post {width:min(1040px,calc(100% - 40px));margin:clamp(30px,6.2vw,92px) auto clamp(50px,8vw,100px)}
.lk-post-header {max-width:850px;margin:0 auto clamp(24px,4vw,43px);text-align:center}
.lk-post-header .lk-kicker {color:#124ba9;margin:0 0 15px}
.lk-post-header h1 {font-size:clamp(2.3rem,5.1vw,4.5rem);line-height:1.06;letter-spacing:-.037em;margin:0;overflow-wrap:anywhere}
.lk-post-image {margin:0 auto clamp(27px,5vw,57px);border-radius:24px;overflow:hidden;background:var(--mist)}
.lk-post-image img {width:100%;height:auto;max-height:min(62vw,640px);object-fit:cover;object-position:50% 35%}
.lk-post-body {width:min(100%,68ch);margin-inline:auto;font-size:clamp(1.06rem,1.8vw,1.19rem);line-height:1.76;overflow-wrap:anywhere}
.lk-post-body > p {margin-bottom:1.25em}
.lk-post-body h2 {font-size:clamp(1.65rem,3.2vw,2.45rem);margin-top:1.28em}
.lk-post-body h3 {margin-top:1.17em}
.lk-post-body .lk-post-back {border-top:1px solid var(--line);padding-top:22px;margin:30px 0 0;font-size:.9rem;font-weight:750}
@media(max-width:600px){.lk-post{width:calc(100% - 36px)}.lk-post-image{border-radius:18px}.lk-post-image img{max-height:78vw}}

.lk-home-section {margin-block:clamp(45px,7vw,98px)}
.lk-home-about {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,6vw,85px);align-items:center}
.lk-home-about-photo {overflow:hidden;border-radius:25px;background:var(--mist)}
.lk-home-about-photo img {width:100%;aspect-ratio:1.22;object-fit:cover;object-position:50% 40%}
.lk-home-about-copy h2 {max-width:12ch}
.lk-home-about-copy > p:not(.lk-kicker) {max-width:41rem}
.lk-home-path {background:var(--mist);padding:clamp(25px,5vw,62px);border-radius:28px}
.lk-home-path .lk-kicker {color:#124ba9}
.lk-home-path > p {max-width:41rem}
.lk-home-path-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-block:26px 21px}
.lk-home-path-grid article {border-radius:18px;padding:clamp(16px,2.6vw,27px);background:white;border:1px solid var(--line)}
.lk-home-path-grid h3 {font-size:clamp(1.22rem,2.2vw,1.65rem);overflow-wrap:anywhere}
.lk-home-path-grid h3::before {content:'';display:block;width:30px;height:4px;background:var(--yellow);margin-bottom:13px}
.lk-home-path-grid p {font-size:.92rem}
.lk-home-section-head {display:flex;justify-content:space-between;align-items:baseline;gap:12px 24px;flex-wrap:wrap;margin-bottom:24px}
.lk-home-section-head > * {margin:0}
.lk-home-press-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lk-home-press-card {border:1px solid var(--line);border-radius:22px;overflow:hidden}
.lk-home-press-card a {display:flex;flex-direction:column;min-height:100%;text-decoration:none}
.lk-home-press-card a:hover h3,.lk-home-press-card a:focus-visible h3 {text-decoration:underline}
.lk-home-press-card a:focus-visible {outline-offset:-4px}
.lk-home-press-image img {width:100%;aspect-ratio:16/10;object-fit:cover;object-position:50% 34%}
.lk-home-press-copy {display:flex;flex-direction:column;flex:1;padding:20px 21px 23px}
.lk-home-press-copy time {color:#124ba9;font-size:.8rem;font-weight:750;margin-bottom:8px}
.lk-home-press-copy h3 {font-size:clamp(1.18rem,2vw,1.52rem);letter-spacing:-.025em;overflow-wrap:anywhere}
.lk-home-press-copy p {font-size:.92rem}
.lk-home-press-read {display:block;margin-top:auto;padding-top:5px;font-size:.84rem;font-weight:800}
.lk-home-instagram {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:25px;align-items:center;color:white;background:radial-gradient(ellipse at 100% 100%,#432249 0%,var(--navy) 59%);padding:clamp(24px,5vw,60px);border-radius:28px}
.lk-home-instagram h2 {margin-bottom:.25em}
.lk-home-instagram .lk-kicker {color:var(--yellow)}
.lk-home-instagram p:not(.lk-kicker) {color:#e4e9f4}
.lk-home-instagram a {justify-self:start;display:inline-flex;align-items:center;gap:9px;background:var(--yellow);color:var(--navy);padding:11px 18px;border-radius:999px;font-weight:750;font-size:.93rem;text-decoration:none}
.lk-home-instagram a:hover {text-decoration:underline}
.lk-home-instagram a:focus-visible {outline-color:var(--yellow)}
.lk-home-instagram svg {width:1.1rem;height:1.1rem;fill:currentColor;flex:none}
@media(max-width:760px){.lk-home-about,.lk-home-instagram{grid-template-columns:1fr}.lk-home-about-photo{max-width:470px}.lk-home-path-grid,.lk-home-press-grid{grid-template-columns:1fr}}

.lk-home-press {background:var(--mist);padding-block:clamp(35px,5vw,66px);border-block:1px solid var(--line)}
.lk-home-press-card {background:white}
.lk-home-connect-title {margin-bottom:22px}
.lk-home-connect {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px}
.lk-home-connect-card {border-radius:25px;padding:clamp(22px,3.8vw,44px);border:1px solid var(--line)}
.lk-home-connect-card h3 {font-size:clamp(1.48rem,2.9vw,2.45rem);overflow-wrap:anywhere}
.lk-home-connect-local {background:var(--mist);border-top:5px solid var(--yellow)}
.lk-home-connect-card .lk-kicker {color:#124ba9}
.lk-home-connect-card.lk-home-instagram {display:block;border-color:transparent}
.lk-home-connect-card.lk-home-instagram .lk-kicker {color:var(--yellow)}
.lk-home-connect-card.lk-home-instagram a {margin-top:2px}
.lk-home-connect-actions {display:flex;flex-wrap:wrap;gap:9px 15px;align-items:center;margin-top:19px}
.lk-home-connect-actions a {font-size:.92rem;font-weight:750}
.lk-home-connect-actions a:first-child {display:inline-block;color:var(--navy);background:var(--yellow);padding:10px 15px;border-radius:999px;text-decoration:none}
.lk-home-connect-actions a:first-child:hover {text-decoration:underline}
.lk-news-search {max-width:33rem;margin:24px 0 30px}
.lk-news-search label {display:block;font-weight:750;font-size:.91rem;margin-bottom:6px}
.lk-news-search div {display:flex;gap:8px}
.lk-news-search input {min-width:0;flex:1;background:white;color:var(--navy);border:1px solid #9aa9ba;border-radius:999px;padding:9px 14px;font:inherit}
.lk-news-search button {background:var(--yellow);color:var(--navy);border:0;border-radius:999px;padding:9px 16px;font:inherit;font-weight:750;cursor:pointer}
.lk-news-search button:hover {text-decoration:underline}
@media(max-width:760px){.lk-home-connect{grid-template-columns:1fr}}
