/*
Theme Name: sein
Theme URI: https://sein.at
Author: Hammerherren GmbH
Description: Schlankes Block-Theme für sein.at
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: sein
*/

body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Kopf */
.sein-header { position: relative; z-index: 2; padding-top: 28px; padding-bottom: 28px; }
.sein-logo {
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 22px;
	letter-spacing: -.5px; color: var(--wp--preset--color--fg); text-decoration: none;
}
.sein-logo span { color: var(--wp--preset--color--green); }

/* Hero */
.sein-hero {
	position: relative; min-height: 72vh; display: flex; flex-direction: column; justify-content: center;
	padding-top: 40px; padding-bottom: 80px; margin-block-start: 0 !important;
}
.sein-hero > * { position: relative; z-index: 1; }
.sein-hero::before, .sein-hero::after {
	content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; z-index: 0;
	animation: sein-float 14s ease-in-out infinite; pointer-events: none;
}
.sein-hero::before { width: 420px; height: 420px; background: var(--wp--preset--color--orange); top: -180px; right: -80px; }
.sein-hero::after { width: 360px; height: 360px; background: var(--wp--preset--color--blue); bottom: -40px; left: -100px; animation-delay: -5s; }
.sein-hero__glow {
	position: absolute !important; width: 260px; height: 260px; border-radius: 50%; background: var(--wp--preset--color--green);
	filter: blur(90px); opacity: .4; top: 40%; left: 45%; z-index: 0 !important; animation: sein-float 14s ease-in-out infinite -9s;
	pointer-events: none;
}
@keyframes sein-float { 50% { transform: translate(40px, -30px) scale(1.1); } }

.sein-kicker { color: var(--wp--preset--color--muted); font-size: 15px; margin-bottom: 18px; }
.sein-hero__title {
	font-family: var(--wp--preset--font-family--display); font-weight: 700;
	font-size: clamp(44px, 9vw, 112px); line-height: 1; letter-spacing: -3px; margin: 0;
	overflow-wrap: anywhere;
}
.sein-type { color: var(--wp--preset--color--green); }
.sein-type.is-typing::after {
	content: ""; display: inline-block; width: .08em; height: .85em; background: currentColor;
	margin-left: 4px; vertical-align: -.05em; animation: sein-blink 1s steps(1) infinite;
}
@keyframes sein-blink { 50% { opacity: 0; } }
.sein-dom { color: var(--wp--preset--color--muted); }
.sein-lead { max-width: 520px; margin-top: 28px !important; font-size: 19px; color: var(--wp--preset--color--soft); }
.sein-hero .wp-block-buttons { margin-top: 40px; gap: 14px; }
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.sein-ghost .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--fg); border: 1px solid #44434c;
}

@media (prefers-reduced-motion: reduce) {
	.sein-hero::before, .sein-hero::after, .sein-hero__glow { animation: none; }
}

/* Abschnitte */
.sein-section { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--wp--preset--color--line); margin-block-start: 0 !important; }
.sein-section h2 { margin-bottom: 40px; }
.sein-grid { display: grid !important; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sein-grid > * { margin: 0 !important; }
.sein-card {
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px; padding: 28px;
}
.sein-card > * { margin-block: 0; }
.sein-card h3 { margin: 0 0 8px; }
.sein-card p { color: var(--wp--preset--color--muted); font-size: 15px; }
.sein-tag {
	display: inline-block; font-size: 13px !important; font-weight: 500; padding: 4px 12px;
	border-radius: 999px; margin-bottom: 16px !important; background: var(--wp--preset--color--line);
	color: var(--wp--preset--color--fg) !important;
}
.is-ok .sein-tag { background: rgba(61, 220, 151, .15); color: var(--wp--preset--color--green) !important; }
.is-meh .sein-tag { background: rgba(255, 201, 60, .15); color: var(--wp--preset--color--yellow) !important; }
.is-no .sein-tag { background: rgba(255, 92, 57, .15); color: var(--wp--preset--color--orange) !important; }
.sein-card.is-highlight { background: linear-gradient(135deg, #1d2a24, #16161c 60%); border-color: #2f5a46; }
.sein-card.is-highlight .sein-tag { background: rgba(61, 220, 151, .15); color: var(--wp--preset--color--green) !important; }

.sein-price {
	font-family: var(--wp--preset--font-family--display); font-size: 44px !important; font-weight: 700;
	letter-spacing: -1px; color: var(--wp--preset--color--fg) !important; margin: 6px 0 4px !important; line-height: 1.2;
}
.sein-price small { font-family: var(--wp--preset--font-family--body); font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--wp--preset--color--muted); }
.sein-card ul { list-style: none; padding: 0; margin-top: 16px; }
.sein-card li { padding: 6px 0; border-top: 1px solid var(--wp--preset--color--line); font-size: 15px; color: var(--wp--preset--color--soft); }
.sein-note { margin-top: 22px !important; font-size: 14px; color: var(--wp--preset--color--muted); }

/* Bestehende Subdomains */
.sein-chips { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sein-chips li {
	position: relative; cursor: pointer;
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px; padding: 14px 20px; font-size: 14px; color: var(--wp--preset--color--muted);
	transition: transform .2s, border-color .2s;
}
.sein-chips li:hover { transform: translateY(-3px); border-color: var(--wp--preset--color--blue); }
.sein-chips a {
	display: block; font-family: var(--wp--preset--font-family--display); font-size: 20px;
	color: var(--wp--preset--color--muted); text-decoration: none; margin-bottom: 2px;
}
.sein-chips a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.sein-chips a:focus-visible { outline: none; }
.sein-chips li:focus-within { border-color: var(--wp--preset--color--blue); }
.sein-chips a strong { color: var(--wp--preset--color--fg); }
.sein-chips li.is-free { border-style: dashed; }
.sein-small { font-size: 14px; color: var(--wp--preset--color--muted); }

/* Normale Seiten (Impressum usw.) */
.sein-page { padding-top: 40px; padding-bottom: 96px; }
.sein-page h2 { font-size: 30px; margin-top: 56px; }
.sein-page h3 { margin-top: 36px; }
.sein-page p, .sein-page li { color: var(--wp--preset--color--soft); }
.sein-page a { color: var(--wp--preset--color--green); }
.sein-page table { width: 100%; border-collapse: collapse; }
.sein-page td, .sein-page th { border-bottom: 1px solid var(--wp--preset--color--line); padding: 10px 8px; text-align: left; }

/* Fuß */
.sein-footer { border-top: 1px solid var(--wp--preset--color--line); padding-top: 36px; padding-bottom: 36px; }
.sein-footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--wp--preset--color--muted); }
.sein-footer__by { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sein-hh { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 2px 22px; height: 44px; }
.sein-hh img { height: 40px; width: auto; display: block; }
.sein-footer__legal { color: var(--wp--preset--color--soft); text-decoration: none; }
.sein-footer__legal:hover { color: var(--wp--preset--color--fg); }
