/*
Theme Name: German IPTV Pro Blog
Theme URI: https://germaniptvpro.de/blog/
Author: German IPTV Pro
Author URI: https://germaniptvpro.de/
Description: Premium WordPress blog theme for German IPTV Pro with search, category filters, responsive article cards and conversion-focused article pages.
Version: 1.6.0
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: german-iptv-pro-blog
*/

:root {
  --gip-navy: #001848;
  --gip-navy-2: #0a315f;
  --gip-blue: #164b82;
  --gip-gold: #d09028;
  --gip-gold-dark: #a86d12;
  --gip-ink: #152033;
  --gip-muted: #526176;
  --gip-line: #dbe3ed;
  --gip-soft: #f5f7fb;
  --gip-white: #fff;
  --gip-radius: 14px;
  --gip-shadow: 0 18px 45px rgba(0, 24, 72, .13);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--gip-white); color: var(--gip-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
body.admin-bar .gip-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.gip-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: white; color: var(--gip-navy); }

.gip-header {
  position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(0,24,72,.09);
  background: rgba(255,255,255,.96); box-shadow: 0 6px 24px rgba(0,24,72,.06); backdrop-filter: blur(12px);
}
.gip-header-inner { display: flex; min-height: 82px; align-items: center; gap: 30px; }
.gip-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.gip-brand img, .gip-brand .custom-logo { width: 188px; max-height: 66px; object-fit: contain; }
.gip-nav { display: flex; align-items: center; margin-left: auto; }
.gip-nav ul { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; }
.gip-nav a { color: var(--gip-navy); font-size: .84rem; font-weight: 800; }
.gip-nav a:hover, .gip-nav .current-menu-item > a { color: var(--gip-gold-dark); }
.gip-header-cta, .gip-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px;
  padding: 0 20px; border: 1px solid var(--gip-gold); border-radius: 9px;
  background: var(--gip-gold); color: var(--gip-navy); font-size: .78rem; font-weight: 900;
  box-shadow: 0 10px 24px rgba(208,144,40,.22); transition: transform .2s ease, box-shadow .2s ease;
}
.gip-header-cta:hover, .gip-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(208,144,40,.3); }
.gip-menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--gip-line); border-radius: 9px; background: white; color: var(--gip-navy); cursor: pointer; }
.gip-menu-toggle span, .gip-menu-toggle::before, .gip-menu-toggle::after { display: block; width: 21px; height: 2px; margin: 5px auto; background: currentColor; content: ""; }

.gip-blog-hero {
  position: relative; overflow: hidden; padding: 86px 0 72px; color: white; text-align: center;
  background:
    radial-gradient(circle at 15% 0%, rgba(208,144,40,.24), transparent 30%),
    radial-gradient(circle at 90% 100%, rgba(22,75,130,.55), transparent 34%),
    linear-gradient(135deg, #001238, var(--gip-navy) 56%, #062958);
}
.gip-blog-hero::after { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 46px 46px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.gip-blog-hero .gip-container { position: relative; z-index: 1; }
.gip-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #f3c86f; font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.gip-eyebrow::before { width: 26px; height: 2px; background: var(--gip-gold); content: ""; }
.gip-blog-hero h1 { max-width: 900px; margin: 15px auto 13px; color: white; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.03; letter-spacing: -.045em; }
.gip-blog-hero > .gip-container > p { max-width: 720px; margin: 0 auto; color: #ccd7e4; font-size: 1.03rem; }
.gip-search-form { display: flex; max-width: 720px; margin: 32px auto 0; padding: 6px; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; background: white; box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.gip-search-form label { display: flex; flex: 1; align-items: center; }
.gip-search-form input { width: 100%; min-height: 48px; padding: 0 18px; border: 0; outline: 0; color: var(--gip-ink); }
.gip-search-form button { min-width: 112px; border: 0; border-radius: 9px; background: var(--gip-gold); color: var(--gip-navy); font-size: .76rem; font-weight: 900; cursor: pointer; }
.gip-category-nav { display: flex; max-width: 980px; justify-content: center; gap: 9px; margin: 25px auto 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.gip-category-nav::-webkit-scrollbar { display: none; }
.gip-category-nav a { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 0 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.07); color: #e6edf4; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.gip-category-nav a:hover, .gip-category-nav .is-active { border-color: var(--gip-gold); background: var(--gip-gold); color: var(--gip-navy); }
.gip-category-nav small { opacity: .75; }

.gip-blog-main { padding: 76px 0 100px; background: var(--gip-soft); }
.gip-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.gip-section-head span { color: var(--gip-gold-dark); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gip-section-head h2 { margin: 7px 0 0; color: var(--gip-navy); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.1; letter-spacing: -.035em; }
.gip-section-head p { max-width: 420px; margin: 0; color: var(--gip-muted); font-size: .86rem; }
.gip-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gip-post-card { overflow: hidden; border: 1px solid var(--gip-line); border-radius: var(--gip-radius); background: white; box-shadow: 0 14px 38px rgba(0,24,72,.08); transition: transform .22s ease, box-shadow .22s ease; }
.gip-post-card:hover { transform: translateY(-5px); box-shadow: var(--gip-shadow); }
.gip-card-image { position: relative; display: block; height: 230px; overflow: hidden; background: var(--gip-navy); }
.gip-card-image::after { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,24,72,.52), transparent 58%); content: ""; }
.gip-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gip-post-card:hover .gip-card-image img { transform: scale(1.045); }
.gip-category-label { display: inline-flex; width: fit-content; align-items: center; padding: 6px 9px; border-radius: 7px; background: #fbf1df; color: var(--gip-gold-dark); font-size: .62rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.gip-card-body { display: flex; min-height: 285px; flex-direction: column; padding: 23px; }
.gip-post-meta { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 12px 0 0; color: #7a8898; font-size: .66rem; font-weight: 700; }
.gip-author-link { color: var(--gip-navy); font-weight: 900; text-decoration: underline; text-decoration-color: var(--gip-gold); text-underline-offset: 3px; }
.gip-author-link:hover { color: var(--gip-gold-dark); }
.gip-card-description { margin: 0 0 18px; color: var(--gip-muted); font-size: .8rem; line-height: 1.65; }
.gip-card-body h2 { margin: 13px 0 10px; color: var(--gip-navy); font-size: 1.25rem; line-height: 1.28; }
.gip-card-body h2 a:hover { color: var(--gip-gold-dark); }
.gip-card-body p { margin: 0 0 18px; color: var(--gip-muted); font-size: .8rem; line-height: 1.65; }
.gip-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--gip-navy); font-size: .74rem; font-weight: 900; }
.gip-read-more::after { color: var(--gip-gold-dark); font-size: 1rem; content: "→"; transition: transform .2s ease; }
.gip-read-more:hover::after { transform: translateX(4px); }
.gip-pagination { margin-top: 42px; }
.gip-pagination .nav-links { display: flex; justify-content: center; gap: 7px; }
.gip-pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--gip-line); border-radius: 8px; background: white; color: var(--gip-navy); font-size: .76rem; font-weight: 850; }
.gip-pagination .current, .gip-pagination a:hover { border-color: var(--gip-navy); background: var(--gip-navy); color: white; }
.gip-empty { grid-column: 1 / -1; padding: 50px; border: 1px solid var(--gip-line); border-radius: var(--gip-radius); background: white; text-align: center; }

.gip-author-hero {
  position: relative; overflow: hidden; padding: 56px 0 64px; color: white;
  background: radial-gradient(circle at 82% 15%, rgba(208,144,40,.22), transparent 26%), linear-gradient(135deg, #001238, var(--gip-navy) 58%, #062958);
}
.gip-author-hero::after {
  position: absolute; inset: 0; opacity: .11; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 46px 46px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.gip-author-hero .gip-container { position: relative; z-index: 1; }
.gip-author-profile { display: grid; grid-template-columns: 180px minmax(0, 760px); align-items: center; gap: 42px; margin-top: 28px; }
.gip-author-avatar { width: 180px; height: 180px; padding: 7px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: 0 22px 50px rgba(0,0,0,.25); }
.gip-author-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gip-author-profile-copy h1 { margin: 14px 0 14px; color: white; font-size: clamp(2.6rem, 6vw, 4.9rem); line-height: 1; letter-spacing: -.045em; }
.gip-author-profile-copy > p { max-width: 680px; margin: 0; color: #d6e0ea; font-size: 1rem; }
.gip-author-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.gip-author-facts span { color: #d6e0ea; font-size: .8rem; }
.gip-author-facts strong { color: var(--gip-gold); font-size: 1.15rem; }
.gip-author-trust-mark { display: inline-flex; align-items: center; gap: 7px; }
.gip-author-trust-mark i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--gip-gold); color: var(--gip-navy); font-size: .7rem; font-style: normal; font-weight: 950; }
.gip-author-facts a { color: white; font-size: .8rem; font-weight: 850; text-decoration: underline; text-decoration-color: var(--gip-gold); text-underline-offset: 4px; }
.gip-author-facts a:hover { color: #f3c86f; }
.gip-author-about { padding: 82px 0; background: #fff; }
.gip-author-about-head { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 70px; margin-bottom: 38px; }
.gip-author-section-label { color: var(--gip-gold-dark); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gip-author-about-head h2, .gip-author-standards h2, .gip-author-contact h2 { margin: 8px 0 0; color: var(--gip-navy); line-height: 1.1; letter-spacing: -.035em; }
.gip-author-about-head h2 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); }
.gip-author-about-head > p { margin: 0; color: var(--gip-muted); font-size: .95rem; }
.gip-author-expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gip-author-expertise-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--gip-line); border-radius: 14px; background: var(--gip-soft); }
.gip-author-detail-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(208,144,40,.35); border-radius: 13px; background: #fbf4e7; color: var(--gip-gold-dark); font-size: .75rem; font-weight: 950; letter-spacing: -.02em; }
.gip-author-expertise-grid h3 { margin: 22px 0 10px; color: var(--gip-navy); font-size: 1.15rem; line-height: 1.25; }
.gip-author-expertise-grid p { margin: 0; color: var(--gip-muted); font-size: .8rem; }
.gip-author-standards { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; margin-top: 22px; padding: 38px; border-radius: 16px; background: var(--gip-navy); color: white; }
.gip-author-standards-copy { display: grid; grid-template-columns: 52px 1fr; align-items: start; gap: 20px; }
.gip-author-detail-icon-light { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); color: var(--gip-gold); }
.gip-author-standards h2 { color: white; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.gip-author-standards p { margin: 14px 0 0; color: #c3cedb; font-size: .82rem; }
.gip-author-standards ul { display: grid; align-content: center; gap: 13px; padding: 0; margin: 0; list-style: none; }
.gip-author-standards li { display: grid; grid-template-columns: 26px 1fr; align-items: start; gap: 10px; color: #e2e9f0; font-size: .78rem; }
.gip-author-standards li > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--gip-gold); color: var(--gip-navy); font-size: .67rem; font-weight: 950; }
.gip-author-contact { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 22px; padding: 30px 34px; border: 1px solid #e6c88e; border-radius: 14px; background: linear-gradient(110deg, #fbf4e7, #fff); }
.gip-author-contact h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.gip-author-contact p { margin: 10px 0 0; color: var(--gip-muted); font-size: .8rem; }
.gip-author-contact .gip-button { flex: none; }
.gip-author-posts .gip-section-head h2 { max-width: 760px; }

.gip-page-hero { padding: 66px 0; background: linear-gradient(135deg, #001238, var(--gip-navy-2)); color: white; }
.gip-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: #bdc9d7; font-size: .72rem; }
.gip-page-hero h1 { max-width: 950px; margin: 12px 0 18px; color: white; font-size: clamp(2.35rem, 5.3vw, 4.5rem); line-height: 1.08; letter-spacing: -.04em; }
.gip-page-hero .gip-post-meta { color: #c5d0dc; font-size: .74rem; }
.gip-page-hero .gip-author-link { color: #fff; text-decoration-color: var(--gip-gold); }
.gip-page-hero .gip-author-link:hover { color: #f3c86f; }
.gip-category-hero h1 { max-width: 980px; }
.gip-category-description { max-width: 760px; margin-top: -2px; color: #d2deea; font-size: 1rem; line-height: 1.75; }
.gip-category-description p { margin: 0; color: inherit; }
.gip-category-count { display: inline-flex; min-height: 34px; align-items: center; margin-top: 22px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: .72rem; font-weight: 850; }
.gip-article-shell { display: grid; grid-template-columns: minmax(0, 760px) 310px; gap: 64px; align-items: start; padding: 68px 0 100px; }
.gip-article { min-width: 0; }
.gip-article-featured { overflow: hidden; margin-bottom: 38px; border-radius: var(--gip-radius); box-shadow: var(--gip-shadow); }
.gip-entry-content { color: #35465a; font-size: 1.02rem; }
.gip-entry-content > * { max-width: 100%; }
.gip-entry-content h2, .gip-entry-content h3 { scroll-margin-top: 110px; color: var(--gip-navy); line-height: 1.24; letter-spacing: -.02em; }
.gip-entry-content h2 { margin: 45px 0 15px; font-size: 2rem; }
.gip-entry-content h3 { margin: 34px 0 12px; font-size: 1.45rem; }
.gip-entry-content a { color: var(--gip-blue); text-decoration: underline; text-decoration-color: var(--gip-gold); text-underline-offset: 3px; }
.gip-entry-content ul, .gip-entry-content ol { padding-left: 24px; }
.gip-entry-content blockquote { margin: 30px 0; padding: 22px 25px; border-left: 4px solid var(--gip-gold); background: var(--gip-soft); color: var(--gip-navy); font-weight: 700; }
.gip-entry-content table { width: 100%; border-collapse: collapse; }
.gip-entry-content th, .gip-entry-content td { padding: 12px; border: 1px solid var(--gip-line); text-align: left; }
.gip-entry-content th { background: var(--gip-navy); color: white; }
.gip-article-cta { margin-top: 48px; padding: 30px; border-radius: var(--gip-radius); background: var(--gip-navy); color: white; }
.gip-article-cta h2 { margin: 0 0 10px; color: white; }
.gip-article-cta p { margin: 0 0 20px; color: #c3cedb; }
.gip-sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
.gip-sidebar-card { padding: 24px; border: 1px solid var(--gip-line); border-radius: 12px; background: white; box-shadow: 0 12px 32px rgba(0,24,72,.07); }
.gip-sidebar-card h2 { margin: 0 0 13px; color: var(--gip-navy); font-size: 1.2rem; }
.gip-sidebar-card p { color: var(--gip-muted); font-size: .8rem; }
.gip-sidebar-card ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.gip-sidebar-card li a { color: var(--gip-navy); font-size: .78rem; font-weight: 800; }
.gip-sidebar-card li a:hover { color: var(--gip-gold-dark); }
.gip-sidebar-support { background: linear-gradient(145deg, #fbf1df, white); border-color: #e6c88e; }

.gip-footer { padding: 60px 0 0; background: #001331; color: white; }
.gip-footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; padding-bottom: 48px; }
.gip-footer-logo { width: 210px; max-height: 92px; object-fit: contain; object-position: left center; }
.gip-footer p { max-width: 430px; color: #afbdcc; font-size: .8rem; }
.gip-footer h2 { margin: 0 0 15px; color: white; font-size: 1rem; }
.gip-footer ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.gip-footer li, .gip-footer a { color: #bdc9d5; font-size: .78rem; }
.gip-footer a:hover { color: var(--gip-gold); }
.gip-footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.11); color: #91a2b4; font-size: .7rem; }
.gip-whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #20b968; color: white; box-shadow: 0 14px 32px rgba(0,0,0,.25); }
.gip-whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }

@media (max-width: 980px) {
  body.admin-bar .gip-header { top: 46px; }
  .gip-menu-toggle { display: block; }
  .gip-header-cta { display: none; }
  .gip-nav { position: absolute; top: 100%; right: 20px; left: 20px; display: none; padding: 18px; border: 1px solid var(--gip-line); border-radius: 0 0 12px 12px; background: white; box-shadow: var(--gip-shadow); }
  .gip-nav.is-open { display: block; }
  .gip-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .gip-nav li + li { border-top: 1px solid var(--gip-line); }
  .gip-nav a { display: block; padding: 12px 4px; }
  .gip-post-grid { grid-template-columns: 1fr 1fr; }
  .gip-article-shell { grid-template-columns: 1fr; gap: 42px; }
  .gip-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .gip-container { width: min(100% - 30px, 1180px); }
  .gip-header-inner { min-height: 70px; }
  .gip-brand img, .gip-brand .custom-logo { width: 160px; max-height: 58px; }
  .gip-blog-hero { padding: 60px 0 54px; }
  .gip-blog-hero h1 { font-size: clamp(2.35rem, 12vw, 3.45rem); }
  .gip-search-form { margin-top: 25px; }
  .gip-search-form input { min-width: 0; padding-inline: 12px; font-size: .78rem; }
  .gip-search-form button { min-width: 85px; }
  .gip-category-nav { justify-content: flex-start; }
  .gip-blog-main { padding: 55px 0 75px; }
  .gip-section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .gip-post-grid { grid-template-columns: 1fr; }
  .gip-card-image { height: 220px; }
  .gip-card-body { min-height: 0; }
  .gip-page-hero { padding: 48px 0; }
  .gip-article-shell { padding: 45px 0 75px; }
  .gip-entry-content { font-size: .96rem; }
  .gip-entry-content h2 { font-size: 1.65rem; }
  .gip-sidebar { grid-template-columns: 1fr; }
  .gip-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gip-footer-bottom { flex-direction: column; }
  .gip-whatsapp-float { right: 16px; bottom: 16px; }
  .gip-author-hero { padding: 42px 0 50px; }
  .gip-author-profile { grid-template-columns: 1fr; gap: 24px; margin-top: 22px; text-align: center; }
  .gip-author-avatar { width: 132px; height: 132px; margin-inline: auto; }
  .gip-author-profile-copy h1 { font-size: clamp(2.5rem, 13vw, 3.7rem); }
  .gip-author-profile-copy > p { font-size: .92rem; }
  .gip-author-facts { justify-content: center; }
  .gip-author-about { padding: 58px 0; }
  .gip-author-about-head, .gip-author-standards { grid-template-columns: 1fr; gap: 28px; }
  .gip-author-expertise-grid { grid-template-columns: 1fr; }
  .gip-author-expertise-grid article { min-height: 0; }
  .gip-author-standards { padding: 28px 22px; }
  .gip-author-standards-copy { grid-template-columns: 1fr; }
  .gip-author-contact { align-items: stretch; flex-direction: column; padding: 26px 22px; }
  .gip-author-contact .gip-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Shared website shell: matches the header, footer and floating actions of germaniptvpro.de. */
.container { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; top: -80px; left: 20px; padding: 12px 18px;
  border-radius: 8px; background: var(--gip-gold); color: var(--gip-navy); font-weight: 800;
}
.skip-link:focus { top: 20px; }
.site-header {
  position: sticky; z-index: 100; top: 0; isolation: isolate; border-bottom: 1px solid var(--gip-line);
  background: #fff; box-shadow: 0 5px 18px rgba(0,24,72,.08);
}
body.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; min-height: 65px; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--gip-navy); white-space: nowrap; }
.brand-logo { display: block; flex: none; width: 190px; height: 70px; overflow: hidden; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.desktop-nav { display: flex; align-items: center; gap: 21px; margin-left: auto; }
.desktop-nav a { color: #324252; font-size: .9rem; font-weight: 650; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--gip-gold-dark); }
.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 21px;
  border: 1px solid var(--gip-gold); border-radius: 8px; background: var(--gip-gold); color: var(--gip-navy);
  font-weight: 800; line-height: 1.2; box-shadow: 0 8px 22px rgba(208,144,40,.24); transition: all .2s ease;
}
.button:hover { background: #dfa83f; transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 15px; font-size: .9rem; }
.button-dark { border-color: var(--gip-navy); background: var(--gip-navy); color: #fff; box-shadow: none; }
.button-dark:hover { background: var(--gip-navy-2); }
.reseller-header-button { border-color: var(--gip-navy); background: #fff; color: var(--gip-navy); box-shadow: none; }
.reseller-header-button:hover { background: var(--gip-navy); color: #fff; }
.menu-button {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 11px; cursor: pointer;
  border: 1px solid var(--gip-line); border-radius: 11px; background: #fff;
}
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--gip-navy); transition: transform .2s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

.site-footer { padding: 68px 0 0; background: #001331; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, .65fr); gap: 48px; }
.site-footer .brand-logo { width: 230px; height: 105px; }
.footer-brand-block > p { max-width: 430px; margin: 14px 0 0; color: #afbdcc; font-size: .82rem; line-height: 1.65; }
.footer-brand-block .fine-print { color: #8193a7; font-size: .7rem; }
.reseller-footer-button { margin-top: 20px; border-color: var(--gip-gold); color: var(--gip-navy); }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 19px; }
.site-footer h2 { margin: 0 0 7px; color: #fff; font-size: 1rem; letter-spacing: -.015em; }
.site-footer a:not(.button) { color: #bdc9d5; font-size: .78rem; }
.site-footer a:not(.button):hover { color: var(--gip-gold); }
.footer-payment-row { margin-top: 48px; }
.payment-methods {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.045);
}
.payment-methods-copy { display: grid; gap: 4px; }
.payment-methods-copy b { color: #fff; font-size: .82rem; }
.payment-methods-copy span { color: #91a2b4; font-size: .67rem; }
.payment-logo-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding: 0; margin: 0; list-style: none; }
.payment-logo-list li {
  display: grid; width: 82px; height: 44px; place-items: center; padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: #fff;
}
.payment-logo-list img { max-width: 64px; max-height: 27px; object-fit: contain; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 25px; margin-top: 26px; padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.11); color: #91a2b4; font-size: .7rem;
}
.floating-actions {
  position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.floating-control {
  display: inline-flex; min-width: 54px; height: 54px; align-items: center; justify-content: center; cursor: pointer;
  border: 0; border-radius: 999px; color: #fff; box-shadow: 0 14px 32px rgba(0,0,0,.23);
}
.floating-control svg { width: 24px; height: 24px; }
.scroll-top-button { background: var(--gip-navy); }
.scroll-top-button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.floating-whatsapp { gap: 8px; padding: 0 17px; background: #20b968; font-size: .78rem; font-weight: 850; }
.floating-whatsapp svg { width: 22px; height: 22px; }
.mobile-sticky-actions { display: none; }

@media (max-width: 1080px) {
  body.admin-bar .site-header { top: 32px; }
  .desktop-nav, .reseller-header-button { display: none; }
  .header-cta { margin-left: auto; }
  .menu-button { display: block; margin-left: 0; }
  .mobile-nav {
    position: fixed; inset: 65px 0 0; display: block; visibility: hidden; opacity: 0; pointer-events: none;
    background: rgba(255,255,255,.98); transition: opacity .2s ease, visibility .2s ease;
  }
  body.admin-bar .mobile-nav { top: 97px; }
  .mobile-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .mobile-nav nav { display: flex; flex-direction: column; gap: 5px; padding: 24px 20px; background: #fff; }
  .mobile-nav nav > a:not(.button) { padding: 13px 4px; border-bottom: 1px solid var(--gip-line); color: var(--gip-navy); font-size: 1.1rem; font-weight: 750; }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, .7fr); gap: 30px; }
  .mobile-sticky-actions {
    position: fixed; z-index: 89; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: .82fr 1.18fr; gap: 9px; width: min(650px, calc(100% - 30px)); padding: 7px;
    border: 1px solid rgba(0,24,72,.12); border-radius: 14px; background: rgba(255,255,255,.96);
    transform: translateX(-50%); box-shadow: 0 12px 36px rgba(8,18,29,.24);
  }
  .mobile-sticky-actions a { display: flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 9px; font-size: .83rem; font-weight: 850; }
  .mobile-sticky-reseller { border: 1px solid var(--gip-navy); background: #fff; color: var(--gip-navy); }
  .mobile-sticky-order { background: var(--gip-gold); color: var(--gip-navy); }
  .floating-actions { right: 17px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .floating-whatsapp { width: 54px; padding: 0; }
  .floating-whatsapp span { display: none; }
}

@media (max-width: 800px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .mobile-nav { top: 111px; }
  .container { width: min(100% - 30px, 1220px); }
  .header-inner { min-height: 65px; }
  .header-cta { display: none; }
  .menu-button { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .payment-methods { flex-direction: column; align-items: flex-start; }
  .payment-logo-list { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .brand-logo { width: 152px; height: 56px; }
  .site-footer { padding-top: 54px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-grid > div:not(:first-child) { padding-top: 0; }
  .footer-payment-row { margin-top: 32px; }
  .payment-methods { padding: 18px; }
  .payment-logo-list { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .payment-logo-list li { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
